Pull in all pom changes, merge, and review
[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.cadi</groupId>
26                 <artifactId>parent</artifactId>
27                 <version>2.1.0-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.auth</groupId>
93                         <artifactId>aaf-auth-client</artifactId>
94                 </dependency>
95
96                 <dependency>
97                         <groupId>org.onap.aaf.authz.cadi</groupId>
98                         <artifactId>aaf-cadi-client</artifactId>
99                 </dependency>
100
101                 <dependency>
102                         <groupId>org.onap.aaf.authz.misc</groupId>
103                         <artifactId>aaf-misc-env</artifactId>
104                 </dependency>
105
106                 <dependency>
107                         <groupId>org.onap.aaf.authz.cadi</groupId>
108                         <artifactId>aaf-cadi-core</artifactId>
109                 </dependency>
110
111                 <dependency>
112                         <groupId>javax.servlet</groupId>
113                         <artifactId>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.sonatype.plugins</groupId>
125                                 <artifactId>nexus-staging-maven-plugin</artifactId>
126                                 <extensions>true</extensions>
127                                 <configuration>
128                                         <nexusUrl>${nexusproxy}</nexusUrl>
129                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
130                                         <serverId>ecomp-staging</serverId>
131                                 </configuration>
132                         </plugin>
133                         <plugin>
134                                 <groupId>org.jacoco</groupId>
135                                 <artifactId>jacoco-maven-plugin</artifactId>
136                                 <version>${jacoco.version}</version>
137                                 <configuration>
138                                         <excludes>
139                                                 <exclude>**/gen/**</exclude>
140                                                 <exclude>**/generated-sources/**</exclude>
141                                                 <exclude>**/yang-gen/**</exclude>
142                                                 <exclude>**/pax/**</exclude>
143                                         </excludes>
144                                 </configuration>
145                                 <executions>
146                                         <execution>
147                                                 <id>pre-unit-test</id>
148                                                 <goals>
149                                                         <goal>prepare-agent</goal>
150                                                 </goals>
151                                                 <configuration>
152                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
153                                                         <propertyName>surefireArgLine</propertyName>
154                                                 </configuration>
155                                         </execution>
156                                         <execution>
157                                                 <id>post-unit-test</id>
158                                                 <phase>test</phase>
159                                                 <goals>
160                                                         <goal>report</goal>
161                                                 </goals>
162                                                 <configuration>
163                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
164                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
165                                                 </configuration>
166                                         </execution>
167                                         <execution>
168                                                 <id>pre-integration-test</id>
169                                                 <phase>pre-integration-test</phase>
170                                                 <goals>
171                                                         <goal>prepare-agent</goal>
172                                                 </goals>
173                                                 <configuration>
174                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
175                                                         <propertyName>failsafeArgLine</propertyName>
176                                                 </configuration>
177                                         </execution>
178                                         <execution>
179                                                 <id>post-integration-test</id>
180                                                 <phase>post-integration-test</phase>
181                                                 <goals>
182                                                         <goal>report</goal>
183                                                 </goals>
184                                                 <configuration>
185                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
186                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
187                                                 </configuration>
188                                         </execution>
189                                 </executions>
190                         </plugin>
191                         <!-- We want to create a Jar with Rosetta built in (since I don't want
192                                 a separate deployment at this time Use this one as the jar to put in SWM
193                                 packages <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration>
194                                 <classifier>tests</classifier> <archive> <manifest> <mainClass>org.onap.aaf.cadi.cm.CmAgent</mainClass>
195                                 </manifest> <manifestEntries> <Sealed>true</Sealed> </manifestEntries> </archive>
196                                 </configuration> <executions> <execution> <id>full</id> <phase>package</phase>
197                                 <goals> <goal>single</goal> </goals> <configuration> <descriptors> <descriptor>src/assemble/cadi-aaf.xml</descriptor>
198                                 </descriptors> </configuration> </execution> </executions> </plugin> -->
199                 </plugins>
200         </build>
201
202         <distributionManagement>
203                 <repository>
204                         <id>ecomp-releases</id>
205                         <name>AAF Release Repository</name>
206                         <url>${nexusproxy}${releaseNexusPath}</url>
207                 </repository>
208                 <snapshotRepository>
209                         <id>ecomp-snapshots</id>
210                         <name>AAF Snapshot Repository</name>
211                         <url>${nexusproxy}${snapshotNexusPath}</url>
212                 </snapshotRepository>
213                 <site>
214                         <id>ecomp-site</id>
215                         <url>dav:${nexusproxy}${sitePath}</url>
216                 </site>
217         </distributionManagement>
218 </project>