blob: d163bd1c467219258b1e3b6a2011fde96364f710 [file] [log] [blame]
sg481n43854a92017-08-03 17:27:34 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START====================================================
4 * org.onap.aai
5 * ===========================================================================
6 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
7 * Copyright © 2017 Amdocs
8 * ===========================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END====================================================
21 *
22 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 *
24-->
25<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
27 <modelVersion>4.0.0</modelVersion>
28
sg481n4e6a2172017-09-19 12:22:25 -040029
30 <parent>
31 <groupId>org.onap.aaf.authz</groupId>
32 <artifactId>parent</artifactId>
33 <version>1.0.1-SNAPSHOT</version>
34 <relativePath>../pom.xml</relativePath>
35 </parent>
36
sg481n43854a92017-08-03 17:27:34 -040037 <!-- No Parent on Purpose!!! -->
38 <artifactId>authz-client</artifactId>
39 <name>Authz Client</name>
40 <description>Client and XSD Generated code for Authz</description>
sg481nbd890c52017-08-28 12:11:35 -040041 <groupId>org.onap.aaf.authz</groupId>
sg481na2ac6782017-09-18 16:35:50 -040042 <version>1.0.1-SNAPSHOT</version>
sg481nbd890c52017-08-28 12:11:35 -040043 <packaging>jar</packaging>
sg481n43854a92017-08-03 17:27:34 -040044 <url>https://github.com/att/AAF</url>
45 <licenses>
46 <license>
47 <name>BSD License</name>
48 <url> </url>
49 </license>
50 </licenses>
51 <developers>
52 <developer>
53 <name>Jonathan Gathman</name>
54 <email></email>
55 <organization>ATT</organization>
56 <organizationUrl></organizationUrl>
57 </developer>
58 </developers>
59
sg481nbd890c52017-08-28 12:11:35 -040060 <properties>
sg481n43854a92017-08-03 17:27:34 -040061 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
62 <swm-distFiles-path>/opt/app/aft/${project.artifactId}/${project.version}</swm-distFiles-path>
sg481n08e11042017-09-29 12:33:53 +000063 <maven.test.failure.ignore>true</maven.test.failure.ignore>
sg481naa2c01c2017-08-25 01:29:57 -040064 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n40cd3562017-09-01 13:12:31 -040065 <sonar.language>java</sonar.language>
66 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
67 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
68 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
69 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nf33ea6d2017-10-01 17:28:44 +000070 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040071 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481naa2c01c2017-08-25 01:29:57 -040072 <nexusproxy>https://nexus.onap.org</nexusproxy>
73 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
74 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
75 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000076 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481n43854a92017-08-03 17:27:34 -040077 </properties>
78
79 <dependencies>
80 <dependency>
81 <groupId>junit</groupId>
82 <artifactId>junit</artifactId>
83 <version>4.10</version>
84 <scope>test</scope>
85 </dependency>
86
87 </dependencies>
88
89 <build>
90 <plugins>
91 <plugin>
92 <groupId>org.codehaus.mojo</groupId>
93 <artifactId>jaxb2-maven-plugin</artifactId>
94 <version>1.3</version>
95 <executions>
96 <execution>
97 <phase>generate-sources</phase>
98 <goals>
99 <goal>xjc</goal>
100 </goals>
101 </execution>
102 </executions>
103 <configuration>
104 <schemaDirectory>src/main/xsd</schemaDirectory>
105 </configuration>
106 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400107
108 <!--This plugin's configuration is used to store Eclipse m2e settings
109 only. It has no influence on the Maven build itself. -->
110 <plugin>
111 <groupId>org.eclipse.m2e</groupId>
112 <artifactId>lifecycle-mapping</artifactId>
113 <version>1.0.0</version>
114 <configuration>
115 <lifecycleMappingMetadata>
116 <pluginExecutions>
117 <pluginExecution>
118 <pluginExecutionFilter>
119 <groupId>
120 org.codehaus.mojo
121 </groupId>
122 <artifactId>
123 jaxb2-maven-plugin
124 </artifactId>
125 <versionRange>
126 [1.3,)
127 </versionRange>
128 <goals>
129 <goal>xjc</goal>
130 </goals>
131 </pluginExecutionFilter>
132 <action>
133 <ignore></ignore>
134 </action>
135 </pluginExecution>
136 </pluginExecutions>
137 </lifecycleMappingMetadata>
138 </configuration>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-compiler-plugin</artifactId>
143 <version>2.3.2</version>
144 <configuration>
145 <source>1.6</source>
146 <target>1.6</target>
147 </configuration>
148 </plugin>
149
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000153 <version>2.10.4</version>
sg481n43854a92017-08-03 17:27:34 -0400154 <configuration>
155 <failOnError>false</failOnError>
156 </configuration>
157 <executions>
158 <execution>
159 <id>attach-javadocs</id>
160 <goals>
161 <goal>jar</goal>
162 </goals>
163 </execution>
164 </executions>
165 </plugin>
166
167
168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-source-plugin</artifactId>
171 <version>2.2.1</version>
172 <executions>
173 <execution>
174 <id>attach-sources</id>
175 <goals>
176 <goal>jar-no-fork</goal>
177 </goals>
178 </execution>
179 </executions>
180 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400181
182 <plugin>
sg481naa2c01c2017-08-25 01:29:57 -0400183 <groupId>org.sonatype.plugins</groupId>
184 <artifactId>nexus-staging-maven-plugin</artifactId>
185 <version>1.6.7</version>
186 <extensions>true</extensions>
187 <configuration>
188 <nexusUrl>${nexusproxy}</nexusUrl>
189 <stagingProfileId>176c31dfe190a</stagingProfileId>
190 <serverId>ecomp-staging</serverId>
191 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400192 </plugin>
193 <plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000194 <groupId>org.jacoco</groupId>
195 <artifactId>jacoco-maven-plugin</artifactId>
196 <version>${jacoco.version}</version>
197 <configuration>
198 <!-- Note: This exclusion list should match <sonar.exclusions>
199 property above -->
200 <excludes>
201 <exclude>**/gen/**</exclude>
202 <exclude>**/generated-sources/**</exclude>
203 <exclude>**/yang-gen/**</exclude>
204 <exclude>**/pax/**</exclude>
205 </excludes>
206 </configuration>
207 <executions>
208 <!--
209 Prepares the property pointing to the JaCoCo runtime agent which
210 is passed as VM argument when Maven the Surefire plugin is executed.
211 -->
212 <execution>
213 <id>pre-unit-test</id>
214 <goals>
215 <goal>prepare-agent</goal>
216 </goals>
217 <configuration>
218 <!-- Sets the path to the file which contains the execution data. -->
219 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
220 <!--
221 Sets the name of the property containing the settings
222 for JaCoCo runtime agent.
223 -->
224 <propertyName>surefireArgLine</propertyName>
225 </configuration>
226 </execution>
227 <!--
228 Ensures that the code coverage report for unit tests is created after
229 unit tests have been run.
230 -->
231 <execution>
232 <id>post-unit-test</id>
233 <phase>test</phase>
234 <goals>
235 <goal>report</goal>
236 </goals>
237 <configuration>
238 <!-- Sets the path to the file which contains the execution data. -->
239 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
240 <!-- Sets the output directory for the code coverage report. -->
241 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
242 </configuration>
243 </execution>
244 <execution>
245 <id>pre-integration-test</id>
246 <phase>pre-integration-test</phase>
247 <goals>
248 <goal>prepare-agent</goal>
249 </goals>
250 <configuration>
251 <!-- Sets the path to the file which contains the execution data. -->
252 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
253 <!--
254 Sets the name of the property containing the settings
255 for JaCoCo runtime agent.
256 -->
257 <propertyName>failsafeArgLine</propertyName>
258 </configuration>
259 </execution>
260 <!--
261 Ensures that the code coverage report for integration tests after
262 integration tests have been run.
263 -->
264 <execution>
265 <id>post-integration-test</id>
266 <phase>post-integration-test</phase>
267 <goals>
268 <goal>report</goal>
269 </goals>
270 <configuration>
271 <!-- Sets the path to the file which contains the execution data. -->
272 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
273 <!-- Sets the output directory for the code coverage report. -->
274 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
275 </configuration>
276 </execution>
277 </executions>
278 </plugin>
279
sg481n43854a92017-08-03 17:27:34 -0400280 </plugins>
281 </build>
282
sg481naa2c01c2017-08-25 01:29:57 -0400283 <distributionManagement>
284 <repository>
285 <id>ecomp-releases</id>
286 <name>AAF Release Repository</name>
287 <url>${nexusproxy}${releaseNexusPath}</url>
288 </repository>
289 <snapshotRepository>
290 <id>ecomp-snapshots</id>
291 <name>AAF Snapshot Repository</name>
292 <url>${nexusproxy}${snapshotNexusPath}</url>
293 </snapshotRepository>
294 <site>
295 <id>ecomp-site</id>
296 <url>dav:${nexusproxy}${sitePath}</url>
297 </site>
298 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000299
sg481n43854a92017-08-03 17:27:34 -0400300</project>
301