blob: 83a4ad3cde5d4416b14f321742b64b5807671af2 [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>
Instrumental4d0a0452019-11-14 12:14:16 -060027 <version>2.1.17-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-xgen</artifactId>
33 <name>AAF Misc XGen</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 <!-- <sonar.skip>true</sonar.skip> -->
59 <jacoco.version>0.7.7.201606060606</jacoco.version>
60 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
61 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
62 <!-- Default Sonar configuration -->
63 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
64 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
65 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
66 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
67
68 <nexusproxy>https://nexus.onap.org</nexusproxy>
69 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
70 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
71 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
72 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
73 </properties>
74
75 <dependencies>
76 <dependency>
77 <groupId>org.onap.aaf.authz</groupId>
78 <artifactId>aaf-misc-env</artifactId>
79 <version>${project.version}</version>
80 </dependency>
81 </dependencies>
82
83 <!-- ============================================================== -->
84 <!-- Define common plugins and make them available for all modules -->
85 <!-- ============================================================== -->
86 <build>
87 <testSourceDirectory>src/test/java</testSourceDirectory>
88 <plugins>
89 </plugins>
90 <pluginManagement>
91 <plugins>
92 <plugin>
93 <inherited>true</inherited>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-compiler-plugin</artifactId>
96 <version>2.3.2</version>
97 <configuration>
98 <source>1.7</source>
99 <target>1.7</target>
100 </configuration>
101 </plugin>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <version>2.4</version>
105 <artifactId>maven-jar-plugin</artifactId>
106 <configuration>
107 <outputDirectory>target</outputDirectory>
108 <archive>
109 <manifestEntries>
110 <Sealed>true</Sealed>
111 </manifestEntries>
112 </archive>
113 </configuration>
114 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500115
Instrumentale9ae0482019-08-02 14:46:27 -0500116 <!-- Define the javadoc plugin -->
117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-javadoc-plugin</artifactId>
120 <version>2.10</version>
121 <configuration>
122 <excludePackageNames>org.opendaylight.*</excludePackageNames>
123 </configuration>
124 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500125
Instrumentale9ae0482019-08-02 14:46:27 -0500126 <plugin>
127 <artifactId>maven-release-plugin</artifactId>
128 <version>2.5.2</version>
129 <configuration>
130 <goals>-s ${mvn.settings} deploy</goals>
131 </configuration>
132 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500133
Instrumentale9ae0482019-08-02 14:46:27 -0500134 <plugin>
135 <artifactId>maven-assembly-plugin</artifactId>
136 <version>2.5.5</version>
137 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500138
Instrumentale9ae0482019-08-02 14:46:27 -0500139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-deploy-plugin</artifactId>
142 <version>2.8.1</version>
143 <configuration>
144 <skip>false</skip>
145 </configuration>
146 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500147
Instrumentale9ae0482019-08-02 14:46:27 -0500148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-dependency-plugin</artifactId>
151 <version>2.10</version>
152 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500153
Instrumentale9ae0482019-08-02 14:46:27 -0500154 <!-- Maven surefire plugin for testing -->
155 <plugin>
156 <artifactId>maven-surefire-plugin</artifactId>
157 <version>2.17</version>
158 <configuration>
159 <skipTests>false</skipTests>
160 <includes>
161 <include>**/JU*.java</include>
162 </includes>
163 <excludes>
164 </excludes>
165 </configuration>
166 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500167
Instrumentale9ae0482019-08-02 14:46:27 -0500168 <!--This plugin's configuration is used to store Eclipse m2e settings
169 only. It has no influence on the Maven build itself. -->
170 <plugin>
171 <groupId>org.eclipse.m2e</groupId>
172 <artifactId>lifecycle-mapping</artifactId>
173 <version>1.0.0</version>
174 <configuration>
175 <lifecycleMappingMetadata>
176 <pluginExecutions>
177 <pluginExecution>
178 <pluginExecutionFilter>
179 <groupId>
180 org.codehaus.mojo
181 </groupId>
182 <artifactId>
183 jaxb2-maven-plugin
184 </artifactId>
185 <versionRange>
186 [1.3,)
187 </versionRange>
188 <goals>
189 <goal>xjc</goal>
190 </goals>
191 </pluginExecutionFilter>
192 <action>
193 <ignore />
194 </action>
195 </pluginExecution>
196 </pluginExecutions>
197 </lifecycleMappingMetadata>
198 </configuration>
199 </plugin>
200 <plugin>
201 <groupId>org.jacoco</groupId>
202 <artifactId>jacoco-maven-plugin</artifactId>
203 <version>${jacoco.version}</version>
204 <configuration>
205 <excludes>
206 <exclude>**/gen/**</exclude>
207 <exclude>**/generated-sources/**</exclude>
208 <exclude>**/yang-gen/**</exclude>
209 <exclude>**/pax/**</exclude>
210 </excludes>
211 </configuration>
212 <executions>
213 <execution>
214 <id>pre-unit-test</id>
215 <goals>
216 <goal>prepare-agent</goal>
217 </goals>
218 <configuration>
219 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
220 <propertyName>surefireArgLine</propertyName>
221 </configuration>
222 </execution>
223 <execution>
224 <id>post-unit-test</id>
225 <phase>test</phase>
226 <goals>
227 <goal>report</goal>
228 </goals>
229 <configuration>
230 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
231 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
232 </configuration>
233 </execution>
234 <execution>
235 <id>pre-integration-test</id>
236 <phase>pre-integration-test</phase>
237 <goals>
238 <goal>prepare-agent</goal>
239 </goals>
240 <configuration>
241 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
242 <propertyName>failsafeArgLine</propertyName>
243 </configuration>
244 </execution>
245 <execution>
246 <id>post-integration-test</id>
247 <phase>post-integration-test</phase>
248 <goals>
249 <goal>report</goal>
250 </goals>
251 <configuration>
252 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
253 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
254 </configuration>
255 </execution>
256 </executions>
257 </plugin>
258 </plugins>
259 </pluginManagement>
260 </build>
261
262 <distributionManagement>
263 <repository>
264 <id>ecomp-releases</id>
265 <name>AAF Release Repository</name>
266 <url>${nexusproxy}${releaseNexusPath}</url>
267 </repository>
268 <snapshotRepository>
269 <id>ecomp-snapshots</id>
270 <name>AAF Snapshot Repository</name>
271 <url>${nexusproxy}${snapshotNexusPath}</url>
272 </snapshotRepository>
273 <site>
274 <id>ecomp-site</id>
275 <url>dav:${nexusproxy}${sitePath}</url>
276 </site>
277 </distributionManagement>
278
279
Instrumentalac1e1ec2018-03-26 13:37:04 -0700280</project>