Change groupID to match Garrit Project
[aaf/authz.git] / auth / auth-certman / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * ============LICENSE_START====================================================
4  * org.onap.aaf
5  * ===========================================================================
6  * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7  * ===========================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END====================================================
20  *
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
24         <modelVersion>4.0.0</modelVersion>
25         <parent>
26                 <groupId>org.onap.aaf.authz.auth</groupId>
27                 <artifactId>parent</artifactId>
28                 <version>2.1.0-SNAPSHOT</version>
29                 <relativePath>../pom.xml</relativePath>
30         </parent>
31
32         <artifactId>aaf-auth-certman</artifactId>
33         <name>AAF Auth Certificate Manager</name>
34         <description>Certificate Manager API</description>
35
36         <properties>
37                 <!--  SONAR  -->
38                  <jacoco.version>0.7.7.201606060606</jacoco.version>
39             <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
40             <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
41             <!-- Default Sonar configuration -->
42             <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
43             <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
44             <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
45             <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
46                 <nexusproxy>https://nexus.onap.org</nexusproxy>
47                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
48                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
49                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
50                 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
51         </properties>
52
53         <dependencies>
54                 <dependency>
55                         <groupId>org.onap.aaf.authz.auth</groupId>
56                         <artifactId>aaf-auth-core</artifactId>
57                 </dependency>
58
59                 <dependency>
60                         <groupId>org.onap.aaf.authz.auth</groupId>
61                         <artifactId>aaf-auth-cass</artifactId>
62                 </dependency>
63
64                 <dependency>
65                         <groupId>org.onap.aaf.authz.cadi</groupId>
66                         <artifactId>aaf-cadi-aaf</artifactId>
67                 </dependency>
68
69                 <dependency>
70                         <groupId>com.google.code.jscep</groupId>
71                         <artifactId>jscep</artifactId>
72                         <version>2.4.0</version>
73                 </dependency>
74
75         </dependencies>
76
77         <build>
78                 <plugins>
79                         <plugin>
80                                 <groupId>org.apache.maven.plugins</groupId>
81                                 <artifactId>maven-jar-plugin</artifactId>
82                                 <configuration>
83                                         <includes>
84                                                 <include>**/*.class</include>
85                                         </includes>
86                                 </configuration>
87                                 <version>2.3.1</version>
88                         </plugin>
89
90                         <!--This plugin's configuration is used to store Eclipse m2e settings 
91                                 only. It has no influence on the Maven build itself. -->
92                         <plugin>
93                                 <groupId>org.apache.maven.plugins</groupId>
94                                 <artifactId>maven-deploy-plugin</artifactId>
95                                 <configuration>
96                                         <skip>true</skip>
97                                 </configuration>
98                         </plugin>
99                         <plugin>
100                                 <groupId>org.codehaus.mojo</groupId>
101                                 <artifactId>appassembler-maven-plugin</artifactId>
102                                 <configuration>
103                                         <programs>
104                                                 <program>
105                                                         <mainClass>org.onap.aaf.auth.cm.AAF_CM</mainClass>
106                                                         <name>cm</name>
107                                                         <commandLineArguments>
108                                                 <commandLineArgument>cadi_prop_files=${project.conf_dir}/org.osaaf.cm.props</commandLineArgument>
109                                              </commandLineArguments>
110                                                 </program>
111                                         </programs>
112                                 </configuration>
113                         </plugin>
114                         <plugin>
115                                 <groupId>org.sonatype.plugins</groupId>
116                                 <artifactId>nexus-staging-maven-plugin</artifactId>
117                                 <version>1.6.7</version>
118                                 <extensions>true</extensions>
119                                 <configuration>
120                                         <nexusUrl>${nexusproxy}</nexusUrl>
121                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
122                                         <serverId>ecomp-staging</serverId>
123                                 </configuration>
124                         </plugin>               
125                         <plugin>
126                                 <groupId>org.jacoco</groupId>
127                                 <artifactId>jacoco-maven-plugin</artifactId>
128                                 <version>0.7.7.201606060606</version>
129                                 <configuration>
130                                         <dumpOnExit>true</dumpOnExit>
131                                         <includes>
132                                                 <include>org.onap.aaf.*</include>
133                                         </includes>
134                                 </configuration>
135                                 <executions>
136                                         <execution>
137                                                 <id>pre-unit-test</id>
138                                                 <goals>
139                                                         <goal>prepare-agent</goal>
140                                                 </goals>
141                                                 <configuration>
142                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
143                                                         <!-- <append>true</append> -->
144                                                 </configuration>
145                                         </execution>
146                                         <execution>
147                                                 <id>pre-integration-test</id>
148                                                 <phase>pre-integration-test</phase>
149                                                 <goals>
150                                                         <goal>prepare-agent</goal>
151                                                 </goals>
152                                                 <configuration>
153                                                         <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
154                                                         <!-- <append>true</append> -->
155                                                 </configuration>
156                                         </execution>
157                                         <execution>
158                         <goals>
159                             <goal>merge</goal>
160                         </goals>
161                         <phase>post-integration-test</phase>
162                         <configuration>
163                             <fileSets>
164                                 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
165                                     <directory>${project.build.directory}/coverage-reports</directory>
166                                     <includes>
167                                         <include>*.exec</include>
168                                     </includes>
169                                 </fileSet>
170                             </fileSets>
171                             <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
172                         </configuration>
173                     </execution>
174                                 </executions>
175                         </plugin>
176                 </plugins>
177         </build>
178
179         <distributionManagement>
180                 <repository>
181                         <id>ecomp-releases</id>
182                         <name>AAF Release Repository</name>
183                         <url>${nexusproxy}${releaseNexusPath}</url>
184                 </repository>
185                 <snapshotRepository>
186                         <id>ecomp-snapshots</id>
187                         <name>AAF Snapshot Repository</name>
188                         <url>${nexusproxy}${snapshotNexusPath}</url>
189                 </snapshotRepository>
190                 <site>
191                         <id>ecomp-site</id>
192                         <url>dav:${nexusproxy}${sitePath}</url>
193                 </site>
194         </distributionManagement>
195
196 </project>