Update version.properties to aaf authz
[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.0-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         <licenses>\r
39                 <license>\r
40                 <name>BSD License</name>\r
41                 <url> </url>\r
42                 </license>\r
43         </licenses>\r
44         <developers>\r
45                 <developer>\r
46                 <name>Jonathan Gathman</name>\r
47                 <email></email>\r
48         <organization>ATT</organization>\r
49         <organizationUrl></organizationUrl>\r
50                 </developer>\r
51         </developers>\r
52 \r
53 \r
54         <properties>\r
55                 <project.swmVersion>45</project.swmVersion>\r
56                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
57                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
58                 <sonar.language>java</sonar.language>\r
59                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
60                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
61                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>\r
62                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>\r
63                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
64                 <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
65         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
66                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
67                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
68                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
69                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
70         </properties>\r
71                 \r
72         <dependencies>\r
73         <dependency>\r
74             <groupId>org.onap.aaf.authz</groupId>\r
75             <artifactId>authz-core</artifactId>\r
76         </dependency>\r
77 \r
78         <dependency>\r
79             <groupId>org.onap.aaf.authz</groupId>\r
80             <artifactId>authz-cass</artifactId>\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                 </dependency>\r
88                 \r
89                 <dependency>\r
90                         <groupId>com.google.code.jscep</groupId>\r
91                         <artifactId>jscep</artifactId>\r
92                         <version>2.4.0</version>\r
93                 </dependency>\r
94                 <!--  TESTING -->\r
95                 <dependency>\r
96                         <groupId>org.slf4j</groupId>\r
97                         <artifactId>slf4j-log4j12</artifactId>\r
98                 </dependency>\r
99         </dependencies>\r
100         \r
101         <build>\r
102                 <plugins>\r
103             <plugin>\r
104                                 <groupId>org.apache.maven.plugins</groupId>\r
105                                 <artifactId>maven-jar-plugin</artifactId>\r
106                                         <configuration>\r
107                                 <includes>\r
108                                         <include>**/*.class</include>\r
109                                 </includes>\r
110                                         </configuration>\r
111                                         <version>2.3.1</version>\r
112                                 </plugin>\r
113                             \r
114                                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->\r
115                         \r
116                             <plugin>\r
117                                         <groupId>org.apache.maven.plugins</groupId>\r
118                                         <artifactId>maven-deploy-plugin</artifactId>\r
119                                         <configuration>\r
120                                                 <skip>true</skip>\r
121                                         </configuration>\r
122                             </plugin>\r
123                 \r
124                 <plugin>\r
125                         <groupId>org.apache.maven.plugins</groupId>\r
126                         <artifactId>maven-javadoc-plugin</artifactId>\r
127                         <configuration>\r
128                         <failOnError>false</failOnError>\r
129                         </configuration>\r
130                         <executions>\r
131                                 <execution>\r
132                                         <id>attach-javadocs</id>\r
133                                         <goals>\r
134                                                 <goal>jar</goal>\r
135                                         </goals>\r
136                                 </execution>\r
137                         </executions>\r
138                 </plugin> \r
139            \r
140            \r
141                <plugin>\r
142                       <groupId>org.apache.maven.plugins</groupId>\r
143                       <artifactId>maven-source-plugin</artifactId>\r
144                       <version>2.2.1</version>\r
145                       <executions>\r
146                         <execution>\r
147                           <id>attach-sources</id>\r
148                           <goals>\r
149                             <goal>jar-no-fork</goal>\r
150                           </goals>\r
151                         </execution>\r
152                       </executions>\r
153                     </plugin> \r
154                         <plugin>\r
155                                 <groupId>org.sonatype.plugins</groupId>\r
156                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
157                                 <version>1.6.7</version>\r
158                                 <extensions>true</extensions>\r
159                                 <configuration>\r
160                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
161                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
162                                         <serverId>ecomp-staging</serverId>\r
163                                         <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>\r
164                                 </configuration>\r
165                         </plugin>               \r
166                         <plugin>\r
167                                 <groupId>org.jacoco</groupId>\r
168                                 <artifactId>jacoco-maven-plugin</artifactId>\r
169                                 <version>0.7.7.201606060606</version>\r
170                                 <configuration>\r
171                                         <dumpOnExit>true</dumpOnExit>\r
172                                         <includes>\r
173                                                 <include>org.onap.aaf.*</include>\r
174                                         </includes>\r
175                                 </configuration>\r
176                                 <executions>\r
177                                         <execution>\r
178                                                 <id>pre-unit-test</id>\r
179                                                 <goals>\r
180                                                         <goal>prepare-agent</goal>\r
181                                                 </goals>\r
182                                                 <configuration>\r
183                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
184                                                         <!-- <append>true</append> -->\r
185                                                 </configuration>\r
186                                         </execution>\r
187                                         <execution>\r
188                                                 <id>pre-integration-test</id>\r
189                                                 <phase>pre-integration-test</phase>\r
190                                                 <goals>\r
191                                                         <goal>prepare-agent</goal>\r
192                                                 </goals>\r
193                                                 <configuration>\r
194                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
195                                                         <!-- <append>true</append> -->\r
196                                                 </configuration>\r
197                                         </execution>\r
198                                         <execution>\r
199                         <goals>\r
200                             <goal>merge</goal>\r
201                         </goals>\r
202                         <phase>post-integration-test</phase>\r
203                         <configuration>\r
204                             <fileSets>\r
205                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
206                                     <directory>${project.build.directory}/coverage-reports</directory>\r
207                                     <includes>\r
208                                         <include>*.exec</include>\r
209                                     </includes>\r
210                                 </fileSet>\r
211                             </fileSets>\r
212                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
213                         </configuration>\r
214                     </execution>\r
215                                 </executions>\r
216                         </plugin>\r
217 \r
218                         </plugins>\r
219                 <pluginManagement>\r
220                         <plugins/>\r
221                 </pluginManagement>\r
222         </build>\r
223 <distributionManagement>\r
224                 <repository>\r
225                         <id>ecomp-releases</id>\r
226                         <name>AAF Release Repository</name>\r
227                         <url>${nexusproxy}${releaseNexusPath}</url>\r
228                 </repository>\r
229                 <snapshotRepository>\r
230                         <id>ecomp-snapshots</id>\r
231                         <name>AAF Snapshot Repository</name>\r
232                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
233                 </snapshotRepository>\r
234                 <site>\r
235                         <id>ecomp-site</id>\r
236                         <url>dav:${nexusproxy}${sitePath}</url>\r
237                 </site>\r
238         </distributionManagement>\r
239 <pluginRepositories>\r
240         <pluginRepository>\r
241             <id>onap-plugin-snapshots</id>\r
242             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
243         </pluginRepository>\r
244     </pluginRepositories>\r
245         \r
246         <repositories>\r
247                 <repository>\r
248                         <id>central</id>\r
249                         <name>Maven 2 repository 2</name>\r
250                         <url>http://repo2.maven.org/maven2/</url>\r
251                 </repository>\r
252                 <repository>\r
253             <id>onap-jar-snapshots</id>\r
254             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
255         </repository>\r
256                 <repository>\r
257                         <id>spring-repo</id>\r
258                         <name>Spring repo</name>\r
259                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
260                 </repository>\r
261                 <repository>\r
262                         <id>repository.jboss.org-public</id>\r
263                         <name>JBoss.org Maven repository</name>\r
264                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
265                 </repository>\r
266         </repositories> \r
267 </project>\r