blob: daae21126e1f664fbe4c29ba775eb562d354d059 [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"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
Sai Gandham3a70e912018-04-12 22:16:21 +000025 <parent>
26 <groupId>org.onap.aaf.authz</groupId>
27 <artifactId>parent</artifactId>
Instrumental12fbeae2018-10-01 21:18:42 -050028 <version>2.1.2-SNAPSHOT</version>
Sai Gandham3a70e912018-04-12 22:16:21 +000029 </parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000030 <artifactId>miscparent</artifactId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070031 <name>AAF Misc Parent</name>
Instrumentalac1e1ec2018-03-26 13:37:04 -070032 <packaging>pom</packaging>
IanHowell3901cf82018-04-03 11:24:27 -050033
Instrumentalac1e1ec2018-03-26 13:37:04 -070034 <developers>
35 <developer>
36 <name>Jonathan Gathman</name>
37 <email>jonathan.gathman@att.com</email>
38 <organization>ATT</organization>
39 <roles>
40 <role>Architect</role>
41 <role>Lead Developer</role>
42 </roles>
43 </developer>
44 <developer>
45 <name>Gabe Maurer</name>
46 <email>gabe.maurer@att.com</email>
47 <organization>ATT</organization>
48 <roles>
49 <role>Developer</role>
50 </roles>
51 </developer>
52 <developer>
53 <name>Ian Howell</name>
54 <email>ian.howell@att.com</email>
55 <organization>ATT</organization>
56 <roles>
57 <role>Developer</role>
58 </roles>
59 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000060 <developer>
61 <name>Sai Gandham</name>
62 <email>sai.gandham@att.com</email>
63 <organization>ATT</organization>
64 <roles>
65 <role>Developer</role>
66 </roles>
67 </developer>
Instrumentalac1e1ec2018-03-26 13:37:04 -070068 </developers>
69
70 <dependencies>
71 <dependency>
72 <groupId>org.mockito</groupId>
73 <artifactId>mockito-all</artifactId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070074 <scope>test</scope>
75 </dependency>
76
77 <dependency>
78 <groupId>org.powermock</groupId>
79 <artifactId>powermock-module-junit4</artifactId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070080 <scope>test</scope>
81 </dependency>
82 <dependency>
83 <groupId>org.powermock</groupId>
84 <artifactId>powermock-api-mockito</artifactId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070085 <scope>test</scope>
86 </dependency>
87 <dependency>
88 <groupId>junit</groupId>
89 <artifactId>junit</artifactId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070090 <scope>test</scope>
IanHowell3901cf82018-04-03 11:24:27 -050091 </dependency>
Instrumentalac1e1ec2018-03-26 13:37:04 -070092 </dependencies>
93
Sai Gandham3a70e912018-04-12 22:16:21 +000094 <modules>
95 <module>env</module>
96 <module>xgen</module>
97 <module>rosetta</module>
98 <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict -->
99 </modules>
100
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500101 <!-- ============================================================== -->
102 <!-- Define common plugins and make them available for all modules -->
103 <!-- ============================================================== -->
Instrumentalac1e1ec2018-03-26 13:37:04 -0700104 <build>
105 <testSourceDirectory>src/test/java</testSourceDirectory>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500106 <plugins>
107 </plugins>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700108 <pluginManagement>
109 <plugins>
110 <plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700111 <inherited>true</inherited>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-compiler-plugin</artifactId>
114 <version>2.3.2</version>
115 <configuration>
116 <source>1.7</source>
117 <target>1.7</target>
118 </configuration>
119 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500120
121 <plugin>
122 <groupId>org.apache.maven.plugins</groupId>
123 <version>2.4</version>
124 <artifactId>maven-jar-plugin</artifactId>
125 <configuration>
126 <outputDirectory>target</outputDirectory>
127 <archive>
128 <manifestEntries>
129 <Sealed>true</Sealed>
130 </manifestEntries>
131 </archive>
132 </configuration>
133 </plugin>
134
135 <!-- Define the javadoc plugin -->
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-javadoc-plugin</artifactId>
139 <version>2.10</version>
140 <configuration>
141 <excludePackageNames>org.opendaylight.*</excludePackageNames>
142 </configuration>
143 </plugin>
144
145 <plugin>
146 <artifactId>maven-release-plugin</artifactId>
147 <version>2.5.2</version>
148 <configuration>
149 <goals>-s ${mvn.settings} deploy</goals>
150 </configuration>
151 </plugin>
152
153 <plugin>
154 <artifactId>maven-assembly-plugin</artifactId>
155 <version>2.5.5</version>
156 </plugin>
157
158 <plugin>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-deploy-plugin</artifactId>
161 <version>2.8.1</version>
162 <configuration>
163 <skip>false</skip>
164 </configuration>
165
166 </plugin>
167
168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-dependency-plugin</artifactId>
171 <version>2.10</version>
172 </plugin>
173
174 <!-- Maven surefire plugin for testing -->
175 <plugin>
176 <artifactId>maven-surefire-plugin</artifactId>
177 <version>2.17</version>
178 <configuration>
Sai Gandham3a70e912018-04-12 22:16:21 +0000179 <skipTests>false</skipTests>
180 <includes>
181 <include>**/JU*.java</include>
182 </includes>
183 <excludes>
184 </excludes>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500185 </configuration>
186 </plugin>
187
188 <!--This plugin's configuration is used to store Eclipse m2e settings
189 only. It has no influence on the Maven build itself. -->
190 <plugin>
191 <groupId>org.eclipse.m2e</groupId>
192 <artifactId>lifecycle-mapping</artifactId>
193 <version>1.0.0</version>
194 <configuration>
195 <lifecycleMappingMetadata>
196 <pluginExecutions>
197 <pluginExecution>
198 <pluginExecutionFilter>
199 <groupId>
200 org.codehaus.mojo
201 </groupId>
202 <artifactId>
203 jaxb2-maven-plugin
204 </artifactId>
205 <versionRange>
206 [1.3,)
207 </versionRange>
208 <goals>
209 <goal>xjc</goal>
210 </goals>
211 </pluginExecutionFilter>
212 <action>
213 <ignore />
214 </action>
215 </pluginExecution>
216 </pluginExecutions>
217 </lifecycleMappingMetadata>
218 </configuration>
219 </plugin>
Sai Gandhame01703c2018-03-26 22:57:09 +0000220 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500221 <groupId>org.sonatype.plugins</groupId>
222 <artifactId>nexus-staging-maven-plugin</artifactId>
223 <version>1.6.7</version>
224 <extensions>true</extensions>
225 <configuration>
226 <nexusUrl>${nexusproxy}</nexusUrl>
227 <stagingProfileId>176c31dfe190a</stagingProfileId>
228 <serverId>ecomp-staging</serverId>
229 </configuration>
230 </plugin>
231 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500232 <groupId>org.jacoco</groupId>
233 <artifactId>jacoco-maven-plugin</artifactId>
234 <version>${jacoco.version}</version>
235 <configuration>
236 <excludes>
237 <exclude>**/gen/**</exclude>
238 <exclude>**/generated-sources/**</exclude>
239 <exclude>**/yang-gen/**</exclude>
240 <exclude>**/pax/**</exclude>
241 </excludes>
242 </configuration>
243 <executions>
244 <execution>
245 <id>pre-unit-test</id>
246 <goals>
247 <goal>prepare-agent</goal>
248 </goals>
249 <configuration>
250 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
251 <propertyName>surefireArgLine</propertyName>
252 </configuration>
253 </execution>
254 <execution>
255 <id>post-unit-test</id>
256 <phase>test</phase>
257 <goals>
258 <goal>report</goal>
259 </goals>
260 <configuration>
261 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
262 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
263 </configuration>
264 </execution>
265 <execution>
266 <id>pre-integration-test</id>
267 <phase>pre-integration-test</phase>
268 <goals>
269 <goal>prepare-agent</goal>
270 </goals>
271 <configuration>
272 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
273 <propertyName>failsafeArgLine</propertyName>
274 </configuration>
275 </execution>
276 <execution>
277 <id>post-integration-test</id>
278 <phase>post-integration-test</phase>
279 <goals>
280 <goal>report</goal>
281 </goals>
282 <configuration>
283 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
284 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
285 </configuration>
286 </execution>
287 </executions>
288 </plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700289 </plugins>
290 </pluginManagement>
291 </build>
292
IanHowell3901cf82018-04-03 11:24:27 -0500293
Sai Gandhame01703c2018-03-26 22:57:09 +0000294 <distributionManagement>
295 <repository>
296 <id>ecomp-releases</id>
297 <name>AAF Release Repository</name>
298 <url>${nexusproxy}${releaseNexusPath}</url>
299 </repository>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000300 <snapshotRepository>
301 <id>ecomp-snapshots</id>
302 <name>AAF Snapshot Repository</name>
303 <url>${nexusproxy}${snapshotNexusPath}</url>
304 </snapshotRepository>
Sai Gandhame01703c2018-03-26 22:57:09 +0000305 <site>
306 <id>ecomp-site</id>
307 <url>dav:${nexusproxy}${sitePath}</url>
308 </site>
309 </distributionManagement>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700310</project>