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