2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
21 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>1.1.0</version>
32 <groupId>org.onap.policy.drools-applications</groupId>
33 <artifactId>drools-applications</artifactId>
34 <version>1.2.3-SNAPSHOT</version>
36 <name>policy-drools-applications</name>
37 <packaging>pom</packaging>
40 <!-- Project common build settings -->
41 <maven.compiler.source>1.8</maven.compiler.source>
42 <maven.compiler.target>1.8</maven.compiler.target>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44 <project.source.version>1.8</project.source.version>
45 <project.target.version>1.8</project.target.version>
47 <!-- Project path properties -->
48 <nexusproxy>https://nexus.onap.org</nexusproxy>
49 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
50 <releases.path>content/repositories/releases/</releases.path>
51 <snapshots.path>content/repositories/snapshots/</snapshots.path>
52 <staging.path>content/repositories/staging/</staging.path>
54 <!-- sonar/jacoco overrides -->
55 <!-- Overriding oparent default sonar/jacoco settings Combine all
56 our reports into one file shared across sub-modules -->
57 <sonar.jacoco.reportPath>${project.basedir}/../target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
58 <sonar.jacoco.itReportPath>${project.basedir}/../target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
59 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
61 <!-- Project common dependency versions -->
67 <groupId>org.jacoco</groupId>
68 <artifactId>jacoco-maven-plugin</artifactId>
71 <id>pre-unit-test</id>
73 <goal>prepare-agent</goal>
76 <destFile>${sonar.jacoco.reportPath}</destFile>
81 <id>post-unit-test</id>
87 <dataFile>${sonar.jacoco.reportPath}</dataFile>
93 <groupId>org.sonatype.plugins</groupId>
94 <artifactId>nexus-staging-maven-plugin</artifactId>
95 <extensions>true</extensions>
97 <nexusUrl>${nexusproxy}</nexusUrl>
98 <stagingProfileId>176c31dfe190a</stagingProfileId>
99 <serverId>ecomp-staging</serverId>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-deploy-plugin</artifactId>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
112 <version>3.0</version>
114 <encoding>${project.encoding}</encoding>
115 <source>${project.source.version}</source>
116 <target>${project.target.version}</target>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-site-plugin</artifactId>
124 <groupId>org.apache.maven.wagon</groupId>
125 <artifactId>wagon-webdav-jackrabbit</artifactId>
126 <version>2.10</version>
134 <groupId>org.jacoco</groupId>
135 <artifactId>jacoco-maven-plugin</artifactId>
136 <version>${jacoco.version}</version>
138 <!-- Note: This exclusion list should match <sonar.exclusions>
141 <exclude>**/gen/**</exclude>
142 <exclude>**/generated-sources/**</exclude>
143 <exclude>**/yang-gen/**</exclude>
144 <exclude>**/pax/**</exclude>
148 <!-- Prepares the property pointing to the JaCoCo
149 runtime agent which is passed as VM argument when Maven the Surefire plugin
152 <id>pre-unit-test</id>
154 <goal>prepare-agent</goal>
157 <destFile>${sonar.jacoco.reportPath}</destFile>
160 <!-- Ensures that the code coverage report for unit
161 tests is created after unit tests have been run. -->
163 <id>post-unit-test</id>
169 <dataFile>${sonar.jacoco.reportPath}</dataFile>
175 <groupId>org.eclipse.m2e</groupId>
176 <artifactId>lifecycle-mapping</artifactId>
177 <version>1.0.0</version>
179 <lifecycleMappingMetadata>
182 <pluginExecutionFilter>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-checkstyle-plugin</artifactId>
185 <versionRange>2.17,)</versionRange>
189 </pluginExecutionFilter>
195 </lifecycleMappingMetadata>
203 <module>controlloop</module>
204 <module>testsuites</module>
208 <!-- LF repositories -->
210 <id>ecomp-releases</id>
211 <name>Release Repository</name>
212 <url>${nexusproxy}/content/repositories/releases/</url>
215 <id>ecomp-staging</id>
216 <name>Staging Repository</name>
217 <url>${nexusproxy}/content/repositories/staging/</url>
220 <id>ecomp-snapshots</id>
221 <name>Snapshots Repository</name>
222 <url>${nexusproxy}/content/repositories/snapshots/</url>
225 <id>ecomp-public</id>
226 <name>Public Repository</name>
227 <url>${nexusproxy}/content/repositories/public/</url>
229 <!-- LF repositories END -->
233 <distributionManagement>
235 <id>ecomp-releases</id>
236 <name>OpenECOMP Release Repository</name>
237 <url>${nexusproxy}/${releases.path}</url>
240 <id>ecomp-snapshots</id>
241 <name>OpenECOMP Snapshot Repository</name>
242 <url>${nexusproxy}/${snapshots.path}</url>
243 </snapshotRepository>
246 <url>dav:${nexusproxy}${sitePath}</url>
249 </distributionManagement>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-javadoc-plugin</artifactId>
256 <version>2.10.4</version>
258 <failOnError>false</failOnError>
259 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
261 <groupId>org.umlgraph</groupId>
262 <artifactId>umlgraph</artifactId>
263 <version>5.6</version>
265 <additionalparam>-views</additionalparam>
266 <useStandardDocletOptions>true</useStandardDocletOptions>
274 <groupId>ch.qos.logback</groupId>
275 <artifactId>logback-classic</artifactId>
276 <version>1.2.3</version>
277 <scope>provided</scope>