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> |
| 85 | </repositories> |
| 86 | |
| 87 | <dependencies> |
| 88 | |
| 89 | </dependencies> |
| 90 | |
| 91 | <build> |
| 92 | <plugins> |
| 93 | <plugin> |
| 94 | <groupId>org.apache.maven.plugins</groupId> |
| 95 | <artifactId>maven-deploy-plugin</artifactId> |
| 96 | <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> |
| 97 | </plugin> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-compiler-plugin</artifactId> |
| 101 | <version>3.0</version> |
| 102 | <configuration> |
| 103 | <encoding>${project.encoding}</encoding> |
| 104 | <source>${project.source.version}</source> |
| 105 | <target>${project.target.version}</target> |
| 106 | </configuration> |
| 107 | </plugin> |
| 108 | <plugin> |
| 109 | <groupId>org.apache.maven.plugins</groupId> |
| 110 | <artifactId>maven-resources-plugin</artifactId> |
| 111 | <version>2.6</version> |
| 112 | <configuration> |
| 113 | <encoding>${project.encoding}</encoding> |
| 114 | </configuration> |
| 115 | </plugin> |
| 116 | <!-- |
| 117 | license plugin |
| 118 | Run |
| 119 | mvn clean |
| 120 | before running from the command line |
| 121 | mvn license:update-file-header |
| 122 | --> |
| 123 | <plugin> |
| 124 | <groupId>org.codehaus.mojo</groupId> |
| 125 | <artifactId>license-maven-plugin</artifactId> |
| 126 | <version>1.9</version> |
| 127 | <configuration> |
| 128 | <extraExtensions> |
| 129 | <!-- Used to add or change the header style <fileTypeYouAreMapping> |
| 130 | fileTypeMappedInto </fileTypeYouAreMapping> --> |
| 131 | <drl>java</drl> |
| 132 | <ccf>properties</ccf> |
| 133 | |
| 134 | <!-- Because the typical sql comment type confuses the update algorithm --> |
| 135 | <sql>java</sql> |
| 136 | </extraExtensions> |
| 137 | <licenseName>apache_v2</licenseName> |
| 138 | |
| 139 | <inceptionYear>2017</inceptionYear> |
| 140 | <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> |
| 141 | |
| 142 | <!-- Once you have established the tags and delimiter, they cannot be |
| 143 | changed --> |
| 144 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 145 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 146 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 147 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 148 | <canUpdateCopyright>true</canUpdateCopyright> |
| 149 | <canUpdateDescription>true</canUpdateDescription> |
| 150 | <canUpdateLicense>true</canUpdateLicense> |
| 151 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 152 | <roots> |
| 153 | <!-- Default is src, target/generated-sources, target/processed-sources --> |
| 154 | |
| 155 | <!-- Everything except the files in the excludes section --> |
| 156 | <root>/</root> |
| 157 | </roots> |
| 158 | <excludes> |
| 159 | <!-- Files which are to be excluded. The pom.xml is excluded because |
| 160 | the start/end tags and the delimiters are in the body of the file. This confuses |
| 161 | the algorithm. So, this file must be manually updated with a license header. --> |
| 162 | <exclude>pom.xml</exclude> |
| 163 | </excludes> |
| 164 | </configuration> |
| 165 | </plugin> |
| 166 | </plugins> |
| 167 | <pluginManagement> |
| 168 | <plugins> |
| 169 | <plugin> |
| 170 | <groupId>org.jacoco</groupId> |
| 171 | <artifactId>jacoco-maven-plugin</artifactId> |
| 172 | <version>0.7.5.201505241946</version> |
| 173 | <configuration> |
| 174 | <dumpOnExit>true</dumpOnExit> |
| 175 | <includes> |
| 176 | <include>org.openecomp.*</include> |
| 177 | </includes> |
| 178 | </configuration> |
| 179 | <executions> |
| 180 | <execution> |
| 181 | <id>jacoco-initialize-unit-tests</id> |
| 182 | <goals> |
| 183 | <goal>prepare-agent</goal> |
| 184 | </goals> |
| 185 | <configuration> |
| 186 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 187 | </configuration> |
| 188 | </execution> |
| 189 | </executions> |
| 190 | </plugin> |
| 191 | </plugins> |
| 192 | </pluginManagement> |
| 193 | </build> |
| 194 | </project> |