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