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