blob: 4f7fba6f63dc2693f7191adea06ec6797b3476c6 [file] [log] [blame]
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05001<!--
2 ============LICENSE_START=======================================================
3 ECOMP 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
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
25 <groupId>org.openecomp.policy.drools-pdp</groupId>
26 <artifactId>drools-pdp</artifactId>
Pamela Dragosh998f0b32017-03-10 14:31:17 -050027 <version>1.1.0-SNAPSHOT</version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050028 <packaging>pom</packaging>
Pamela Dragosh8ddd73a2017-04-28 10:50:14 -040029 <name>Policy Engine - Drools PDP</name>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050030
31 <description>The ECOMP Policy Engine drools-based PDP Project</description>
32
33 <properties>
34 <maven.compiler.source>1.8</maven.compiler.source>
35 <maven.compiler.target>1.8</maven.compiler.target>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050036 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <project.source.version>1.8</project.source.version>
38 <project.target.version>1.8</project.target.version>
Pamela Dragosh998f0b32017-03-10 14:31:17 -050039 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -050040 <dmaap.version>0.2.12</dmaap.version>
41 <cambria.version>0.0.1</cambria.version>
42 <jersey.version>2.22.2</jersey.version>
Jorge Hernandez881c32e2017-05-25 16:44:15 -050043 <jersey.swagger.version>1.5.13</jersey.swagger.version>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -050044 <jackson.version>2.8.4</jackson.version>
Jorge Hernandez8f61e182017-06-22 17:17:28 -050045 <http.client.version>4.5</http.client.version>
46 <http.core.version>4.4.4</http.core.version>
47 <logback.version>1.2.3</logback.version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050048
49 <sonar.language>java</sonar.language>
50 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
51 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
52 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
53 <sonar.jacoco.itReportPath>/opt/app/jacoco-it.exec</sonar.jacoco.itReportPath>
54 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
Pamela Dragoshe8bdb512017-03-30 09:46:40 -040055 <nexusproxy>https://nexus.onap.org</nexusproxy>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020056 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
57 <releases.path>content/repositories/releases/</releases.path>
58 <snapshots.path>content/repositories/snapshots/</snapshots.path>
59 <staging.path>content/repositories/staging/</staging.path>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050060 </properties>
61
62 <modules>
63 <module>policy-utils</module>
64 <module>policy-core</module>
65 <module>policy-endpoints</module>
66 <module>policy-management</module>
Jorge Hernandez564f8182017-06-30 13:29:03 -050067 <module>feature-healthcheck</module>
Jorge Hernandez9e69cc22017-06-26 08:05:30 -050068 <module>feature-eelf</module>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050069 <module>packages</module>
70 </modules>
71
72 <repositories>
73 <repository>
Pamela Dragosh3273b612017-05-03 09:22:58 -040074 <id>ecomp-snapshots</id>
75 <name>OpenECOMP Snapshot Repository</name>
76 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050077 </repository>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050078 <repository>
79 <id>ecomp-releases</id>
80 <name>OpenECOMP Release Repository</name>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020081 <url>${nexusproxy}/${releases.path}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050082 </repository>
83 <repository>
84 <id>ecomp-staging</id>
85 <name>OpenECOMP Staging Repository</name>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020086 <url>${nexusproxy}/${staging.path}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050087 </repository>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050088 </repositories>
89
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050090 <distributionManagement>
91 <repository>
92 <id>ecomp-releases</id>
93 <name>OpenECOMP Release Repository</name>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020094 <url>${nexusproxy}/${releases.path}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050095 </repository>
96 <snapshotRepository>
97 <id>ecomp-snapshots</id>
98 <name>OpenECOMP Snapshot Repository</name>
Anaël Closson8f7e5de2017-04-12 11:09:25 +020099 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -0500100 </snapshotRepository>
101 <site>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400102 <id>ecomp-site</id>
103 <url>dav:${nexusproxy}${sitePath}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -0500104 </site>
105 </distributionManagement>
106
Jorge Hernandez8f61e182017-06-22 17:17:28 -0500107 <dependencies/>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500108
Ralph Straubs5bd9ff42017-04-21 04:23:55 -0500109 <dependencyManagement>
110 <dependencies>
111 <dependency>
112 <groupId>com.google.guava</groupId>
113 <artifactId>guava</artifactId>
114 <version>10.0.1</version>
115 </dependency>
116 <dependency>
117 <groupId>javax.ws.rs</groupId>
118 <artifactId>javax.ws.rs-api</artifactId>
119 <version>2.0.1</version>
120 </dependency>
121 <dependency>
122 <groupId>org.glassfish.hk2.external</groupId>
123 <artifactId>javax.inject</artifactId>
124 <version>2.4.0-b31</version>
125 </dependency>
126 <dependency>
127 <groupId>com.fasterxml.jackson.jaxrs</groupId>
128 <artifactId>jackson-jaxrs-base</artifactId>
129 <version>${jackson.version}</version>
130 </dependency>
131 <dependency>
132 <groupId>com.fasterxml.jackson.jaxrs</groupId>
133 <artifactId>jackson-jaxrs-json-provider</artifactId>
134 <version>${jackson.version}</version>
135 </dependency>
136 <dependency>
137 <groupId>com.fasterxml.jackson.dataformat</groupId>
138 <artifactId>jackson-dataformat-xml</artifactId>
139 <version>${jackson.version}</version>
140 </dependency>
141 <dependency>
142 <groupId>com.fasterxml.jackson.dataformat</groupId>
143 <artifactId>jackson-dataformat-yaml</artifactId>
144 <version>${jackson.version}</version>
145 </dependency>
146 <dependency>
147 <groupId>com.fasterxml.jackson.datatype</groupId>
148 <artifactId>jackson-datatype-joda</artifactId>
149 <version>${jackson.version}</version>
150 </dependency>
151 <dependency>
152 <groupId>org.glassfish.jersey.containers</groupId>
153 <artifactId>jersey-common</artifactId>
154 <version>${jersey.version}</version>
155 </dependency>
156 <dependency>
157 <groupId>org.glassfish.jersey.containers</groupId>
158 <artifactId>jersey-container-servlet-core</artifactId>
159 <version>${jersey.version}</version>
160 </dependency>
Jorge Hernandez881c32e2017-05-25 16:44:15 -0500161 <dependency>
162 <groupId>io.swagger</groupId>
163 <artifactId>swagger-jersey2-jaxrs</artifactId>
164 <version>${jersey.swagger.version}</version>
165 </dependency>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500166 <dependency>
167 <groupId>org.apache.httpcomponents</groupId>
168 <artifactId>httpclient</artifactId>
Jorge Hernandez8f61e182017-06-22 17:17:28 -0500169 <version>${http.client.version}</version>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500170 </dependency>
171 <dependency>
172 <groupId>org.apache.httpcomponents</groupId>
173 <artifactId>httpcore</artifactId>
Jorge Hernandez8f61e182017-06-22 17:17:28 -0500174 <version>${http.core.version}</version>
175 </dependency>
176 <dependency>
177 <groupId>ch.qos.logback</groupId>
178 <artifactId>logback-classic</artifactId>
179 <version>${logback.version}</version>
Jorge Hernandez85e12562017-06-05 09:51:55 -0500180 </dependency>
Ralph Straubs5bd9ff42017-04-21 04:23:55 -0500181 </dependencies>
182 </dependencyManagement>
183
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500184 <build>
185 <plugins>
186 <plugin>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500187 <groupId>org.sonatype.plugins</groupId>
188 <artifactId>nexus-staging-maven-plugin</artifactId>
189 <version>1.6.7</version>
190 <extensions>true</extensions>
191 <configuration>
192 <nexusUrl>${nexusproxy}</nexusUrl>
193 <stagingProfileId>176c31dfe190a</stagingProfileId>
194 <serverId>ecomp-staging</serverId>
195 </configuration>
196 </plugin>
197 <plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-deploy-plugin</artifactId>
200 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500201 <configuration>
202 <skip />
203 </configuration>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500204 </plugin>
205 <plugin>
206 <groupId>org.apache.maven.plugins</groupId>
207 <artifactId>maven-compiler-plugin</artifactId>
208 <version>3.0</version>
209 <configuration>
210 <encoding>${project.encoding}</encoding>
211 <source>${project.source.version}</source>
212 <target>${project.target.version}</target>
213 </configuration>
214 </plugin>
215 <plugin>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-resources-plugin</artifactId>
218 <version>2.6</version>
219 <configuration>
220 <encoding>${project.encoding}</encoding>
221 </configuration>
222 </plugin>
223 <!--
224 license plugin
225 Run
226 mvn clean
227 before running from the command line
228 mvn license:update-file-header
229 -->
230 <plugin>
231 <groupId>org.codehaus.mojo</groupId>
232 <artifactId>license-maven-plugin</artifactId>
233 <version>1.9</version>
234 <configuration>
235 <extraExtensions>
236 <!-- Used to add or change the header style <fileTypeYouAreMapping>
237 fileTypeMappedInto </fileTypeYouAreMapping> -->
238 <drl>java</drl>
239 <ccf>properties</ccf>
240
241 <!-- Because the typical sql comment type confuses the update algorithm -->
242 <sql>java</sql>
243 </extraExtensions>
244 <licenseName>apache_v2</licenseName>
245
246 <inceptionYear>2017</inceptionYear>
247 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
248
249 <!-- Once you have established the tags and delimiter, they cannot be
250 changed -->
251 <processStartTag>============LICENSE_START=======================================================</processStartTag>
252 <processEndTag>============LICENSE_END=========================================================</processEndTag>
253 <sectionDelimiter>================================================================================</sectionDelimiter>
254 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
255 <canUpdateCopyright>true</canUpdateCopyright>
256 <canUpdateDescription>true</canUpdateDescription>
257 <canUpdateLicense>true</canUpdateLicense>
258 <emptyLineAfterHeader>true</emptyLineAfterHeader>
259 <roots>
260 <!-- Default is src, target/generated-sources, target/processed-sources -->
261
262 <!-- Everything except the files in the excludes section -->
263 <root>/</root>
264 </roots>
265 <excludes>
266 <!-- Files which are to be excluded. The pom.xml is excluded because
267 the start/end tags and the delimiters are in the body of the file. This confuses
268 the algorithm. So, this file must be manually updated with a license header. -->
269 <exclude>pom.xml</exclude>
270 </excludes>
271 </configuration>
272 </plugin>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400273 <plugin>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-site-plugin</artifactId>
276 <version>3.6</version>
277 <dependencies>
278 <dependency>
279 <groupId>org.apache.maven.wagon</groupId>
280 <artifactId>wagon-webdav-jackrabbit</artifactId>
281 <version>2.10</version>
282 </dependency>
283 </dependencies>
284 </plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500285 </plugins>
286 <pluginManagement>
287 <plugins>
288 <plugin>
289 <groupId>org.jacoco</groupId>
290 <artifactId>jacoco-maven-plugin</artifactId>
291 <version>0.7.5.201505241946</version>
292 <configuration>
293 <dumpOnExit>true</dumpOnExit>
294 <includes>
295 <include>org.openecomp.*</include>
296 </includes>
297 </configuration>
298 <executions>
299 <execution>
300 <id>jacoco-initialize-unit-tests</id>
301 <goals>
302 <goal>prepare-agent</goal>
303 </goals>
304 <configuration>
305 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
306 </configuration>
307 </execution>
308 </executions>
309 </plugin>
310 </plugins>
311 </pluginManagement>
312 </build>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400313 <reporting>
314 <plugins>
315 <plugin>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-javadoc-plugin</artifactId>
318 <version>2.10.4</version>
319 <configuration>
320 <failOnError>false</failOnError>
321 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
322 <docletArtifact>
323 <groupId>org.umlgraph</groupId>
324 <artifactId>umlgraph</artifactId>
325 <version>5.6</version>
326 </docletArtifact>
327 <additionalparam>-views</additionalparam>
328 <useStandardDocletOptions>true</useStandardDocletOptions>
329 </configuration>
330 </plugin>
331 </plugins>
332 </reporting>
333
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500334</project>