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