Create and prepare non-deploy release 2.7.1
[aaf/authz.git] / misc / xgen / 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.7.1-SNAPSHOT</version>
28         <relativePath>..</relativePath>
29     </parent>
30
31     <modelVersion>4.0.0</modelVersion>
32     <artifactId>aaf-misc-xgen</artifactId>
33     <name>AAF Misc XGen</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         <!-- <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>
115
116                 <!-- 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>
125
126                 <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>
133
134                 <plugin>
135                     <artifactId>maven-assembly-plugin</artifactId>
136                     <version>2.5.5</version>
137                 </plugin>
138
139                 <plugin>
140                     <groupId>org.apache.maven.plugins</groupId>
141                     <artifactId>maven-dependency-plugin</artifactId>
142                     <version>2.10</version>
143                 </plugin>
144
145                 <!-- Maven surefire plugin for testing -->
146                 <plugin>
147                     <artifactId>maven-surefire-plugin</artifactId>
148                     <version>2.17</version>
149                     <configuration>
150                         <skipTests>false</skipTests>
151                         <includes>
152                             <include>**/JU*.java</include>
153                         </includes>
154                         <excludes>
155                         </excludes>
156                     </configuration>
157                 </plugin>
158
159                 <!--This plugin's configuration is used to store Eclipse m2e settings
160                     only. It has no influence on the Maven build itself. -->
161                 <plugin>
162                     <groupId>org.eclipse.m2e</groupId>
163                     <artifactId>lifecycle-mapping</artifactId>
164                     <version>1.0.0</version>
165                     <configuration>
166                         <lifecycleMappingMetadata>
167                             <pluginExecutions>
168                                 <pluginExecution>
169                                     <pluginExecutionFilter>
170                                         <groupId>
171                                             org.codehaus.mojo
172                                         </groupId>
173                                         <artifactId>
174                                             jaxb2-maven-plugin
175                                         </artifactId>
176                                         <versionRange>
177                                             [1.3,)
178                                         </versionRange>
179                                         <goals>
180                                             <goal>xjc</goal>
181                                         </goals>
182                                     </pluginExecutionFilter>
183                                     <action>
184                                         <ignore />
185                                     </action>
186                                 </pluginExecution>
187                             </pluginExecutions>
188                         </lifecycleMappingMetadata>
189                     </configuration>
190                 </plugin>
191                 <plugin>
192                     <groupId>org.jacoco</groupId>
193                     <artifactId>jacoco-maven-plugin</artifactId>
194                     <version>${jacoco.version}</version>
195                     <configuration>
196                         <excludes>
197                             <exclude>**/gen/**</exclude>
198                             <exclude>**/generated-sources/**</exclude>
199                             <exclude>**/yang-gen/**</exclude>
200                             <exclude>**/pax/**</exclude>
201                         </excludes>
202                     </configuration>
203                     <executions>
204                         <execution>
205                             <id>pre-unit-test</id>
206                             <goals>
207                                 <goal>prepare-agent</goal>
208                             </goals>
209                             <configuration>
210                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
211                                 <propertyName>surefireArgLine</propertyName>
212                             </configuration>
213                         </execution>
214                         <execution>
215                             <id>post-unit-test</id>
216                             <phase>test</phase>
217                             <goals>
218                                 <goal>report</goal>
219                             </goals>
220                             <configuration>
221                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
222                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
223                             </configuration>
224                         </execution>
225                         <execution>
226                             <id>pre-integration-test</id>
227                             <phase>pre-integration-test</phase>
228                             <goals>
229                                 <goal>prepare-agent</goal>
230                             </goals>
231                             <configuration>
232                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
233                                 <propertyName>failsafeArgLine</propertyName>
234                             </configuration>
235                         </execution>
236                         <execution>
237                             <id>post-integration-test</id>
238                             <phase>post-integration-test</phase>
239                             <goals>
240                                 <goal>report</goal>
241                             </goals>
242                             <configuration>
243                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
244                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
245                             </configuration>
246                         </execution>
247                     </executions>
248                 </plugin>
249             </plugins>
250         </pluginManagement>
251     </build>
252     
253     <distributionManagement>
254         <repository>
255             <id>ecomp-releases</id>
256             <name>AAF Release Repository</name>
257             <url>${nexusproxy}${releaseNexusPath}</url>
258         </repository>
259         <snapshotRepository>
260             <id>ecomp-snapshots</id>
261             <name>AAF Snapshot Repository</name>
262             <url>${nexusproxy}${snapshotNexusPath}</url>
263         </snapshotRepository>
264         <site>
265             <id>ecomp-site</id>
266             <url>dav:${nexusproxy}${sitePath}</url>
267         </site>
268     </distributionManagement>
269         
270         
271 </project>