blob: 8b1729ec20bbb18651bf7a93bbfdbf9c1ad7b3af [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====================================================
3 * org.onap.aaf * ===========================================================================
4 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * ===========================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License"); * you may
6 not use this file except in compliance with the License. * You may obtain
7 a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
8 * Unless required by applicable law or agreed to in writing, software * distributed
9 under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES
10 OR CONDITIONS OF ANY KIND, either express or implied. * See the License for
11 the specific language governing permissions and * limitations under the License.
12 * ============LICENSE_END====================================================
13 * -->
Instrumental71037c32018-03-26 13:51:48 -070014<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
16 <modelVersion>4.0.0</modelVersion>
17 <parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000018 <groupId>org.onap.aaf.authz</groupId>
19 <artifactId>authparent</artifactId>
Instrumentalb7440252018-06-14 15:05:33 -050020 <version>2.1.2-SNAPSHOT</version>
Instrumental71037c32018-03-26 13:51:48 -070021 <relativePath>../pom.xml</relativePath>
22 </parent>
23
24 <artifactId>aaf-auth-certman</artifactId>
25 <name>AAF Auth Certificate Manager</name>
26 <description>Certificate Manager API</description>
27
28 <properties>
gabe.maurer2e233282018-04-03 11:18:38 -050029 <!-- SONAR -->
Sai Gandhamf44b9272018-04-12 16:42:07 +000030 <!-- <sonar.skip>true</sonar.skip> -->
gabe.maurer2e233282018-04-03 11:18:38 -050031 <jacoco.version>0.7.7.201606060606</jacoco.version>
32 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
33 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
34 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050035 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
36 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
gabe.maurer2e233282018-04-03 11:18:38 -050037 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
38 below -->
39 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000040 <nexusproxy>https://nexus.onap.org</nexusproxy>
41 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
42 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
43 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000044 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
IanHowellc1e85932018-05-18 09:29:09 -050045 <project.bouncyCastleVersion>1.59</project.bouncyCastleVersion>
Instrumental71037c32018-03-26 13:51:48 -070046 </properties>
47
48 <dependencies>
49 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000050 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070051 <artifactId>aaf-auth-core</artifactId>
52 </dependency>
53
54 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000055 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070056 <artifactId>aaf-auth-cass</artifactId>
57 </dependency>
58
59 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000060 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070061 <artifactId>aaf-cadi-aaf</artifactId>
62 </dependency>
Instrumental32cdd552018-07-19 13:29:32 -050063
64 <!-- Add the Organizations you wish to support. You can delete ONAP if
65 you have something else Match with Property Entry: Organization.<root ns>,
66 i.e. Organization.onap.org=org.onap.org.DefaultOrg -->
67 <dependency>
68 <groupId>org.onap.aaf.authz</groupId>
69 <artifactId>aaf-auth-deforg</artifactId>
70 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070071
72 <dependency>
73 <groupId>com.google.code.jscep</groupId>
74 <artifactId>jscep</artifactId>
75 <version>2.4.0</version>
Instrumentald3348842018-04-11 13:13:46 -050076 <exclusions>
77 <exclusion>
78 <groupId>org.bouncycastle</groupId>
79 <artifactId>bcprov-jdk15on</artifactId>
80 </exclusion>
81 <exclusion>
82 <groupId>org.bouncycastle</groupId>
83 <artifactId>bcpkix-jdk15on</artifactId>
84 </exclusion>
85 </exclusions>
86 </dependency>
87 <!-- JSCEP does not use latest "Bouncy Castle" -->
88 <dependency>
89 <groupId>org.bouncycastle</groupId>
90 <artifactId>bcprov-jdk15on</artifactId>
IanHowellc1e85932018-05-18 09:29:09 -050091 <version>${project.bouncyCastleVersion}</version>
Instrumentald3348842018-04-11 13:13:46 -050092 </dependency>
93 <dependency>
94 <groupId>org.bouncycastle</groupId>
95 <artifactId>bcpkix-jdk15on</artifactId>
IanHowellc1e85932018-05-18 09:29:09 -050096 <version>${project.bouncyCastleVersion}</version>
Instrumental71037c32018-03-26 13:51:48 -070097 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070098 </dependencies>
99
100 <build>
101 <plugins>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-jar-plugin</artifactId>
105 <configuration>
106 <includes>
107 <include>**/*.class</include>
108 </includes>
109 </configuration>
110 <version>2.3.1</version>
111 </plugin>
112
113 <!--This plugin's configuration is used to store Eclipse m2e settings
114 only. It has no influence on the Maven build itself. -->
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-deploy-plugin</artifactId>
118 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500119 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -0700120 </configuration>
121 </plugin>
122 <plugin>
123 <groupId>org.codehaus.mojo</groupId>
124 <artifactId>appassembler-maven-plugin</artifactId>
125 <configuration>
126 <programs>
127 <program>
128 <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
129 <name>cm</name>
130 <commandLineArguments>
Instrumental4ad47632018-07-13 15:49:26 -0500131 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.cm.props</commandLineArgument>
Instrumental924b18d2018-04-05 20:17:18 -0500132 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
gabe.maurer2e233282018-04-03 11:18:38 -0500133 </commandLineArguments>
Instrumental71037c32018-03-26 13:51:48 -0700134 </program>
135 </programs>
136 </configuration>
137 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000138 <plugin>
139 <groupId>org.sonatype.plugins</groupId>
140 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000141 <extensions>true</extensions>
142 <configuration>
143 <nexusUrl>${nexusproxy}</nexusUrl>
144 <stagingProfileId>176c31dfe190a</stagingProfileId>
145 <serverId>ecomp-staging</serverId>
146 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500147 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000148 <plugin>
149 <groupId>org.jacoco</groupId>
150 <artifactId>jacoco-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000151 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500152 <excludes>
153 <exclude>**/gen/**</exclude>
154 <exclude>**/generated-sources/**</exclude>
155 <exclude>**/yang-gen/**</exclude>
156 <exclude>**/pax/**</exclude>
157 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000158 </configuration>
159 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500160
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000161 <execution>
162 <id>pre-unit-test</id>
163 <goals>
164 <goal>prepare-agent</goal>
165 </goals>
166 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500167 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
168 <propertyName>surefireArgLine</propertyName>
169 </configuration>
170 </execution>
171
172
173 <execution>
174 <id>post-unit-test</id>
175 <phase>test</phase>
176 <goals>
177 <goal>report</goal>
178 </goals>
179 <configuration>
180 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
181 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000182 </configuration>
183 </execution>
184 <execution>
185 <id>pre-integration-test</id>
186 <phase>pre-integration-test</phase>
187 <goals>
188 <goal>prepare-agent</goal>
189 </goals>
190 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500191 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
192 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000193 </configuration>
194 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500195
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000196 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500197 <id>post-integration-test</id>
198 <phase>post-integration-test</phase>
199 <goals>
200 <goal>report</goal>
201 </goals>
202 <configuration>
203 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
204 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
205 </configuration>
206 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000207 </executions>
208 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700209 </plugins>
210 </build>
211
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000212 <distributionManagement>
213 <repository>
214 <id>ecomp-releases</id>
215 <name>AAF Release Repository</name>
216 <url>${nexusproxy}${releaseNexusPath}</url>
217 </repository>
218 <snapshotRepository>
219 <id>ecomp-snapshots</id>
220 <name>AAF Snapshot Repository</name>
221 <url>${nexusproxy}${snapshotNexusPath}</url>
222 </snapshotRepository>
223 <site>
224 <id>ecomp-site</id>
225 <url>dav:${nexusproxy}${sitePath}</url>
226 </site>
227 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000228
Instrumental71037c32018-03-26 13:51:48 -0700229</project>