blob: cedf3472a37f9c41b3d7ee9674363862b7496635 [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -07001<?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.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-locate</artifactId>
33 <name>AAF Auth Locate</name>
34 <description>Location Service for AAF Auth Components</description>
35
36 <properties>
37 <maven.test.failure.ignore>true</maven.test.failure.ignore>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000038 <!-- SONAR -->
39 <jacoco.version>0.7.7.201606060606</jacoco.version>
40 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42 <!-- Default Sonar configuration -->
43 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
44 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
45 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
46 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47 <nexusproxy>https://nexus.onap.org</nexusproxy>
48 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
49 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
50 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
51 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumental71037c32018-03-26 13:51:48 -070052 </properties>
53
54 <dependencies>
55 <dependency>
56 <groupId>org.onap.aaf.auth</groupId>
57 <artifactId>aaf-auth-core</artifactId>
58 </dependency>
59
60 <dependency>
61 <groupId>org.onap.aaf.auth</groupId>
62 <artifactId>aaf-auth-cass</artifactId>
63 </dependency>
64
65 <dependency>
66 <groupId>org.onap.aaf.cadi</groupId>
67 <artifactId>aaf-cadi-aaf</artifactId>
68 </dependency>
69 </dependencies>
70
71 <build>
72 <plugins>
73 <plugin>
74 <groupId>org.jvnet.jaxb2.maven2</groupId>
75 <artifactId>maven-jaxb2-plugin</artifactId>
76 <version>0.8.2</version>
77 <executions>
78 <execution>
79 <goals>
80 <goal>generate</goal>
81 </goals>
82 </execution>
83 </executions>
84 <configuration>
85 <schemaDirectory>src/main/xsd</schemaDirectory>
86 </configuration>
87 </plugin>
88
89
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-deploy-plugin</artifactId>
93 <configuration>
94 <skip>true</skip>
95 </configuration>
96 </plugin>
97 <plugin>
98 <groupId>org.codehaus.mojo</groupId>
99 <artifactId>appassembler-maven-plugin</artifactId>
100 <configuration>
101 <programs>
102 <program>
103 <mainClass>org.onap.aaf.auth.locate.AAF_Locate</mainClass>
104 <id>locate</id>
105 <commandLineArguments>
106 <commandLineArgument>cadi_prop_files=${project.conf_dir}/org.osaaf.locate.props</commandLineArgument>
107 </commandLineArguments>
108 </program>
109 </programs>
110 </configuration>
111 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000112 <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>0.7.7.201606060606</version>
127 <configuration>
128 <dumpOnExit>true</dumpOnExit>
129 <includes>
130 <include>org.onap.aaf.*</include>
131 </includes>
132 </configuration>
133 <executions>
134 <execution>
135 <id>pre-unit-test</id>
136 <goals>
137 <goal>prepare-agent</goal>
138 </goals>
139 <configuration>
140 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
141 <!-- <append>true</append> -->
142 </configuration>
143 </execution>
144 <execution>
145 <id>pre-integration-test</id>
146 <phase>pre-integration-test</phase>
147 <goals>
148 <goal>prepare-agent</goal>
149 </goals>
150 <configuration>
151 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
152 <!-- <append>true</append> -->
153 </configuration>
154 </execution>
155 <execution>
156 <goals>
157 <goal>merge</goal>
158 </goals>
159 <phase>post-integration-test</phase>
160 <configuration>
161 <fileSets>
162 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
163 <directory>${project.build.directory}/coverage-reports</directory>
164 <includes>
165 <include>*.exec</include>
166 </includes>
167 </fileSet>
168 </fileSets>
169 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
170 </configuration>
171 </execution>
172 </executions>
173 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700174 </plugins>
175 </build>
176
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000177 <distributionManagement>
178 <repository>
179 <id>ecomp-releases</id>
180 <name>AAF Release Repository</name>
181 <url>${nexusproxy}${releaseNexusPath}</url>
182 </repository>
183 <snapshotRepository>
184 <id>ecomp-snapshots</id>
185 <name>AAF Snapshot Repository</name>
186 <url>${nexusproxy}${snapshotNexusPath}</url>
187 </snapshotRepository>
188 <site>
189 <id>ecomp-site</id>
190 <url>dav:${nexusproxy}${sitePath}</url>
191 </site>
192 </distributionManagement>
Instrumental71037c32018-03-26 13:51:48 -0700193</project>