blob: 7624fac5cdc2b516dc6b921927af5713b92ee7c8 [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>
sg481n72aacef2017-10-05 16:13:21 +000045
sg481n43854a92017-08-03 17:27:34 -040046 <developers>
47 <developer>
48 <name>Jonathan Gathman</name>
49 <email></email>
50 <organization>ATT</organization>
51 <organizationUrl></organizationUrl>
52 </developer>
53 </developers>
54
sg481nbd890c52017-08-28 12:11:35 -040055 <properties>
sg481n43854a92017-08-03 17:27:34 -040056 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57 <swm-distFiles-path>/opt/app/aft/${project.artifactId}/${project.version}</swm-distFiles-path>
sg481n08e11042017-09-29 12:33:53 +000058 <maven.test.failure.ignore>true</maven.test.failure.ignore>
sg481naa2c01c2017-08-25 01:29:57 -040059 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n4ccc6b82017-10-04 17:29:37 +000060 <!-- SONAR -->
61 <jacoco.version>0.7.7.201606060606</jacoco.version>
62 <sonar.skip>true</sonar.skip>
63 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
64 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
65 <!-- Default Sonar configuration -->
66 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
67 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
68 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
69 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
sg481naa2c01c2017-08-25 01:29:57 -040070 <nexusproxy>https://nexus.onap.org</nexusproxy>
71 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
72 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
73 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000074 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481n43854a92017-08-03 17:27:34 -040075 </properties>
76
77 <dependencies>
78 <dependency>
79 <groupId>junit</groupId>
80 <artifactId>junit</artifactId>
81 <version>4.10</version>
82 <scope>test</scope>
83 </dependency>
84
85 </dependencies>
86
87 <build>
88 <plugins>
89 <plugin>
90 <groupId>org.codehaus.mojo</groupId>
91 <artifactId>jaxb2-maven-plugin</artifactId>
92 <version>1.3</version>
93 <executions>
94 <execution>
95 <phase>generate-sources</phase>
96 <goals>
97 <goal>xjc</goal>
98 </goals>
99 </execution>
100 </executions>
101 <configuration>
102 <schemaDirectory>src/main/xsd</schemaDirectory>
103 </configuration>
104 </plugin>
sg481n43854a92017-08-03 17:27:34 -0400105
106 <!--This plugin's configuration is used to store Eclipse m2e settings
107 only. It has no influence on the Maven build itself. -->
108 <plugin>
109 <groupId>org.eclipse.m2e</groupId>
110 <artifactId>lifecycle-mapping</artifactId>
111 <version>1.0.0</version>
112 <configuration>
113 <lifecycleMappingMetadata>
114 <pluginExecutions>
115 <pluginExecution>
116 <pluginExecutionFilter>
117 <groupId>
118 org.codehaus.mojo
119 </groupId>
120 <artifactId>
121 jaxb2-maven-plugin
122 </artifactId>
123 <versionRange>
124 [1.3,)
125 </versionRange>
126 <goals>
127 <goal>xjc</goal>
128 </goals>
129 </pluginExecutionFilter>
130 <action>
131 <ignore></ignore>
132 </action>
133 </pluginExecution>
134 </pluginExecutions>
135 </lifecycleMappingMetadata>
136 </configuration>
137 </plugin>
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-compiler-plugin</artifactId>
141 <version>2.3.2</version>
142 <configuration>
143 <source>1.6</source>
144 <target>1.6</target>
145 </configuration>
146 </plugin>
147
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000151 <version>2.10.4</version>
sg481n43854a92017-08-03 17:27:34 -0400152 <configuration>
153 <failOnError>false</failOnError>
154 </configuration>
155 <executions>
156 <execution>
157 <id>attach-javadocs</id>
158 <goals>
159 <goal>jar</goal>
160 </goals>
161 </execution>
162 </executions>
163 </plugin>
164
165
166 <plugin>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-source-plugin</artifactId>
169 <version>2.2.1</version>
170 <executions>
171 <execution>
172 <id>attach-sources</id>
173 <goals>
174 <goal>jar-no-fork</goal>
175 </goals>
176 </execution>
177 </executions>
178 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400179
180 <plugin>
sg481naa2c01c2017-08-25 01:29:57 -0400181 <groupId>org.sonatype.plugins</groupId>
182 <artifactId>nexus-staging-maven-plugin</artifactId>
183 <version>1.6.7</version>
184 <extensions>true</extensions>
185 <configuration>
186 <nexusUrl>${nexusproxy}</nexusUrl>
187 <stagingProfileId>176c31dfe190a</stagingProfileId>
188 <serverId>ecomp-staging</serverId>
189 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400190 </plugin>
191 <plugin>
sg481n4ccc6b82017-10-04 17:29:37 +0000192 <groupId>org.jacoco</groupId>
193 <artifactId>jacoco-maven-plugin</artifactId>
194 <version>${jacoco.version}</version>
195 <configuration>
196 <excludes>
197 <exclude>**/gen/**</exclude>
198 <exclude>**/generated-sources/**</exclude>
199 <exclude>**/yang-gen/**</exclude>
200 <exclude>**/pax/**</exclude>
201 </excludes>
202 </configuration>
203 <executions>
204
205 <execution>
206 <id>pre-unit-test</id>
207 <goals>
208 <goal>prepare-agent</goal>
209 </goals>
210 <configuration>
211 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
212 <propertyName>surefireArgLine</propertyName>
213 </configuration>
214 </execution>
215
216
217 <execution>
218 <id>post-unit-test</id>
219 <phase>test</phase>
220 <goals>
221 <goal>report</goal>
222 </goals>
223 <configuration>
224 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
225 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
226 </configuration>
227 </execution>
228 <execution>
229 <id>pre-integration-test</id>
230 <phase>pre-integration-test</phase>
231 <goals>
232 <goal>prepare-agent</goal>
233 </goals>
234 <configuration>
235 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
236
237 <propertyName>failsafeArgLine</propertyName>
238 </configuration>
239 </execution>
240
241
242 <execution>
243 <id>post-integration-test</id>
244 <phase>post-integration-test</phase>
245 <goals>
246 <goal>report</goal>
247 </goals>
248 <configuration>
249 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
250 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
251 </configuration>
252 </execution>
253 </executions>
254 </plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000255
sg481n43854a92017-08-03 17:27:34 -0400256 </plugins>
257 </build>
258
sg481naa2c01c2017-08-25 01:29:57 -0400259 <distributionManagement>
260 <repository>
261 <id>ecomp-releases</id>
262 <name>AAF Release Repository</name>
263 <url>${nexusproxy}${releaseNexusPath}</url>
264 </repository>
265 <snapshotRepository>
266 <id>ecomp-snapshots</id>
267 <name>AAF Snapshot Repository</name>
268 <url>${nexusproxy}${snapshotNexusPath}</url>
269 </snapshotRepository>
270 <site>
271 <id>ecomp-site</id>
272 <url>dav:${nexusproxy}${sitePath}</url>
273 </site>
274 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000275
sg481n43854a92017-08-03 17:27:34 -0400276</project>
277