blob: 7ae0720d8dec8abed8a80b9d407df1d1459d3fc2 [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"
eikrwaqa0200fa2018-05-01 15:30:21 +010022 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Pamela Dragosha6557b02017-02-14 19:49:32 -050023
eikrwaqa0200fa2018-05-01 15:30:21 +010024 <modelVersion>4.0.0</modelVersion>
25 <parent>
26 <groupId>org.onap.oparent</groupId>
27 <artifactId>oparent</artifactId>
28 <version>1.1.0</version>
29 <relativePath />
30 </parent>
Pamela Dragosha6557b02017-02-14 19:49:32 -050031
eikrwaqa0200fa2018-05-01 15:30:21 +010032 <groupId>org.onap.policy.drools-applications</groupId>
33 <artifactId>drools-applications</artifactId>
34 <version>1.2.1-SNAPSHOT</version>
Pamela Dragosha6557b02017-02-14 19:49:32 -050035
eikrwaqa0200fa2018-05-01 15:30:21 +010036 <name>policy-drools-applications</name>
37 <packaging>pom</packaging>
Pamela Dragosha6557b02017-02-14 19:49:32 -050038
eikrwaqa0200fa2018-05-01 15:30:21 +010039 <properties>
40 <!-- Project common build settings -->
41 <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
eikrwaqa0200fa2018-05-01 15:30:21 +010047 <!-- Project path properties -->
48 <nexusproxy>https://nexus.onap.org</nexusproxy>
49 <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
eikrwaqa0200fa2018-05-01 15:30:21 +010054 <!-- sonar/jacoco overrides -->
55 <!-- Overriding oparent default sonar/jacoco settings Combine all
56 our reports 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>
Pamela Dragosh2d70f7d2018-02-16 10:41:37 -050060
eikrwaqa0200fa2018-05-01 15:30:21 +010061 <!-- Project common dependency versions -->
62 </properties>
Pamela Dragosh65509922017-02-16 13:27:42 -050063
eikrwaqa0200fa2018-05-01 15:30:21 +010064 <build>
65 <plugins>
66 <plugin>
67 <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>
93 <groupId>org.sonatype.plugins</groupId>
94 <artifactId>nexus-staging-maven-plugin</artifactId>
95 <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>
105 <configuration>
106 <skip />
107 </configuration>
108 </plugin>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
112 <version>3.0</version>
113 <configuration>
114 <encoding>${project.encoding}</encoding>
115 <source>${project.source.version}</source>
116 <target>${project.target.version}</target>
117 </configuration>
118 </plugin>
119 <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>
130 </plugins>
Pamela Dragosh18f392b2017-08-14 13:41:44 -0400131 <pluginManagement>
132 <plugins>
eikrwaqa0200fa2018-05-01 15:30:21 +0100133 <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>
139 property 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
149 runtime agent which is passed as VM argument when Maven the Surefire plugin
150 is executed. -->
151 <execution>
152 <id>pre-unit-test</id>
153 <goals>
154 <goal>prepare-agent</goal>
155 </goals>
156 <configuration>
157 <destFile>${sonar.jacoco.reportPath}</destFile>
158 </configuration>
159 </execution>
160 <!-- Ensures that the code coverage report for unit
161 tests is created after unit tests have been run. -->
162 <execution>
163 <id>post-unit-test</id>
164 <phase>test</phase>
165 <goals>
166 <goal>report</goal>
167 </goals>
168 <configuration>
169 <dataFile>${sonar.jacoco.reportPath}</dataFile>
170 </configuration>
171 </execution>
172 </executions>
173 </plugin>
Pamela Dragosh18f392b2017-08-14 13:41:44 -0400174 <plugin>
175 <groupId>org.eclipse.m2e</groupId>
176 <artifactId>lifecycle-mapping</artifactId>
177 <version>1.0.0</version>
178 <configuration>
179 <lifecycleMappingMetadata>
180 <pluginExecutions>
181 <pluginExecution>
182 <pluginExecutionFilter>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-checkstyle-plugin</artifactId>
185 <versionRange>2.17,)</versionRange>
186 <goals>
187 <goal>check</goal>
188 </goals>
189 </pluginExecutionFilter>
190 <action>
191 <ignore />
192 </action>
193 </pluginExecution>
194 </pluginExecutions>
195 </lifecycleMappingMetadata>
196 </configuration>
197 </plugin>
198 </plugins>
199 </pluginManagement>
eikrwaqa0200fa2018-05-01 15:30:21 +0100200 </build>
Pamela Dragosha6557b02017-02-14 19:49:32 -0500201
eikrwaqa0200fa2018-05-01 15:30:21 +0100202 <modules>
203 <module>controlloop</module>
204 <module>testsuites</module>
205 </modules>
Pamela Dragosh65509922017-02-16 13:27:42 -0500206
eikrwaqa0200fa2018-05-01 15:30:21 +0100207 <repositories>
208 <!-- LF repositories -->
209 <repository>
210 <id>ecomp-releases</id>
211 <name>Release Repository</name>
212 <url>${nexusproxy}/content/repositories/releases/</url>
213 </repository>
214 <repository>
215 <id>ecomp-staging</id>
216 <name>Staging Repository</name>
217 <url>${nexusproxy}/content/repositories/staging/</url>
218 </repository>
219 <repository>
220 <id>ecomp-snapshots</id>
221 <name>Snapshots Repository</name>
222 <url>${nexusproxy}/content/repositories/snapshots/</url>
223 </repository>
224 <repository>
225 <id>ecomp-public</id>
226 <name>Public Repository</name>
227 <url>${nexusproxy}/content/repositories/public/</url>
228 </repository>
229 <!-- LF repositories END -->
230 </repositories>
Pamela Dragoshb0b16912017-11-10 20:11:58 -0500231
Pamela Dragosh65509922017-02-16 13:27:42 -0500232
eikrwaqa0200fa2018-05-01 15:30:21 +0100233 <distributionManagement>
234 <repository>
235 <id>ecomp-releases</id>
236 <name>OpenECOMP Release Repository</name>
237 <url>${nexusproxy}/${releases.path}</url>
238 </repository>
239 <snapshotRepository>
240 <id>ecomp-snapshots</id>
241 <name>OpenECOMP Snapshot Repository</name>
242 <url>${nexusproxy}/${snapshots.path}</url>
243 </snapshotRepository>
244 <site>
245 <id>ecomp-site</id>
246 <url>dav:${nexusproxy}${sitePath}</url>
247 </site>
Pamela Dragosh17ee38b2017-04-07 09:02:32 -0400248
eikrwaqa0200fa2018-05-01 15:30:21 +0100249 </distributionManagement>
Pamela Dragosh65509922017-02-16 13:27:42 -0500250
eikrwaqa0200fa2018-05-01 15:30:21 +0100251 <reporting>
252 <plugins>
253 <plugin>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-javadoc-plugin</artifactId>
256 <version>2.10.4</version>
257 <configuration>
258 <failOnError>false</failOnError>
259 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
260 <docletArtifact>
261 <groupId>org.umlgraph</groupId>
262 <artifactId>umlgraph</artifactId>
263 <version>5.6</version>
264 </docletArtifact>
265 <additionalparam>-views</additionalparam>
266 <useStandardDocletOptions>true</useStandardDocletOptions>
267 </configuration>
268 </plugin>
269 </plugins>
270 </reporting>
Jorge Hernandez3b25dd82017-08-30 23:42:35 -0500271
eikrwaqa0200fa2018-05-01 15:30:21 +0100272 <dependencies>
273 <dependency>
274 <groupId>ch.qos.logback</groupId>
275 <artifactId>logback-classic</artifactId>
276 <version>1.2.3</version>
277 <scope>provided</scope>
278 </dependency>
279 </dependencies>
Jorge Hernandez3b25dd82017-08-30 23:42:35 -0500280
281
Pamela Dragosha6557b02017-02-14 19:49:32 -0500282</project>