blob: d6c4a7e50c0d485e5b13c594c4c45862c1b6e63d [file] [log] [blame]
Instrumentalac1e1ec2018-03-26 13:37:04 -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/xsd/maven-4.0.0.xsd">
24 <parent>
Instrumental17ca7442018-03-29 16:54:19 -050025 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070026 <artifactId>parent</artifactId>
27 <version>1.3.0-SNAPSHOT</version>
28 <relativePath>..</relativePath>
29 </parent>
30
31 <modelVersion>4.0.0</modelVersion>
32 <artifactId>aaf-misc-log4j</artifactId>
33 <name>AAF Misc Log4J</name>
34 <packaging>jar</packaging>
35
36 <developers>
37 <developer>
38 <name>Jonathan Gathman</name>
39 <email>jonathan.gathman@att.com</email>
40 <organization>ATT</organization>
41 <roles>
42 <role>Architect</role>
43 <role>Lead Developer</role>
44 </roles>
45 </developer>
46 <developer>
47 <name>Gabe Maurer</name>
48 <email>gabe.maurer@att.com</email>
49 <organization>ATT</organization>
50 <roles>
51 <role>Developer</role>
52 </roles>
53 </developer>
54 <developer>
55 <name>Ian Howell</name>
56 <email>ian.howell@att.com</email>
57 <organization>ATT</organization>
58 <roles>
59 <role>Developer</role>
60 </roles>
61 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000062 <developer>
63 <name>Sai Gandham</name>
64 <email>sai.gandham@att.com</email>
65 <organization>ATT</organization>
66 <roles>
67 <role>Developer</role>
68 </roles>
69 </developer>
Instrumentalac1e1ec2018-03-26 13:37:04 -070070 </developers>
71
Sai Gandhame01703c2018-03-26 22:57:09 +000072 <properties>
Sai Gandham372e2512018-04-01 16:42:58 -050073 <jacocoVersion>0.7.6.201602180812</jacocoVersion>
74 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
75 <encoding>UTF-8</encoding>
76 <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions>
77 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
78 <enforcer.skip>true</enforcer.skip>
79
Sai Gandhame01703c2018-03-26 22:57:09 +000080 <nexusproxy>https://nexus.onap.org</nexusproxy>
81 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
82 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
83 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
84 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
85 </properties>
86
Instrumentalac1e1ec2018-03-26 13:37:04 -070087 <dependencies>
88 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050089 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070090 <artifactId>aaf-misc-env</artifactId>
91 <version>${project.version}</version>
92 </dependency>
93
94 <dependency>
95 <groupId>net.java.dev.jna</groupId>
96 <artifactId>jna-platform</artifactId>
97 <version>4.0.0</version>
98 </dependency>
99
100 </dependencies>
101
102 <build>
103 <pluginManagement>
104 <plugins>
105 <plugin>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-deploy-plugin</artifactId>
108 <version>2.6</version>
109 <configuration>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000110 <skip>true</skip>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700111 </configuration>
112 </plugin>
Sai Gandhame01703c2018-03-26 22:57:09 +0000113 <plugin>
114 <groupId>org.sonatype.plugins</groupId>
115 <artifactId>nexus-staging-maven-plugin</artifactId>
116 <version>1.6.7</version>
117 <extensions>true</extensions>
118 <configuration>
119 <nexusUrl>${nexusproxy}</nexusUrl>
120 <stagingProfileId>176c31dfe190a</stagingProfileId>
121 <serverId>ecomp-staging</serverId>
122 </configuration>
123 </plugin>
Sai Gandham372e2512018-04-01 16:42:58 -0500124 <plugin>
125 <groupId>org.sonarsource.scanner.maven</groupId>
126 <artifactId>sonar-maven-plugin</artifactId>
127 <version>3.2</version>
128 </plugin>
129 <!-- Jacoco -->
Sai Gandhame01703c2018-03-26 22:57:09 +0000130 <plugin>
131 <groupId>org.jacoco</groupId>
132 <artifactId>jacoco-maven-plugin</artifactId>
Sai Gandham372e2512018-04-01 16:42:58 -0500133 <!-- Override OParent version -->
134 <version>${jacocoVersion}</version>
Sai Gandhame01703c2018-03-26 22:57:09 +0000135 <executions>
Sai Gandham372e2512018-04-01 16:42:58 -0500136 <!-- disable jacoco executions from oparent -->
Sai Gandhame01703c2018-03-26 22:57:09 +0000137 <execution>
138 <id>pre-unit-test</id>
Sai Gandham372e2512018-04-01 16:42:58 -0500139 <phase>none</phase>
140 </execution>
141 <execution>
142 <id>post-unit-test</id>
143 <phase>none</phase>
Sai Gandhame01703c2018-03-26 22:57:09 +0000144 </execution>
145 <execution>
146 <id>pre-integration-test</id>
Sai Gandham372e2512018-04-01 16:42:58 -0500147 <phase>none</phase>
148 </execution>
149 <execution>
150 <id>post-integration-test</id>
151 <phase>none</phase>
152 </execution>
153 <!-- Order matters -->
154 <execution>
155 <id>portal-prepare-agent</id>
Sai Gandhame01703c2018-03-26 22:57:09 +0000156 <goals>
157 <goal>prepare-agent</goal>
158 </goals>
159 <configuration>
Sai Gandham372e2512018-04-01 16:42:58 -0500160 <destFile>${sonar.jacoco.reportPath}</destFile>
Sai Gandhame01703c2018-03-26 22:57:09 +0000161 </configuration>
162 </execution>
Sai Gandham372e2512018-04-01 16:42:58 -0500163 <!-- offline instrumentation for PowerMock -->
Sai Gandhame01703c2018-03-26 22:57:09 +0000164 <execution>
Sai Gandham372e2512018-04-01 16:42:58 -0500165 <id>portal-offline-instrument</id>
166 <goals>
167 <goal>instrument</goal>
168 </goals>
169 </execution>
170 <execution>
171 <id>portal-restore-instrumented-classes</id>
172 <phase>test</phase>
173 <goals>
174 <goal>restore-instrumented-classes</goal>
175 </goals>
176 </execution>
177 <execution>
178 <id>portal-post-unit-test</id>
179 <phase>test</phase>
180 <goals>
181 <goal>report</goal>
182 </goals>
183 <configuration>
184 <dataFile>${sonar.jacoco.reportPath}</dataFile>
185 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
186 </configuration>
187 </execution>
Sai Gandhame01703c2018-03-26 22:57:09 +0000188 </executions>
189 </plugin>
Sai Gandham372e2512018-04-01 16:42:58 -0500190
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-surefire-plugin</artifactId>
194 <configuration>
195 <systemPropertyVariables>
196 <jacoco-agent.destfile>${project.build.directory}/code-coverage/jacoco-ut.exec</jacoco-agent.destfile>
197 </systemPropertyVariables>
198 </configuration>
199 </plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700200 </plugins>
201 </pluginManagement>
202 </build>
203
Sai Gandhame01703c2018-03-26 22:57:09 +0000204 <distributionManagement>
205 <repository>
206 <id>ecomp-releases</id>
207 <name>AAF Release Repository</name>
208 <url>${nexusproxy}${releaseNexusPath}</url>
209 </repository>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000210 <snapshotRepository>
211 <id>ecomp-snapshots</id>
212 <name>AAF Snapshot Repository</name>
213 <url>${nexusproxy}${snapshotNexusPath}</url>
214 </snapshotRepository>
Sai Gandhame01703c2018-03-26 22:57:09 +0000215 <site>
216 <id>ecomp-site</id>
217 <url>dav:${nexusproxy}${sitePath}</url>
218 </site>
219 </distributionManagement>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700220</project>