2 ============LICENSE_START=======================================================
3 ONAP Policy Engine - Drools PDP
4 ================================================================================
5 Copyright (C) 2017 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/maven-v4_0_0.xsd">
23 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>1.0.0-SNAPSHOT</version>
32 <groupId>org.onap.policy.drools-pdp</groupId>
33 <artifactId>drools-pdp</artifactId>
34 <version>1.1.0-SNAPSHOT</version>
35 <packaging>pom</packaging>
36 <name>Policy Engine - Drools PDP</name>
38 <description>The ONAP Policy Engine drools-based PDP Project</description>
41 <project.source.version>1.8</project.source.version>
42 <project.target.version>1.8</project.target.version>
43 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
44 <dmaap.version>0.2.12</dmaap.version>
45 <cambria.version>0.0.1</cambria.version>
46 <jersey.version>2.22.2</jersey.version>
47 <jersey.swagger.version>1.5.13</jersey.swagger.version>
48 <jackson.version>2.8.4</jackson.version>
49 <http.client.version>4.5</http.client.version>
50 <http.core.version>4.4.4</http.core.version>
51 <logback.version>1.2.3</logback.version>
52 <sonar.plugin.version>3.2</sonar.plugin.version>
53 <jacoco.plugin.version>0.7.9</jacoco.plugin.version>
55 <sonar.language>java</sonar.language>
56 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
57 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
58 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
59 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
60 <sonar.projectVersion>${project.version}</sonar.projectVersion>
62 <nexusproxy>https://nexus.onap.org</nexusproxy>
63 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
64 <releases.path>content/repositories/releases/</releases.path>
65 <snapshots.path>content/repositories/snapshots/</snapshots.path>
66 <staging.path>content/repositories/staging/</staging.path>
70 <module>policy-utils</module>
71 <module>policy-core</module>
72 <module>policy-endpoints</module>
73 <module>policy-management</module>
74 <module>feature-healthcheck</module>
75 <module>feature-eelf</module>
76 <module>packages</module>
79 <distributionManagement>
81 <id>ecomp-releases</id>
82 <name>ONAP Release Repository</name>
83 <url>${nexusproxy}/${releases.path}</url>
86 <id>ecomp-snapshots</id>
87 <name>ONAP Snapshot Repository</name>
88 <url>${nexusproxy}/${snapshots.path}</url>
92 <url>dav:${nexusproxy}${sitePath}</url>
94 </distributionManagement>
98 <dependencyManagement>
101 <groupId>com.google.guava</groupId>
102 <artifactId>guava</artifactId>
103 <version>16.0.1</version>
106 <groupId>javax.ws.rs</groupId>
107 <artifactId>javax.ws.rs-api</artifactId>
108 <version>2.0.1</version>
111 <groupId>org.glassfish.hk2.external</groupId>
112 <artifactId>javax.inject</artifactId>
113 <version>2.4.0-b31</version>
116 <groupId>com.fasterxml.jackson.jaxrs</groupId>
117 <artifactId>jackson-jaxrs-base</artifactId>
118 <version>${jackson.version}</version>
121 <groupId>com.fasterxml.jackson.jaxrs</groupId>
122 <artifactId>jackson-jaxrs-json-provider</artifactId>
123 <version>${jackson.version}</version>
126 <groupId>com.fasterxml.jackson.dataformat</groupId>
127 <artifactId>jackson-dataformat-xml</artifactId>
128 <version>${jackson.version}</version>
131 <groupId>com.fasterxml.jackson.dataformat</groupId>
132 <artifactId>jackson-dataformat-yaml</artifactId>
133 <version>${jackson.version}</version>
136 <groupId>com.fasterxml.jackson.datatype</groupId>
137 <artifactId>jackson-datatype-joda</artifactId>
138 <version>${jackson.version}</version>
141 <groupId>org.glassfish.jersey.containers</groupId>
142 <artifactId>jersey-common</artifactId>
143 <version>${jersey.version}</version>
146 <groupId>org.glassfish.jersey.containers</groupId>
147 <artifactId>jersey-container-servlet-core</artifactId>
148 <version>${jersey.version}</version>
151 <groupId>io.swagger</groupId>
152 <artifactId>swagger-jersey2-jaxrs</artifactId>
153 <version>${jersey.swagger.version}</version>
156 <groupId>org.apache.httpcomponents</groupId>
157 <artifactId>httpclient</artifactId>
158 <version>${http.client.version}</version>
161 <groupId>org.apache.httpcomponents</groupId>
162 <artifactId>httpcore</artifactId>
163 <version>${http.core.version}</version>
166 <groupId>ch.qos.logback</groupId>
167 <artifactId>logback-classic</artifactId>
168 <version>${logback.version}</version>
171 </dependencyManagement>
176 <groupId>org.sonatype.plugins</groupId>
177 <artifactId>nexus-staging-maven-plugin</artifactId>
178 <version>1.6.7</version>
179 <extensions>true</extensions>
181 <nexusUrl>${nexusproxy}</nexusUrl>
182 <stagingProfileId>176c31dfe190a</stagingProfileId>
183 <serverId>ecomp-staging</serverId>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-deploy-plugin</artifactId>
189 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-compiler-plugin</artifactId>
197 <version>3.0</version>
199 <encoding>${project.encoding}</encoding>
200 <source>${project.source.version}</source>
201 <target>${project.target.version}</target>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-resources-plugin</artifactId>
207 <version>2.6</version>
209 <encoding>${project.encoding}</encoding>
216 before running from the command line
217 mvn license:update-file-header
220 <groupId>org.codehaus.mojo</groupId>
221 <artifactId>license-maven-plugin</artifactId>
222 <version>1.9</version>
225 <!-- Used to add or change the header style <fileTypeYouAreMapping>
226 fileTypeMappedInto </fileTypeYouAreMapping> -->
228 <ccf>properties</ccf>
230 <!-- Because the typical sql comment type confuses the update algorithm -->
233 <licenseName>apache_v2</licenseName>
235 <inceptionYear>2017</inceptionYear>
236 <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName>
238 <!-- Once you have established the tags and delimiter, they cannot be
240 <processStartTag>============LICENSE_START=======================================================</processStartTag>
241 <processEndTag>============LICENSE_END=========================================================</processEndTag>
242 <sectionDelimiter>================================================================================</sectionDelimiter>
243 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
244 <canUpdateCopyright>true</canUpdateCopyright>
245 <canUpdateDescription>true</canUpdateDescription>
246 <canUpdateLicense>true</canUpdateLicense>
247 <emptyLineAfterHeader>true</emptyLineAfterHeader>
249 <!-- Default is src, target/generated-sources, target/processed-sources -->
251 <!-- Everything except the files in the excludes section -->
255 <!-- Files which are to be excluded. The pom.xml is excluded because
256 the start/end tags and the delimiters are in the body of the file. This confuses
257 the algorithm. So, this file must be manually updated with a license header. -->
258 <exclude>pom.xml</exclude>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-site-plugin</artifactId>
265 <version>3.6</version>
268 <groupId>org.apache.maven.wagon</groupId>
269 <artifactId>wagon-webdav-jackrabbit</artifactId>
270 <version>2.10</version>
276 <groupId>org.jacoco</groupId>
277 <artifactId>jacoco-maven-plugin</artifactId>
281 <groupId>org.codehaus.mojo</groupId>
282 <artifactId>sonar-maven-plugin</artifactId>
288 <groupId>org.jacoco</groupId>
289 <artifactId>jacoco-maven-plugin</artifactId>
290 <version>${jacoco.plugin.version}</version>
292 <dumpOnExit>true</dumpOnExit>
294 <include>org.onap.*</include>
299 <id>jacoco-initialize-unit-tests</id>
301 <goal>prepare-agent</goal>
304 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
310 <groupId>org.codehaus.mojo</groupId>
311 <artifactId>sonar-maven-plugin</artifactId>
312 <version>${sonar.plugin.version}</version>
315 <groupId>org.eclipse.m2e</groupId>
316 <artifactId>lifecycle-mapping</artifactId>
317 <version>1.0.0</version>
319 <lifecycleMappingMetadata>
322 <pluginExecutionFilter>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-checkstyle-plugin</artifactId>
325 <versionRange>2.17,)</versionRange>
329 </pluginExecutionFilter>
335 </lifecycleMappingMetadata>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-javadoc-plugin</artifactId>
346 <version>2.10.4</version>
348 <failOnError>false</failOnError>
349 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
351 <groupId>org.umlgraph</groupId>
352 <artifactId>umlgraph</artifactId>
353 <version>5.6</version>
355 <additionalparam>-views</additionalparam>
356 <useStandardDocletOptions>true</useStandardDocletOptions>