blob: a50adb5b6cd9afc9654bee040d3933723a5e96f7 [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 Gandham83fc0252018-04-09 16:28: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>
su622b40077be2018-04-08 13:50:31 -040051 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070052 </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>
su622b40077be2018-04-08 13:50:31 -040057 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070058 </dependency>
59
60 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000061 <groupId>org.onap.aaf.authz</groupId>
Instrumental71037c32018-03-26 13:51:48 -070062 <artifactId>aaf-cadi-aaf</artifactId>
su622b40077be2018-04-08 13:50:31 -040063 <version>${project.version}</version>
Instrumental71037c32018-03-26 13:51:48 -070064 </dependency>
65
66 <dependency>
67 <groupId>com.google.code.jscep</groupId>
68 <artifactId>jscep</artifactId>
69 <version>2.4.0</version>
70 </dependency>
71
72 </dependencies>
73
74 <build>
75 <plugins>
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-jar-plugin</artifactId>
79 <configuration>
80 <includes>
81 <include>**/*.class</include>
82 </includes>
83 </configuration>
84 <version>2.3.1</version>
85 </plugin>
86
87 <!--This plugin's configuration is used to store Eclipse m2e settings
88 only. It has no influence on the Maven build itself. -->
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-deploy-plugin</artifactId>
92 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -050093 <skip>false</skip>
Instrumental71037c32018-03-26 13:51:48 -070094 </configuration>
95 </plugin>
96 <plugin>
97 <groupId>org.codehaus.mojo</groupId>
98 <artifactId>appassembler-maven-plugin</artifactId>
99 <configuration>
100 <programs>
101 <program>
102 <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
103 <name>cm</name>
104 <commandLineArguments>
Instrumental924b18d2018-04-05 20:17:18 -0500105 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.cm.props</commandLineArgument>
106 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
gabe.maurer2e233282018-04-03 11:18:38 -0500107 </commandLineArguments>
Instrumental71037c32018-03-26 13:51:48 -0700108 </program>
109 </programs>
110 </configuration>
111 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000112 <plugin>
113 <groupId>org.sonatype.plugins</groupId>
114 <artifactId>nexus-staging-maven-plugin</artifactId>
115 <version>1.6.7</version>
116 <extensions>true</extensions>
117 <configuration>
118 <nexusUrl>${nexusproxy}</nexusUrl>
119 <stagingProfileId>176c31dfe190a</stagingProfileId>
120 <serverId>ecomp-staging</serverId>
121 </configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500122 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000123 <plugin>
124 <groupId>org.jacoco</groupId>
125 <artifactId>jacoco-maven-plugin</artifactId>
gabe.maurer2e233282018-04-03 11:18:38 -0500126 <version>${jacoco.version}</version>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000127 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500128 <excludes>
129 <exclude>**/gen/**</exclude>
130 <exclude>**/generated-sources/**</exclude>
131 <exclude>**/yang-gen/**</exclude>
132 <exclude>**/pax/**</exclude>
133 </excludes>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000134 </configuration>
135 <executions>
gabe.maurer2e233282018-04-03 11:18:38 -0500136
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000137 <execution>
138 <id>pre-unit-test</id>
139 <goals>
140 <goal>prepare-agent</goal>
141 </goals>
142 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500143 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
144 <propertyName>surefireArgLine</propertyName>
145 </configuration>
146 </execution>
147
148
149 <execution>
150 <id>post-unit-test</id>
151 <phase>test</phase>
152 <goals>
153 <goal>report</goal>
154 </goals>
155 <configuration>
156 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
157 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000158 </configuration>
159 </execution>
160 <execution>
161 <id>pre-integration-test</id>
162 <phase>pre-integration-test</phase>
163 <goals>
164 <goal>prepare-agent</goal>
165 </goals>
166 <configuration>
gabe.maurer2e233282018-04-03 11:18:38 -0500167 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
168 <propertyName>failsafeArgLine</propertyName>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000169 </configuration>
170 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500171
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000172 <execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500173 <id>post-integration-test</id>
174 <phase>post-integration-test</phase>
175 <goals>
176 <goal>report</goal>
177 </goals>
178 <configuration>
179 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
180 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
181 </configuration>
182 </execution>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000183 </executions>
184 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700185 </plugins>
186 </build>
187
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000188 <distributionManagement>
189 <repository>
190 <id>ecomp-releases</id>
191 <name>AAF Release Repository</name>
192 <url>${nexusproxy}${releaseNexusPath}</url>
193 </repository>
194 <snapshotRepository>
195 <id>ecomp-snapshots</id>
196 <name>AAF Snapshot Repository</name>
197 <url>${nexusproxy}${snapshotNexusPath}</url>
198 </snapshotRepository>
199 <site>
200 <id>ecomp-site</id>
201 <url>dav:${nexusproxy}${sitePath}</url>
202 </site>
203 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000204
Instrumental71037c32018-03-26 13:51:48 -0700205</project>