blob: 51e4559d96babd9516a10e153c0e8cca9aeef907 [file] [log] [blame]
Instrumental71037c32018-03-26 13:51:48 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!-- * ============LICENSE_START====================================================
3 * org.onap.aaf * ===========================================================================
4 * Copyright (c) 2018 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.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-hello</artifactId>
25 <name>AAF Auth Hello Service</name>
26 <description>Hello Service Component for testing AAF Auth Access</description>
27
28 <properties>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000029 <!-- SONAR -->
30 <jacoco.version>0.7.7.201606060606</jacoco.version>
31 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
32 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
33 <!-- Default Sonar configuration -->
34 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
35 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
36 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
37 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
38 <nexusproxy>https://nexus.onap.org</nexusproxy>
39 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
40 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
41 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
42 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumental71037c32018-03-26 13:51:48 -070043 </properties>
44
45 <dependencies>
46 <dependency>
47 <groupId>org.onap.aaf.auth</groupId>
48 <artifactId>aaf-auth-core</artifactId>
49 </dependency>
50
51 <dependency>
52 <groupId>org.onap.aaf.cadi</groupId>
53 <artifactId>aaf-cadi-aaf</artifactId>
54 </dependency>
55
56 </dependencies>
57
58 <build>
59 <plugins>
60 <plugin>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-jar-plugin</artifactId>
63 <configuration>
64 <includes>
65 <include>**/*.class</include>
66 </includes>
67 </configuration>
68 <version>2.3.1</version>
69 </plugin>
70
71 <!--This plugin's configuration is used to store Eclipse m2e settings
72 only. It has no influence on the Maven build itself. -->
73 <plugin>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-deploy-plugin</artifactId>
76 <configuration>
77 <skip>true</skip>
78 </configuration>
79 </plugin>
80 <plugin>
81 <groupId>org.codehaus.mojo</groupId>
82 <artifactId>appassembler-maven-plugin</artifactId>
83 <configuration>
84 <programs>
85 <program>
86 <mainClass>org.onap.aaf.auth.hello.AAF_Hello</mainClass>
87 <name>hello</name>
88 <commandLineArguments>
89 <commandLineArgument>cadi_prop_files=${project.conf_dir}/org.osaaf.hello.props</commandLineArgument>
90 </commandLineArguments>
91 </program>
92 </programs>
93 </configuration>
94 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000095 <plugin>
96 <groupId>org.sonatype.plugins</groupId>
97 <artifactId>nexus-staging-maven-plugin</artifactId>
98 <version>1.6.7</version>
99 <extensions>true</extensions>
100 <configuration>
101 <nexusUrl>${nexusproxy}</nexusUrl>
102 <stagingProfileId>176c31dfe190a</stagingProfileId>
103 <serverId>ecomp-staging</serverId>
104 </configuration>
105 </plugin>
106 <plugin>
107 <groupId>org.jacoco</groupId>
108 <artifactId>jacoco-maven-plugin</artifactId>
109 <version>0.7.7.201606060606</version>
110 <configuration>
111 <dumpOnExit>true</dumpOnExit>
112 <includes>
113 <include>org.onap.aaf.*</include>
114 </includes>
115 </configuration>
116 <executions>
117 <execution>
118 <id>pre-unit-test</id>
119 <goals>
120 <goal>prepare-agent</goal>
121 </goals>
122 <configuration>
123 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
124 <!-- <append>true</append> -->
125 </configuration>
126 </execution>
127 <execution>
128 <id>pre-integration-test</id>
129 <phase>pre-integration-test</phase>
130 <goals>
131 <goal>prepare-agent</goal>
132 </goals>
133 <configuration>
134 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
135 <!-- <append>true</append> -->
136 </configuration>
137 </execution>
138 <execution>
139 <goals>
140 <goal>merge</goal>
141 </goals>
142 <phase>post-integration-test</phase>
143 <configuration>
144 <fileSets>
145 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
146 <directory>${project.build.directory}/coverage-reports</directory>
147 <includes>
148 <include>*.exec</include>
149 </includes>
150 </fileSet>
151 </fileSets>
152 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
153 </configuration>
154 </execution>
155 </executions>
156 </plugin>
Instrumental71037c32018-03-26 13:51:48 -0700157 </plugins>
158 </build>
159
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000160 <distributionManagement>
161 <repository>
162 <id>ecomp-releases</id>
163 <name>AAF Release Repository</name>
164 <url>${nexusproxy}${releaseNexusPath}</url>
165 </repository>
166 <snapshotRepository>
167 <id>ecomp-snapshots</id>
168 <name>AAF Snapshot Repository</name>
169 <url>${nexusproxy}${snapshotNexusPath}</url>
170 </snapshotRepository>
171 <site>
172 <id>ecomp-site</id>
173 <url>dav:${nexusproxy}${sitePath}</url>
174 </site>
175 </distributionManagement>
Instrumental71037c32018-03-26 13:51:48 -0700176</project>