Merge "Add StandAlone Unix Configurations Include scripts, podman starts, minor code...
[aaf/authz.git] / misc / 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     <modelVersion>4.0.0</modelVersion>
25     <parent>
26        <groupId>org.onap.aaf.authz</groupId>
27        <artifactId>parent</artifactId>
28        <version>2.1.21-SNAPSHOT</version>
29     </parent>
30     <artifactId>miscparent</artifactId>
31     <name>AAF Misc Parent</name>
32     <packaging>pom</packaging>
33
34     <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>Sai Gandham</name>
46             <email>sai.gandham@att.com</email>
47             <organization>ATT</organization>
48             <roles>
49                 <role>Developer</role>
50             </roles>
51         </developer>
52     </developers>
53
54     <dependencies>
55         <dependency>
56             <groupId>org.mockito</groupId>
57             <artifactId>mockito-all</artifactId>
58             <scope>test</scope>
59         </dependency>
60
61         <dependency>
62             <groupId>org.powermock</groupId>
63             <artifactId>powermock-module-junit4</artifactId>
64             <scope>test</scope>
65         </dependency>
66         <dependency>
67             <groupId>org.powermock</groupId>
68             <artifactId>powermock-api-mockito</artifactId>
69             <scope>test</scope>
70         </dependency>
71         <dependency>
72             <groupId>junit</groupId>
73             <artifactId>junit</artifactId>
74             <scope>test</scope>
75         </dependency>
76     </dependencies>
77
78     <modules>
79         <module>env</module>
80         <module>xgen</module>
81         <module>rosetta</module>
82         <module>log4j</module> <!--  note: generates log4j, to avoid Jar conflict -->
83     </modules>
84     
85     <!-- ============================================================== -->
86     <!-- Define common plugins and make them available for all modules -->
87     <!-- ============================================================== -->
88     <build>
89         <testSourceDirectory>src/test/java</testSourceDirectory>
90         <plugins>
91         </plugins>
92         <pluginManagement>
93             <plugins>
94                 <plugin>
95                     <inherited>true</inherited>
96                     <groupId>org.apache.maven.plugins</groupId>
97                     <artifactId>maven-compiler-plugin</artifactId>
98                     <version>2.3.2</version>
99                     <configuration>
100                         <source>1.7</source>
101                         <target>1.7</target>
102                     </configuration>
103                 </plugin>
104
105                 <plugin>
106                     <groupId>org.apache.maven.plugins</groupId>
107                     <version>2.4</version>
108                     <artifactId>maven-jar-plugin</artifactId>
109                     <configuration>
110                         <outputDirectory>target</outputDirectory>
111                         <archive>
112                             <manifestEntries>
113                                 <Sealed>true</Sealed>
114                             </manifestEntries>
115                         </archive>
116                     </configuration>
117                 </plugin>
118
119                 <!-- Define the javadoc plugin -->
120                 <plugin>
121                     <groupId>org.apache.maven.plugins</groupId>
122                     <artifactId>maven-javadoc-plugin</artifactId>
123                     <version>2.10</version>
124                     <configuration>
125                         <excludePackageNames>org.opendaylight.*</excludePackageNames>
126                     </configuration>
127                 </plugin>
128
129                 <plugin>
130                     <artifactId>maven-release-plugin</artifactId>
131                     <version>2.5.2</version>
132                     <configuration>
133                         <goals>-s ${mvn.settings} deploy</goals>
134                     </configuration>
135                 </plugin>
136
137                 <plugin>
138                     <artifactId>maven-assembly-plugin</artifactId>
139                     <version>2.5.5</version>
140                 </plugin>
141
142                 <plugin>
143                     <groupId>org.apache.maven.plugins</groupId>
144                     <artifactId>maven-dependency-plugin</artifactId>
145                     <version>2.10</version>
146                 </plugin>
147
148                 <!-- Maven surefire plugin for testing -->
149                 <plugin>
150                     <artifactId>maven-surefire-plugin</artifactId>
151                     <version>2.17</version>
152                     <configuration>
153                         <skipTests>false</skipTests>
154                         <includes>
155                             <include>**/JU*.java</include>
156                         </includes>
157                         <excludes>
158                         </excludes>
159                         <useSystemClassLoader>false</useSystemClassLoader>
160                     </configuration>
161                 </plugin>
162
163                 <!--This plugin's configuration is used to store Eclipse m2e settings
164                     only. It has no influence on the Maven build itself. -->
165                 <plugin>
166                     <groupId>org.eclipse.m2e</groupId>
167                     <artifactId>lifecycle-mapping</artifactId>
168                     <version>1.0.0</version>
169                     <configuration>
170                         <lifecycleMappingMetadata>
171                             <pluginExecutions>
172                                 <pluginExecution>
173                                     <pluginExecutionFilter>
174                                         <groupId>
175                                             org.codehaus.mojo
176                                         </groupId>
177                                         <artifactId>
178                                             jaxb2-maven-plugin
179                                         </artifactId>
180                                         <versionRange>
181                                             [1.3,)
182                                         </versionRange>
183                                         <goals>
184                                             <goal>xjc</goal>
185                                         </goals>
186                                     </pluginExecutionFilter>
187                                     <action>
188                                         <ignore />
189                                     </action>
190                                 </pluginExecution>
191                             </pluginExecutions>
192                         </lifecycleMappingMetadata>
193                     </configuration>
194                 </plugin>
195                 <plugin>
196                     <groupId>org.jacoco</groupId>
197                     <artifactId>jacoco-maven-plugin</artifactId>
198                     <version>${jacoco.version}</version>
199                     <configuration>
200                         <excludes>
201                             <exclude>**/gen/**</exclude>
202                             <exclude>**/generated-sources/**</exclude>
203                             <exclude>**/yang-gen/**</exclude>
204                             <exclude>**/pax/**</exclude>
205                         </excludes>
206                     </configuration>
207                     <executions>
208                         <execution>
209                             <id>pre-unit-test</id>
210                             <goals>
211                                 <goal>prepare-agent</goal>
212                             </goals>
213                             <configuration>
214                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
215                                 <propertyName>surefireArgLine</propertyName>
216                             </configuration>
217                         </execution>
218                         <execution>
219                             <id>post-unit-test</id>
220                             <phase>test</phase>
221                             <goals>
222                                 <goal>report</goal>
223                             </goals>
224                             <configuration>
225                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
226                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
227                             </configuration>
228                         </execution>
229                         <execution>
230                             <id>pre-integration-test</id>
231                             <phase>pre-integration-test</phase>
232                             <goals>
233                                 <goal>prepare-agent</goal>
234                             </goals>
235                             <configuration>
236                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
237                                 <propertyName>failsafeArgLine</propertyName>
238                             </configuration>
239                         </execution>
240                         <execution>
241                             <id>post-integration-test</id>
242                             <phase>post-integration-test</phase>
243                             <goals>
244                                 <goal>report</goal>
245                             </goals>
246                             <configuration>
247                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
248                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
249                             </configuration>
250                         </execution>
251                     </executions>
252                 </plugin>
253             </plugins>
254         </pluginManagement>
255     </build>
256
257
258     <distributionManagement>
259         <repository>
260             <id>ecomp-releases</id>
261             <name>AAF Release Repository</name>
262             <url>${nexusproxy}${releaseNexusPath}</url>
263         </repository>
264         <snapshotRepository>
265             <id>ecomp-snapshots</id>
266             <name>AAF Snapshot Repository</name>
267             <url>${nexusproxy}${snapshotNexusPath}</url>
268         </snapshotRepository>
269         <site>
270             <id>ecomp-site</id>
271             <url>dav:${nexusproxy}${sitePath}</url>
272         </site>
273     </distributionManagement>
274 </project>