Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | drools-pdp-apps |
| 4 | ================================================================================ |
Pamela Dragosh | 2d70f7d | 2018-02-16 10:41:37 -0500 | [diff] [blame] | 5 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 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 |
Temoc Rodriguez | b234cce | 2017-08-16 16:10:55 -0700 | [diff] [blame] | 10 | |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 11 | http://www.apache.org/licenses/LICENSE-2.0 |
Temoc Rodriguez | b234cce | 2017-08-16 16:10:55 -0700 | [diff] [blame] | 12 | |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 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" |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 23 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 24 | <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 Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 31 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 32 | <groupId>org.onap.policy.drools-applications</groupId> |
| 33 | <artifactId>drools-applications</artifactId> |
| 34 | <version>1.2.1-SNAPSHOT</version> |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 35 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 36 | <name>policy-drools-applications</name> |
| 37 | <packaging>pom</packaging> |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 38 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 39 | <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 Dragosh | 2d70f7d | 2018-02-16 10:41:37 -0500 | [diff] [blame] | 46 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 47 | <!-- 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 Dragosh | 2d70f7d | 2018-02-16 10:41:37 -0500 | [diff] [blame] | 53 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 54 | <!-- 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 Dragosh | 2d70f7d | 2018-02-16 10:41:37 -0500 | [diff] [blame] | 60 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 61 | <!-- Project common dependency versions --> |
| 62 | </properties> |
Pamela Dragosh | 6550992 | 2017-02-16 13:27:42 -0500 | [diff] [blame] | 63 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 64 | <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 Dragosh | 18f392b | 2017-08-14 13:41:44 -0400 | [diff] [blame] | 131 | <pluginManagement> |
| 132 | <plugins> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 133 | <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 Dragosh | 18f392b | 2017-08-14 13:41:44 -0400 | [diff] [blame] | 174 | <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> |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 200 | </build> |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 201 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 202 | <modules> |
| 203 | <module>controlloop</module> |
| 204 | <module>testsuites</module> |
| 205 | </modules> |
Pamela Dragosh | 6550992 | 2017-02-16 13:27:42 -0500 | [diff] [blame] | 206 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 207 | <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 Dragosh | b0b1691 | 2017-11-10 20:11:58 -0500 | [diff] [blame] | 231 | |
Pamela Dragosh | 6550992 | 2017-02-16 13:27:42 -0500 | [diff] [blame] | 232 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 233 | <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 Dragosh | 17ee38b | 2017-04-07 09:02:32 -0400 | [diff] [blame] | 248 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 249 | </distributionManagement> |
Pamela Dragosh | 6550992 | 2017-02-16 13:27:42 -0500 | [diff] [blame] | 250 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 251 | <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 Hernandez | 3b25dd8 | 2017-08-30 23:42:35 -0500 | [diff] [blame] | 271 | |
eikrwaq | a0200fa | 2018-05-01 15:30:21 +0100 | [diff] [blame^] | 272 | <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 Hernandez | 3b25dd8 | 2017-08-30 23:42:35 -0500 | [diff] [blame] | 280 | |
| 281 | |
Pamela Dragosh | a6557b0 | 2017-02-14 19:49:32 -0500 | [diff] [blame] | 282 | </project> |