blob: 6a461744f258d0daf5bc1163a88c52bbd4cc9f2a [file] [log] [blame]
Instrumentala20accc2018-03-26 13:49:56 -07001<!-- * ============LICENSE_START====================================================
2 * org.onap.aaf * ===========================================================================
3 * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. * ===========================================================================
4 * Licensed under the Apache License, Version 2.0 (the "License"); * you may
5 not use this file except in compliance with the License. * You may obtain
6 a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
7 * Unless required by applicable law or agreed to in writing, software * distributed
8 under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES
9 OR CONDITIONS OF ANY KIND, either express or implied. * See the License for
10 the specific language governing permissions and * limitations under the License.
11 * ============LICENSE_END====================================================
12 * -->
13<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
15 <parent>
16 <groupId>org.onap.aaf.cadi</groupId>
17 <artifactId>parent</artifactId>
18 <relativePath>..</relativePath>
19 <version>1.5.0-SNAPSHOT</version>
20 </parent>
21
22 <modelVersion>4.0.0</modelVersion>
23 <name>AAF CADI Core Framework</name>
24 <artifactId>aaf-cadi-core</artifactId>
25 <packaging>jar</packaging>
26
Sai Gandhamc434f3c2018-03-27 16:29:24 +000027 <properties>
28 <!-- SONAR -->
29 <jacoco.version>0.7.7.201606060606</jacoco.version>
30 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
31 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
32 <!-- Default Sonar configuration -->
33 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
34 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
35 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
36 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
37 <nexusproxy>https://nexus.onap.org</nexusproxy>
38 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
39 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
40 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
41 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
42 </properties>
43
Instrumentala20accc2018-03-26 13:49:56 -070044 <developers>
45 <developer>
46 <name>Jonathan Gathman</name>
47 <email>jonathan.gathman@att.com</email>
48 <organization>ATT</organization>
49 <roles>
50 <role>Architect</role>
51 <role>Lead Developer</role>
52 </roles>
53 </developer>
54 <developer>
55 <name>Gabe Maurer</name>
56 <email>gabe.maurer@att.com</email>
57 <organization>ATT</organization>
58 <roles>
59 <role>Developer</role>
60 </roles>
61 </developer>
62 <developer>
63 <name>Ian Howell</name>
64 <email>ian.howell@att.com</email>
65 <organization>ATT</organization>
66 <roles>
67 <role>Developer</role>
68 </roles>
69 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000070 <developer>
71 <name>Sai Gandham</name>
72 <email>sai.gandham@att.com</email>
73 <organization>ATT</organization>
74 <roles>
75 <role>Developer</role>
76 </roles>
77 </developer>
Instrumentala20accc2018-03-26 13:49:56 -070078 </developers>
79 <dependencies>
80 <dependency>
81 <groupId>javax.servlet</groupId>
Instrumental10027f32018-03-26 14:07:37 -070082 <artifactId>servlet-api</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -070083 <scope>provided</scope>
84 </dependency>
85 </dependencies>
86 <build>
87 <plugins>
88 <plugin>
89 <!-- Must put this in to turn on Signing, but Configuration itself is
90 in Parent -->
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-jarsigner-plugin</artifactId>
Sai Gandham6034c492018-03-27 17:29:56 +000093 <version>1.4</version>
94
Instrumentala20accc2018-03-26 13:49:56 -070095 </plugin>
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-jar-plugin</artifactId>
99 <configuration>
100 <archive>
101 <manifest>
102 <mainClass>org.onap.aaf.cadi.CmdLine</mainClass>
103 </manifest>
104 <manifestEntries>
105 <Sealed>true</Sealed>
106 </manifestEntries>
107 </archive>
108 </configuration>
109 <executions>
110 <execution>
111 <id>test-jar</id>
112 <phase>package</phase>
113 <goals>
114 <goal>test-jar</goal>
115 </goals>
116 </execution>
117 </executions>
118 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000119 <plugin>
120 <groupId>org.sonatype.plugins</groupId>
121 <artifactId>nexus-staging-maven-plugin</artifactId>
122 <version>1.6.7</version>
123 <extensions>true</extensions>
124 <configuration>
125 <nexusUrl>${nexusproxy}</nexusUrl>
126 <stagingProfileId>176c31dfe190a</stagingProfileId>
127 <serverId>ecomp-staging</serverId>
128 </configuration>
129 </plugin>
130 <plugin>
131 <groupId>org.jacoco</groupId>
132 <artifactId>jacoco-maven-plugin</artifactId>
133 <version>0.7.7.201606060606</version>
134 <configuration>
135 <dumpOnExit>true</dumpOnExit>
136 <includes>
137 <include>org.onap.aaf.*</include>
138 </includes>
139 </configuration>
140 <executions>
141 <execution>
142 <id>pre-unit-test</id>
143 <goals>
144 <goal>prepare-agent</goal>
145 </goals>
146 <configuration>
147 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
148 <!-- <append>true</append> -->
149 </configuration>
150 </execution>
151 <execution>
152 <id>pre-integration-test</id>
153 <phase>pre-integration-test</phase>
154 <goals>
155 <goal>prepare-agent</goal>
156 </goals>
157 <configuration>
158 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
159 <!-- <append>true</append> -->
160 </configuration>
161 </execution>
162 <execution>
163 <goals>
164 <goal>merge</goal>
165 </goals>
166 <phase>post-integration-test</phase>
167 <configuration>
168 <fileSets>
169 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
170 <directory>${project.build.directory}/coverage-reports</directory>
171 <includes>
172 <include>*.exec</include>
173 </includes>
174 </fileSet>
175 </fileSets>
176 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
177 </configuration>
178 </execution>
179 </executions>
180 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700181 </plugins>
182 </build>
183
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000184 <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>
Instrumentala20accc2018-03-26 13:49:56 -0700200</project>