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