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