Update AAF project version to release docker image
[aaf/authz.git] / authz-test / 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-test</artifactId>\r
35         <name>Authz TestCases</name>\r
36         <description>TestCase Suite for Authz/Authn</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 \r
54 \r
55         <properties>\r
56                 <maven.test.failure.ignore>false</maven.test.failure.ignore>\r
57                 <project.swmVersion>0</project.swmVersion>\r
58                                         <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>\r
59                 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
60                                         <sonar.language>java</sonar.language>\r
61                 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
62                 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
63                 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>\r
64                 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>\r
65                 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
66                 <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
67         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
68                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
69                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
70                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
71                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
72 \r
73         </properties>\r
74         \r
75         <dependencies>\r
76                 <dependency>\r
77                         <groupId>org.onap.aaf.cadi</groupId>\r
78                         <artifactId>cadi-aaf</artifactId>\r
79                         <version>${project.cadiVersion}</version>\r
80                 </dependency>\r
81        \r
82             <dependency>\r
83             <groupId>org.onap.aaf.authz</groupId>\r
84             <artifactId>authz-client</artifactId>\r
85                         <version>${project.version}</version>\r
86         </dependency>\r
87 \r
88             <dependency>\r
89             <groupId>org.onap.aaf.authz</groupId>\r
90             <artifactId>authz-core</artifactId>\r
91                         <version>${project.version}</version>\r
92         </dependency>\r
93 \r
94             <dependency>\r
95             <groupId>org.onap.aaf.authz</groupId>\r
96             <artifactId>authz-cmd</artifactId>\r
97                         <version>${project.version}</version>\r
98         </dependency>\r
99 \r
100                 <dependency>\r
101                         <groupId>com.att.aft</groupId>\r
102                         <artifactId>dme2</artifactId>\r
103                 </dependency>\r
104 \r
105 \r
106                 <dependency>\r
107                         <groupId>org.apache.jmeter</groupId>\r
108                         <artifactId>ApacheJMeter_java</artifactId>\r
109                         <version>2.11</version>\r
110                 </dependency>\r
111                 \r
112                 <dependency>\r
113                         <groupId>junit</groupId>\r
114                         <artifactId>junit</artifactId>\r
115                         <version>4.7</version>\r
116                         <scope>test</scope>\r
117                 </dependency>\r
118         </dependencies>\r
119 \r
120         <build>\r
121                 <pluginManagement>\r
122                   <plugins>\r
123                         <plugin>\r
124                   <groupId>org.apache.maven.plugins</groupId>\r
125                   <artifactId>maven-failsafe-plugin</artifactId>\r
126                   <configuration>\r
127                                 <includes>\r
128                       <include>**/AAFJUnitTest.java</include>\r
129                                 </includes>\r
130                           </configuration>\r
131                         </plugin>\r
132         \r
133                         <plugin>\r
134                   <groupId>org.apache.maven.plugins</groupId>\r
135                   <artifactId>maven-surefire-plugin</artifactId>\r
136                   <configuration>\r
137                                 <excludes>\r
138                       <exclude>**/AAFJUnitTest.java</exclude>\r
139                                 </excludes>\r
140                   </configuration>\r
141                         </plugin>\r
142                         \r
143                 <plugin>\r
144                         <groupId>org.apache.maven.plugins</groupId>\r
145                         <artifactId>maven-javadoc-plugin</artifactId>\r
146                         <configuration>\r
147                         <failOnError>false</failOnError>\r
148                         </configuration>\r
149                         <executions>\r
150                                 <execution>\r
151                                         <id>attach-javadocs</id>\r
152                                         <goals>\r
153                                                 <goal>jar</goal>\r
154                                         </goals>\r
155                                 </execution>\r
156                         </executions>\r
157                 </plugin> \r
158            \r
159            \r
160                <plugin>\r
161                       <groupId>org.apache.maven.plugins</groupId>\r
162                       <artifactId>maven-source-plugin</artifactId>\r
163                       <version>2.2.1</version>\r
164                       <executions>\r
165                         <execution>\r
166                           <id>attach-sources</id>\r
167                           <goals>\r
168                             <goal>jar-no-fork</goal>\r
169                           </goals>\r
170                         </execution>\r
171                       </executions>\r
172                     </plugin>\r
173 <plugin>\r
174                                 <groupId>org.sonatype.plugins</groupId>\r
175                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
176                                 <version>1.6.7</version>\r
177                                 <extensions>true</extensions>\r
178                                 <configuration>\r
179                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
180                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
181                                         <serverId>ecomp-staging</serverId>\r
182                                 </configuration>\r
183                         </plugin>               \r
184                         <plugin>\r
185                                 <groupId>org.jacoco</groupId>\r
186                                 <artifactId>jacoco-maven-plugin</artifactId>\r
187                                 <version>0.7.7.201606060606</version>\r
188                                 <configuration>\r
189                                         <dumpOnExit>true</dumpOnExit>\r
190                                         <includes>\r
191                                                 <include>org.onap.aaf.*</include>\r
192                                         </includes>\r
193                                 </configuration>\r
194                                 <executions>\r
195                                         <execution>\r
196                                                 <id>pre-unit-test</id>\r
197                                                 <goals>\r
198                                                         <goal>prepare-agent</goal>\r
199                                                 </goals>\r
200                                                 <configuration>\r
201                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
202                                                         <!-- <append>true</append> -->\r
203                                                 </configuration>\r
204                                         </execution>\r
205                                         <execution>\r
206                                                 <id>pre-integration-test</id>\r
207                                                 <phase>pre-integration-test</phase>\r
208                                                 <goals>\r
209                                                         <goal>prepare-agent</goal>\r
210                                                 </goals>\r
211                                                 <configuration>\r
212                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
213                                                         <!-- <append>true</append> -->\r
214                                                 </configuration>\r
215                                         </execution>\r
216                                         <execution>\r
217                         <goals>\r
218                             <goal>merge</goal>\r
219                         </goals>\r
220                         <phase>post-integration-test</phase>\r
221                         <configuration>\r
222                             <fileSets>\r
223                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
224                                     <directory>${project.build.directory}/coverage-reports</directory>\r
225                                     <includes>\r
226                                         <include>*.exec</include>\r
227                                     </includes>\r
228                                 </fileSet>\r
229                             </fileSets>\r
230                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
231                         </configuration>\r
232                     </execution>\r
233                                 </executions>\r
234                         </plugin>\r
235                 \r
236                         </plugins>\r
237                 </pluginManagement>\r
238         </build>\r
239         <distributionManagement>\r
240                 <repository>\r
241                         <id>ecomp-releases</id>\r
242                         <name>AAF Release Repository</name>\r
243                         <url>${nexusproxy}${releaseNexusPath}</url>\r
244                 </repository>\r
245                 <snapshotRepository>\r
246                         <id>ecomp-snapshots</id>\r
247                         <name>AAF Snapshot Repository</name>\r
248                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
249                 </snapshotRepository>\r
250                 <site>\r
251                         <id>ecomp-site</id>\r
252                         <url>dav:${nexusproxy}${sitePath}</url>\r
253                 </site>\r
254         </distributionManagement>\r
255 <pluginRepositories>\r
256         <pluginRepository>\r
257             <id>onap-plugin-snapshots</id>\r
258             <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
259         </pluginRepository>\r
260     </pluginRepositories>\r
261         \r
262         <repositories>\r
263                 <repository>\r
264                         <id>central</id>\r
265                         <name>Maven 2 repository 2</name>\r
266                         <url>http://repo2.maven.org/maven2/</url>\r
267                 </repository>\r
268                 <repository>\r
269             <id>onap-jar-snapshots</id>\r
270             <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
271         </repository>\r
272                 <repository>\r
273                         <id>spring-repo</id>\r
274                         <name>Spring repo</name>\r
275                         <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
276                 </repository>\r
277                 <repository>\r
278                         <id>repository.jboss.org-public</id>\r
279                         <name>JBoss.org Maven repository</name>\r
280                         <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
281                 </repository>\r
282         </repositories>\r
283 </project>\r