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