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