Make Container Config Strategy
[aaf/authz.git] / auth / auth-certman / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- * ============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         * -->
14 <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>
18                 <groupId>org.onap.aaf.authz</groupId>
19                 <artifactId>authparent</artifactId>
20                 <version>2.1.2-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>
29                 <!-- SONAR -->
30                 <!-- <sonar.skip>true</sonar.skip> -->
31                 <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 -->
35                 <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>
37                 <!-- Note: This list should match jacoco-maven-plugin's exclusion list 
38                         below -->
39                 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
40                 <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>
45                 <project.bouncyCastleVersion>1.59</project.bouncyCastleVersion>
46         </properties>
47
48         <dependencies>
49                 <dependency>
50                         <groupId>org.onap.aaf.authz</groupId>
51                         <artifactId>aaf-auth-core</artifactId>
52                 </dependency>
53
54                 <dependency>
55                         <groupId>org.onap.aaf.authz</groupId>
56                         <artifactId>aaf-auth-cass</artifactId>
57                 </dependency>
58
59                 <dependency>
60                         <groupId>org.onap.aaf.authz</groupId>
61                         <artifactId>aaf-cadi-aaf</artifactId>
62                 </dependency>
63
64                 <dependency>
65                         <groupId>com.google.code.jscep</groupId>
66                         <artifactId>jscep</artifactId>
67                         <version>2.4.0</version>
68                         <exclusions>
69                                 <exclusion>
70                                         <groupId>org.bouncycastle</groupId>
71                                         <artifactId>bcprov-jdk15on</artifactId>
72                                 </exclusion>
73                                 <exclusion>
74                                         <groupId>org.bouncycastle</groupId>
75                                         <artifactId>bcpkix-jdk15on</artifactId>
76                                 </exclusion>
77                         </exclusions>
78                 </dependency>
79                 <!-- JSCEP does not use latest "Bouncy Castle" -->
80                 <dependency>
81                   <groupId>org.bouncycastle</groupId>
82                   <artifactId>bcprov-jdk15on</artifactId>
83                   <version>${project.bouncyCastleVersion}</version>
84                 </dependency>
85                 <dependency>
86                         <groupId>org.bouncycastle</groupId>
87                         <artifactId>bcpkix-jdk15on</artifactId>
88                         <version>${project.bouncyCastleVersion}</version>
89                 </dependency>
90         </dependencies>
91
92         <build>
93                 <plugins>
94                         <plugin>
95                                 <groupId>org.apache.maven.plugins</groupId>
96                                 <artifactId>maven-jar-plugin</artifactId>
97                                 <configuration>
98                                         <includes>
99                                                 <include>**/*.class</include>
100                                         </includes>
101                                 </configuration>
102                                 <version>2.3.1</version>
103                         </plugin>
104
105                         <!--This plugin's configuration is used to store Eclipse m2e settings 
106                                 only. It has no influence on the Maven build itself. -->
107                         <plugin>
108                                 <groupId>org.apache.maven.plugins</groupId>
109                                 <artifactId>maven-deploy-plugin</artifactId>
110                                 <configuration>
111                                         <skip>false</skip>
112                                 </configuration>
113                         </plugin>
114                         <plugin>
115                                 <groupId>org.codehaus.mojo</groupId>
116                                 <artifactId>appassembler-maven-plugin</artifactId>
117                                 <configuration>
118                                         <programs>
119                                                 <program>
120                                                         <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
121                                                         <name>cm</name>
122                                                         <commandLineArguments>
123                                                                 <commandLineArgument>cadi_prop_files=${project.ext_root_dir}/etc/org.osaaf.aaf.cm.props</commandLineArgument>
124                                                                 <commandLineArgument>cadi_log_dir=${project.ext_root_dir}/logs/cm</commandLineArgument>
125                                                         </commandLineArguments>
126                                                 </program>
127                                         </programs>
128                                 </configuration>
129                         </plugin>
130                         <plugin>
131                                 <groupId>org.sonatype.plugins</groupId>
132                                 <artifactId>nexus-staging-maven-plugin</artifactId>
133                                 <extensions>true</extensions>
134                                 <configuration>
135                                         <nexusUrl>${nexusproxy}</nexusUrl>
136                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
137                                         <serverId>ecomp-staging</serverId>
138                                 </configuration>
139                         </plugin>
140                         <plugin>
141                                 <groupId>org.jacoco</groupId>
142                                 <artifactId>jacoco-maven-plugin</artifactId>
143                                 <configuration>
144                                         <excludes>
145                                                 <exclude>**/gen/**</exclude>
146                                                 <exclude>**/generated-sources/**</exclude>
147                                                 <exclude>**/yang-gen/**</exclude>
148                                                 <exclude>**/pax/**</exclude>
149                                         </excludes>
150                                 </configuration>
151                                 <executions>
152
153                                         <execution>
154                                                 <id>pre-unit-test</id>
155                                                 <goals>
156                                                         <goal>prepare-agent</goal>
157                                                 </goals>
158                                                 <configuration>
159                                                         <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
160                                                         <propertyName>surefireArgLine</propertyName>
161                                                 </configuration>
162                                         </execution>
163
164
165                                         <execution>
166                                                 <id>post-unit-test</id>
167                                                 <phase>test</phase>
168                                                 <goals>
169                                                         <goal>report</goal>
170                                                 </goals>
171                                                 <configuration>
172                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
173                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
174                                                 </configuration>
175                                         </execution>
176                                         <execution>
177                                                 <id>pre-integration-test</id>
178                                                 <phase>pre-integration-test</phase>
179                                                 <goals>
180                                                         <goal>prepare-agent</goal>
181                                                 </goals>
182                                                 <configuration>
183                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
184                                                         <propertyName>failsafeArgLine</propertyName>
185                                                 </configuration>
186                                         </execution>
187
188                                         <execution>
189                                                 <id>post-integration-test</id>
190                                                 <phase>post-integration-test</phase>
191                                                 <goals>
192                                                         <goal>report</goal>
193                                                 </goals>
194                                                 <configuration>
195                                                         <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
196                                                         <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
197                                                 </configuration>
198                                         </execution>
199                                 </executions>
200                         </plugin>
201                 </plugins>
202         </build>
203
204         <distributionManagement>
205                 <repository>
206                         <id>ecomp-releases</id>
207                         <name>AAF Release Repository</name>
208                         <url>${nexusproxy}${releaseNexusPath}</url>
209                 </repository>
210                 <snapshotRepository>
211                         <id>ecomp-snapshots</id>
212                         <name>AAF Snapshot Repository</name>
213                         <url>${nexusproxy}${snapshotNexusPath}</url>
214                 </snapshotRepository>
215                 <site>
216                         <id>ecomp-site</id>
217                         <url>dav:${nexusproxy}${sitePath}</url>
218                 </site>
219         </distributionManagement>
220
221 </project>