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