blob: 8fe3e60b5cbc84cc6b7da02de2c682d795f935dd [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 Gandhama88f56f2018-04-03 17:09:33 -050030 <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>
Instrumental71037c32018-03-26 13:51:48 -070045 </properties>
46
47 <dependencies>
48 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000049 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070050 <artifactId>aaf-auth-core</artifactId>
51 </dependency>
52
53 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000054 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070055 <artifactId>aaf-auth-cass</artifactId>
56 </dependency>
57
58 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000059 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070060 <artifactId>aaf-cadi-aaf</artifactId>
61 </dependency>
62
63 <dependency>
64 <groupId>com.google.code.jscep</groupId>
65 <artifactId>jscep</artifactId>
66 <version>2.4.0</version>
Instrumentald3348842018-04-11 13:13:46 -050067 <exclusions>
68 <exclusion>
69 <groupId>org.bouncycastle</groupId>
70 <artifactId>bcprov-jdk15on</artifactId>
71 </exclusion>
72 <exclusion>
73 <groupId>org.bouncycastle</groupId>
74 <artifactId>bcpkix-jdk15on</artifactId>
75 </exclusion>
76 </exclusions>
77 </dependency>
78 <!-- JSCEP does not use latest "Bouncy Castle" -->
79 <dependency>
80 <groupId>org.bouncycastle</groupId>
81 <artifactId>bcprov-jdk15on</artifactId>
82 <version>1.59</version>
83 </dependency>
84 <dependency>
85 <groupId>org.bouncycastle</groupId>
86 <artifactId>bcpkix-jdk15on</artifactId>
87 <version>1.59</version>
Instrumental71037c32018-03-26 13:51:48 -070088 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070089 </dependencies>
90
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-jar-plugin</artifactId>
96 <configuration>
97 <includes>
98 <include>**/*.class</include>
99 </includes>
100 </configuration>
101 <version>2.3.1</version>
102 </plugin>
103
104 <!--This plugin's configuration is used to store Eclipse m2e settings
105 only. It has no influence on the Maven build itself. -->
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-deploy-plugin</artifactId>
109 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500110 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -0700111 </configuration>
112 </plugin>
113 <plugin>
114 <groupId>org.codehaus.mojo</groupId>
115 <artifactId>appassembler-maven-plugin</artifactId>
116 <configuration>
117 <programs>
118 <program>
119 <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
120 <name>cm</name>
121 <commandLineArguments>
Instrumental924b18d2018-04-05 20:17:18 -0500122 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.cm.props</commandLineArgument>
123 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
gabe.maurer2e233282018-04-03 11:18:38 -0500124 </commandLineArguments>
Instrumental71037c32018-03-26 13:51:48 -0700125 </program>
126 </programs>
127 </configuration>
128 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000129 <plugin>
130 <groupId>org.sonatype.plugins</groupId>
131 <artifactId>nexus-staging-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000132 <extensions>true</extensions>
133 <configuration>
134 <nexusUrl>${nexusproxy}</nexusUrl>
135 <stagingProfileId>176c31dfe190a</stagingProfileId>
136 <serverId>ecomp-staging</serverId>
137 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500138 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000139 <plugin>
140 <groupId>org.jacoco</groupId>
141 <artifactId>jacoco-maven-plugin</artifactId>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000142 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500143 <excludes>
144 <exclude>**/gen/**</exclude>
145 <exclude>**/generated-sources/**</exclude>
146 <exclude>**/yang-gen/**</exclude>
147 <exclude>**/pax/**</exclude>
148 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000149 </configuration>
150 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500151
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000152 <execution>
153 <id>pre-unit-test</id>
154 <goals>
155 <goal>prepare-agent</goal>
156 </goals>
157 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500158 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
159 <propertyName>surefireArgLine</propertyName>
160 </configuration>
161 </execution>
162
163
164 <execution>
165 <id>post-unit-test</id>
166 <phase>test</phase>
167 <goals>
168 <goal>report</goal>
169 </goals>
170 <configuration>
171 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
172 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000173 </configuration>
174 </execution>
175 <execution>
176 <id>pre-integration-test</id>
177 <phase>pre-integration-test</phase>
178 <goals>
179 <goal>prepare-agent</goal>
180 </goals>
181 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500182 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
183 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000184 </configuration>
185 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500186
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000187 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500188 <id>post-integration-test</id>
189 <phase>post-integration-test</phase>
190 <goals>
191 <goal>report</goal>
192 </goals>
193 <configuration>
194 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
195 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
196 </configuration>
197 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000198 </executions>
199 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700200 </plugins>
201 </build>
202
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000203 <distributionManagement>
204 <repository>
205 <id>ecomp-releases</id>
206 <name>AAF Release Repository</name>
207 <url>${nexusproxy}${releaseNexusPath}</url>
208 </repository>
209 <snapshotRepository>
210 <id>ecomp-snapshots</id>
211 <name>AAF Snapshot Repository</name>
212 <url>${nexusproxy}${snapshotNexusPath}</url>
213 </snapshotRepository>
214 <site>
215 <id>ecomp-site</id>
216 <url>dav:${nexusproxy}${sitePath}</url>
217 </site>
218 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000219
Instrumental71037c32018-03-26 13:51:48 -0700220</project>