Pull in all pom changes, merge, and review
[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>2.1.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         <sonar.skip>true</sonar.skip>
75                  <jacoco.version>0.7.7.201606060606</jacoco.version>
76             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
77             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
78             <!-- Default Sonar configuration -->
79             <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
80             <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
81             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
82             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
83
84                 <nexusproxy>https://nexus.onap.org</nexusproxy>
85                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
86                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
87                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
88                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
89         </properties>
90
91         <dependencies>
92                 <dependency>
93                         <groupId>org.onap.aaf.authz.misc</groupId>
94                         <artifactId>aaf-misc-env</artifactId>
95                         <version>${project.version}</version>
96                 </dependency>
97         </dependencies>
98
99                         
100
101                                 <!-- ============================================================== -->
102         <!-- Define common plugins and make them available for all modules -->
103         <!-- ============================================================== -->
104         <build>
105                 <testSourceDirectory>src/test/java</testSourceDirectory>
106                 
107                         <plugins>
108                                 <plugin>
109                                         <inherited>true</inherited>
110                                         <groupId>org.apache.maven.plugins</groupId>
111                                         <artifactId>maven-compiler-plugin</artifactId>
112                                         <version>2.3.2</version>
113                                         <configuration>
114                                                 <source>1.7</source>
115                                                 <target>1.7</target>
116                                         </configuration>
117                                 </plugin>
118
119                                 <plugin>
120                                 <groupId>org.jvnet.jaxb2.maven2</groupId>
121                                 <artifactId>maven-jaxb2-plugin</artifactId>
122                                 <version>0.8.2</version>
123                                 <executions>
124                                         <execution>
125                                                 <goals>
126                                                         <goal>generate</goal>
127                                                 </goals>
128                                         </execution>
129                                 </executions>
130                                 <configuration>
131                                         <schemaDirectory>src/main/xsd</schemaDirectory>
132                                 </configuration>
133                         </plugin>
134                         
135                                 <plugin>
136                                         <groupId>org.apache.maven.plugins</groupId>
137                                         <version>2.4</version>
138                                         <artifactId>maven-jar-plugin</artifactId>
139                                         <configuration>
140                                                 <outputDirectory>target</outputDirectory>
141                                                 <archive>
142                                                         <manifestEntries>
143                                                                 <Sealed>true</Sealed>
144                                                         </manifestEntries>
145                                                 </archive>
146                                         </configuration>
147                                 </plugin>
148
149                                 <!-- Define the javadoc plugin -->
150                                 <plugin>
151                                         <groupId>org.apache.maven.plugins</groupId>
152                                         <artifactId>maven-javadoc-plugin</artifactId>
153                                         <version>2.10</version>
154                                         <configuration>
155                                                 <excludePackageNames>org.opendaylight.*</excludePackageNames>
156                                         </configuration>
157                                 </plugin>
158
159                                 <plugin>
160                                         <artifactId>maven-release-plugin</artifactId>
161                                         <version>2.5.2</version>
162                                         <configuration>
163                                                 <goals>-s ${mvn.settings} deploy</goals>
164                                         </configuration>
165                                 </plugin>
166
167                                 <plugin>
168                                         <artifactId>maven-assembly-plugin</artifactId>
169                                         <version>2.5.5</version>
170                                 </plugin>
171
172                                 <plugin>
173                                         <groupId>org.apache.maven.plugins</groupId>
174                                         <artifactId>maven-deploy-plugin</artifactId>
175                                         <version>2.8.1</version>
176                                         <configuration>
177                                                 <skip>false</skip>
178                                         </configuration>
179
180                                 </plugin>
181
182                                 <plugin>
183                                         <groupId>org.apache.maven.plugins</groupId>
184                                         <artifactId>maven-dependency-plugin</artifactId>
185                                         <version>2.10</version>
186                                 </plugin>
187
188                                 <!-- Maven surefire plugin for testing -->
189                                 <plugin>
190                                         <artifactId>maven-surefire-plugin</artifactId>
191                                         <version>2.17</version>
192                                         <configuration>
193                                         <skipTests>false</skipTests>
194                                         <includes>
195                                                 <include>**/JU*.java</include>
196                                         </includes>
197                                         <excludes>
198                                         </excludes>
199                                         </configuration>
200                                 </plugin>
201
202                                 <!--This plugin's configuration is used to store Eclipse m2e settings
203                                         only. It has no influence on the Maven build itself. -->
204                                 <plugin>
205                                         <groupId>org.eclipse.m2e</groupId>
206                                         <artifactId>lifecycle-mapping</artifactId>
207                                         <version>1.0.0</version>
208                                         <configuration>
209                                                 <lifecycleMappingMetadata>
210                                                         <pluginExecutions>
211                                                                 <pluginExecution>
212                                                                         <pluginExecutionFilter>
213                                                                                 <groupId>
214                                                                                         org.codehaus.mojo
215                                                                                 </groupId>
216                                                                                 <artifactId>
217                                                                                         jaxb2-maven-plugin
218                                                                                 </artifactId>
219                                                                                 <versionRange>
220                                                                                         [1.3,)
221                                                                                 </versionRange>
222                                                                                 <goals>
223                                                                                         <goal>xjc</goal>
224                                                                                 </goals>
225                                                                         </pluginExecutionFilter>
226                                                                         <action>
227                                                                                 <ignore />
228                                                                         </action>
229                                                                 </pluginExecution>
230                                                         </pluginExecutions>
231                                                 </lifecycleMappingMetadata>
232                                         </configuration>
233                                 </plugin>
234                                 <plugin>
235                                         <groupId>org.sonatype.plugins</groupId>
236                                         <artifactId>nexus-staging-maven-plugin</artifactId>
237                                         <version>1.6.7</version>
238                                         <extensions>true</extensions>
239                                         <configuration>
240                                                 <nexusUrl>${nexusproxy}</nexusUrl>
241                                                 <stagingProfileId>176c31dfe190a</stagingProfileId>
242                                                 <serverId>ecomp-staging</serverId>
243                                         </configuration>
244                                 </plugin>
245                                 <plugin>
246                                         <groupId>org.jacoco</groupId>
247                                         <artifactId>jacoco-maven-plugin</artifactId>
248                                         <version>${jacoco.version}</version>
249                                         <configuration>
250                                                 <excludes>
251                                                         <exclude>**/gen/**</exclude>
252                                                         <exclude>**/generated-sources/**</exclude>
253                                                         <exclude>**/yang-gen/**</exclude>
254                                                         <exclude>**/pax/**</exclude>
255                                                 </excludes>
256                                         </configuration>
257                                         <executions>
258                                                 <execution>
259                                                         <id>pre-unit-test</id>
260                                                         <goals>
261                                                                 <goal>prepare-agent</goal>
262                                                         </goals>
263                                                         <configuration>
264                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
265                                                                 <propertyName>surefireArgLine</propertyName>
266                                                         </configuration>
267                                                 </execution>
268                                                 <execution>
269                                                         <id>post-unit-test</id>
270                                                         <phase>test</phase>
271                                                         <goals>
272                                                                 <goal>report</goal>
273                                                         </goals>
274                                                         <configuration>
275                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
276                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
277                                                         </configuration>
278                                                 </execution>
279                                                 <execution>
280                                                         <id>pre-integration-test</id>
281                                                         <phase>pre-integration-test</phase>
282                                                         <goals>
283                                                                 <goal>prepare-agent</goal>
284                                                         </goals>
285                                                         <configuration>
286                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
287                                                                 <propertyName>failsafeArgLine</propertyName>
288                                                         </configuration>
289                                                 </execution>
290                                                 <execution>
291                                                         <id>post-integration-test</id>
292                                                         <phase>post-integration-test</phase>
293                                                         <goals>
294                                                                 <goal>report</goal>
295                                                         </goals>
296                                                         <configuration>
297                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
298                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
299                                                         </configuration>
300                                                 </execution>
301                                         </executions>
302                                 </plugin>
303                         </plugins>
304         </build>
305
306         <distributionManagement>
307                 <repository>
308                         <id>ecomp-releases</id>
309                         <name>AAF Release Repository</name>
310                         <url>${nexusproxy}${releaseNexusPath}</url>
311                 </repository>
312                 <snapshotRepository>
313                         <id>ecomp-snapshots</id>
314                         <name>AAF Snapshot Repository</name>
315                         <url>${nexusproxy}${snapshotNexusPath}</url>
316                 </snapshotRepository>
317                 <site>
318                         <id>ecomp-site</id>
319                         <url>dav:${nexusproxy}${sitePath}</url>
320                 </site>
321         </distributionManagement>
322
323 </project>