updated the poms with project versions
[aaf/authz.git] / auth / auth-client / 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
26         <parent>
27     <groupId>org.onap.aaf.authz</groupId>
28     <artifactId>super-pom</artifactId>
29     <version>2.1.0-SNAPSHOT</version>
30     </parent>
31         <!-- No Parent on Purpose!!! -->
32         <artifactId>aaf-auth-client</artifactId>
33         <name>AAF Auth Client</name>
34         <description>XSD Generated classes for AAF Auth</description>
35         <groupId>org.onap.aaf.authz.auth</groupId>
36         <version>2.1.0-SNAPSHOT</version>
37         <packaging>jar</packaging>
38
39         <properties>
40                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41                 <maven.test.failure.ignore>true</maven.test.failure.ignore>
42                 <!--  SONAR  -->
43                 <sonar.skip>true</sonar.skip>
44                  <jacoco.version>0.7.7.201606060606</jacoco.version>
45             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
46             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
47             <!-- Default Sonar configuration -->
48             <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
49             <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
50             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
51             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52                 <nexusproxy>https://nexus.onap.org</nexusproxy>
53                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
54                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
55                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
56                 <sitePath>/content/sites/site/org/onap/aaf/authz/auth/${project.artifactId}/${project.version}</sitePath>
57         </properties>
58
59         <developers>
60                 <developer>
61                         <name>Jonathan Gathman</name>
62                         <email>jonathan.gathman@att.com</email>
63                         <organization>ATT</organization>
64                         <roles>
65                                 <role>Architect</role>
66                                 <role>Lead Developer</role>
67                         </roles>
68                 </developer>
69                 <developer>
70                         <name>Gabe Maurer</name>
71                         <email>gabe.maurer@att.com</email>
72                         <organization>ATT</organization>
73                         <roles>
74                                 <role>Developer</role>
75                         </roles>
76                 </developer>
77                 <developer>
78                         <name>Ian Howell</name>
79                         <email>ian.howell@att.com</email>
80                         <organization>ATT</organization>
81                         <roles>
82                                 <role>Developer</role>
83                         </roles>
84                 </developer>
85                 <developer>
86                         <name>Sai Gandham</name>
87                         <email>sai.gandham@att.com</email>
88                         <organization>ATT</organization>
89                         <roles>
90                                 <role>Developer</role>
91                         </roles>
92                 </developer>
93         </developers>
94
95         
96         <dependencies>
97                 <dependency>
98                         <groupId>junit</groupId>
99                         <artifactId>junit</artifactId>
100                         <version>4.10</version>
101                         <scope>test</scope>
102                 </dependency>
103
104         </dependencies>
105
106         <build>
107                 <plugins>
108                         <plugin>
109                                 <groupId>org.jvnet.jaxb2.maven2</groupId>
110                                 <artifactId>maven-jaxb2-plugin</artifactId>
111                                 <version>0.8.2</version>
112                                 <executions>
113                                         <execution>
114                                                 <goals>
115                                                         <goal>generate</goal>
116                                                 </goals>
117                                         </execution>
118                                 </executions>
119                                 <configuration>
120                                         <schemaDirectory>src/main/xsd</schemaDirectory>
121                                 </configuration>
122                         </plugin>
123
124                         <plugin>
125                                 <groupId>org.apache.maven.plugins</groupId>
126                                 <artifactId>maven-deploy-plugin</artifactId>
127                                 <version>2.5</version>
128                                 <configuration>
129                                         <skip>false</skip>
130                                 </configuration>
131                         </plugin>
132
133                         <plugin>
134                                 <groupId>org.apache.maven.plugins</groupId>
135                                 <artifactId>maven-compiler-plugin</artifactId>
136                                 <version>2.3.2</version>
137                                 <configuration>
138                                         <source>1.6</source>
139                                         <target>1.6</target>
140                                 </configuration>
141                         </plugin>
142                         <plugin>
143                                 <groupId>org.sonatype.plugins</groupId>
144                                 <artifactId>nexus-staging-maven-plugin</artifactId>
145                                 <version>1.6.7</version>
146                                 <extensions>true</extensions>
147                                 <configuration>
148                                         <nexusUrl>${nexusproxy}</nexusUrl>
149                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
150                                         <serverId>ecomp-staging</serverId>
151                                 </configuration>
152                         </plugin>               
153                         <plugin>
154                                 <groupId>org.jacoco</groupId>
155                                 <artifactId>jacoco-maven-plugin</artifactId>
156                                 <version>0.7.7.201606060606</version>
157                                 <configuration>
158                                         <dumpOnExit>true</dumpOnExit>
159                                         <includes>
160                                                 <include>org.onap.aaf.*</include>
161                                         </includes>
162                                 </configuration>
163                                 <executions>
164                                         <execution>
165                                                 <id>pre-unit-test</id>
166                                                 <goals>
167                                                         <goal>prepare-agent</goal>
168                                                 </goals>
169                                                 <configuration>
170                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
171                                                         <!-- <append>true</append> -->
172                                                 </configuration>
173                                         </execution>
174                                         <execution>
175                                                 <id>pre-integration-test</id>
176                                                 <phase>pre-integration-test</phase>
177                                                 <goals>
178                                                         <goal>prepare-agent</goal>
179                                                 </goals>
180                                                 <configuration>
181                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
182                                                         <!-- <append>true</append> -->
183                                                 </configuration>
184                                         </execution>
185                                         <execution>
186                         <goals>
187                             <goal>merge</goal>
188                         </goals>
189                         <phase>post-integration-test</phase>
190                         <configuration>
191                             <fileSets>
192                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
193                                     <directory>${project.build.directory}/coverage-reports</directory>
194                                     <includes>
195                                         <include>*.exec</include>
196                                     </includes>
197                                 </fileSet>
198                             </fileSets>
199                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
200                         </configuration>
201                     </execution>
202                                 </executions>
203                         </plugin>
204                 </plugins>
205         </build>
206
207     <distributionManagement>
208                 <repository>
209                         <id>ecomp-releases</id>
210                         <name>AAF Release Repository</name>
211                         <url>${nexusproxy}${releaseNexusPath}</url>
212                 </repository>
213                 <snapshotRepository>
214                         <id>ecomp-snapshots</id>
215                         <name>AAF Snapshot Repository</name>
216                         <url>${nexusproxy}${snapshotNexusPath}</url>
217                 </snapshotRepository>
218                 <site>
219                         <id>ecomp-site</id>
220                         <url>dav:${nexusproxy}${sitePath}</url>
221                 </site>
222         </distributionManagement>
223 </project>
224