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