Update to 2.1.11-SNAPSHOT
[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.11-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.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                                 <configuration>
137                                         <excludes>
138                                                 <exclude>**/gen/**</exclude>
139                                                 <exclude>**/generated-sources/**</exclude>
140                                                 <exclude>**/yang-gen/**</exclude>
141                                                 <exclude>**/pax/**</exclude>
142                                         </excludes>
143                                 </configuration>
144                                 <executions>
145                                         <execution>
146                                                 <id>pre-unit-test</id>
147                                                 <goals>
148                                                         <goal>prepare-agent</goal>
149                                                 </goals>
150                                                 <configuration>
151                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
152                                                         <propertyName>surefireArgLine</propertyName>
153                                                 </configuration>
154                                         </execution>
155                                         <execution>
156                                                 <id>post-unit-test</id>
157                                                 <phase>test</phase>
158                                                 <goals>
159                                                         <goal>report</goal>
160                                                 </goals>
161                                                 <configuration>
162                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
163                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
164                                                 </configuration>
165                                         </execution>
166                                         <execution>
167                                                 <id>pre-integration-test</id>
168                                                 <phase>pre-integration-test</phase>
169                                                 <goals>
170                                                         <goal>prepare-agent</goal>
171                                                 </goals>
172                                                 <configuration>
173                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
174                                                         <propertyName>failsafeArgLine</propertyName>
175                                                 </configuration>
176                                         </execution>
177                                         <execution>
178                                                 <id>post-integration-test</id>
179                                                 <phase>post-integration-test</phase>
180                                                 <goals>
181                                                         <goal>report</goal>
182                                                 </goals>
183                                                 <configuration>
184                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
185                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
186                                                 </configuration>
187                                         </execution>
188                                 </executions>
189                         </plugin>
190
191                         <plugin>
192                                 <artifactId>maven-assembly-plugin</artifactId>
193                                 <configuration>
194                                         <classifier>tests</classifier>
195                                         <archive>
196                                                 <manifest>
197                                                         <mainClass>org.onap.aaf.cadi.configure.Agent</mainClass>
198                                                 </manifest>
199                                                 <manifestEntries>
200                                                         <Sealed>true</Sealed>
201                                                 </manifestEntries>
202                                         </archive>
203                                 </configuration>
204                                 <executions>
205                                         <execution>
206                                                 <id>full</id>
207                                                 <phase>package</phase>
208                                                 <goals>
209                                                         <goal>single</goal>
210                                                 </goals>
211                                                 <configuration>
212                                                         <descriptors>
213                                                                 <descriptor>src/assemble/cadi-aaf.xml</descriptor>
214                                                         </descriptors>
215                                                 </configuration>
216                                         </execution>
217                                 </executions>
218                         </plugin>
219                 </plugins>
220         </build>
221
222         <distributionManagement>
223                 <repository>
224                         <id>ecomp-releases</id>
225                         <name>AAF Release Repository</name>
226                         <url>${nexusproxy}${releaseNexusPath}</url>
227                 </repository>
228                 <snapshotRepository>
229                         <id>ecomp-snapshots</id>
230                         <name>AAF Snapshot Repository</name>
231                         <url>${nexusproxy}${snapshotNexusPath}</url>
232                 </snapshotRepository>
233                 <site>
234                         <id>ecomp-site</id>
235                         <url>dav:${nexusproxy}${sitePath}</url>
236                 </site>
237         </distributionManagement>
238 </project>