blob: f3f733aa84a80fb945debd334a8ab51f7acc4228 [file] [log] [blame]
Pamela Dragosha6557b02017-02-14 19:49:32 -05001<!--
2 ============LICENSE_START=======================================================
3 drools-pdp-apps
4 ================================================================================
Pamela Dragosh2d70f7d2018-02-16 10:41:37 -05005 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Pamela Dragosha6557b02017-02-14 19:49:32 -05006 ================================================================================
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
Temoc Rodriguezb234cce2017-08-16 16:10:55 -070010
Pamela Dragosha6557b02017-02-14 19:49:32 -050011 http://www.apache.org/licenses/LICENSE-2.0
Temoc Rodriguezb234cce2017-08-16 16:10:55 -070012
Pamela Dragosha6557b02017-02-14 19:49:32 -050013 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/xsd/maven-4.0.0.xsd">
23
liamfallondef0f112018-02-13 11:29:56 +000024 <modelVersion>4.0.0</modelVersion>
25 <parent>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
liamfallonfaadf0d2018-03-14 21:39:34 +000028 <version>1.1.0</version>
liamfallondef0f112018-02-13 11:29:56 +000029 <relativePath/>
30 </parent>
Pamela Dragosha6557b02017-02-14 19:49:32 -050031
liamfallondef0f112018-02-13 11:29:56 +000032 <groupId>org.onap.policy.drools-applications</groupId>
33 <artifactId>drools-applications</artifactId>
34 <version>1.2.0-SNAPSHOT</version>
Pamela Dragosha6557b02017-02-14 19:49:32 -050035
liamfallondef0f112018-02-13 11:29:56 +000036 <name>policy-drools-applications</name>
37 <packaging>pom</packaging>
Pamela Dragosha6557b02017-02-14 19:49:32 -050038
Pamela Dragosh65509922017-02-16 13:27:42 -050039 <properties>
Pamela Dragosh2d70f7d2018-02-16 10:41:37 -050040 <!-- Project common build settings -->
Pamela Dragosh067860f2017-02-23 13:24:41 -050041 <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>
Pamela Dragosh2d70f7d2018-02-16 10:41:37 -050046
47 <!-- Project path properties -->
Pamela Dragosh686c2832017-03-30 09:42:15 -040048 <nexusproxy>https://nexus.onap.org</nexusproxy>
Anaël Clossone6047612017-04-12 12:29:31 +020049 <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>
Pamela Dragosh2d70f7d2018-02-16 10:41:37 -050053
54 <!-- sonar/jacoco overrides -->
55 <!-- Overriding oparent default sonar/jacoco settings Combine all our reports
56 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>
60
61 <!-- Project common dependency versions -->
Pamela Dragosh65509922017-02-16 13:27:42 -050062 </properties>
63
Pamela Dragosha6557b02017-02-14 19:49:32 -050064 <build>
65 <plugins>
66 <plugin>
Pamela Dragosh2d70f7d2018-02-16 10:41:37 -050067 <groupId>org.jacoco</groupId>
68 <artifactId>jacoco-maven-plugin</artifactId>
69 <executions>
70 <execution>
71 <id>pre-unit-test</id>
72 <goals>
73 <goal>prepare-agent</goal>
74 </goals>
75 <configuration>
76 <destFile>${sonar.jacoco.reportPath}</destFile>
77 <append>true</append>
78 </configuration>
79 </execution>
80 <execution>
81 <id>post-unit-test</id>
82 <phase>test</phase>
83 <goals>
84 <goal>report</goal>
85 </goals>
86 <configuration>
87 <dataFile>${sonar.jacoco.reportPath}</dataFile>
88 </configuration>
89 </execution>
90 </executions>
91 </plugin>
92 <plugin>
Pamela Dragosh8696f9f2017-02-19 19:27:26 -050093 <groupId>org.sonatype.plugins</groupId>
94 <artifactId>nexus-staging-maven-plugin</artifactId>
Pamela Dragosh8696f9f2017-02-19 19:27:26 -050095 <extensions>true</extensions>
96 <configuration>
97 <nexusUrl>${nexusproxy}</nexusUrl>
98 <stagingProfileId>176c31dfe190a</stagingProfileId>
99 <serverId>ecomp-staging</serverId>
100 </configuration>
101 </plugin>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-deploy-plugin</artifactId>
Pamela Dragosh8696f9f2017-02-19 19:27:26 -0500105 <configuration>
106 <skip />
107 </configuration>
108 </plugin>
109 <plugin>
Pamela Dragosha6557b02017-02-14 19:49:32 -0500110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
Pamela Dragosh067860f2017-02-23 13:24:41 -0500112 <version>3.0</version>
Pamela Dragosha6557b02017-02-14 19:49:32 -0500113 <configuration>
Pamela Dragosh067860f2017-02-23 13:24:41 -0500114 <encoding>${project.encoding}</encoding>
115 <source>${project.source.version}</source>
116 <target>${project.target.version}</target>
Pamela Dragosha6557b02017-02-14 19:49:32 -0500117 </configuration>
118 </plugin>
Jorge Hernandez3b25dd82017-08-30 23:42:35 -0500119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-site-plugin</artifactId>
122 <dependencies>
123 <dependency>
124 <groupId>org.apache.maven.wagon</groupId>
125 <artifactId>wagon-webdav-jackrabbit</artifactId>
126 <version>2.10</version>
127 </dependency>
128 </dependencies>
129 </plugin>
Pamela Dragosh17ee38b2017-04-07 09:02:32 -0400130 </plugins>
Pamela Dragosh18f392b2017-08-14 13:41:44 -0400131 <pluginManagement>
132 <plugins>
Pamela Dragosh2d70f7d2018-02-16 10:41:37 -0500133 <plugin>
134 <groupId>org.jacoco</groupId>
135 <artifactId>jacoco-maven-plugin</artifactId>
136 <version>${jacoco.version}</version>
137 <configuration>
138 <!-- Note: This exclusion list should match <sonar.exclusions> property
139 above -->
140 <excludes>
141 <exclude>**/gen/**</exclude>
142 <exclude>**/generated-sources/**</exclude>
143 <exclude>**/yang-gen/**</exclude>
144 <exclude>**/pax/**</exclude>
145 </excludes>
146 </configuration>
147 <executions>
148 <!-- Prepares the property pointing to the JaCoCo runtime agent which
149 is passed as VM argument when Maven the Surefire plugin is executed. -->
150 <execution>
151 <id>pre-unit-test</id>
152 <goals>
153 <goal>prepare-agent</goal>
154 </goals>
155 <configuration>
156 <destFile>${sonar.jacoco.reportPath}</destFile>
157 </configuration>
158 </execution>
159 <!-- Ensures that the code coverage report for unit tests is created
160 after unit tests have been run. -->
161 <execution>
162 <id>post-unit-test</id>
163 <phase>test</phase>
164 <goals>
165 <goal>report</goal>
166 </goals>
167 <configuration>
168 <dataFile>${sonar.jacoco.reportPath}</dataFile>
169 </configuration>
170 </execution>
171 </executions>
172 </plugin>
Pamela Dragosh18f392b2017-08-14 13:41:44 -0400173 <plugin>
174 <groupId>org.eclipse.m2e</groupId>
175 <artifactId>lifecycle-mapping</artifactId>
176 <version>1.0.0</version>
177 <configuration>
178 <lifecycleMappingMetadata>
179 <pluginExecutions>
180 <pluginExecution>
181 <pluginExecutionFilter>
182 <groupId>org.apache.maven.plugins</groupId>
183 <artifactId>maven-checkstyle-plugin</artifactId>
184 <versionRange>2.17,)</versionRange>
185 <goals>
186 <goal>check</goal>
187 </goals>
188 </pluginExecutionFilter>
189 <action>
190 <ignore />
191 </action>
192 </pluginExecution>
193 </pluginExecutions>
194 </lifecycleMappingMetadata>
195 </configuration>
196 </plugin>
197 </plugins>
198 </pluginManagement>
Pamela Dragosha6557b02017-02-14 19:49:32 -0500199 </build>
200
201 <modules>
Pamela Dragosha6557b02017-02-14 19:49:32 -0500202 <module>controlloop</module>
Pamela Dragosha6557b02017-02-14 19:49:32 -0500203 </modules>
Pamela Dragosh65509922017-02-16 13:27:42 -0500204
Pamela Dragoshb0b16912017-11-10 20:11:58 -0500205 <repositories>
206 <!-- LF repositories -->
207 <repository>
208 <id>ecomp-releases</id>
209 <name>Release Repository</name>
210 <url>${nexusproxy}/content/repositories/releases/</url>
211 </repository>
212 <repository>
213 <id>ecomp-staging</id>
214 <name>Staging Repository</name>
215 <url>${nexusproxy}/content/repositories/staging/</url>
216 </repository>
217 <repository>
218 <id>ecomp-snapshots</id>
219 <name>Snapshots Repository</name>
220 <url>${nexusproxy}/content/repositories/snapshots/</url>
221 </repository>
222 <repository>
223 <id>ecomp-public</id>
224 <name>Public Repository</name>
225 <url>${nexusproxy}/content/repositories/public/</url>
226 </repository>
227 <!-- LF repositories END-->
228 </repositories>
229
Pamela Dragosh65509922017-02-16 13:27:42 -0500230
231 <distributionManagement>
232 <repository>
233 <id>ecomp-releases</id>
234 <name>OpenECOMP Release Repository</name>
Anaël Clossone6047612017-04-12 12:29:31 +0200235 <url>${nexusproxy}/${releases.path}</url>
Pamela Dragosh65509922017-02-16 13:27:42 -0500236 </repository>
237 <snapshotRepository>
238 <id>ecomp-snapshots</id>
239 <name>OpenECOMP Snapshot Repository</name>
Anaël Clossone6047612017-04-12 12:29:31 +0200240 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh65509922017-02-16 13:27:42 -0500241 </snapshotRepository>
Pamela Dragosh17ee38b2017-04-07 09:02:32 -0400242 <site>
243 <id>ecomp-site</id>
244 <url>dav:${nexusproxy}${sitePath}</url>
245 </site>
246
Pamela Dragosh65509922017-02-16 13:27:42 -0500247 </distributionManagement>
248
Pamela Dragosh17ee38b2017-04-07 09:02:32 -0400249 <reporting>
250 <plugins>
251 <plugin>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-javadoc-plugin</artifactId>
254 <version>2.10.4</version>
255 <configuration>
256 <failOnError>false</failOnError>
257 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
258 <docletArtifact>
259 <groupId>org.umlgraph</groupId>
260 <artifactId>umlgraph</artifactId>
261 <version>5.6</version>
262 </docletArtifact>
263 <additionalparam>-views</additionalparam>
264 <useStandardDocletOptions>true</useStandardDocletOptions>
265 </configuration>
266 </plugin>
267 </plugins>
268 </reporting>
Jorge Hernandez3b25dd82017-08-30 23:42:35 -0500269
Magnusen, Drew (dm741q)6d7e2312017-08-16 15:21:15 -0500270 <dependencies>
271 <dependency>
Jorge Hernandez3b25dd82017-08-30 23:42:35 -0500272 <groupId>ch.qos.logback</groupId>
273 <artifactId>logback-classic</artifactId>
274 <version>1.2.3</version>
275 <scope>provided</scope>
Magnusen, Drew (dm741q)6d7e2312017-08-16 15:21:15 -0500276 </dependency>
277 </dependencies>
Jorge Hernandez3b25dd82017-08-30 23:42:35 -0500278
279
Pamela Dragosha6557b02017-02-14 19:49:32 -0500280</project>