blob: 5b38501435180690a4b33caa4c0ad7a0f9ed0140 [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>
Instrumental17ca7442018-03-29 16:54:19 -050018 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumental71037c32018-03-26 13:51:48 -070019 <artifactId>parent</artifactId>
20 <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>
44 <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>
Instrumental17ca7442018-03-29 16:54:19 -050049 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumental71037c32018-03-26 13:51:48 -070050 <artifactId>aaf-auth-core</artifactId>
51 </dependency>
52
53 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050054 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumental71037c32018-03-26 13:51:48 -070055 <artifactId>aaf-auth-cass</artifactId>
56 </dependency>
57
58 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050059 <groupId>org.onap.aaf.authz.cadi</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>
67 </dependency>
68
69 </dependencies>
70
71 <build>
72 <plugins>
73 <plugin>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-jar-plugin</artifactId>
76 <configuration>
77 <includes>
78 <include>**/*.class</include>
79 </includes>
80 </configuration>
81 <version>2.3.1</version>
82 </plugin>
83
84 <!--This plugin's configuration is used to store Eclipse m2e settings
85 only. It has no influence on the Maven build itself. -->
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-deploy-plugin</artifactId>
89 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -050090 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -070091 </configuration>
92 </plugin>
93 <plugin>
94 <groupId>org.codehaus.mojo</groupId>
95 <artifactId>appassembler-maven-plugin</artifactId>
96 <configuration>
97 <programs>
98 <program>
99 <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
100 <name>cm</name>
101 <commandLineArguments>
Instrumental924b18d2018-04-05 20:17:18 -0500102 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.cm.props</commandLineArgument>
103 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
gabe.maurer2e233282018-04-03 11:18:38 -0500104 </commandLineArguments>
Instrumental71037c32018-03-26 13:51:48 -0700105 </program>
106 </programs>
107 </configuration>
108 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000109 <plugin>
110 <groupId>org.sonatype.plugins</groupId>
111 <artifactId>nexus-staging-maven-plugin</artifactId>
112 <version>1.6.7</version>
113 <extensions>true</extensions>
114 <configuration>
115 <nexusUrl>${nexusproxy}</nexusUrl>
116 <stagingProfileId>176c31dfe190a</stagingProfileId>
117 <serverId>ecomp-staging</serverId>
118 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500119 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000120 <plugin>
121 <groupId>org.jacoco</groupId>
122 <artifactId>jacoco-maven-plugin</artifactId>
gabe.maurer2e233282018-04-03 11:18:38 -0500123 <version>${jacoco.version}</version>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000124 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500125 <excludes>
126 <exclude>**/gen/**</exclude>
127 <exclude>**/generated-sources/**</exclude>
128 <exclude>**/yang-gen/**</exclude>
129 <exclude>**/pax/**</exclude>
130 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000131 </configuration>
132 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500133
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000134 <execution>
135 <id>pre-unit-test</id>
136 <goals>
137 <goal>prepare-agent</goal>
138 </goals>
139 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500140 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
141 <propertyName>surefireArgLine</propertyName>
142 </configuration>
143 </execution>
144
145
146 <execution>
147 <id>post-unit-test</id>
148 <phase>test</phase>
149 <goals>
150 <goal>report</goal>
151 </goals>
152 <configuration>
153 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
154 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000155 </configuration>
156 </execution>
157 <execution>
158 <id>pre-integration-test</id>
159 <phase>pre-integration-test</phase>
160 <goals>
161 <goal>prepare-agent</goal>
162 </goals>
163 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500164 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
165 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000166 </configuration>
167 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500168
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000169 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500170 <id>post-integration-test</id>
171 <phase>post-integration-test</phase>
172 <goals>
173 <goal>report</goal>
174 </goals>
175 <configuration>
176 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
177 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
178 </configuration>
179 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000180 </executions>
181 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700182 </plugins>
183 </build>
184
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000185 <distributionManagement>
186 <repository>
187 <id>ecomp-releases</id>
188 <name>AAF Release Repository</name>
189 <url>${nexusproxy}${releaseNexusPath}</url>
190 </repository>
191 <snapshotRepository>
192 <id>ecomp-snapshots</id>
193 <name>AAF Snapshot Repository</name>
194 <url>${nexusproxy}${snapshotNexusPath}</url>
195 </snapshotRepository>
196 <site>
197 <id>ecomp-site</id>
198 <url>dav:${nexusproxy}${sitePath}</url>
199 </site>
200 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000201
Instrumental71037c32018-03-26 13:51:48 -0700202</project>