Merge "pkcs11 key/cert import for CA use"
[aaf/authz.git] / auth / auth-service / 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-service</artifactId>
25         <name>AAF Auth Service</name>
26         <description>Core API Component for AAF Auth</description>
27
28         <properties>
29                 <maven.test.failure.ignore>true</maven.test.failure.ignore>
30                 <!-- SONAR -->
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
46         </properties>
47
48         <dependencies>
49                 <dependency>
50                         <groupId>org.onap.aaf.authz.auth</groupId>
51                         <artifactId>aaf-auth-client</artifactId>
52                 </dependency>
53
54                 <dependency>
55                         <groupId>org.onap.aaf.authz.auth</groupId>
56                         <artifactId>aaf-auth-core</artifactId>
57                 </dependency>
58
59                 <!-- Add the Organizations you wish to support. You can delete ONAP if 
60                         you have something else Match with Property Entry: Organization.<root ns>, 
61                         i.e. Organization.onap.org=org.onap.org.DefaultOrg -->
62                 <dependency>
63                         <groupId>org.onap.aaf.authz.auth</groupId>
64                         <artifactId>aaf-auth-deforg</artifactId>
65                 </dependency>
66
67                 <dependency>
68                         <groupId>org.onap.aaf.authz.auth</groupId>
69                         <artifactId>aaf-auth-cass</artifactId>
70                 </dependency>
71
72                 <dependency>
73                         <groupId>org.onap.aaf.authz.auth</groupId>
74                         <artifactId>aaf-auth-oauth</artifactId>
75                 </dependency>
76
77                 <dependency>
78                         <groupId>org.onap.aaf.authz.misc</groupId>
79                         <artifactId>aaf-misc-rosetta</artifactId>
80                 </dependency>
81
82                 <dependency>
83                         <groupId>org.onap.aaf.authz.cadi</groupId>
84                         <artifactId>aaf-cadi-aaf</artifactId>
85                 </dependency>
86
87                 <dependency>
88                         <groupId>org.eclipse.jetty</groupId>
89                         <artifactId>jetty-servlet</artifactId>
90                 </dependency>
91
92         </dependencies>
93
94         <build>
95                 <plugins>
96                         <plugin>
97                                 <groupId>org.apache.maven.plugins</groupId>
98                                 <artifactId>maven-jar-plugin</artifactId>
99                                 <configuration>
100                                         <excludes>
101                                                 <exclude>*.properties</exclude>
102                                         </excludes>
103                                 </configuration>
104                                 <version>2.3.1</version>
105                         </plugin>
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.service.AAF_Service</mainClass>
120                                                         <name>service</name>
121                                                         <commandLineArguments>
122                                                                 <commandLineArgument>cadi_prop_files=${project.conf_dir}/org.osaaf.service.props</commandLineArgument>
123                                                         </commandLineArguments>
124                                                 </program>
125                                         </programs>
126                                 </configuration>
127                         </plugin>
128                         <plugin>
129                                 <groupId>org.sonatype.plugins</groupId>
130                                 <artifactId>nexus-staging-maven-plugin</artifactId>
131                                 <version>1.6.7</version>
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                                 <version>${jacoco.version}</version>
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                         <!-- plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId> 
202                                 </plugin -->
203                 </plugins>
204         </build>
205
206         <distributionManagement>
207                 <repository>
208                         <id>ecomp-releases</id>
209                         <name>AAF Release Repository</name>
210                         <url>${nexusproxy}${releaseNexusPath}</url>
211                 </repository>
212                 <snapshotRepository>
213                         <id>ecomp-snapshots</id>
214                         <name>AAF Snapshot Repository</name>
215                         <url>${nexusproxy}${snapshotNexusPath}</url>
216                 </snapshotRepository>
217                 <site>
218                         <id>ecomp-site</id>
219                         <url>dav:${nexusproxy}${sitePath}</url>
220                 </site>
221         </distributionManagement>
222
223 </project>