Move AAF Poms to 2.1.16
[aaf/authz.git] / cadi / aaf / 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>cadiparent</artifactId>
27         <version>2.1.16-SNAPSHOT</version>
28         <relativePath>..</relativePath>
29     </parent>
30
31     <modelVersion>4.0.0</modelVersion>
32     <artifactId>aaf-cadi-aaf</artifactId>
33     <name>AAF CADI AAF Connection Library</name>
34     <packaging>jar</packaging>
35
36     <properties>
37     <!--  SONAR  -->
38     <!-- <sonar.skip>true</sonar.skip> -->
39          <jacoco.version>0.7.7.201606060606</jacoco.version>
40         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42         <!-- Default Sonar configuration -->
43         <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
44         <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
45         <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
46         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47         <nexusproxy>https://nexus.onap.org</nexusproxy>
48         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
49         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
50         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
51         <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
52     </properties>
53     <developers>
54         <developer>
55             <name>Jonathan Gathman</name>
56             <email>jonathan.gathman@att.com</email>
57             <organization>ATT</organization>
58             <roles>
59                 <role>Architect</role>
60                 <role>Lead Developer</role>
61             </roles>
62         </developer>
63         <developer>
64             <name>Gabe Maurer</name>
65             <email>gabe.maurer@att.com</email>
66             <organization>ATT</organization>
67             <roles>
68                 <role>Developer</role>
69             </roles>
70         </developer>
71         <developer>
72             <name>Ian Howell</name>
73             <email>ian.howell@att.com</email>
74             <organization>ATT</organization>
75             <roles>
76                 <role>Developer</role>
77             </roles>
78         </developer>
79         <developer>
80             <name>Sai Gandham</name>
81             <email>sai.gandham@att.com</email>
82             <organization>ATT</organization>
83             <roles>
84                 <role>Developer</role>
85             </roles>
86         </developer>
87     </developers>
88
89
90     <dependencies>
91         <dependency>
92             <groupId>org.onap.aaf.authz</groupId>
93             <artifactId>aaf-auth-client</artifactId>
94         </dependency>
95
96         <dependency>
97             <groupId>org.onap.aaf.authz</groupId>
98             <artifactId>aaf-cadi-client</artifactId>
99         </dependency>
100
101         <dependency>
102             <groupId>org.onap.aaf.authz</groupId>
103             <artifactId>aaf-misc-env</artifactId>
104         </dependency>
105
106         <dependency>
107             <groupId>org.onap.aaf.authz</groupId>
108             <artifactId>aaf-cadi-core</artifactId>
109         </dependency>
110
111         <dependency>
112             <groupId>javax.servlet</groupId>
113             <artifactId>javax.servlet-api</artifactId>
114             <scope>provided</scope>
115         </dependency>
116     </dependencies>
117     <build>
118         <plugins>
119             <plugin>
120                 <groupId>org.apache.maven.plugins</groupId>
121                 <artifactId>maven-compiler-plugin</artifactId>
122             </plugin>
123             <plugin>
124                 <groupId>org.jacoco</groupId>
125                 <artifactId>jacoco-maven-plugin</artifactId>
126                 <configuration>
127                     <excludes>
128                         <exclude>**/gen/**</exclude>
129                         <exclude>**/generated-sources/**</exclude>
130                         <exclude>**/yang-gen/**</exclude>
131                         <exclude>**/pax/**</exclude>
132                     </excludes>
133                 </configuration>
134                 <executions>
135                     <execution>
136                         <id>pre-unit-test</id>
137                         <goals>
138                             <goal>prepare-agent</goal>
139                         </goals>
140                         <configuration>
141                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
142                             <propertyName>surefireArgLine</propertyName>
143                         </configuration>
144                     </execution>
145                     <execution>
146                         <id>post-unit-test</id>
147                         <phase>test</phase>
148                         <goals>
149                             <goal>report</goal>
150                         </goals>
151                         <configuration>
152                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
153                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
154                         </configuration>
155                     </execution>
156                     <execution>
157                         <id>pre-integration-test</id>
158                         <phase>pre-integration-test</phase>
159                         <goals>
160                             <goal>prepare-agent</goal>
161                         </goals>
162                         <configuration>
163                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
164                             <propertyName>failsafeArgLine</propertyName>
165                         </configuration>
166                     </execution>
167                     <execution>
168                         <id>post-integration-test</id>
169                         <phase>post-integration-test</phase>
170                         <goals>
171                             <goal>report</goal>
172                         </goals>
173                         <configuration>
174                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
175                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
176                         </configuration>
177                     </execution>
178                 </executions>
179             </plugin>
180
181             <plugin>
182                 <artifactId>maven-assembly-plugin</artifactId>
183                 <configuration>
184                     <classifier>tests</classifier>
185                     <archive>
186                         <manifest>
187                             <mainClass>org.onap.aaf.cadi.configure.Agent</mainClass>
188                         </manifest>
189                         <manifestEntries>
190                             <Sealed>true</Sealed>
191                         </manifestEntries>
192                     </archive>
193                 </configuration>
194                 <executions>
195                     <execution>
196                         <id>full</id>
197                         <phase>package</phase>
198                         <goals>
199                             <goal>single</goal>
200                         </goals>
201                         <configuration>
202                             <descriptors>
203                                 <descriptor>src/assemble/cadi-aaf.xml</descriptor>
204                             </descriptors>
205                         </configuration>
206                     </execution>
207                 </executions>
208             </plugin>
209         </plugins>
210     </build>
211
212     <distributionManagement>
213         <repository>
214             <id>ecomp-releases</id>
215             <name>AAF Release Repository</name>
216             <url>${nexusproxy}${releaseNexusPath}</url>
217         </repository>
218         <snapshotRepository>
219             <id>ecomp-snapshots</id>
220             <name>AAF Snapshot Repository</name>
221             <url>${nexusproxy}${snapshotNexusPath}</url>
222         </snapshotRepository>
223         <site>
224             <id>ecomp-site</id>
225             <url>dav:${nexusproxy}${sitePath}</url>
226         </site>
227     </distributionManagement>
228 </project>