Create and prepare non-deploy release 2.7.1
[aaf/authz.git] / auth / auth-deforg / 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/maven-v4_0_0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <artifactId>authparent</artifactId>
27         <relativePath>../pom.xml</relativePath>
28         <groupId>org.onap.aaf.authz</groupId>
29         <version>2.7.1-SNAPSHOT</version>
30     </parent>
31
32     <artifactId>aaf-auth-deforg</artifactId>
33     <name>AAF Auth Default Organization</name>
34     <description>Example Organization Module</description>
35     <packaging>jar</packaging>
36
37     <developers>
38         <developer>
39             <name>Jonathan Gathman</name>
40             <email>jonathan.gathman@att.com</email>
41             <organization>ATT</organization>
42             <roles>
43                 <role>Architect</role>
44                 <role>Lead Developer</role>
45             </roles>
46         </developer>
47         <developer>
48             <name>Sai Gandham</name>
49             <email>sai.gandham@att.com</email>
50             <organization>ATT</organization>
51             <roles>
52                 <role>Developer</role>
53             </roles>
54         </developer>
55     </developers>
56
57
58     <properties>
59         <maven.test.failure.ignore>false</maven.test.failure.ignore>
60         <!--  SONAR  -->
61         <!-- <sonar.skip>true</sonar.skip> -->
62          <jacoco.version>0.7.7.201606060606</jacoco.version>
63         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
64         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
65         <!-- Default Sonar configuration -->
66         <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
67         <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
68         <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
69         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
70         <nexusproxy>https://nexus.onap.org</nexusproxy>
71         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
72         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
73         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
74         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
75     </properties>
76
77
78     <dependencies>
79         <dependency>
80             <groupId>org.onap.aaf.authz</groupId>
81             <artifactId>aaf-cadi-core</artifactId>
82         </dependency>
83
84         <dependency>
85             <groupId>org.onap.aaf.authz</groupId>
86             <artifactId>aaf-auth-core</artifactId>
87         </dependency>
88
89     </dependencies>
90
91     <build>
92         <pluginManagement>
93             <plugins>
94                 <plugin>
95                     <groupId>org.apache.maven.plugins</groupId>
96                     <artifactId>maven-javadoc-plugin</artifactId>
97                     <version>2.10.4</version>
98                     <configuration>
99                         <failOnError>false</failOnError>
100                     </configuration>
101                     <executions>
102                         <execution>
103                             <id>attach-javadocs</id>
104                             <goals>
105                                 <goal>jar</goal>
106                             </goals>
107                         </execution>
108                     </executions>
109                 </plugin>
110                 <plugin>
111                     <groupId>org.jacoco</groupId>
112                     <artifactId>jacoco-maven-plugin</artifactId>
113                     <version>${jacoco.version}</version>
114                     <configuration>
115                         <excludes>
116                             <exclude>**/gen/**</exclude>
117                             <exclude>**/generated-sources/**</exclude>
118                             <exclude>**/yang-gen/**</exclude>
119                             <exclude>**/pax/**</exclude>
120                         </excludes>
121                     </configuration>
122                     <executions>
123                         <execution>
124                             <id>pre-unit-test</id>
125                             <goals>
126                                 <goal>prepare-agent</goal>
127                             </goals>
128                             <configuration>
129                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
130                                 <propertyName>surefireArgLine</propertyName>
131                             </configuration>
132                         </execution>
133                         <execution>
134                             <id>post-unit-test</id>
135                             <phase>test</phase>
136                             <goals>
137                                 <goal>report</goal>
138                             </goals>
139                             <configuration>
140                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
141                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
142                                 <includes>
143                                     <include>**</include>
144                                 </includes>
145                             </configuration>
146                         </execution>
147                         <execution>
148                             <id>pre-integration-test</id>
149                             <phase>pre-integration-test</phase>
150                             <goals>
151                                 <goal>prepare-agent</goal>
152                             </goals>
153                             <configuration>
154                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
155                                 <includes>
156                                     <include>**</include>
157                                 </includes>
158                                 <propertyName>failsafeArgLine</propertyName>
159                             </configuration>
160                         </execution>
161                         <execution>
162                             <id>post-integration-test</id>
163                             <phase>post-integration-test</phase>
164                             <goals>
165                                 <goal>report</goal>
166                             </goals>
167                             <configuration>
168                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
169                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
170                             </configuration>
171                         </execution>
172                     </executions>
173                 </plugin>
174             </plugins>
175         </pluginManagement>
176     </build>
177
178     <distributionManagement>
179         <repository>
180             <id>ecomp-releases</id>
181             <name>AAF Release Repository</name>
182             <url>${nexusproxy}${releaseNexusPath}</url>
183         </repository>
184         <snapshotRepository>
185             <id>ecomp-snapshots</id>
186             <name>AAF Snapshot Repository</name>
187             <url>${nexusproxy}${snapshotNexusPath}</url>
188         </snapshotRepository>
189         <site>
190             <id>ecomp-site</id>
191             <url>dav:${nexusproxy}${sitePath}</url>
192         </site>
193     </distributionManagement>
194 </project>