blob: a4d7fd45461c1b8a9e15e1a2bce5afe77f532d67 [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====================================================
Instrumentale9ae0482019-08-02 14:46:27 -05003 * org.onap.aaf
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====================================================
15 * -->
16
Instrumental71037c32018-03-26 13:51:48 -070017<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Instrumentale9ae0482019-08-02 14:46:27 -050018 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>
20 <parent>
21 <groupId>org.onap.aaf.authz</groupId>
22 <artifactId>authparent</artifactId>
John J. Franeye4220942020-04-25 08:42:01 -040023 <version>2.1.21-SNAPSHOT</version>
Instrumentale9ae0482019-08-02 14:46:27 -050024 <relativePath>../pom.xml</relativePath>
25 </parent>
Instrumental71037c32018-03-26 13:51:48 -070026
Instrumentale9ae0482019-08-02 14:46:27 -050027 <artifactId>aaf-auth-certman</artifactId>
28 <name>AAF Auth Certificate Manager</name>
29 <description>Certificate Manager API</description>
Instrumental71037c32018-03-26 13:51:48 -070030
Instrumentale9ae0482019-08-02 14:46:27 -050031 <properties>
32 <!-- SONAR -->
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
41 below -->
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>
49 </properties>
Instrumental71037c32018-03-26 13:51:48 -070050
Instrumentale9ae0482019-08-02 14:46:27 -050051 <dependencies>
Sai Gandham255628b2019-01-14 11:06:13 -060052 <dependency>
53 <groupId>org.powermock</groupId>
54 <artifactId>powermock-module-junit4-rule-agent</artifactId>
55 <version>1.6.4</version>
56 <scope>test</scope>
57 </dependency>
Instrumentale9ae0482019-08-02 14:46:27 -050058 <dependency>
59 <groupId>org.onap.aaf.authz</groupId>
60 <artifactId>aaf-auth-core</artifactId>
61 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070062
Instrumentale9ae0482019-08-02 14:46:27 -050063 <dependency>
64 <groupId>org.onap.aaf.authz</groupId>
65 <artifactId>aaf-auth-cass</artifactId>
66 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070067
Instrumentale9ae0482019-08-02 14:46:27 -050068 <dependency>
69 <groupId>org.onap.aaf.authz</groupId>
70 <artifactId>aaf-cadi-aaf</artifactId>
71 </dependency>
72
73 <!-- Add the Organizations you wish to support. You can delete ONAP if
74 you have something else Match with Property Entry: Organization.<root ns>,
75 i.e. Organization.onap.org=org.onap.org.DefaultOrg -->
76 <dependency>
77 <groupId>org.onap.aaf.authz</groupId>
78 <artifactId>aaf-auth-deforg</artifactId>
79 </dependency>
Instrumental71037c32018-03-26 13:51:48 -070080
Instrumentale9ae0482019-08-02 14:46:27 -050081 <dependency>
82 <groupId>com.google.code.jscep</groupId>
83 <artifactId>jscep</artifactId>
84 <version>2.4.0</version>
85 <exclusions>
86 <exclusion>
87 <groupId>org.bouncycastle</groupId>
88 <artifactId>bcprov-jdk15on</artifactId>
89 </exclusion>
90 <exclusion>
91 <groupId>org.bouncycastle</groupId>
92 <artifactId>bcpkix-jdk15on</artifactId>
93 </exclusion>
94 </exclusions>
95 </dependency>
96 <!-- JSCEP does not use latest "Bouncy Castle" -->
97 <dependency>
98 <groupId>org.bouncycastle</groupId>
99 <artifactId>bcprov-jdk15on</artifactId>
100 <version>${project.bouncyCastleVersion}</version>
101 </dependency>
102 <dependency>
103 <groupId>org.bouncycastle</groupId>
104 <artifactId>bcpkix-jdk15on</artifactId>
105 <version>${project.bouncyCastleVersion}</version>
106 </dependency>
107 </dependencies>
Instrumental71037c32018-03-26 13:51:48 -0700108
Instrumentale9ae0482019-08-02 14:46:27 -0500109 <build>
110 <plugins>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-jar-plugin</artifactId>
114 <configuration>
115 <includes>
116 <include>**/*.class</include>
117 </includes>
118 </configuration>
119 <version>2.3.1</version>
120 </plugin>
121 <plugin>
122 <groupId>org.codehaus.mojo</groupId>
123 <artifactId>appassembler-maven-plugin</artifactId>
124 <configuration>
125 <programs>
126 <program>
127 <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
128 <name>cm</name>
129 <commandLineArguments>
130 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.cm.props</commandLineArgument>
131 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
Jonathan Gathman475da402020-04-25 14:28:13 -0500132 <commandLineArgument>cadi_etc_dir=${project.ext_root_dir}/etc</commandLineArgument>
Instrumentale9ae0482019-08-02 14:46:27 -0500133 </commandLineArguments>
134 </program>
135 </programs>
136 </configuration>
137 </plugin>
138 <plugin>
139 <groupId>org.jacoco</groupId>
140 <artifactId>jacoco-maven-plugin</artifactId>
141 <configuration>
142 <excludes>
143 <exclude>**/gen/**</exclude>
144 <exclude>**/generated-sources/**</exclude>
145 <exclude>**/yang-gen/**</exclude>
146 <exclude>**/pax/**</exclude>
147 </excludes>
148 </configuration>
149 <executions>
Instrumental71037c32018-03-26 13:51:48 -0700150
Instrumentale9ae0482019-08-02 14:46:27 -0500151 <execution>
152 <id>pre-unit-test</id>
153 <goals>
154 <goal>prepare-agent</goal>
155 </goals>
156 <configuration>
157 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
158 <propertyName>surefireArgLine</propertyName>
159 </configuration>
160 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500161
162
Instrumentale9ae0482019-08-02 14:46:27 -0500163 <execution>
164 <id>post-unit-test</id>
165 <phase>test</phase>
166 <goals>
167 <goal>report</goal>
168 </goals>
169 <configuration>
170 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
171 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
172 </configuration>
173 </execution>
174 <execution>
175 <id>pre-integration-test</id>
176 <phase>pre-integration-test</phase>
177 <goals>
178 <goal>prepare-agent</goal>
179 </goals>
180 <configuration>
181 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
182 <propertyName>failsafeArgLine</propertyName>
183 </configuration>
184 </execution>
gabe.maurer2e233282018-04-03 11:18:38 -0500185
Instrumentale9ae0482019-08-02 14:46:27 -0500186 <execution>
187 <id>post-integration-test</id>
188 <phase>post-integration-test</phase>
189 <goals>
190 <goal>report</goal>
191 </goals>
192 <configuration>
193 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
194 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
195 </configuration>
196 </execution>
197 </executions>
198 </plugin>
199 </plugins>
200 </build>
Instrumental71037c32018-03-26 13:51:48 -0700201
Instrumentale9ae0482019-08-02 14:46:27 -0500202 <distributionManagement>
203 <repository>
204 <id>ecomp-releases</id>
205 <name>AAF Release Repository</name>
206 <url>${nexusproxy}${releaseNexusPath}</url>
207 </repository>
208 <snapshotRepository>
209 <id>ecomp-snapshots</id>
210 <name>AAF Snapshot Repository</name>
211 <url>${nexusproxy}${snapshotNexusPath}</url>
212 </snapshotRepository>
213 <site>
214 <id>ecomp-site</id>
215 <url>dav:${nexusproxy}${sitePath}</url>
216 </site>
217 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000218
Instrumental71037c32018-03-26 13:51:48 -0700219</project>