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