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