1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- * ============LICENSE_START====================================================
4 * ===========================================================================
5 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6 * ===========================================================================
7 * 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====================================================
17 <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>
21 <groupId>org.onap.aaf.authz</groupId>
22 <artifactId>authparent</artifactId>
23 <version>2.1.9-SNAPSHOT</version>
24 <relativePath>../pom.xml</relativePath>
27 <artifactId>aaf-auth-certman</artifactId>
28 <name>AAF Auth Certificate Manager</name>
29 <description>Certificate Manager API</description>
33 <!-- <sonar.skip>true</sonar.skip> -->
34 <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 -->
38 <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>
40 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
42 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
43 <nexusproxy>https://nexus.onap.org</nexusproxy>
44 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
45 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
46 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
47 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
48 <project.bouncyCastleVersion>1.60</project.bouncyCastleVersion>
53 <groupId>org.onap.aaf.authz</groupId>
54 <artifactId>aaf-auth-core</artifactId>
58 <groupId>org.onap.aaf.authz</groupId>
59 <artifactId>aaf-auth-cass</artifactId>
63 <groupId>org.onap.aaf.authz</groupId>
64 <artifactId>aaf-cadi-aaf</artifactId>
67 <!-- Add the Organizations you wish to support. You can delete ONAP if
68 you have something else Match with Property Entry: Organization.<root ns>,
69 i.e. Organization.onap.org=org.onap.org.DefaultOrg -->
71 <groupId>org.onap.aaf.authz</groupId>
72 <artifactId>aaf-auth-deforg</artifactId>
76 <groupId>com.google.code.jscep</groupId>
77 <artifactId>jscep</artifactId>
78 <version>2.4.0</version>
81 <groupId>org.bouncycastle</groupId>
82 <artifactId>bcprov-jdk15on</artifactId>
85 <groupId>org.bouncycastle</groupId>
86 <artifactId>bcpkix-jdk15on</artifactId>
90 <!-- JSCEP does not use latest "Bouncy Castle" -->
92 <groupId>org.bouncycastle</groupId>
93 <artifactId>bcprov-jdk15on</artifactId>
94 <version>${project.bouncyCastleVersion}</version>
97 <groupId>org.bouncycastle</groupId>
98 <artifactId>bcpkix-jdk15on</artifactId>
99 <version>${project.bouncyCastleVersion}</version>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-jar-plugin</artifactId>
110 <include>**/*.class</include>
113 <version>2.3.1</version>
116 <!--This plugin's configuration is used to store Eclipse m2e settings
117 only. It has no influence on the Maven build itself. -->
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-deploy-plugin</artifactId>
126 <groupId>org.codehaus.mojo</groupId>
127 <artifactId>appassembler-maven-plugin</artifactId>
131 <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
133 <commandLineArguments>
134 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.cm.props</commandLineArgument>
135 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
136 </commandLineArguments>
142 <groupId>org.sonatype.plugins</groupId>
143 <artifactId>nexus-staging-maven-plugin</artifactId>
144 <extensions>true</extensions>
146 <nexusUrl>${nexusproxy}</nexusUrl>
147 <stagingProfileId>176c31dfe190a</stagingProfileId>
148 <serverId>ecomp-staging</serverId>
152 <groupId>org.jacoco</groupId>
153 <artifactId>jacoco-maven-plugin</artifactId>
156 <exclude>**/gen/**</exclude>
157 <exclude>**/generated-sources/**</exclude>
158 <exclude>**/yang-gen/**</exclude>
159 <exclude>**/pax/**</exclude>
165 <id>pre-unit-test</id>
167 <goal>prepare-agent</goal>
170 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
171 <propertyName>surefireArgLine</propertyName>
177 <id>post-unit-test</id>
183 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
184 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
188 <id>pre-integration-test</id>
189 <phase>pre-integration-test</phase>
191 <goal>prepare-agent</goal>
194 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
195 <propertyName>failsafeArgLine</propertyName>
200 <id>post-integration-test</id>
201 <phase>post-integration-test</phase>
206 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
207 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
215 <distributionManagement>
217 <id>ecomp-releases</id>
218 <name>AAF Release Repository</name>
219 <url>${nexusproxy}${releaseNexusPath}</url>
222 <id>ecomp-snapshots</id>
223 <name>AAF Snapshot Repository</name>
224 <url>${nexusproxy}${snapshotNexusPath}</url>
225 </snapshotRepository>
228 <url>dav:${nexusproxy}${sitePath}</url>
230 </distributionManagement>