blob: cfd08ce5dfde3e8ac3cc638b9a13097ddb9a109b [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>
gabe.maurer2e233282018-04-03 11:18:38 -0500102 <commandLineArgument>cadi_prop_files=${project.conf_dir}/org.osaaf.cm.props</commandLineArgument>
103 </commandLineArguments>
Instrumental71037c32018-03-26 13:51:48 -0700104 </program>
105 </programs>
106 </configuration>
107 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000108 <plugin>
109 <groupId>org.sonatype.plugins</groupId>
110 <artifactId>nexus-staging-maven-plugin</artifactId>
111 <version>1.6.7</version>
112 <extensions>true</extensions>
113 <configuration>
114 <nexusUrl>${nexusproxy}</nexusUrl>
115 <stagingProfileId>176c31dfe190a</stagingProfileId>
116 <serverId>ecomp-staging</serverId>
117 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500118 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000119 <plugin>
120 <groupId>org.jacoco</groupId>
121 <artifactId>jacoco-maven-plugin</artifactId>
gabe.maurer2e233282018-04-03 11:18:38 -0500122 <version>${jacoco.version}</version>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000123 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500124 <excludes>
125 <exclude>**/gen/**</exclude>
126 <exclude>**/generated-sources/**</exclude>
127 <exclude>**/yang-gen/**</exclude>
128 <exclude>**/pax/**</exclude>
129 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000130 </configuration>
131 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500132
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000133 <execution>
134 <id>pre-unit-test</id>
135 <goals>
136 <goal>prepare-agent</goal>
137 </goals>
138 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500139 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
140 <propertyName>surefireArgLine</propertyName>
141 </configuration>
142 </execution>
143
144
145 <execution>
146 <id>post-unit-test</id>
147 <phase>test</phase>
148 <goals>
149 <goal>report</goal>
150 </goals>
151 <configuration>
152 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
153 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000154 </configuration>
155 </execution>
156 <execution>
157 <id>pre-integration-test</id>
158 <phase>pre-integration-test</phase>
159 <goals>
160 <goal>prepare-agent</goal>
161 </goals>
162 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500163 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
164 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000165 </configuration>
166 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500167
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000168 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500169 <id>post-integration-test</id>
170 <phase>post-integration-test</phase>
171 <goals>
172 <goal>report</goal>
173 </goals>
174 <configuration>
175 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
176 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
177 </configuration>
178 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000179 </executions>
180 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700181 </plugins>
182 </build>
183
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000184 <distributionManagement>
185 <repository>
186 <id>ecomp-releases</id>
187 <name>AAF Release Repository</name>
188 <url>${nexusproxy}${releaseNexusPath}</url>
189 </repository>
190 <snapshotRepository>
191 <id>ecomp-snapshots</id>
192 <name>AAF Snapshot Repository</name>
193 <url>${nexusproxy}${snapshotNexusPath}</url>
194 </snapshotRepository>
195 <site>
196 <id>ecomp-site</id>
197 <url>dav:${nexusproxy}${sitePath}</url>
198 </site>
199 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000200
Instrumental71037c32018-03-26 13:51:48 -0700201</project>