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