blob: 1a4ab7bafdf2d162fc55254e2822146a7e382aa5 [file] [log] [blame]
Instrumentalac1e1ec2018-03-26 13:37:04 -07001<?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"
Instrumentale9ae0482019-08-02 14:46:27 -050023 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>
John J. Franey62168142020-04-23 16:09:38 -040027 <version>2.1.20-SNAPSHOT</version>
Instrumentale9ae0482019-08-02 14:46:27 -050028 <relativePath>..</relativePath>
29 </parent>
Instrumentalac1e1ec2018-03-26 13:37:04 -070030
Instrumentale9ae0482019-08-02 14:46:27 -050031 <modelVersion>4.0.0</modelVersion>
32 <artifactId>aaf-misc-rosetta</artifactId>
33 <name>AAF Misc Rosetta</name>
34 <packaging>jar</packaging>
Instrumentalac1e1ec2018-03-26 13:37:04 -070035
Instrumentale9ae0482019-08-02 14:46:27 -050036 <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>
Instrumentale9ae0482019-08-02 14:46:27 -050047 <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>
Instrumentalac1e1ec2018-03-26 13:37:04 -070055
Instrumentale9ae0482019-08-02 14:46:27 -050056 <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>
IanHowell3901cf82018-04-03 11:24:27 -050068
Instrumentale9ae0482019-08-02 14:46:27 -050069 <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>
IanHowell3901cf82018-04-03 11:24:27 -050075
Instrumentale9ae0482019-08-02 14:46:27 -050076 <dependencies>
77 <dependency>
78 <groupId>org.onap.aaf.authz</groupId>
79 <artifactId>aaf-misc-env</artifactId>
Instrumentale9ae0482019-08-02 14:46:27 -050080 </dependency>
Instrumental4d0a0452019-11-14 12:14:16 -060081 <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>
Instrumental4d0a0452019-11-14 12:14:16 -060088 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -050089 </dependencies>
Instrumentalac1e1ec2018-03-26 13:37:04 -070090
Instrumentale9ae0482019-08-02 14:46:27 -050091
Sai Gandham61f8fdf2018-04-03 12:07:07 -050092
Instrumentale9ae0482019-08-02 14:46:27 -050093 <!-- ============================================================== -->
94 <!-- Define common plugins and make them available for all modules -->
95 <!-- ============================================================== -->
96 <build>
97 <testSourceDirectory>src/test/java</testSourceDirectory>
98
99 <plugins>
100 <plugin>
101 <inherited>true</inherited>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-compiler-plugin</artifactId>
104 <configuration>
105 <source>1.7</source>
106 <target>1.7</target>
107 </configuration>
108 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500109
Instrumentale9ae0482019-08-02 14:46:27 -0500110 <plugin>
111 <groupId>org.jvnet.jaxb2.maven2</groupId>
112 <artifactId>maven-jaxb2-plugin</artifactId>
113 <version>0.8.2</version>
114 <executions>
115 <execution>
116 <goals>
117 <goal>generate</goal>
118 </goals>
119 </execution>
120 </executions>
121 <configuration>
122 <schemaDirectory>src/main/xsd</schemaDirectory>
123 </configuration>
124 </plugin>
125
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-jar-plugin</artifactId>
129 <configuration>
130 <outputDirectory>target</outputDirectory>
131 <archive>
132 <manifestEntries>
133 <Sealed>true</Sealed>
134 </manifestEntries>
135 </archive>
136 </configuration>
137 </plugin>
Sai Gandham372e2512018-04-01 16:42:58 -0500138
Instrumentale9ae0482019-08-02 14:46:27 -0500139 <!-- Define the javadoc plugin -->
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-javadoc-plugin</artifactId>
143 <configuration>
144 <excludePackageNames>org.opendaylight.*</excludePackageNames>
145 </configuration>
146 </plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700147
Instrumentale9ae0482019-08-02 14:46:27 -0500148 <plugin>
149 <artifactId>maven-release-plugin</artifactId>
150 <configuration>
151 <goals>-s ${mvn.settings} deploy</goals>
152 </configuration>
153 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500154
Instrumentale9ae0482019-08-02 14:46:27 -0500155 <plugin>
156 <artifactId>maven-assembly-plugin</artifactId>
157 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500158
Instrumentale9ae0482019-08-02 14:46:27 -0500159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-deploy-plugin</artifactId>
162 <configuration>
163 <skip>false</skip>
164 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500165
Instrumentale9ae0482019-08-02 14:46:27 -0500166 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500167
Instrumentale9ae0482019-08-02 14:46:27 -0500168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-dependency-plugin</artifactId>
171 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500172
Instrumentale9ae0482019-08-02 14:46:27 -0500173 <!-- Maven surefire plugin for testing -->
174 <plugin>
175 <artifactId>maven-surefire-plugin</artifactId>
176 <configuration>
177 <skipTests>false</skipTests>
178 <includes>
179 <include>**/JU*.java</include>
180 </includes>
181 <excludes>
182 </excludes>
183 </configuration>
184 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500185
Instrumentale9ae0482019-08-02 14:46:27 -0500186 <!--This plugin's configuration is used to store Eclipse m2e settings
187 only. It has no influence on the Maven build itself. -->
188 <plugin>
189 <groupId>org.eclipse.m2e</groupId>
190 <artifactId>lifecycle-mapping</artifactId>
191 <configuration>
192 <lifecycleMappingMetadata>
193 <pluginExecutions>
194 <pluginExecution>
195 <pluginExecutionFilter>
196 <groupId>
197 org.codehaus.mojo
198 </groupId>
199 <artifactId>
200 jaxb2-maven-plugin
201 </artifactId>
202 <versionRange>
203 [1.3,)
204 </versionRange>
205 <goals>
206 <goal>xjc</goal>
207 </goals>
208 </pluginExecutionFilter>
209 <action>
210 <ignore />
211 </action>
212 </pluginExecution>
213 </pluginExecutions>
214 </lifecycleMappingMetadata>
215 </configuration>
216 </plugin>
217 <plugin>
218 <groupId>org.jacoco</groupId>
219 <artifactId>jacoco-maven-plugin</artifactId>
220 <configuration>
221 <excludes>
222 <exclude>**/gen/**</exclude>
223 <exclude>**/generated-sources/**</exclude>
224 <exclude>**/yang-gen/**</exclude>
225 <exclude>**/pax/**</exclude>
226 </excludes>
227 </configuration>
228 <executions>
229 <execution>
230 <id>pre-unit-test</id>
231 <goals>
232 <goal>prepare-agent</goal>
233 </goals>
234 <configuration>
235 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
236 <propertyName>surefireArgLine</propertyName>
237 </configuration>
238 </execution>
239 <execution>
240 <id>post-unit-test</id>
241 <phase>test</phase>
242 <goals>
243 <goal>report</goal>
244 </goals>
245 <configuration>
246 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
247 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
248 </configuration>
249 </execution>
250 <execution>
251 <id>pre-integration-test</id>
252 <phase>pre-integration-test</phase>
253 <goals>
254 <goal>prepare-agent</goal>
255 </goals>
256 <configuration>
257 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
258 <propertyName>failsafeArgLine</propertyName>
259 </configuration>
260 </execution>
261 <execution>
262 <id>post-integration-test</id>
263 <phase>post-integration-test</phase>
264 <goals>
265 <goal>report</goal>
266 </goals>
267 <configuration>
268 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
269 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
270 </configuration>
271 </execution>
272 </executions>
273 </plugin>
274 </plugins>
275 </build>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700276
Instrumentale9ae0482019-08-02 14:46:27 -0500277 <distributionManagement>
278 <repository>
279 <id>ecomp-releases</id>
280 <name>AAF Release Repository</name>
281 <url>${nexusproxy}${releaseNexusPath}</url>
282 </repository>
283 <snapshotRepository>
284 <id>ecomp-snapshots</id>
285 <name>AAF Snapshot Repository</name>
286 <url>${nexusproxy}${snapshotNexusPath}</url>
287 </snapshotRepository>
288 <site>
289 <id>ecomp-site</id>
290 <url>dav:${nexusproxy}${sitePath}</url>
291 </site>
292 </distributionManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500293
IanHowelle6123772018-04-03 15:26:47 -0500294</project>