blob: 1b2fb169a634aab08bb4033f54f1d70770a7ce96 [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (c) 2016 AT&T Intellectual Property. All rights reserved.
4 -->
5
6<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
8 <modelVersion>4.0.0</modelVersion>
9 <parent>
10 <groupId>com.att.authz</groupId>
11 <artifactId>parent</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040012 <version>1.0.1-SNAPSHOT</version>
sg481nbd890c52017-08-28 12:11:35 -040013 <relativePath>../pom.xml</relativePath>
14 </parent>
15
16 <artifactId>authz-gui</artifactId>
17 <name>Authz GUI (Mobile First)</name>
18 <description>GUI for Authz Management</description>
19 <url>https://github.com/att/AAF</url>
20 <licenses>
21 <license>
22 <name>BSD License</name>
23 <url> </url>
24 </license>
25 </licenses>
26 <developers>
27 <developer>
28 <name>Jonathan Gathman</name>
29 <email></email>
30 <organization>ATT</organization>
31 <organizationUrl></organizationUrl>
32 </developer>
33 </developers>
34
35
36 <properties>
sg481n08e11042017-09-29 12:33:53 +000037 <maven.test.failure.ignore>true</maven.test.failure.ignore>
sg481nbd890c52017-08-28 12:11:35 -040038 <project.swmVersion>28</project.swmVersion>
sg481na9d21082017-09-23 14:26:06 +000039 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <skipTests>false</skipTests>
41 <project.interfaceVersion>1.0.0-SNAPSHOT</project.interfaceVersion>
sg481na2ac6782017-09-18 16:35:50 -040042 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
43 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481na9d21082017-09-23 14:26:06 +000044 <project.dme2Version>3.1.200</project.dme2Version>
45 <sonar.language>java</sonar.language>
46 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
47 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
48 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
49 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nf33ea6d2017-10-01 17:28:44 +000050 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
sg481na9d21082017-09-23 14:26:06 +000051 <sonar.projectVersion>${project.version}</sonar.projectVersion>
52 <nexusproxy>https://nexus.onap.org</nexusproxy>
53 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
54 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
55 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
56 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040057 </properties>
58
59
60 <dependencies>
61 <dependency>
62 <groupId>com.att.authz</groupId>
63 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040064 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040065 <exclusions>
66 <exclusion>
67 <groupId>javax.servlet</groupId>
68 <artifactId>servlet-api</artifactId>
69 </exclusion>
70 </exclusions>
71 </dependency>
72
73 <dependency>
74 <groupId>com.att.authz</groupId>
75 <artifactId>authz-client</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040076 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040077 </dependency>
78
79 <!-- <dependency>
80 <groupId>com.att.authz</groupId>
81 <artifactId>authz-att</artifactId>
82 </dependency> -->
83
84
85 <dependency>
86 <groupId>com.att.authz</groupId>
87 <artifactId>authz-cmd</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040088 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040089 <exclusions>
90 <exclusion>
91 <groupId>org.slf4j</groupId>
92 <artifactId>slf4j-log4j12</artifactId>
93 </exclusion>
94 <exclusion>
95 <groupId>log4j</groupId>
96 <artifactId>log4j</artifactId>
97 </exclusion>
98 </exclusions>
99 </dependency>
100
101 <dependency>
102 <groupId>org.onap.aaf.cadi</groupId>
103 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -0400104 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -0400105 </dependency>
106
107 <dependency>
108 <groupId>org.onap.aaf.cadi</groupId>
109 <artifactId>cadi-tguard</artifactId>
sg481na2ac6782017-09-18 16:35:50 -0400110 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -0400111 </dependency>
112
113 <dependency>
114 <groupId>org.onap.aaf.cadi</groupId>
115 <artifactId>cadi-client</artifactId>
sg481na2ac6782017-09-18 16:35:50 -0400116 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -0400117 </dependency>
118
119 <dependency>
120 <groupId>gso</groupId>
121 <artifactId>GLCookieDecryption</artifactId>
122 </dependency>
123
124 <dependency>
125 <groupId>org.onap.aaf.inno</groupId>
126 <artifactId>xgen</artifactId>
sg481na2ac6782017-09-18 16:35:50 -0400127 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -0400128 </dependency>
129
130 </dependencies>
131
132 <build>
133 <plugins>
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-jar-plugin</artifactId>
137 <configuration>
138 <includes>
139 <include>**/*.class</include>
140 </includes>
141 </configuration>
142 <version>2.3.1</version>
143 </plugin>
144
145 <plugin>
146 <artifactId>maven-assembly-plugin</artifactId>
147 <executions>
148 <execution>
149 <id>swm</id>
150 <phase>package</phase>
151 <goals>
152 <goal>single</goal>
153 </goals>
154 <configuration>
155 <finalName>authz-gui-${project.version}.${project.swmVersion}</finalName>
156
157 <descriptors>
158 <descriptor>../authz-service/src/main/assemble/swm.xml</descriptor>
159 </descriptors>
160 <archive>
161 </archive>
162 </configuration>
163 </execution>
164 </executions>
165 </plugin>
166
sg481nbd890c52017-08-28 12:11:35 -0400167
168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000171 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400172 <configuration>
173 <failOnError>false</failOnError>
174 </configuration>
175 <executions>
176 <execution>
177 <id>attach-javadocs</id>
178 <goals>
179 <goal>jar</goal>
180 </goals>
181 </execution>
182 </executions>
sg481na9d21082017-09-23 14:26:06 +0000183 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400184
185
186 <plugin>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-source-plugin</artifactId>
189 <version>2.2.1</version>
190 <executions>
191 <execution>
192 <id>attach-sources</id>
193 <goals>
194 <goal>jar-no-fork</goal>
195 </goals>
196 </execution>
197 </executions>
198 </plugin>
199
sg481n40cd3562017-09-01 13:12:31 -0400200<plugin>
201 <groupId>org.sonatype.plugins</groupId>
202 <artifactId>nexus-staging-maven-plugin</artifactId>
203 <version>1.6.7</version>
204 <extensions>true</extensions>
205 <configuration>
206 <nexusUrl>${nexusproxy}</nexusUrl>
207 <stagingProfileId>176c31dfe190a</stagingProfileId>
208 <serverId>ecomp-staging</serverId>
sg481n40cd3562017-09-01 13:12:31 -0400209 </configuration>
210 </plugin>
211 <plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000212 <groupId>org.jacoco</groupId>
213 <artifactId>jacoco-maven-plugin</artifactId>
214 <version>${jacoco.version}</version>
215 <configuration>
216 <!-- Note: This exclusion list should match <sonar.exclusions>
217 property above -->
218 <excludes>
219 <exclude>**/gen/**</exclude>
220 <exclude>**/generated-sources/**</exclude>
221 <exclude>**/yang-gen/**</exclude>
222 <exclude>**/pax/**</exclude>
223 </excludes>
224 </configuration>
225 <executions>
226 <!--
227 Prepares the property pointing to the JaCoCo runtime agent which
228 is passed as VM argument when Maven the Surefire plugin is executed.
229 -->
230 <execution>
231 <id>pre-unit-test</id>
232 <goals>
233 <goal>prepare-agent</goal>
234 </goals>
235 <configuration>
236 <!-- Sets the path to the file which contains the execution data. -->
237 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
238 <!--
239 Sets the name of the property containing the settings
240 for JaCoCo runtime agent.
241 -->
242 <propertyName>surefireArgLine</propertyName>
243 </configuration>
244 </execution>
245 <!--
246 Ensures that the code coverage report for unit tests is created after
247 unit tests have been run.
248 -->
249 <execution>
250 <id>post-unit-test</id>
251 <phase>test</phase>
252 <goals>
253 <goal>report</goal>
254 </goals>
255 <configuration>
256 <!-- Sets the path to the file which contains the execution data. -->
257 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
258 <!-- Sets the output directory for the code coverage report. -->
259 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
260 </configuration>
261 </execution>
262 <execution>
263 <id>pre-integration-test</id>
264 <phase>pre-integration-test</phase>
265 <goals>
266 <goal>prepare-agent</goal>
267 </goals>
268 <configuration>
269 <!-- Sets the path to the file which contains the execution data. -->
270 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
271 <!--
272 Sets the name of the property containing the settings
273 for JaCoCo runtime agent.
274 -->
275 <propertyName>failsafeArgLine</propertyName>
276 </configuration>
277 </execution>
278 <!--
279 Ensures that the code coverage report for integration tests after
280 integration tests have been run.
281 -->
282 <execution>
283 <id>post-integration-test</id>
284 <phase>post-integration-test</phase>
285 <goals>
286 <goal>report</goal>
287 </goals>
288 <configuration>
289 <!-- Sets the path to the file which contains the execution data. -->
290 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
291 <!-- Sets the output directory for the code coverage report. -->
292 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
293 </configuration>
294 </execution>
295 </executions>
296 </plugin>
297
sg481nbd890c52017-08-28 12:11:35 -0400298 </plugins>
sg481nbd890c52017-08-28 12:11:35 -0400299 </build>
sg481na9d21082017-09-23 14:26:06 +0000300<distributionManagement>
301 <repository>
302 <id>ecomp-releases</id>
303 <name>AAF Release Repository</name>
304 <url>${nexusproxy}${releaseNexusPath}</url>
305 </repository>
306 <snapshotRepository>
307 <id>ecomp-snapshots</id>
308 <name>AAF Snapshot Repository</name>
309 <url>${nexusproxy}${snapshotNexusPath}</url>
310 </snapshotRepository>
311 <site>
312 <id>ecomp-site</id>
313 <url>dav:${nexusproxy}${sitePath}</url>
314 </site>
315 </distributionManagement>
sg481nbd890c52017-08-28 12:11:35 -0400316</project>