blob: ba346e6f76f5debef3d67875f3e0fa78cc15a3db [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>
Instrumental12414fe2019-01-22 10:27:32 -060023 <version>2.1.10-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>
Sai Gandham255628b2019-01-14 11:06:13 -060052 <dependency>
53 <groupId>org.powermock</groupId>
54 <artifactId>powermock-module-junit4-rule-agent</artifactId>
55 <version>1.6.4</version>
56 <scope>test</scope>
57 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070058 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000059 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070060 <artifactId>aaf-auth-core</artifactId>
61 </dependency>
62
63 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000064 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070065 <artifactId>aaf-auth-cass</artifactId>
66 </dependency>
67
68 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000069 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070070 <artifactId>aaf-cadi-aaf</artifactId>
71 </dependency>
Instrumental32cdd552018-07-19 13:29:32 -050072
73 <!-- Add the Organizations you wish to support. You can delete ONAP if
74 you have something else Match with Property Entry: Organization.<root ns>,
75 i.e. Organization.onap.org=org.onap.org.DefaultOrg -->
76 <dependency>
77 <groupId>org.onap.aaf.authz</groupId>
78 <artifactId>aaf-auth-deforg</artifactId>
79 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070080
81 <dependency>
82 <groupId>com.google.code.jscep</groupId>
83 <artifactId>jscep</artifactId>
84 <version>2.4.0</version>
Instrumentald3348842018-04-11 13:13:46 -050085 <exclusions>
86 <exclusion>
87 <groupId>org.bouncycastle</groupId>
88 <artifactId>bcprov-jdk15on</artifactId>
89 </exclusion>
90 <exclusion>
91 <groupId>org.bouncycastle</groupId>
92 <artifactId>bcpkix-jdk15on</artifactId>
93 </exclusion>
94 </exclusions>
95 </dependency>
96 <!-- JSCEP does not use latest "Bouncy Castle" -->
97 <dependency>
98 <groupId>org.bouncycastle</groupId>
99 <artifactId>bcprov-jdk15on</artifactId>
IanHowellc1e85932018-05-18 09:29:09 -0500100 <version>${project.bouncyCastleVersion}</version>
Instrumentald3348842018-04-11 13:13:46 -0500101 </dependency>
102 <dependency>
103 <groupId>org.bouncycastle</groupId>
104 <artifactId>bcpkix-jdk15on</artifactId>
IanHowellc1e85932018-05-18 09:29:09 -0500105 <version>${project.bouncyCastleVersion}</version>
Instrumental71037c32018-03-26 13:51:48 -0700106 </dependency>
Instrumental71037c32018-03-26 13:51:48 -0700107 </dependencies>
108
109 <build>
110 <plugins>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-jar-plugin</artifactId>
114 <configuration>
115 <includes>
116 <include>**/*.class</include>
117 </includes>
118 </configuration>
119 <version>2.3.1</version>
120 </plugin>
121
122 <!--This plugin's configuration is used to store Eclipse m2e settings
123 only. It has no influence on the Maven build itself. -->
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-deploy-plugin</artifactId>
127 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500128 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -0700129 </configuration>
130 </plugin>
131 <plugin>
132 <groupId>org.codehaus.mojo</groupId>
133 <artifactId>appassembler-maven-plugin</artifactId>
134 <configuration>
135 <programs>
136 <program>
137 <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
138 <name>cm</name>
139 <commandLineArguments>
Instrumental4ad47632018-07-13 15:49:26 -0500140 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.cm.props</commandLineArgument>
Instrumental924b18d2018-04-05 20:17:18 -0500141 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
gabe.maurer2e233282018-04-03 11:18:38 -0500142 </commandLineArguments>
Instrumental71037c32018-03-26 13:51:48 -0700143 </program>
144 </programs>
145 </configuration>
146 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000147 <plugin>
148 <groupId>org.sonatype.plugins</groupId>
149 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000150 <extensions>true</extensions>
151 <configuration>
152 <nexusUrl>${nexusproxy}</nexusUrl>
153 <stagingProfileId>176c31dfe190a</stagingProfileId>
154 <serverId>ecomp-staging</serverId>
155 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500156 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000157 <plugin>
158 <groupId>org.jacoco</groupId>
159 <artifactId>jacoco-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000160 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500161 <excludes>
162 <exclude>**/gen/**</exclude>
163 <exclude>**/generated-sources/**</exclude>
164 <exclude>**/yang-gen/**</exclude>
165 <exclude>**/pax/**</exclude>
166 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000167 </configuration>
168 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500169
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000170 <execution>
171 <id>pre-unit-test</id>
172 <goals>
173 <goal>prepare-agent</goal>
174 </goals>
175 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500176 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
177 <propertyName>surefireArgLine</propertyName>
178 </configuration>
179 </execution>
180
181
182 <execution>
183 <id>post-unit-test</id>
184 <phase>test</phase>
185 <goals>
186 <goal>report</goal>
187 </goals>
188 <configuration>
189 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
190 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000191 </configuration>
192 </execution>
193 <execution>
194 <id>pre-integration-test</id>
195 <phase>pre-integration-test</phase>
196 <goals>
197 <goal>prepare-agent</goal>
198 </goals>
199 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500200 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
201 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000202 </configuration>
203 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500204
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000205 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500206 <id>post-integration-test</id>
207 <phase>post-integration-test</phase>
208 <goals>
209 <goal>report</goal>
210 </goals>
211 <configuration>
212 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
213 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
214 </configuration>
215 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000216 </executions>
217 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700218 </plugins>
219 </build>
220
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000221 <distributionManagement>
222 <repository>
223 <id>ecomp-releases</id>
224 <name>AAF Release Repository</name>
225 <url>${nexusproxy}${releaseNexusPath}</url>
226 </repository>
227 <snapshotRepository>
228 <id>ecomp-snapshots</id>
229 <name>AAF Snapshot Repository</name>
230 <url>${nexusproxy}${snapshotNexusPath}</url>
231 </snapshotRepository>
232 <site>
233 <id>ecomp-site</id>
234 <url>dav:${nexusproxy}${sitePath}</url>
235 </site>
236 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000237
Instrumental71037c32018-03-26 13:51:48 -0700238</project>