blob: cd20bd028eb0796b0b9ba1275b122a52c79590b8 [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -07001<?xml version="1.0" encoding="UTF-8"?>
gabe.maurer2e233282018-04-03 11:18:38 -05002<!-- * ============LICENSE_START====================================================
Instrumentalcc7e0872018-08-16 09:15:26 -05003 * org.onap.aaf
4 * ===========================================================================
5 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6 * ===========================================================================
gabe.maurer2e233282018-04-03 11:18:38 -05007 * Licensed under the Apache License, Version 2.0 (the "License"); * you may
8 not use this file except in compliance with the License. * You may obtain
9 a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
10 * Unless required by applicable law or agreed to in writing, software * distributed
11 under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES
12 OR CONDITIONS OF ANY KIND, either express or implied. * See the License for
13 the specific language governing permissions and * limitations under the License.
14 * ============LICENSE_END====================================================
15 * -->
Instrumental7a1817b2018-11-05 11:11:15 -060016
Instrumental71037c32018-03-26 13:51:48 -070017<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
19 <modelVersion>4.0.0</modelVersion>
20 <parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000021 <groupId>org.onap.aaf.authz</groupId>
22 <artifactId>authparent</artifactId>
Instrumentalbaa1bc32018-11-19 07:46:03 -060023 <version>2.1.9-SNAPSHOT</version>
Instrumental71037c32018-03-26 13:51:48 -070024 <relativePath>../pom.xml</relativePath>
25 </parent>
26
27 <artifactId>aaf-auth-certman</artifactId>
28 <name>AAF Auth Certificate Manager</name>
29 <description>Certificate Manager API</description>
30
31 <properties>
gabe.maurer2e233282018-04-03 11:18:38 -050032 <!-- SONAR -->
Sai Gandhamf44b9272018-04-12 16:42:07 +000033 <!-- <sonar.skip>true</sonar.skip> -->
gabe.maurer2e233282018-04-03 11:18:38 -050034 <jacoco.version>0.7.7.201606060606</jacoco.version>
35 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
36 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
37 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050038 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
39 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
gabe.maurer2e233282018-04-03 11:18:38 -050040 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
41 below -->
42 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000043 <nexusproxy>https://nexus.onap.org</nexusproxy>
44 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
45 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
46 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000047 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumentalcc7e0872018-08-16 09:15:26 -050048 <project.bouncyCastleVersion>1.60</project.bouncyCastleVersion>
Instrumental71037c32018-03-26 13:51:48 -070049 </properties>
50
51 <dependencies>
52 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000053 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070054 <artifactId>aaf-auth-core</artifactId>
55 </dependency>
56
57 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000058 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070059 <artifactId>aaf-auth-cass</artifactId>
60 </dependency>
61
62 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000063 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070064 <artifactId>aaf-cadi-aaf</artifactId>
65 </dependency>
Instrumental32cdd552018-07-19 13:29:32 -050066
67 <!-- Add the Organizations you wish to support. You can delete ONAP if
68 you have something else Match with Property Entry: Organization.<root ns>,
69 i.e. Organization.onap.org=org.onap.org.DefaultOrg -->
70 <dependency>
71 <groupId>org.onap.aaf.authz</groupId>
72 <artifactId>aaf-auth-deforg</artifactId>
73 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070074
75 <dependency>
76 <groupId>com.google.code.jscep</groupId>
77 <artifactId>jscep</artifactId>
78 <version>2.4.0</version>
Instrumentald3348842018-04-11 13:13:46 -050079 <exclusions>
80 <exclusion>
81 <groupId>org.bouncycastle</groupId>
82 <artifactId>bcprov-jdk15on</artifactId>
83 </exclusion>
84 <exclusion>
85 <groupId>org.bouncycastle</groupId>
86 <artifactId>bcpkix-jdk15on</artifactId>
87 </exclusion>
88 </exclusions>
89 </dependency>
90 <!-- JSCEP does not use latest "Bouncy Castle" -->
91 <dependency>
92 <groupId>org.bouncycastle</groupId>
93 <artifactId>bcprov-jdk15on</artifactId>
IanHowellc1e85932018-05-18 09:29:09 -050094 <version>${project.bouncyCastleVersion}</version>
Instrumentald3348842018-04-11 13:13:46 -050095 </dependency>
96 <dependency>
97 <groupId>org.bouncycastle</groupId>
98 <artifactId>bcpkix-jdk15on</artifactId>
IanHowellc1e85932018-05-18 09:29:09 -050099 <version>${project.bouncyCastleVersion}</version>
Instrumental71037c32018-03-26 13:51:48 -0700100 </dependency>
Instrumental71037c32018-03-26 13:51:48 -0700101 </dependencies>
102
103 <build>
104 <plugins>
105 <plugin>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-jar-plugin</artifactId>
108 <configuration>
109 <includes>
110 <include>**/*.class</include>
111 </includes>
112 </configuration>
113 <version>2.3.1</version>
114 </plugin>
115
116 <!--This plugin's configuration is used to store Eclipse m2e settings
117 only. It has no influence on the Maven build itself. -->
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-deploy-plugin</artifactId>
121 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500122 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -0700123 </configuration>
124 </plugin>
125 <plugin>
126 <groupId>org.codehaus.mojo</groupId>
127 <artifactId>appassembler-maven-plugin</artifactId>
128 <configuration>
129 <programs>
130 <program>
131 <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
132 <name>cm</name>
133 <commandLineArguments>
Instrumental4ad47632018-07-13 15:49:26 -0500134 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.cm.props</commandLineArgument>
Instrumental924b18d2018-04-05 20:17:18 -0500135 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
gabe.maurer2e233282018-04-03 11:18:38 -0500136 </commandLineArguments>
Instrumental71037c32018-03-26 13:51:48 -0700137 </program>
138 </programs>
139 </configuration>
140 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000141 <plugin>
142 <groupId>org.sonatype.plugins</groupId>
143 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000144 <extensions>true</extensions>
145 <configuration>
146 <nexusUrl>${nexusproxy}</nexusUrl>
147 <stagingProfileId>176c31dfe190a</stagingProfileId>
148 <serverId>ecomp-staging</serverId>
149 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500150 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000151 <plugin>
152 <groupId>org.jacoco</groupId>
153 <artifactId>jacoco-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000154 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500155 <excludes>
156 <exclude>**/gen/**</exclude>
157 <exclude>**/generated-sources/**</exclude>
158 <exclude>**/yang-gen/**</exclude>
159 <exclude>**/pax/**</exclude>
160 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000161 </configuration>
162 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500163
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000164 <execution>
165 <id>pre-unit-test</id>
166 <goals>
167 <goal>prepare-agent</goal>
168 </goals>
169 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500170 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
171 <propertyName>surefireArgLine</propertyName>
172 </configuration>
173 </execution>
174
175
176 <execution>
177 <id>post-unit-test</id>
178 <phase>test</phase>
179 <goals>
180 <goal>report</goal>
181 </goals>
182 <configuration>
183 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
184 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000185 </configuration>
186 </execution>
187 <execution>
188 <id>pre-integration-test</id>
189 <phase>pre-integration-test</phase>
190 <goals>
191 <goal>prepare-agent</goal>
192 </goals>
193 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500194 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
195 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000196 </configuration>
197 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500198
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000199 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500200 <id>post-integration-test</id>
201 <phase>post-integration-test</phase>
202 <goals>
203 <goal>report</goal>
204 </goals>
205 <configuration>
206 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
207 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
208 </configuration>
209 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000210 </executions>
211 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700212 </plugins>
213 </build>
214
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000215 <distributionManagement>
216 <repository>
217 <id>ecomp-releases</id>
218 <name>AAF Release Repository</name>
219 <url>${nexusproxy}${releaseNexusPath}</url>
220 </repository>
221 <snapshotRepository>
222 <id>ecomp-snapshots</id>
223 <name>AAF Snapshot Repository</name>
224 <url>${nexusproxy}${snapshotNexusPath}</url>
225 </snapshotRepository>
226 <site>
227 <id>ecomp-site</id>
228 <url>dav:${nexusproxy}${sitePath}</url>
229 </site>
230 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000231
Instrumental71037c32018-03-26 13:51:48 -0700232</project>