Fix names
[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>Sai Gandham</name>
48             <email>sai.gandham@att.com</email>
49             <organization>ATT</organization>
50             <roles>
51                 <role>Developer</role>
52             </roles>
53         </developer>
54     </developers>
55
56     <properties>
57     <!--  SONAR  -->
58     <scijava.jvm.version>1.8</scijava.jvm.version>
59     <!-- <sonar.skip>true</sonar.skip> -->
60          <jacoco.version>0.7.7.201606060606</jacoco.version>
61         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
62         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
63         <!-- Default Sonar configuration -->
64         <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
65         <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
66         <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
67         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
68
69         <nexusproxy>https://nexus.onap.org</nexusproxy>
70         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
71         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
72         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
73         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
74     </properties>
75
76     <dependencies>
77         <dependency>
78             <groupId>org.onap.aaf.authz</groupId>
79             <artifactId>aaf-misc-env</artifactId>
80         </dependency>
81         <dependency>
82           <groupId>javax.xml.bind</groupId>
83           <artifactId>jaxb-api</artifactId>
84         </dependency>
85         <dependency>
86           <groupId>org.glassfish.jaxb</groupId>
87           <artifactId>jaxb-runtime</artifactId>
88           <scope>runtime</scope>
89         </dependency>
90         <dependency>
91           <groupId>com.sun.istack</groupId>
92           <artifactId>istack-commons-runtime</artifactId>
93           <version>2.2</version>
94           <scope>runtime</scope>
95         </dependency>
96         
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                     <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                     <artifactId>maven-jar-plugin</artifactId>
137                     <configuration>
138                         <outputDirectory>target</outputDirectory>
139                         <archive>
140                             <manifestEntries>
141                                 <Sealed>true</Sealed>
142                             </manifestEntries>
143                         </archive>
144                     </configuration>
145                 </plugin>
146
147                 <!-- Define the javadoc plugin -->
148                 <plugin>
149                     <groupId>org.apache.maven.plugins</groupId>
150                     <artifactId>maven-javadoc-plugin</artifactId>
151                     <configuration>
152                         <excludePackageNames>org.opendaylight.*</excludePackageNames>
153                     </configuration>
154                 </plugin>
155
156                 <plugin>
157                     <artifactId>maven-release-plugin</artifactId>
158                     <configuration>
159                         <goals>-s ${mvn.settings} deploy</goals>
160                     </configuration>
161                 </plugin>
162
163                 <plugin>
164                     <artifactId>maven-assembly-plugin</artifactId>
165                 </plugin>
166
167                 <plugin>
168                     <groupId>org.apache.maven.plugins</groupId>
169                     <artifactId>maven-deploy-plugin</artifactId>
170                     <configuration>
171                         <skip>false</skip>
172                     </configuration>
173
174                 </plugin>
175
176                 <plugin>
177                     <groupId>org.apache.maven.plugins</groupId>
178                     <artifactId>maven-dependency-plugin</artifactId>
179                 </plugin>
180
181                 <!-- Maven surefire plugin for testing -->
182                 <plugin>
183                     <artifactId>maven-surefire-plugin</artifactId>
184                     <configuration>
185                     <skipTests>false</skipTests>
186                     <includes>
187                         <include>**/JU*.java</include>
188                     </includes>
189                     <excludes>
190                     </excludes>
191                     </configuration>
192                 </plugin>
193
194                 <!--This plugin's configuration is used to store Eclipse m2e settings
195                     only. It has no influence on the Maven build itself. -->
196                 <plugin>
197                     <groupId>org.eclipse.m2e</groupId>
198                     <artifactId>lifecycle-mapping</artifactId>
199                     <configuration>
200                         <lifecycleMappingMetadata>
201                             <pluginExecutions>
202                                 <pluginExecution>
203                                     <pluginExecutionFilter>
204                                         <groupId>
205                                             org.codehaus.mojo
206                                         </groupId>
207                                         <artifactId>
208                                             jaxb2-maven-plugin
209                                         </artifactId>
210                                         <versionRange>
211                                             [1.3,)
212                                         </versionRange>
213                                         <goals>
214                                             <goal>xjc</goal>
215                                         </goals>
216                                     </pluginExecutionFilter>
217                                     <action>
218                                         <ignore />
219                                     </action>
220                                 </pluginExecution>
221                             </pluginExecutions>
222                         </lifecycleMappingMetadata>
223                     </configuration>
224                 </plugin>
225                 <plugin>
226                     <groupId>org.jacoco</groupId>
227                     <artifactId>jacoco-maven-plugin</artifactId>
228                     <configuration>
229                         <excludes>
230                             <exclude>**/gen/**</exclude>
231                             <exclude>**/generated-sources/**</exclude>
232                             <exclude>**/yang-gen/**</exclude>
233                             <exclude>**/pax/**</exclude>
234                         </excludes>
235                     </configuration>
236                     <executions>
237                         <execution>
238                             <id>pre-unit-test</id>
239                             <goals>
240                                 <goal>prepare-agent</goal>
241                             </goals>
242                             <configuration>
243                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
244                                 <propertyName>surefireArgLine</propertyName>
245                             </configuration>
246                         </execution>
247                         <execution>
248                             <id>post-unit-test</id>
249                             <phase>test</phase>
250                             <goals>
251                                 <goal>report</goal>
252                             </goals>
253                             <configuration>
254                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
255                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
256                             </configuration>
257                         </execution>
258                         <execution>
259                             <id>pre-integration-test</id>
260                             <phase>pre-integration-test</phase>
261                             <goals>
262                                 <goal>prepare-agent</goal>
263                             </goals>
264                             <configuration>
265                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
266                                 <propertyName>failsafeArgLine</propertyName>
267                             </configuration>
268                         </execution>
269                         <execution>
270                             <id>post-integration-test</id>
271                             <phase>post-integration-test</phase>
272                             <goals>
273                                 <goal>report</goal>
274                             </goals>
275                             <configuration>
276                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
277                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
278                             </configuration>
279                         </execution>
280                     </executions>
281                 </plugin>
282             </plugins>
283     </build>
284
285     <distributionManagement>
286         <repository>
287             <id>ecomp-releases</id>
288             <name>AAF Release Repository</name>
289             <url>${nexusproxy}${releaseNexusPath}</url>
290         </repository>
291         <snapshotRepository>
292             <id>ecomp-snapshots</id>
293             <name>AAF Snapshot Repository</name>
294             <url>${nexusproxy}${snapshotNexusPath}</url>
295         </snapshotRepository>
296         <site>
297             <id>ecomp-site</id>
298             <url>dav:${nexusproxy}${sitePath}</url>
299         </site>
300     </distributionManagement>
301
302 </project>