blob: fa787fbac3cd98e4760c05fd8102c912c256f7c5 [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-certman</artifactId>
35 <name>AAF Certification Managmenent</name>
36 <description>Certificate Manager API</description>
37 <url>https://github.com/att/AAF</url>
38 <licenses>
39 <license>
40 <name>BSD License</name>
41 <url> </url>
42 </license>
43 </licenses>
44 <developers>
45 <developer>
46 <name>Jonathan Gathman</name>
47 <email></email>
48 <organization>ATT</organization>
49 <organizationUrl></organizationUrl>
50 </developer>
51 </developers>
52
53
54 <properties>
55 <project.swmVersion>45</project.swmVersion>
56 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481n4ccc6b82017-10-04 17:29:37 +000058 <!-- SONAR -->
59 <jacoco.version>0.7.7.201606060606</jacoco.version>
60 <sonar.skip>true</sonar.skip>
61 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
62 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
63 <!-- Default Sonar configuration -->
64 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
65 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
66 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
67 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
sg481nbd890c52017-08-28 12:11:35 -040068 <nexusproxy>https://nexus.onap.org</nexusproxy>
69 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
70 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
71 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000072 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nbd890c52017-08-28 12:11:35 -040073 </properties>
74
75 <dependencies>
76 <dependency>
77 <groupId>org.onap.aaf.authz</groupId>
78 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040079 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040080 </dependency>
81
82 <dependency>
83 <groupId>org.onap.aaf.authz</groupId>
84 <artifactId>authz-cass</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040085 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040086 </dependency>
87
88
89 <dependency>
90 <groupId>org.onap.aaf.cadi</groupId>
91 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040092 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -040093 </dependency>
94
95 <dependency>
96 <groupId>com.google.code.jscep</groupId>
97 <artifactId>jscep</artifactId>
98 <version>2.4.0</version>
99 </dependency>
100 <!-- TESTING -->
101 <dependency>
102 <groupId>org.slf4j</groupId>
103 <artifactId>slf4j-log4j12</artifactId>
104 </dependency>
105 </dependencies>
106
107 <build>
108 <plugins>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-jar-plugin</artifactId>
112 <configuration>
113 <includes>
114 <include>**/*.class</include>
115 </includes>
116 </configuration>
117 <version>2.3.1</version>
118 </plugin>
119
120 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
121
sg481na2ac6782017-09-18 16:35:50 -0400122
sg481nbd890c52017-08-28 12:11:35 -0400123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000126 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400127 <configuration>
128 <failOnError>false</failOnError>
129 </configuration>
130 <executions>
131 <execution>
132 <id>attach-javadocs</id>
133 <goals>
134 <goal>jar</goal>
135 </goals>
136 </execution>
137 </executions>
sg481na9d21082017-09-23 14:26:06 +0000138 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400139
140
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-source-plugin</artifactId>
144 <version>2.2.1</version>
145 <executions>
146 <execution>
147 <id>attach-sources</id>
148 <goals>
149 <goal>jar-no-fork</goal>
150 </goals>
151 </execution>
152 </executions>
153 </plugin>
154 <plugin>
155 <groupId>org.sonatype.plugins</groupId>
156 <artifactId>nexus-staging-maven-plugin</artifactId>
157 <version>1.6.7</version>
158 <extensions>true</extensions>
159 <configuration>
160 <nexusUrl>${nexusproxy}</nexusUrl>
161 <stagingProfileId>176c31dfe190a</stagingProfileId>
162 <serverId>ecomp-staging</serverId>
163 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400164 </plugin>
165 <plugin>
sg481n4ccc6b82017-10-04 17:29:37 +0000166 <groupId>org.jacoco</groupId>
167 <artifactId>jacoco-maven-plugin</artifactId>
168 <version>${jacoco.version}</version>
169 <configuration>
170 <excludes>
171 <exclude>**/gen/**</exclude>
172 <exclude>**/generated-sources/**</exclude>
173 <exclude>**/yang-gen/**</exclude>
174 <exclude>**/pax/**</exclude>
175 </excludes>
176 </configuration>
177 <executions>
sg481nf33ea6d2017-10-01 17:28:44 +0000178
sg481n4ccc6b82017-10-04 17:29:37 +0000179 <execution>
180 <id>pre-unit-test</id>
181 <goals>
182 <goal>prepare-agent</goal>
183 </goals>
184 <configuration>
185 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
186 <propertyName>surefireArgLine</propertyName>
187 </configuration>
188 </execution>
189
190
191 <execution>
192 <id>post-unit-test</id>
193 <phase>test</phase>
194 <goals>
195 <goal>report</goal>
196 </goals>
197 <configuration>
198 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
199 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
200 </configuration>
201 </execution>
202 <execution>
203 <id>pre-integration-test</id>
204 <phase>pre-integration-test</phase>
205 <goals>
206 <goal>prepare-agent</goal>
207 </goals>
208 <configuration>
209 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
210
211 <propertyName>failsafeArgLine</propertyName>
212 </configuration>
213 </execution>
214
215
216 <execution>
217 <id>post-integration-test</id>
218 <phase>post-integration-test</phase>
219 <goals>
220 <goal>report</goal>
221 </goals>
222 <configuration>
223 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
224 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
225 </configuration>
226 </execution>
227 </executions>
228 </plugin>
sg481nbd890c52017-08-28 12:11:35 -0400229
230 </plugins>
231 <pluginManagement>
232 <plugins/>
233 </pluginManagement>
234 </build>
235<distributionManagement>
236 <repository>
237 <id>ecomp-releases</id>
238 <name>AAF Release Repository</name>
239 <url>${nexusproxy}${releaseNexusPath}</url>
240 </repository>
241 <snapshotRepository>
242 <id>ecomp-snapshots</id>
243 <name>AAF Snapshot Repository</name>
244 <url>${nexusproxy}${snapshotNexusPath}</url>
245 </snapshotRepository>
246 <site>
247 <id>ecomp-site</id>
248 <url>dav:${nexusproxy}${sitePath}</url>
249 </site>
250 </distributionManagement>
sg481na9d21082017-09-23 14:26:06 +0000251
sg481nbd890c52017-08-28 12:11:35 -0400252</project>