blob: c12abae224c037236f1b5ff8cc1b83d23ece9c2f [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 * -->
Instrumental71037c32018-03-26 13:51:48 -070016<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
18 <modelVersion>4.0.0</modelVersion>
19 <parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000020 <groupId>org.onap.aaf.authz</groupId>
21 <artifactId>authparent</artifactId>
Instrumentala9391132018-10-16 12:34:12 -050022 <version>2.1.5-SNAPSHOT</version>
Instrumental71037c32018-03-26 13:51:48 -070023 <relativePath>../pom.xml</relativePath>
24 </parent>
25
26 <artifactId>aaf-auth-certman</artifactId>
27 <name>AAF Auth Certificate Manager</name>
28 <description>Certificate Manager API</description>
29
30 <properties>
gabe.maurer2e233282018-04-03 11:18:38 -050031 <!-- SONAR -->
Sai Gandhamf44b9272018-04-12 16:42:07 +000032 <!-- <sonar.skip>true</sonar.skip> -->
gabe.maurer2e233282018-04-03 11:18:38 -050033 <jacoco.version>0.7.7.201606060606</jacoco.version>
34 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
35 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
36 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050037 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
38 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
gabe.maurer2e233282018-04-03 11:18:38 -050039 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
40 below -->
41 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000042 <nexusproxy>https://nexus.onap.org</nexusproxy>
43 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
44 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
45 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000046 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumentalcc7e0872018-08-16 09:15:26 -050047 <project.bouncyCastleVersion>1.60</project.bouncyCastleVersion>
Instrumental71037c32018-03-26 13:51:48 -070048 </properties>
49
50 <dependencies>
51 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000052 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070053 <artifactId>aaf-auth-core</artifactId>
54 </dependency>
55
56 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000057 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070058 <artifactId>aaf-auth-cass</artifactId>
59 </dependency>
60
61 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000062 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070063 <artifactId>aaf-cadi-aaf</artifactId>
64 </dependency>
Instrumental32cdd552018-07-19 13:29:32 -050065
66 <!-- Add the Organizations you wish to support. You can delete ONAP if
67 you have something else Match with Property Entry: Organization.<root ns>,
68 i.e. Organization.onap.org=org.onap.org.DefaultOrg -->
69 <dependency>
70 <groupId>org.onap.aaf.authz</groupId>
71 <artifactId>aaf-auth-deforg</artifactId>
72 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070073
74 <dependency>
75 <groupId>com.google.code.jscep</groupId>
76 <artifactId>jscep</artifactId>
77 <version>2.4.0</version>
Instrumentald3348842018-04-11 13:13:46 -050078 <exclusions>
79 <exclusion>
80 <groupId>org.bouncycastle</groupId>
81 <artifactId>bcprov-jdk15on</artifactId>
82 </exclusion>
83 <exclusion>
84 <groupId>org.bouncycastle</groupId>
85 <artifactId>bcpkix-jdk15on</artifactId>
86 </exclusion>
87 </exclusions>
88 </dependency>
89 <!-- JSCEP does not use latest "Bouncy Castle" -->
90 <dependency>
91 <groupId>org.bouncycastle</groupId>
92 <artifactId>bcprov-jdk15on</artifactId>
IanHowellc1e85932018-05-18 09:29:09 -050093 <version>${project.bouncyCastleVersion}</version>
Instrumentald3348842018-04-11 13:13:46 -050094 </dependency>
95 <dependency>
96 <groupId>org.bouncycastle</groupId>
97 <artifactId>bcpkix-jdk15on</artifactId>
IanHowellc1e85932018-05-18 09:29:09 -050098 <version>${project.bouncyCastleVersion}</version>
Instrumental71037c32018-03-26 13:51:48 -070099 </dependency>
Instrumental71037c32018-03-26 13:51:48 -0700100 </dependencies>
101
102 <build>
103 <plugins>
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-jar-plugin</artifactId>
107 <configuration>
108 <includes>
109 <include>**/*.class</include>
110 </includes>
111 </configuration>
112 <version>2.3.1</version>
113 </plugin>
114
115 <!--This plugin's configuration is used to store Eclipse m2e settings
116 only. It has no influence on the Maven build itself. -->
117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-deploy-plugin</artifactId>
120 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500121 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -0700122 </configuration>
123 </plugin>
124 <plugin>
125 <groupId>org.codehaus.mojo</groupId>
126 <artifactId>appassembler-maven-plugin</artifactId>
127 <configuration>
128 <programs>
129 <program>
130 <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
131 <name>cm</name>
132 <commandLineArguments>
Instrumental4ad47632018-07-13 15:49:26 -0500133 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.cm.props</commandLineArgument>
Instrumental924b18d2018-04-05 20:17:18 -0500134 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
gabe.maurer2e233282018-04-03 11:18:38 -0500135 </commandLineArguments>
Instrumental71037c32018-03-26 13:51:48 -0700136 </program>
137 </programs>
138 </configuration>
139 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000140 <plugin>
141 <groupId>org.sonatype.plugins</groupId>
142 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000143 <extensions>true</extensions>
144 <configuration>
145 <nexusUrl>${nexusproxy}</nexusUrl>
146 <stagingProfileId>176c31dfe190a</stagingProfileId>
147 <serverId>ecomp-staging</serverId>
148 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500149 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000150 <plugin>
151 <groupId>org.jacoco</groupId>
152 <artifactId>jacoco-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000153 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500154 <excludes>
155 <exclude>**/gen/**</exclude>
156 <exclude>**/generated-sources/**</exclude>
157 <exclude>**/yang-gen/**</exclude>
158 <exclude>**/pax/**</exclude>
159 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000160 </configuration>
161 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500162
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000163 <execution>
164 <id>pre-unit-test</id>
165 <goals>
166 <goal>prepare-agent</goal>
167 </goals>
168 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500169 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
170 <propertyName>surefireArgLine</propertyName>
171 </configuration>
172 </execution>
173
174
175 <execution>
176 <id>post-unit-test</id>
177 <phase>test</phase>
178 <goals>
179 <goal>report</goal>
180 </goals>
181 <configuration>
182 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
183 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000184 </configuration>
185 </execution>
186 <execution>
187 <id>pre-integration-test</id>
188 <phase>pre-integration-test</phase>
189 <goals>
190 <goal>prepare-agent</goal>
191 </goals>
192 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500193 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
194 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000195 </configuration>
196 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500197
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000198 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500199 <id>post-integration-test</id>
200 <phase>post-integration-test</phase>
201 <goals>
202 <goal>report</goal>
203 </goals>
204 <configuration>
205 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
206 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
207 </configuration>
208 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000209 </executions>
210 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700211 </plugins>
212 </build>
213
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000214 <distributionManagement>
215 <repository>
216 <id>ecomp-releases</id>
217 <name>AAF Release Repository</name>
218 <url>${nexusproxy}${releaseNexusPath}</url>
219 </repository>
220 <snapshotRepository>
221 <id>ecomp-snapshots</id>
222 <name>AAF Snapshot Repository</name>
223 <url>${nexusproxy}${snapshotNexusPath}</url>
224 </snapshotRepository>
225 <site>
226 <id>ecomp-site</id>
227 <url>dav:${nexusproxy}${sitePath}</url>
228 </site>
229 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000230
Instrumental71037c32018-03-26 13:51:48 -0700231</project>