blob: 10a3bb0b664a8cb3d0c6bc34cbac066f86995320 [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>
Instrumental71037c32018-03-26 13:51:48 -070020 <version>2.1.0-SNAPSHOT</version>
21 <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>
63
64 <dependency>
65 <groupId>com.google.code.jscep</groupId>
66 <artifactId>jscep</artifactId>
67 <version>2.4.0</version>
Instrumentald3348842018-04-11 13:13:46 -050068 <exclusions>
69 <exclusion>
70 <groupId>org.bouncycastle</groupId>
71 <artifactId>bcprov-jdk15on</artifactId>
72 </exclusion>
73 <exclusion>
74 <groupId>org.bouncycastle</groupId>
75 <artifactId>bcpkix-jdk15on</artifactId>
76 </exclusion>
77 </exclusions>
78 </dependency>
79 <!-- JSCEP does not use latest "Bouncy Castle" -->
80 <dependency>
81 <groupId>org.bouncycastle</groupId>
82 <artifactId>bcprov-jdk15on</artifactId>
IanHowellc1e85932018-05-18 09:29:09 -050083 <version>${project.bouncyCastleVersion}</version>
Instrumentald3348842018-04-11 13:13:46 -050084 </dependency>
85 <dependency>
86 <groupId>org.bouncycastle</groupId>
87 <artifactId>bcpkix-jdk15on</artifactId>
IanHowellc1e85932018-05-18 09:29:09 -050088 <version>${project.bouncyCastleVersion}</version>
Instrumental71037c32018-03-26 13:51:48 -070089 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070090 </dependencies>
91
92 <build>
93 <plugins>
94 <plugin>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-jar-plugin</artifactId>
97 <configuration>
98 <includes>
99 <include>**/*.class</include>
100 </includes>
101 </configuration>
102 <version>2.3.1</version>
103 </plugin>
104
105 <!--This plugin's configuration is used to store Eclipse m2e settings
106 only. It has no influence on the Maven build itself. -->
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-deploy-plugin</artifactId>
110 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500111 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -0700112 </configuration>
113 </plugin>
114 <plugin>
115 <groupId>org.codehaus.mojo</groupId>
116 <artifactId>appassembler-maven-plugin</artifactId>
117 <configuration>
118 <programs>
119 <program>
120 <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
121 <name>cm</name>
122 <commandLineArguments>
Instrumental924b18d2018-04-05 20:17:18 -0500123 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.cm.props</commandLineArgument>
124 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
gabe.maurer2e233282018-04-03 11:18:38 -0500125 </commandLineArguments>
Instrumental71037c32018-03-26 13:51:48 -0700126 </program>
127 </programs>
128 </configuration>
129 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000130 <plugin>
131 <groupId>org.sonatype.plugins</groupId>
132 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000133 <extensions>true</extensions>
134 <configuration>
135 <nexusUrl>${nexusproxy}</nexusUrl>
136 <stagingProfileId>176c31dfe190a</stagingProfileId>
137 <serverId>ecomp-staging</serverId>
138 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500139 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000140 <plugin>
141 <groupId>org.jacoco</groupId>
142 <artifactId>jacoco-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000143 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500144 <excludes>
145 <exclude>**/gen/**</exclude>
146 <exclude>**/generated-sources/**</exclude>
147 <exclude>**/yang-gen/**</exclude>
148 <exclude>**/pax/**</exclude>
149 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000150 </configuration>
151 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500152
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000153 <execution>
154 <id>pre-unit-test</id>
155 <goals>
156 <goal>prepare-agent</goal>
157 </goals>
158 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500159 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
160 <propertyName>surefireArgLine</propertyName>
161 </configuration>
162 </execution>
163
164
165 <execution>
166 <id>post-unit-test</id>
167 <phase>test</phase>
168 <goals>
169 <goal>report</goal>
170 </goals>
171 <configuration>
172 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
173 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000174 </configuration>
175 </execution>
176 <execution>
177 <id>pre-integration-test</id>
178 <phase>pre-integration-test</phase>
179 <goals>
180 <goal>prepare-agent</goal>
181 </goals>
182 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500183 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
184 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000185 </configuration>
186 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500187
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000188 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500189 <id>post-integration-test</id>
190 <phase>post-integration-test</phase>
191 <goals>
192 <goal>report</goal>
193 </goals>
194 <configuration>
195 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
196 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
197 </configuration>
198 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000199 </executions>
200 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700201 </plugins>
202 </build>
203
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000204 <distributionManagement>
205 <repository>
206 <id>ecomp-releases</id>
207 <name>AAF Release Repository</name>
208 <url>${nexusproxy}${releaseNexusPath}</url>
209 </repository>
210 <snapshotRepository>
211 <id>ecomp-snapshots</id>
212 <name>AAF Snapshot Repository</name>
213 <url>${nexusproxy}${snapshotNexusPath}</url>
214 </snapshotRepository>
215 <site>
216 <id>ecomp-site</id>
217 <url>dav:${nexusproxy}${sitePath}</url>
218 </site>
219 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000220
Instrumental71037c32018-03-26 13:51:48 -0700221</project>