838f8a7ae4ba04bd1b481e5598f49dc7e56acc5e
[aaf/authz.git] / authz-certman / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3   ============LICENSE_START====================================================\r
4   * org.onap.aaf\r
5   * ===========================================================================\r
6   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
7   * ===========================================================================\r
8   * Licensed under the Apache License, Version 2.0 (the "License");\r
9   * you may not use this file except in compliance with the License.\r
10   * You may obtain a copy of the License at\r
11   * \r
12    *      http://www.apache.org/licenses/LICENSE-2.0\r
13   * \r
14    * Unless required by applicable law or agreed to in writing, software\r
15   * distributed under the License is distributed on an "AS IS" BASIS,\r
16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
17   * See the License for the specific language governing permissions and\r
18   * limitations under the License.\r
19   * ============LICENSE_END====================================================\r
20   *\r
21   * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
22   *\r
23 -->\r
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
25         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
26         <modelVersion>4.0.0</modelVersion>\r
27         <parent>\r
28                 <groupId>org.onap.aaf.authz</groupId>\r
29                 <artifactId>parent</artifactId>\r
30                 <version>1.0.1-SNAPSHOT</version>\r
31                 <relativePath>../pom.xml</relativePath>\r
32         </parent>\r
33                 \r
34         <artifactId>authz-certman</artifactId>\r
35         <name>AAF Certification Managmenent</name>\r
36         <description>Certificate Manager API</description>\r
37                 <url>https://github.com/att/AAF</url>\r
38 \r
39         <developers>\r
40                 <developer>\r
41                 <name>Jonathan Gathman</name>\r
42                 <email></email>\r
43         <organization>ATT</organization>\r
44         <organizationUrl></organizationUrl>\r
45                 </developer>\r
46         </developers>\r
47 \r
48 \r
49         <properties>\r
50                 <project.swmVersion>45</project.swmVersion>\r
51                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
52                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
53                 <!--  SONAR  -->\r
54                  <jacoco.version>0.7.7.201606060606</jacoco.version>\r
55                  <sonar.skip>true</sonar.skip>\r
56             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>\r
57             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>\r
58             <!-- Default Sonar configuration -->\r
59             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>\r
60             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>\r
61             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->\r
62             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>\r
63         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
64                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
65                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
66                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
67                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>\r
68         </properties>\r
69                 \r
70         <dependencies>\r
71         <dependency>\r
72             <groupId>org.onap.aaf.authz</groupId>\r
73             <artifactId>authz-core</artifactId>\r
74                         <version>${project.version}</version>\r
75         </dependency>\r
76 \r
77         <dependency>\r
78             <groupId>org.onap.aaf.authz</groupId>\r
79             <artifactId>authz-cass</artifactId>\r
80                         <version>${project.version}</version>\r
81         </dependency>\r
82 \r
83             \r
84                 <dependency> \r
85                         <groupId>org.onap.aaf.cadi</groupId>\r
86                         <artifactId>cadi-aaf</artifactId>\r
87                         <version>${project.cadiVersion}</version>\r
88                 </dependency>\r
89                 \r
90                 <dependency>\r
91                         <groupId>com.google.code.jscep</groupId>\r
92                         <artifactId>jscep</artifactId>\r
93                         <version>2.4.0</version>\r
94                 </dependency>\r
95                 <!--  TESTING -->\r
96                 <dependency>\r
97                         <groupId>org.slf4j</groupId>\r
98                         <artifactId>slf4j-log4j12</artifactId>\r
99                 </dependency>\r
100         </dependencies>\r
101         \r
102         <build>\r
103                 <plugins>\r
104             <plugin>\r
105                                 <groupId>org.apache.maven.plugins</groupId>\r
106                                 <artifactId>maven-jar-plugin</artifactId>\r
107                                         <configuration>\r
108                                 <includes>\r
109                                         <include>**/*.class</include>\r
110                                 </includes>\r
111                                         </configuration>\r
112                                         <version>2.3.1</version>\r
113                                 </plugin>\r
114                             \r
115                                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->\r
116                         \r
117                          \r
118                 <plugin>\r
119                         <groupId>org.apache.maven.plugins</groupId>\r
120                         <artifactId>maven-javadoc-plugin</artifactId>\r
121                         <version>2.10.4</version>\r
122                         <configuration>\r
123                         <failOnError>false</failOnError>\r
124                         </configuration>\r
125                         <executions>\r
126                                 <execution>\r
127                                         <id>attach-javadocs</id>\r
128                                         <goals>\r
129                                                 <goal>jar</goal>\r
130                                         </goals>\r
131                                 </execution>\r
132                         </executions>\r
133                 </plugin>  \r
134            \r
135            \r
136                <plugin>\r
137                       <groupId>org.apache.maven.plugins</groupId>\r
138                       <artifactId>maven-source-plugin</artifactId>\r
139                       <version>2.2.1</version>\r
140                       <executions>\r
141                         <execution>\r
142                           <id>attach-sources</id>\r
143                           <goals>\r
144                             <goal>jar-no-fork</goal>\r
145                           </goals>\r
146                         </execution>\r
147                       </executions>\r
148                     </plugin> \r
149                         <plugin>\r
150                                 <groupId>org.sonatype.plugins</groupId>\r
151                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
152                                 <version>1.6.7</version>\r
153                                 <extensions>true</extensions>\r
154                                 <configuration>\r
155                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
156                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
157                                         <serverId>ecomp-staging</serverId>\r
158                                 </configuration>\r
159                         </plugin>               \r
160                         <plugin>\r
161           <groupId>org.jacoco</groupId>\r
162           <artifactId>jacoco-maven-plugin</artifactId>\r
163           <version>${jacoco.version}</version>\r
164           <configuration>\r
165             <excludes>\r
166               <exclude>**/gen/**</exclude>\r
167               <exclude>**/generated-sources/**</exclude>\r
168               <exclude>**/yang-gen/**</exclude>\r
169               <exclude>**/pax/**</exclude>\r
170             </excludes>\r
171           </configuration>\r
172           <executions>\r
173 \r
174             <execution>\r
175               <id>pre-unit-test</id>\r
176               <goals>\r
177                 <goal>prepare-agent</goal>\r
178               </goals>\r
179               <configuration>\r
180                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>\r
181                 <propertyName>surefireArgLine</propertyName>\r
182               </configuration>\r
183             </execution>\r
184             \r
185        \r
186             <execution>\r
187               <id>post-unit-test</id>\r
188               <phase>test</phase>\r
189               <goals>\r
190                 <goal>report</goal>\r
191               </goals>\r
192               <configuration>\r
193                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>\r
194                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>\r
195               </configuration>\r
196             </execution>\r
197             <execution>\r
198               <id>pre-integration-test</id>\r
199               <phase>pre-integration-test</phase>\r
200               <goals>\r
201                 <goal>prepare-agent</goal>\r
202               </goals>\r
203               <configuration>\r
204                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>\r
205 \r
206                 <propertyName>failsafeArgLine</propertyName>\r
207               </configuration>\r
208             </execution>\r
209 \r
210        \r
211             <execution>\r
212               <id>post-integration-test</id>\r
213               <phase>post-integration-test</phase>\r
214               <goals>\r
215                 <goal>report</goal>\r
216               </goals>\r
217               <configuration>\r
218                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>\r
219                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>\r
220               </configuration>\r
221             </execution>\r
222           </executions>\r
223         </plugin>       \r
224 \r
225                         </plugins>\r
226                 <pluginManagement>\r
227                         <plugins/>\r
228                 </pluginManagement>\r
229         </build>\r
230 <distributionManagement>\r
231                 <repository>\r
232                         <id>ecomp-releases</id>\r
233                         <name>AAF Release Repository</name>\r
234                         <url>${nexusproxy}${releaseNexusPath}</url>\r
235                 </repository>\r
236                 <snapshotRepository>\r
237                         <id>ecomp-snapshots</id>\r
238                         <name>AAF Snapshot Repository</name>\r
239                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
240                 </snapshotRepository>\r
241                 <site>\r
242                         <id>ecomp-site</id>\r
243                         <url>dav:${nexusproxy}${sitePath}</url>\r
244                 </site>\r
245         </distributionManagement>\r
246 \r
247 </project>\r