blob: 1a195b5e0f3d1d48d5fbd3c8d7cddb99728af4cc [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START====================================================
4 * org.onap.aaf
5 * ===========================================================================
6 * Copyright © 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 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 *
23-->
24<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <groupId>org.onap.aaf.authz</groupId>
29 <artifactId>parent</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040030 <version>1.0.1-SNAPSHOT</version>
sg481nbd890c52017-08-28 12:11:35 -040031 <relativePath>../pom.xml</relativePath>
32 </parent>
33
34 <artifactId>authz-defOrg</artifactId>
35 <name>Default Organization</name>
36 <description>Example Organization Module</description>
37 <packaging>jar</packaging>
38 <url>https://github.com/att/AAF</url>
39 <licenses>
40 <license>
41 <name>BSD License</name>
42 <url> </url>
43 </license>
44 </licenses>
45 <developers>
46 <developer>
47 <name>Jonathan Gathman</name>
48 <email></email>
49 <organization>ATT</organization>
50 <organizationUrl></organizationUrl>
51 </developer>
52 </developers>
53
54 <properties>
sg481n08e11042017-09-29 12:33:53 +000055 <maven.test.failure.ignore>false</maven.test.failure.ignore>
sg481nbd890c52017-08-28 12:11:35 -040056 <project.swmVersion>0</project.swmVersion>
57 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481na2ac6782017-09-18 16:35:50 -040058 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
sg481n40cd3562017-09-01 13:12:31 -040059 <sonar.language>java</sonar.language>
60 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
61 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
62 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
63 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nf33ea6d2017-10-01 17:28:44 +000064 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040065 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481nbd890c52017-08-28 12:11:35 -040066 <nexusproxy>https://nexus.onap.org</nexusproxy>
67 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
68 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
69 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000070 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040071</properties>
72
73
74 <dependencies>
75 <dependency>
76 <groupId>org.onap.aaf.cadi</groupId>
77 <artifactId>cadi-core</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040078 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040079 </dependency>
80
81 <dependency>
82 <groupId>org.onap.aaf.authz</groupId>
83 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040084 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040085 </dependency>
86
87 <dependency>
88 <groupId>javax.mail</groupId>
89 <artifactId>mail</artifactId>
90 </dependency>
91 </dependencies>
92
93 <build>
94 <pluginManagement>
95 <plugins>
sg481na9d21082017-09-23 14:26:06 +000096 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-javadoc-plugin</artifactId>
99 <version>2.10.4</version>
100 <configuration>
101 <failOnError>false</failOnError>
102 </configuration>
103 <executions>
104 <execution>
105 <id>attach-javadocs</id>
106 <goals>
107 <goal>jar</goal>
108 </goals>
109 </execution>
110 </executions>
111 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400112 <plugin>
113 <groupId>org.sonatype.plugins</groupId>
114 <artifactId>nexus-staging-maven-plugin</artifactId>
115 <version>1.6.7</version>
116 <extensions>true</extensions>
117 <configuration>
118 <nexusUrl>${nexusproxy}</nexusUrl>
119 <stagingProfileId>176c31dfe190a</stagingProfileId>
120 <serverId>ecomp-staging</serverId>
121 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400122 </plugin>
123 <plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000124 <groupId>org.jacoco</groupId>
125 <artifactId>jacoco-maven-plugin</artifactId>
126 <version>${jacoco.version}</version>
127 <configuration>
128 <!-- Note: This exclusion list should match <sonar.exclusions>
129 property above -->
130 <excludes>
131 <exclude>**/gen/**</exclude>
132 <exclude>**/generated-sources/**</exclude>
133 <exclude>**/yang-gen/**</exclude>
134 <exclude>**/pax/**</exclude>
135 </excludes>
136 </configuration>
137 <executions>
138 <!--
139 Prepares the property pointing to the JaCoCo runtime agent which
140 is passed as VM argument when Maven the Surefire plugin is executed.
141 -->
142 <execution>
143 <id>pre-unit-test</id>
144 <goals>
145 <goal>prepare-agent</goal>
146 </goals>
147 <configuration>
148 <!-- Sets the path to the file which contains the execution data. -->
149 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
150 <!--
151 Sets the name of the property containing the settings
152 for JaCoCo runtime agent.
153 -->
154 <propertyName>surefireArgLine</propertyName>
155 </configuration>
156 </execution>
157 <!--
158 Ensures that the code coverage report for unit tests is created after
159 unit tests have been run.
160 -->
161 <execution>
162 <id>post-unit-test</id>
163 <phase>test</phase>
164 <goals>
165 <goal>report</goal>
166 </goals>
167 <configuration>
168 <!-- Sets the path to the file which contains the execution data. -->
169 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
170 <!-- Sets the output directory for the code coverage report. -->
171 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
172 </configuration>
173 </execution>
174 <execution>
175 <id>pre-integration-test</id>
176 <phase>pre-integration-test</phase>
177 <goals>
178 <goal>prepare-agent</goal>
179 </goals>
180 <configuration>
181 <!-- Sets the path to the file which contains the execution data. -->
182 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
183 <!--
184 Sets the name of the property containing the settings
185 for JaCoCo runtime agent.
186 -->
187 <propertyName>failsafeArgLine</propertyName>
188 </configuration>
189 </execution>
190 <!--
191 Ensures that the code coverage report for integration tests after
192 integration tests have been run.
193 -->
194 <execution>
195 <id>post-integration-test</id>
196 <phase>post-integration-test</phase>
197 <goals>
198 <goal>report</goal>
199 </goals>
200 <configuration>
201 <!-- Sets the path to the file which contains the execution data. -->
202 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
203 <!-- Sets the output directory for the code coverage report. -->
204 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
205 </configuration>
206 </execution>
207 </executions>
208 </plugin>
209
sg481nbd890c52017-08-28 12:11:35 -0400210 </plugins>
211 </pluginManagement>
212 </build>
213 <distributionManagement>
214 <repository>
215 <id>ecomp-releases</id>
216 <name>AAF Release Repository</name>
217 <url>${nexusproxy}${releaseNexusPath}</url>
218 </repository>
219 <snapshotRepository>
220 <id>ecomp-snapshots</id>
221 <name>AAF Snapshot Repository</name>
222 <url>${nexusproxy}${snapshotNexusPath}</url>
223 </snapshotRepository>
224 <site>
225 <id>ecomp-site</id>
226 <url>dav:${nexusproxy}${sitePath}</url>
227 </site>
228 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000229
sg481nbd890c52017-08-28 12:11:35 -0400230
231</project>