Fix the remaining failing tests in Cadi
[aaf/authz.git] / misc / rosetta / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START====================================================
4  * org.onap.aaf
5  * ===========================================================================
6  * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===========================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END====================================================
20  *
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24         <parent>
25                 <groupId>org.onap.aaf.authz.misc</groupId>
26                 <artifactId>parent</artifactId>
27                 <version>1.3.0-SNAPSHOT</version>
28                 <relativePath>..</relativePath>
29         </parent>
30
31         <modelVersion>4.0.0</modelVersion>
32         <artifactId>aaf-misc-rosetta</artifactId>
33         <name>AAF Misc Rosetta</name>
34         <packaging>jar</packaging>
35
36         <developers>
37                 <developer>
38                         <name>Jonathan Gathman</name>
39                         <email>jonathan.gathman@att.com</email>
40                         <organization>ATT</organization>
41                         <roles>
42                                 <role>Architect</role>
43                                 <role>Lead Developer</role>
44                         </roles>
45                 </developer>
46                 <developer>
47                         <name>Gabe Maurer</name>
48                         <email>gabe.maurer@att.com</email>
49                         <organization>ATT</organization>
50                         <roles>
51                                 <role>Developer</role>
52                         </roles>
53                 </developer>
54                 <developer>
55                         <name>Ian Howell</name>
56                         <email>ian.howell@att.com</email>
57                         <organization>ATT</organization>
58                         <roles>
59                                 <role>Developer</role>
60                         </roles>
61                 </developer>
62                 <developer>
63                         <name>Sai Gandham</name>
64                         <email>sai.gandham@att.com</email>
65                         <organization>ATT</organization>
66                         <roles>
67                                 <role>Developer</role>
68                         </roles>
69                 </developer>
70         </developers>
71
72         <properties>
73         <!--  SONAR  -->
74                  <jacoco.version>0.7.7.201606060606</jacoco.version>
75             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
76             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
77             <!-- Default Sonar configuration -->
78             <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
79             <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
80             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
81             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
82
83                 <nexusproxy>https://nexus.onap.org</nexusproxy>
84                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
85                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
86                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
87                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
88         </properties>
89
90         <dependencies>
91                 <dependency>
92                         <groupId>org.onap.aaf.authz.misc</groupId>
93                         <artifactId>aaf-misc-env</artifactId>
94                         <version>${project.version}</version>
95                 </dependency>
96         </dependencies>
97
98                         
99
100                                 <!-- ============================================================== -->
101         <!-- Define common plugins and make them available for all modules -->
102         <!-- ============================================================== -->
103         <build>
104                 <testSourceDirectory>src/test/java</testSourceDirectory>
105                 
106                         <plugins>
107                                 <plugin>
108                                         <inherited>true</inherited>
109                                         <groupId>org.apache.maven.plugins</groupId>
110                                         <artifactId>maven-compiler-plugin</artifactId>
111                                         <version>2.3.2</version>
112                                         <configuration>
113                                                 <source>1.7</source>
114                                                 <target>1.7</target>
115                                         </configuration>
116                                 </plugin>
117
118                                 <plugin>
119                                 <groupId>org.jvnet.jaxb2.maven2</groupId>
120                                 <artifactId>maven-jaxb2-plugin</artifactId>
121                                 <version>0.8.2</version>
122                                 <executions>
123                                         <execution>
124                                                 <goals>
125                                                         <goal>generate</goal>
126                                                 </goals>
127                                         </execution>
128                                 </executions>
129                                 <configuration>
130                                         <schemaDirectory>src/main/xsd</schemaDirectory>
131                                 </configuration>
132                         </plugin>
133                         
134                                 <plugin>
135                                         <groupId>org.apache.maven.plugins</groupId>
136                                         <version>2.4</version>
137                                         <artifactId>maven-jar-plugin</artifactId>
138                                         <configuration>
139                                                 <outputDirectory>target</outputDirectory>
140                                                 <archive>
141                                                         <manifestEntries>
142                                                                 <Sealed>true</Sealed>
143                                                         </manifestEntries>
144                                                 </archive>
145                                         </configuration>
146                                 </plugin>
147
148                                 <!-- Define the javadoc plugin -->
149                                 <plugin>
150                                         <groupId>org.apache.maven.plugins</groupId>
151                                         <artifactId>maven-javadoc-plugin</artifactId>
152                                         <version>2.10</version>
153                                         <configuration>
154                                                 <excludePackageNames>org.opendaylight.*</excludePackageNames>
155                                         </configuration>
156                                 </plugin>
157
158                                 <plugin>
159                                         <artifactId>maven-release-plugin</artifactId>
160                                         <version>2.5.2</version>
161                                         <configuration>
162                                                 <goals>-s ${mvn.settings} deploy</goals>
163                                         </configuration>
164                                 </plugin>
165
166                                 <plugin>
167                                         <artifactId>maven-assembly-plugin</artifactId>
168                                         <version>2.5.5</version>
169                                 </plugin>
170
171                                 <plugin>
172                                         <groupId>org.apache.maven.plugins</groupId>
173                                         <artifactId>maven-deploy-plugin</artifactId>
174                                         <version>2.8.1</version>
175                                         <configuration>
176                                                 <skip>false</skip>
177                                         </configuration>
178
179                                 </plugin>
180
181                                 <plugin>
182                                         <groupId>org.apache.maven.plugins</groupId>
183                                         <artifactId>maven-dependency-plugin</artifactId>
184                                         <version>2.10</version>
185                                 </plugin>
186
187                                 <!-- Maven surefire plugin for testing -->
188                                 <plugin>
189                                         <artifactId>maven-surefire-plugin</artifactId>
190                                         <version>2.17</version>
191                                         <configuration>
192                                         <skipTests>false</skipTests>
193                                         <includes>
194                                                 <include>**/JU*.java</include>
195                                         </includes>
196                                         <excludes>
197                                         </excludes>
198                                         </configuration>
199                                 </plugin>
200
201                                 <!--This plugin's configuration is used to store Eclipse m2e settings
202                                         only. It has no influence on the Maven build itself. -->
203                                 <plugin>
204                                         <groupId>org.eclipse.m2e</groupId>
205                                         <artifactId>lifecycle-mapping</artifactId>
206                                         <version>1.0.0</version>
207                                         <configuration>
208                                                 <lifecycleMappingMetadata>
209                                                         <pluginExecutions>
210                                                                 <pluginExecution>
211                                                                         <pluginExecutionFilter>
212                                                                                 <groupId>
213                                                                                         org.codehaus.mojo
214                                                                                 </groupId>
215                                                                                 <artifactId>
216                                                                                         jaxb2-maven-plugin
217                                                                                 </artifactId>
218                                                                                 <versionRange>
219                                                                                         [1.3,)
220                                                                                 </versionRange>
221                                                                                 <goals>
222                                                                                         <goal>xjc</goal>
223                                                                                 </goals>
224                                                                         </pluginExecutionFilter>
225                                                                         <action>
226                                                                                 <ignore />
227                                                                         </action>
228                                                                 </pluginExecution>
229                                                         </pluginExecutions>
230                                                 </lifecycleMappingMetadata>
231                                         </configuration>
232                                 </plugin>
233                                 <plugin>
234                                         <groupId>org.sonatype.plugins</groupId>
235                                         <artifactId>nexus-staging-maven-plugin</artifactId>
236                                         <version>1.6.7</version>
237                                         <extensions>true</extensions>
238                                         <configuration>
239                                                 <nexusUrl>${nexusproxy}</nexusUrl>
240                                                 <stagingProfileId>176c31dfe190a</stagingProfileId>
241                                                 <serverId>ecomp-staging</serverId>
242                                         </configuration>
243                                 </plugin>
244                                 <plugin>
245                                         <groupId>org.jacoco</groupId>
246                                         <artifactId>jacoco-maven-plugin</artifactId>
247                                         <version>${jacoco.version}</version>
248                                         <configuration>
249                                                 <excludes>
250                                                         <exclude>**/gen/**</exclude>
251                                                         <exclude>**/generated-sources/**</exclude>
252                                                         <exclude>**/yang-gen/**</exclude>
253                                                         <exclude>**/pax/**</exclude>
254                                                 </excludes>
255                                         </configuration>
256                                         <executions>
257                                                 <execution>
258                                                         <id>pre-unit-test</id>
259                                                         <goals>
260                                                                 <goal>prepare-agent</goal>
261                                                         </goals>
262                                                         <configuration>
263                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
264                                                                 <propertyName>surefireArgLine</propertyName>
265                                                         </configuration>
266                                                 </execution>
267                                                 <execution>
268                                                         <id>post-unit-test</id>
269                                                         <phase>test</phase>
270                                                         <goals>
271                                                                 <goal>report</goal>
272                                                         </goals>
273                                                         <configuration>
274                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
275                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
276                                                         </configuration>
277                                                 </execution>
278                                                 <execution>
279                                                         <id>pre-integration-test</id>
280                                                         <phase>pre-integration-test</phase>
281                                                         <goals>
282                                                                 <goal>prepare-agent</goal>
283                                                         </goals>
284                                                         <configuration>
285                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
286                                                                 <propertyName>failsafeArgLine</propertyName>
287                                                         </configuration>
288                                                 </execution>
289                                                 <execution>
290                                                         <id>post-integration-test</id>
291                                                         <phase>post-integration-test</phase>
292                                                         <goals>
293                                                                 <goal>report</goal>
294                                                         </goals>
295                                                         <configuration>
296                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
297                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
298                                                         </configuration>
299                                                 </execution>
300                                         </executions>
301                                 </plugin>
302                         </plugins>
303         </build>
304
305         <distributionManagement>
306                 <repository>
307                         <id>ecomp-releases</id>
308                         <name>AAF Release Repository</name>
309                         <url>${nexusproxy}${releaseNexusPath}</url>
310                 </repository>
311                 <snapshotRepository>
312                         <id>ecomp-snapshots</id>
313                         <name>AAF Snapshot Repository</name>
314                         <url>${nexusproxy}${snapshotNexusPath}</url>
315                 </snapshotRepository>
316                 <site>
317                         <id>ecomp-site</id>
318                         <url>dav:${nexusproxy}${sitePath}</url>
319                 </site>
320         </distributionManagement>
321
322 </project>