Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 1 | <!-- |
| 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> |
| 27 | <version>1.0.0-SNAPSHOT</version> |
| 28 | <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> |
| 40 | <!-- <common-modules.version>[1.0.0-SNAPSHOT]</common-modules.version> --> |
| 41 | <common-modules.version>1.0.0-SNAPSHOT</common-modules.version> |
| 42 | |
| 43 | <sonar.language>java</sonar.language> |
| 44 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 45 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 46 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 47 | <sonar.jacoco.itReportPath>/opt/app/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 48 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 49 | </properties> |
| 50 | |
| 51 | <modules> |
| 52 | <module>policy-utils</module> |
| 53 | <module>policy-core</module> |
| 54 | <module>policy-endpoints</module> |
| 55 | <module>policy-management</module> |
| 56 | <module>policy-persistence</module> |
| 57 | <module>policy-healthcheck</module> |
| 58 | <module>packages</module> |
| 59 | </modules> |
| 60 | |
| 61 | <repositories> |
| 62 | <repository> |
| 63 | <id>central</id> |
| 64 | <name>Maven 2 repository</name> |
| 65 | <url>http://repo2.maven.org/maven2/</url> |
| 66 | </repository> |
| 67 | |
| 68 | <repository> |
| 69 | <id>eclipse</id> |
| 70 | <url>https://repo.eclipse.org/content/repositories/releases</url> |
| 71 | <releases> |
| 72 | <enabled>true</enabled> |
| 73 | <updatePolicy>daily</updatePolicy> |
| 74 | </releases> |
| 75 | <snapshots> |
| 76 | <enabled>false</enabled> |
| 77 | </snapshots> |
| 78 | </repository> |
| 79 | |
| 80 | <repository> |
| 81 | <id>soapUI</id> |
| 82 | <url>http://www.soapui.org/repository/maven2/</url> |
| 83 | <name>SoapUI plugin</name> |
| 84 | </repository> |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame^] | 85 | <repository> |
| 86 | <id>ecomp-releases</id> |
| 87 | <name>OpenECOMP Release Repository</name> |
| 88 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 89 | </repository> |
| 90 | <repository> |
| 91 | <id>ecomp-staging</id> |
| 92 | <name>OpenECOMP Staging Repository</name> |
| 93 | <url>${nexusproxy}/content/repositories/staging/</url> |
| 94 | </repository> |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 95 | </repositories> |
| 96 | |
Pamela Dragosh | 2f7c70d | 2017-02-15 16:09:00 -0500 | [diff] [blame^] | 97 | <distributionManagement> |
| 98 | <repository> |
| 99 | <id>ecomp-releases</id> |
| 100 | <name>OpenECOMP Release Repository</name> |
| 101 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 102 | </repository> |
| 103 | <snapshotRepository> |
| 104 | <id>ecomp-snapshots</id> |
| 105 | <name>OpenECOMP Snapshot Repository</name> |
| 106 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 107 | </snapshotRepository> |
| 108 | <site> |
| 109 | <id>ecomp-javadoc</id> |
| 110 | <url>dav:https://ecomp-nexus:8443/repository/policy-javadoc/${project.version}</url> |
| 111 | </site> |
| 112 | </distributionManagement> |
| 113 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 114 | <dependencies> |
| 115 | |
| 116 | </dependencies> |
| 117 | |
| 118 | <build> |
| 119 | <plugins> |
| 120 | <plugin> |
| 121 | <groupId>org.apache.maven.plugins</groupId> |
| 122 | <artifactId>maven-deploy-plugin</artifactId> |
| 123 | <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> |
| 124 | </plugin> |
| 125 | <plugin> |
| 126 | <groupId>org.apache.maven.plugins</groupId> |
| 127 | <artifactId>maven-compiler-plugin</artifactId> |
| 128 | <version>3.0</version> |
| 129 | <configuration> |
| 130 | <encoding>${project.encoding}</encoding> |
| 131 | <source>${project.source.version}</source> |
| 132 | <target>${project.target.version}</target> |
| 133 | </configuration> |
| 134 | </plugin> |
| 135 | <plugin> |
| 136 | <groupId>org.apache.maven.plugins</groupId> |
| 137 | <artifactId>maven-resources-plugin</artifactId> |
| 138 | <version>2.6</version> |
| 139 | <configuration> |
| 140 | <encoding>${project.encoding}</encoding> |
| 141 | </configuration> |
| 142 | </plugin> |
| 143 | <!-- |
| 144 | license plugin |
| 145 | Run |
| 146 | mvn clean |
| 147 | before running from the command line |
| 148 | mvn license:update-file-header |
| 149 | --> |
| 150 | <plugin> |
| 151 | <groupId>org.codehaus.mojo</groupId> |
| 152 | <artifactId>license-maven-plugin</artifactId> |
| 153 | <version>1.9</version> |
| 154 | <configuration> |
| 155 | <extraExtensions> |
| 156 | <!-- Used to add or change the header style <fileTypeYouAreMapping> |
| 157 | fileTypeMappedInto </fileTypeYouAreMapping> --> |
| 158 | <drl>java</drl> |
| 159 | <ccf>properties</ccf> |
| 160 | |
| 161 | <!-- Because the typical sql comment type confuses the update algorithm --> |
| 162 | <sql>java</sql> |
| 163 | </extraExtensions> |
| 164 | <licenseName>apache_v2</licenseName> |
| 165 | |
| 166 | <inceptionYear>2017</inceptionYear> |
| 167 | <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> |
| 168 | |
| 169 | <!-- Once you have established the tags and delimiter, they cannot be |
| 170 | changed --> |
| 171 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 172 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 173 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 174 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 175 | <canUpdateCopyright>true</canUpdateCopyright> |
| 176 | <canUpdateDescription>true</canUpdateDescription> |
| 177 | <canUpdateLicense>true</canUpdateLicense> |
| 178 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 179 | <roots> |
| 180 | <!-- Default is src, target/generated-sources, target/processed-sources --> |
| 181 | |
| 182 | <!-- Everything except the files in the excludes section --> |
| 183 | <root>/</root> |
| 184 | </roots> |
| 185 | <excludes> |
| 186 | <!-- Files which are to be excluded. The pom.xml is excluded because |
| 187 | the start/end tags and the delimiters are in the body of the file. This confuses |
| 188 | the algorithm. So, this file must be manually updated with a license header. --> |
| 189 | <exclude>pom.xml</exclude> |
| 190 | </excludes> |
| 191 | </configuration> |
| 192 | </plugin> |
| 193 | </plugins> |
| 194 | <pluginManagement> |
| 195 | <plugins> |
| 196 | <plugin> |
| 197 | <groupId>org.jacoco</groupId> |
| 198 | <artifactId>jacoco-maven-plugin</artifactId> |
| 199 | <version>0.7.5.201505241946</version> |
| 200 | <configuration> |
| 201 | <dumpOnExit>true</dumpOnExit> |
| 202 | <includes> |
| 203 | <include>org.openecomp.*</include> |
| 204 | </includes> |
| 205 | </configuration> |
| 206 | <executions> |
| 207 | <execution> |
| 208 | <id>jacoco-initialize-unit-tests</id> |
| 209 | <goals> |
| 210 | <goal>prepare-agent</goal> |
| 211 | </goals> |
| 212 | <configuration> |
| 213 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 214 | </configuration> |
| 215 | </execution> |
| 216 | </executions> |
| 217 | </plugin> |
| 218 | </plugins> |
| 219 | </pluginManagement> |
| 220 | </build> |
| 221 | </project> |