Update License & modify properties in 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.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/org/onap/aaf/authz/${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                         <version>2.10.4</version>\r
147                         <configuration>\r
148                         <failOnError>false</failOnError>\r
149                         </configuration>\r
150                         <executions>\r
151                                 <execution>\r
152                                         <id>attach-javadocs</id>\r
153                                         <goals>\r
154                                                 <goal>jar</goal>\r
155                                         </goals>\r
156                                 </execution>\r
157                         </executions>\r
158                 </plugin> \r
159            \r
160            \r
161                <plugin>\r
162                       <groupId>org.apache.maven.plugins</groupId>\r
163                       <artifactId>maven-source-plugin</artifactId>\r
164                       <version>2.2.1</version>\r
165                       <executions>\r
166                         <execution>\r
167                           <id>attach-sources</id>\r
168                           <goals>\r
169                             <goal>jar-no-fork</goal>\r
170                           </goals>\r
171                         </execution>\r
172                       </executions>\r
173                     </plugin>\r
174 <plugin>\r
175                                 <groupId>org.sonatype.plugins</groupId>\r
176                                 <artifactId>nexus-staging-maven-plugin</artifactId>\r
177                                 <version>1.6.7</version>\r
178                                 <extensions>true</extensions>\r
179                                 <configuration>\r
180                                         <nexusUrl>${nexusproxy}</nexusUrl>\r
181                                         <stagingProfileId>176c31dfe190a</stagingProfileId>\r
182                                         <serverId>ecomp-staging</serverId>\r
183                                 </configuration>\r
184                         </plugin>               \r
185                         <plugin>\r
186                                 <groupId>org.jacoco</groupId>\r
187                                 <artifactId>jacoco-maven-plugin</artifactId>\r
188                                 <version>0.7.7.201606060606</version>\r
189                                 <configuration>\r
190                                         <dumpOnExit>true</dumpOnExit>\r
191                                         <includes>\r
192                                                 <include>org.onap.aaf.*</include>\r
193                                         </includes>\r
194                                 </configuration>\r
195                                 <executions>\r
196                                         <execution>\r
197                                                 <id>pre-unit-test</id>\r
198                                                 <goals>\r
199                                                         <goal>prepare-agent</goal>\r
200                                                 </goals>\r
201                                                 <configuration>\r
202                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>\r
203                                                         <!-- <append>true</append> -->\r
204                                                 </configuration>\r
205                                         </execution>\r
206                                         <execution>\r
207                                                 <id>pre-integration-test</id>\r
208                                                 <phase>pre-integration-test</phase>\r
209                                                 <goals>\r
210                                                         <goal>prepare-agent</goal>\r
211                                                 </goals>\r
212                                                 <configuration>\r
213                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>\r
214                                                         <!-- <append>true</append> -->\r
215                                                 </configuration>\r
216                                         </execution>\r
217                                         <execution>\r
218                         <goals>\r
219                             <goal>merge</goal>\r
220                         </goals>\r
221                         <phase>post-integration-test</phase>\r
222                         <configuration>\r
223                             <fileSets>\r
224                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">\r
225                                     <directory>${project.build.directory}/coverage-reports</directory>\r
226                                     <includes>\r
227                                         <include>*.exec</include>\r
228                                     </includes>\r
229                                 </fileSet>\r
230                             </fileSets>\r
231                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>\r
232                         </configuration>\r
233                     </execution>\r
234                                 </executions>\r
235                         </plugin>\r
236                 \r
237                         </plugins>\r
238                 </pluginManagement>\r
239         </build>\r
240         <distributionManagement>\r
241                 <repository>\r
242                         <id>ecomp-releases</id>\r
243                         <name>AAF Release Repository</name>\r
244                         <url>${nexusproxy}${releaseNexusPath}</url>\r
245                 </repository>\r
246                 <snapshotRepository>\r
247                         <id>ecomp-snapshots</id>\r
248                         <name>AAF Snapshot Repository</name>\r
249                         <url>${nexusproxy}${snapshotNexusPath}</url>\r
250                 </snapshotRepository>\r
251                 <site>\r
252                         <id>ecomp-site</id>\r
253                         <url>dav:${nexusproxy}${sitePath}</url>\r
254                 </site>\r
255         </distributionManagement>\r
256 \r
257 </project>\r