blob: f5a35c6ea0fda419d8bdd277b75483fcbd4d8323 [file] [log] [blame]
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05001<!--
2 ============LICENSE_START=======================================================
Guo Ruijing6abeb292017-07-28 08:23:01 +00003 ONAP Policy Engine - Drools PDP
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05004 ================================================================================
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
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
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=========================================================
19 -->
20
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>
24
Guo Ruijing15be35a2017-08-03 11:32:09 +000025 <parent>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>1.0.0-SNAPSHOT</version>
29 <relativePath/>
30 </parent>
31
Guo Ruijing6abeb292017-07-28 08:23:01 +000032 <groupId>org.onap.policy.drools-pdp</groupId>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050033 <artifactId>drools-pdp</artifactId>
Pamela Dragosh998f0b32017-03-10 14:31:17 -050034 <version>1.1.0-SNAPSHOT</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050035 <packaging>pom</packaging>
Pamela Dragosh8ddd73a2017-04-28 10:50:14 -040036 <name>Policy Engine - Drools PDP</name>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050037
Guo Ruijing6abeb292017-07-28 08:23:01 +000038 <description>The ONAP Policy Engine drools-based PDP Project</description>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050039
40 <properties>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050041 <project.source.version>1.8</project.source.version>
42 <project.target.version>1.8</project.target.version>
Pamela Dragosh998f0b32017-03-10 14:31:17 -050043 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -050044 <dmaap.version>0.2.12</dmaap.version>
45 <cambria.version>0.0.1</cambria.version>
46 <jersey.version>2.22.2</jersey.version>
Jorge Hernandez881c32e2017-05-25 16:44:15 -050047 <jersey.swagger.version>1.5.13</jersey.swagger.version>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -050048 <jackson.version>2.8.4</jackson.version>
Jorge Hernandez8f61e182017-06-22 17:17:28 -050049 <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>
Jorge Hernandez1550fa82017-07-26 19:00:54 -050052 <sonar.plugin.version>3.2</sonar.plugin.version>
53 <jacoco.plugin.version>0.7.9</jacoco.plugin.version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050054
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>
Jorge Hernandez1550fa82017-07-26 19:00:54 -050059 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
60 <sonar.projectVersion>${project.version}</sonar.projectVersion>
61
Pamela Dragoshe8bdb512017-03-30 09:46:40 -040062 <nexusproxy>https://nexus.onap.org</nexusproxy>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020063 <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>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050067 </properties>
68
69 <modules>
70 <module>policy-utils</module>
71 <module>policy-core</module>
72 <module>policy-endpoints</module>
73 <module>policy-management</module>
Jorge Hernandez564f8182017-06-30 13:29:03 -050074 <module>feature-healthcheck</module>
Jorge Hernandez9e69cc22017-06-26 08:05:30 -050075 <module>feature-eelf</module>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050076 <module>packages</module>
77 </modules>
78
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050079 <distributionManagement>
80 <repository>
Jorge Hernandez41ca2182017-07-31 15:35:01 -050081 <id>ecomp-releases</id>
Guo Ruijing6abeb292017-07-28 08:23:01 +000082 <name>ONAP Release Repository</name>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020083 <url>${nexusproxy}/${releases.path}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050084 </repository>
85 <snapshotRepository>
Jorge Hernandez41ca2182017-07-31 15:35:01 -050086 <id>ecomp-snapshots</id>
Guo Ruijing6abeb292017-07-28 08:23:01 +000087 <name>ONAP Snapshot Repository</name>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020088 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050089 </snapshotRepository>
90 <site>
Jorge Hernandez41ca2182017-07-31 15:35:01 -050091 <id>ecomp-site</id>
Pamela Dragoshb67f4172017-04-10 10:24:23 -040092 <url>dav:${nexusproxy}${sitePath}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050093 </site>
94 </distributionManagement>
95
Jorge Hernandez8f61e182017-06-22 17:17:28 -050096 <dependencies/>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050097
Ralph Straubs5bd9ff42017-04-21 04:23:55 -050098 <dependencyManagement>
99 <dependencies>
100 <dependency>
101 <groupId>com.google.guava</groupId>
102 <artifactId>guava</artifactId>
Ralph Straubs8ce73e22017-07-17 10:16:44 -0500103 <version>16.0.1</version>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -0500104 </dependency>
105 <dependency>
106 <groupId>javax.ws.rs</groupId>
107 <artifactId>javax.ws.rs-api</artifactId>
108 <version>2.0.1</version>
109 </dependency>
110 <dependency>
111 <groupId>org.glassfish.hk2.external</groupId>
112 <artifactId>javax.inject</artifactId>
113 <version>2.4.0-b31</version>
114 </dependency>
115 <dependency>
116 <groupId>com.fasterxml.jackson.jaxrs</groupId>
117 <artifactId>jackson-jaxrs-base</artifactId>
118 <version>${jackson.version}</version>
119 </dependency>
120 <dependency>
121 <groupId>com.fasterxml.jackson.jaxrs</groupId>
122 <artifactId>jackson-jaxrs-json-provider</artifactId>
123 <version>${jackson.version}</version>
124 </dependency>
125 <dependency>
126 <groupId>com.fasterxml.jackson.dataformat</groupId>
127 <artifactId>jackson-dataformat-xml</artifactId>
128 <version>${jackson.version}</version>
129 </dependency>
130 <dependency>
131 <groupId>com.fasterxml.jackson.dataformat</groupId>
132 <artifactId>jackson-dataformat-yaml</artifactId>
133 <version>${jackson.version}</version>
134 </dependency>
135 <dependency>
136 <groupId>com.fasterxml.jackson.datatype</groupId>
137 <artifactId>jackson-datatype-joda</artifactId>
138 <version>${jackson.version}</version>
139 </dependency>
140 <dependency>
141 <groupId>org.glassfish.jersey.containers</groupId>
142 <artifactId>jersey-common</artifactId>
143 <version>${jersey.version}</version>
144 </dependency>
145 <dependency>
146 <groupId>org.glassfish.jersey.containers</groupId>
147 <artifactId>jersey-container-servlet-core</artifactId>
148 <version>${jersey.version}</version>
149 </dependency>
Jorge Hernandez881c32e2017-05-25 16:44:15 -0500150 <dependency>
151 <groupId>io.swagger</groupId>
152 <artifactId>swagger-jersey2-jaxrs</artifactId>
153 <version>${jersey.swagger.version}</version>
154 </dependency>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500155 <dependency>
156 <groupId>org.apache.httpcomponents</groupId>
157 <artifactId>httpclient</artifactId>
Jorge Hernandez8f61e182017-06-22 17:17:28 -0500158 <version>${http.client.version}</version>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500159 </dependency>
160 <dependency>
161 <groupId>org.apache.httpcomponents</groupId>
162 <artifactId>httpcore</artifactId>
Jorge Hernandez8f61e182017-06-22 17:17:28 -0500163 <version>${http.core.version}</version>
164 </dependency>
165 <dependency>
166 <groupId>ch.qos.logback</groupId>
167 <artifactId>logback-classic</artifactId>
168 <version>${logback.version}</version>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500169 </dependency>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -0500170 </dependencies>
171 </dependencyManagement>
172
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500173 <build>
174 <plugins>
175 <plugin>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500176 <groupId>org.sonatype.plugins</groupId>
177 <artifactId>nexus-staging-maven-plugin</artifactId>
178 <version>1.6.7</version>
179 <extensions>true</extensions>
180 <configuration>
181 <nexusUrl>${nexusproxy}</nexusUrl>
182 <stagingProfileId>176c31dfe190a</stagingProfileId>
Pamela Dragosh96265942017-07-31 21:31:31 -0400183 <serverId>ecomp-staging</serverId>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500184 </configuration>
185 </plugin>
186 <plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-deploy-plugin</artifactId>
189 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500190 <configuration>
191 <skip />
192 </configuration>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500193 </plugin>
194 <plugin>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-compiler-plugin</artifactId>
197 <version>3.0</version>
198 <configuration>
199 <encoding>${project.encoding}</encoding>
200 <source>${project.source.version}</source>
201 <target>${project.target.version}</target>
202 </configuration>
203 </plugin>
204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-resources-plugin</artifactId>
207 <version>2.6</version>
208 <configuration>
209 <encoding>${project.encoding}</encoding>
210 </configuration>
211 </plugin>
212 <!--
213 license plugin
214 Run
215 mvn clean
216 before running from the command line
217 mvn license:update-file-header
218 -->
219 <plugin>
220 <groupId>org.codehaus.mojo</groupId>
221 <artifactId>license-maven-plugin</artifactId>
222 <version>1.9</version>
223 <configuration>
224 <extraExtensions>
225 <!-- Used to add or change the header style <fileTypeYouAreMapping>
226 fileTypeMappedInto </fileTypeYouAreMapping> -->
227 <drl>java</drl>
228 <ccf>properties</ccf>
229
230 <!-- Because the typical sql comment type confuses the update algorithm -->
231 <sql>java</sql>
232 </extraExtensions>
233 <licenseName>apache_v2</licenseName>
234
235 <inceptionYear>2017</inceptionYear>
236 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
237
238 <!-- Once you have established the tags and delimiter, they cannot be
239 changed -->
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>
248 <roots>
249 <!-- Default is src, target/generated-sources, target/processed-sources -->
250
251 <!-- Everything except the files in the excludes section -->
252 <root>/</root>
253 </roots>
254 <excludes>
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>
259 </excludes>
260 </configuration>
261 </plugin>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400262 <plugin>
263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-site-plugin</artifactId>
265 <version>3.6</version>
266 <dependencies>
267 <dependency>
268 <groupId>org.apache.maven.wagon</groupId>
269 <artifactId>wagon-webdav-jackrabbit</artifactId>
270 <version>2.10</version>
271 </dependency>
272 </dependencies>
273 </plugin>
Jorge Hernandez1550fa82017-07-26 19:00:54 -0500274
275 <plugin>
276 <groupId>org.jacoco</groupId>
277 <artifactId>jacoco-maven-plugin</artifactId>
278 </plugin>
279
280 <plugin>
281 <groupId>org.codehaus.mojo</groupId>
282 <artifactId>sonar-maven-plugin</artifactId>
283 </plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500284 </plugins>
285 <pluginManagement>
286 <plugins>
287 <plugin>
288 <groupId>org.jacoco</groupId>
289 <artifactId>jacoco-maven-plugin</artifactId>
Jorge Hernandez1550fa82017-07-26 19:00:54 -0500290 <version>${jacoco.plugin.version}</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500291 <configuration>
292 <dumpOnExit>true</dumpOnExit>
293 <includes>
Guo Ruijing6abeb292017-07-28 08:23:01 +0000294 <include>org.onap.*</include>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500295 </includes>
296 </configuration>
297 <executions>
298 <execution>
299 <id>jacoco-initialize-unit-tests</id>
300 <goals>
301 <goal>prepare-agent</goal>
302 </goals>
303 <configuration>
304 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
305 </configuration>
306 </execution>
307 </executions>
308 </plugin>
Jorge Hernandez1550fa82017-07-26 19:00:54 -0500309 <plugin>
310 <groupId>org.codehaus.mojo</groupId>
311 <artifactId>sonar-maven-plugin</artifactId>
312 <version>${sonar.plugin.version}</version>
313 </plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500314 </plugins>
315 </pluginManagement>
316 </build>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400317 <reporting>
318 <plugins>
319 <plugin>
320 <groupId>org.apache.maven.plugins</groupId>
321 <artifactId>maven-javadoc-plugin</artifactId>
322 <version>2.10.4</version>
323 <configuration>
324 <failOnError>false</failOnError>
325 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
326 <docletArtifact>
327 <groupId>org.umlgraph</groupId>
328 <artifactId>umlgraph</artifactId>
329 <version>5.6</version>
330 </docletArtifact>
331 <additionalparam>-views</additionalparam>
332 <useStandardDocletOptions>true</useStandardDocletOptions>
333 </configuration>
334 </plugin>
335 </plugins>
336 </reporting>
337
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500338</project>