Include all modules in AAF parent
[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                         <version>${project.version}</version>
52                 </dependency>
53
54                 <dependency>
55                         <groupId>org.onap.aaf.authz</groupId>
56                         <artifactId>aaf-auth-cass</artifactId>
57                         <version>${project.version}</version>
58                 </dependency>
59
60                 <dependency>
61                         <groupId>org.onap.aaf.authz</groupId>
62                         <artifactId>aaf-cadi-aaf</artifactId>
63                         <version>${project.version}</version>
64                 </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>
93                                         <skip>false</skip>
94                                 </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>
105                                                                 <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>
107                                                         </commandLineArguments>
108                                                 </program>
109                                         </programs>
110                                 </configuration>
111                         </plugin>
112                         <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>
122                         </plugin>
123                         <plugin>
124                                 <groupId>org.jacoco</groupId>
125                                 <artifactId>jacoco-maven-plugin</artifactId>
126                                 <version>${jacoco.version}</version>
127                                 <configuration>
128                                         <excludes>
129                                                 <exclude>**/gen/**</exclude>
130                                                 <exclude>**/generated-sources/**</exclude>
131                                                 <exclude>**/yang-gen/**</exclude>
132                                                 <exclude>**/pax/**</exclude>
133                                         </excludes>
134                                 </configuration>
135                                 <executions>
136
137                                         <execution>
138                                                 <id>pre-unit-test</id>
139                                                 <goals>
140                                                         <goal>prepare-agent</goal>
141                                                 </goals>
142                                                 <configuration>
143                                                         <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>
158                                                 </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>
167                                                         <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
168                                                         <propertyName>failsafeArgLine</propertyName>
169                                                 </configuration>
170                                         </execution>
171
172                                         <execution>
173                                                 <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>
183                                 </executions>
184                         </plugin>
185                 </plugins>
186         </build>
187
188         <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>
204
205 </project>