blob: 0eaf5f70d3f79912f048c6dc5bdc8e4f460b137a [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>
29 <name>ECOMP Policy Engine - Drools PDP</name>
30
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>
36
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <project.source.version>1.8</project.source.version>
39 <project.target.version>1.8</project.target.version>
Pamela Dragosh998f0b32017-03-10 14:31:17 -050040 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050041
42 <sonar.language>java</sonar.language>
43 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
44 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
45 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
46 <sonar.jacoco.itReportPath>/opt/app/jacoco-it.exec</sonar.jacoco.itReportPath>
47 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
Pamela Dragoshe8bdb512017-03-30 09:46:40 -040048 <nexusproxy>https://nexus.onap.org</nexusproxy>
Pamela Dragoshb67f4172017-04-10 10:24:23 -040049 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050050 </properties>
51
52 <modules>
53 <module>policy-utils</module>
54 <module>policy-core</module>
55 <module>policy-endpoints</module>
56 <module>policy-management</module>
57 <module>policy-persistence</module>
58 <module>policy-healthcheck</module>
59 <module>packages</module>
60 </modules>
61
62 <repositories>
63 <repository>
64 <id>central</id>
65 <name>Maven 2 repository</name>
66 <url>http://repo2.maven.org/maven2/</url>
67 </repository>
68
69 <repository>
70 <id>eclipse</id>
71 <url>https://repo.eclipse.org/content/repositories/releases</url>
72 <releases>
73 <enabled>true</enabled>
74 <updatePolicy>daily</updatePolicy>
75 </releases>
76 <snapshots>
77 <enabled>false</enabled>
78 </snapshots>
79 </repository>
80
81 <repository>
82 <id>soapUI</id>
83 <url>http://www.soapui.org/repository/maven2/</url>
84 <name>SoapUI plugin</name>
85 </repository>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050086 <repository>
87 <id>ecomp-releases</id>
88 <name>OpenECOMP Release Repository</name>
89 <url>${nexusproxy}/content/repositories/releases/</url>
90 </repository>
91 <repository>
92 <id>ecomp-staging</id>
93 <name>OpenECOMP Staging Repository</name>
94 <url>${nexusproxy}/content/repositories/staging/</url>
95 </repository>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050096 </repositories>
97
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -050098 <distributionManagement>
99 <repository>
100 <id>ecomp-releases</id>
101 <name>OpenECOMP Release Repository</name>
102 <url>${nexusproxy}/content/repositories/releases/</url>
103 </repository>
104 <snapshotRepository>
105 <id>ecomp-snapshots</id>
106 <name>OpenECOMP Snapshot Repository</name>
107 <url>${nexusproxy}/content/repositories/snapshots/</url>
108 </snapshotRepository>
109 <site>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400110 <id>ecomp-site</id>
111 <url>dav:${nexusproxy}${sitePath}</url>
Pamela Dragosh2f7c70d2017-02-15 16:09:00 -0500112 </site>
113 </distributionManagement>
114
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500115 <dependencies>
116
117 </dependencies>
118
119 <build>
120 <plugins>
121 <plugin>
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500122 <groupId>org.sonatype.plugins</groupId>
123 <artifactId>nexus-staging-maven-plugin</artifactId>
124 <version>1.6.7</version>
125 <extensions>true</extensions>
126 <configuration>
127 <nexusUrl>${nexusproxy}</nexusUrl>
128 <stagingProfileId>176c31dfe190a</stagingProfileId>
129 <serverId>ecomp-staging</serverId>
130 </configuration>
131 </plugin>
132 <plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-deploy-plugin</artifactId>
135 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Pamela Dragosha5fd1fb2017-02-17 15:31:11 -0500136 <configuration>
137 <skip />
138 </configuration>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500139 </plugin>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-compiler-plugin</artifactId>
143 <version>3.0</version>
144 <configuration>
145 <encoding>${project.encoding}</encoding>
146 <source>${project.source.version}</source>
147 <target>${project.target.version}</target>
148 </configuration>
149 </plugin>
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-resources-plugin</artifactId>
153 <version>2.6</version>
154 <configuration>
155 <encoding>${project.encoding}</encoding>
156 </configuration>
157 </plugin>
158 <!--
159 license plugin
160 Run
161 mvn clean
162 before running from the command line
163 mvn license:update-file-header
164 -->
165 <plugin>
166 <groupId>org.codehaus.mojo</groupId>
167 <artifactId>license-maven-plugin</artifactId>
168 <version>1.9</version>
169 <configuration>
170 <extraExtensions>
171 <!-- Used to add or change the header style <fileTypeYouAreMapping>
172 fileTypeMappedInto </fileTypeYouAreMapping> -->
173 <drl>java</drl>
174 <ccf>properties</ccf>
175
176 <!-- Because the typical sql comment type confuses the update algorithm -->
177 <sql>java</sql>
178 </extraExtensions>
179 <licenseName>apache_v2</licenseName>
180
181 <inceptionYear>2017</inceptionYear>
182 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
183
184 <!-- Once you have established the tags and delimiter, they cannot be
185 changed -->
186 <processStartTag>============LICENSE_START=======================================================</processStartTag>
187 <processEndTag>============LICENSE_END=========================================================</processEndTag>
188 <sectionDelimiter>================================================================================</sectionDelimiter>
189 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
190 <canUpdateCopyright>true</canUpdateCopyright>
191 <canUpdateDescription>true</canUpdateDescription>
192 <canUpdateLicense>true</canUpdateLicense>
193 <emptyLineAfterHeader>true</emptyLineAfterHeader>
194 <roots>
195 <!-- Default is src, target/generated-sources, target/processed-sources -->
196
197 <!-- Everything except the files in the excludes section -->
198 <root>/</root>
199 </roots>
200 <excludes>
201 <!-- Files which are to be excluded. The pom.xml is excluded because
202 the start/end tags and the delimiters are in the body of the file. This confuses
203 the algorithm. So, this file must be manually updated with a license header. -->
204 <exclude>pom.xml</exclude>
205 </excludes>
206 </configuration>
207 </plugin>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-site-plugin</artifactId>
211 <version>3.6</version>
212 <dependencies>
213 <dependency>
214 <groupId>org.apache.maven.wagon</groupId>
215 <artifactId>wagon-webdav-jackrabbit</artifactId>
216 <version>2.10</version>
217 </dependency>
218 </dependencies>
219 </plugin>
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500220 </plugins>
221 <pluginManagement>
222 <plugins>
223 <plugin>
224 <groupId>org.jacoco</groupId>
225 <artifactId>jacoco-maven-plugin</artifactId>
226 <version>0.7.5.201505241946</version>
227 <configuration>
228 <dumpOnExit>true</dumpOnExit>
229 <includes>
230 <include>org.openecomp.*</include>
231 </includes>
232 </configuration>
233 <executions>
234 <execution>
235 <id>jacoco-initialize-unit-tests</id>
236 <goals>
237 <goal>prepare-agent</goal>
238 </goals>
239 <configuration>
240 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
241 </configuration>
242 </execution>
243 </executions>
244 </plugin>
245 </plugins>
246 </pluginManagement>
247 </build>
Pamela Dragoshb67f4172017-04-10 10:24:23 -0400248 <reporting>
249 <plugins>
250 <plugin>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-javadoc-plugin</artifactId>
253 <version>2.10.4</version>
254 <configuration>
255 <failOnError>false</failOnError>
256 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
257 <docletArtifact>
258 <groupId>org.umlgraph</groupId>
259 <artifactId>umlgraph</artifactId>
260 <version>5.6</version>
261 </docletArtifact>
262 <additionalparam>-views</additionalparam>
263 <useStandardDocletOptions>true</useStandardDocletOptions>
264 </configuration>
265 </plugin>
266 </plugins>
267 </reporting>
268
Pamela Dragosh0e16acf2017-02-14 19:45:48 -0500269</project>