blob: f57ff264c15b87d1c29bf5fa4bc22b6e484b0e22 [file] [log] [blame]
Pamela Dragosh91d04c62017-02-14 19:41:00 -05001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4
5 <groupId>org.openecomp.policy.engine</groupId>
6 <artifactId>PolicyEngineSuite</artifactId>
Pamela Dragosh3234eb02017-03-10 14:54:53 -05007 <version>1.1.0-SNAPSHOT</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -05008 <packaging>pom</packaging>
Pamela Dragosh5444e742017-04-28 10:51:41 -04009 <name>Policy Engine - Policy Engine Suite</name>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050010
11 <description>The ECOMP Policy Engine main pom</description>
12
13 <properties>
14 <maven.compiler.source>1.8</maven.compiler.source>
15 <maven.compiler.target>1.8</maven.compiler.target>
16
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18
Pamela Dragosh91d04c62017-02-14 19:41:00 -050019 <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
20 <project.source.version>1.8</project.source.version>
21 <project.target.version>1.8</project.target.version>
22 <project.encoding>UTF-8</project.encoding>
Ravindra Bakkamanthalad9007d62017-05-31 15:54:24 -040023
Pamela Dragosh91d04c62017-02-14 19:41:00 -050024 <sonar.language>java</sonar.language>
25 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
26 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
27 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
28 <sonar.jacoco.itReportPath>/opt/app/policy/it-results/jacoco-it.exec</sonar.jacoco.itReportPath>
29 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
30 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Pamela Dragosh3234eb02017-03-10 14:54:53 -050031 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
Pamela Dragoshae8d7752017-03-30 09:35:18 -040032 <nexusproxy>https://nexus.onap.org</nexusproxy>
Pamela Dragoshe1dcfc52017-04-06 11:06:34 -040033 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
Anaël Closson98fe6d82017-04-12 11:10:10 +020034 <releases.path>content/repositories/releases/</releases.path>
35 <snapshots.path>content/repositories/snapshots/</snapshots.path>
36 <staging.path>content/repositories/staging/</staging.path>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050037 </properties>
38
39
40 <modules>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040041 <module>PolicyEngineUtils</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050042 <module>ECOMP-XACML</module>
43 <module>ECOMP-REST</module>
Ravindra Bakkamanthala87c95be2017-05-23 14:56:12 -040044 <module>ECOMP-ASDC</module>
ITSERVICES\rb7147dda032f2017-05-08 22:20:44 -040045 <module>ECOMP-ControlloopPolicy</module>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040046 <module>PolicyEngineAPI</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050047 <module>ECOMP-PDP</module>
48 <module>ECOMP-PDP-REST</module>
49 <module>ECOMP-PAP-REST</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050050 <module>LogParser</module>
51 <module>PolicyEngineClient</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050052 <module>BRMSGateway</module>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040053 <module>POLICY-SDK-APP</module>
54 <module>ECOMP-SDK-APP</module>
Pamela Dragoshc2938542017-02-20 16:30:10 -050055 <module>packages</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050056 </modules>
57
58 <repositories>
59 <repository>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040060 <id>ecomp-snapshots</id>
61 <name>OpenECOMP Snapshot Repository</name>
62 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050063 </repository>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050064 <repository>
65 <id>ecomp-releases</id>
66 <name>OpenECOMP Release Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020067 <url>${nexusproxy}/${releases.path}/</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050068 </repository>
69 <repository>
70 <id>ecomp-staging</id>
71 <name>OpenECOMP Staging Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020072 <url>${nexusproxy}/${staging.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050073 </repository>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050074 </repositories>
75
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050076 <distributionManagement>
77 <repository>
78 <id>ecomp-releases</id>
79 <name>OpenECOMP Release Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020080 <url>${nexusproxy}/${releases.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050081 </repository>
82 <snapshotRepository>
83 <id>ecomp-snapshots</id>
84 <name>OpenECOMP Snapshot Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020085 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050086 </snapshotRepository>
Pamela Dragosh0cd54352017-04-03 10:51:20 -040087 <site>
88 <id>ecomp-site</id>
89 <url>dav:${nexusproxy}${sitePath}</url>
90 </site>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050091 </distributionManagement>
92
Pamela Dragosh0cd54352017-04-03 10:51:20 -040093 <reporting>
94 <plugins>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-javadoc-plugin</artifactId>
98 <version>2.10.4</version>
99 <configuration>
100 <failOnError>false</failOnError>
101 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
102 <docletArtifact>
103 <groupId>org.umlgraph</groupId>
104 <artifactId>umlgraph</artifactId>
105 <version>5.6</version>
106 </docletArtifact>
107 <additionalparam>-views</additionalparam>
108 <useStandardDocletOptions>true</useStandardDocletOptions>
109 </configuration>
110 </plugin>
111 </plugins>
112 </reporting>
113
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500114 <dependencies>
115
116 <dependency>
117 <groupId>javax.servlet</groupId>
118 <artifactId>javax.servlet-api</artifactId>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -0400119 <version>3.1.0</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500120 </dependency>
121 <dependency>
122 <!-- org.w3c.dom dependencies -->
123 <groupId>xml-apis</groupId>
124 <artifactId>xml-apis</artifactId>
125 <version>1.3.03</version>
126 </dependency>
127 </dependencies>
128
129 <build>
130 <plugins>
131 <plugin>
Pamela Dragosh6a657052017-02-17 15:41:18 -0500132 <groupId>org.sonatype.plugins</groupId>
133 <artifactId>nexus-staging-maven-plugin</artifactId>
134 <version>1.6.7</version>
135 <extensions>true</extensions>
136 <configuration>
137 <nexusUrl>${nexusproxy}</nexusUrl>
138 <stagingProfileId>176c31dfe190a</stagingProfileId>
139 <serverId>ecomp-staging</serverId>
140 </configuration>
141 </plugin>
142 <plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-deploy-plugin</artifactId>
145 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Pamela Dragosh6a657052017-02-17 15:41:18 -0500146 <configuration>
147 <skip />
148 </configuration>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500149 </plugin>
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-surefire-plugin</artifactId>
153 <version>2.19.1</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500154 </plugin>
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-clean-plugin</artifactId>
158 <version>2.4.1</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500159 </plugin>
160 <!-- license plugin Run mvn clean before running from the command line
161 mvn license:update-file-header -->
162 <plugin>
163 <groupId>org.codehaus.mojo</groupId>
164 <artifactId>license-maven-plugin</artifactId>
165 <version>1.9</version>
166 <configuration>
167 <extraExtensions>
168 <!-- Used to add or change the header style <fileTypeYouAreMapping>
169 fileTypeMappedInto </fileTypeYouAreMapping> -->
170 <drl>java</drl>
171 <ccf>properties</ccf>
172
173 <!-- Because the typical sql comment type confuses the update algorithm -->
174 <sql>java</sql>
175 </extraExtensions>
176 <licenseName>apache_v2</licenseName>
177
178 <inceptionYear>2017</inceptionYear>
179 <organizationName>AT&amp;T Intellectual Property. All rights
180 reserved.</organizationName>
181
182 <!-- Once you have established the tags and delimiter, they cannot be
183 changed -->
184 <processStartTag>============LICENSE_START=======================================================</processStartTag>
185 <processEndTag>============LICENSE_END=========================================================</processEndTag>
186 <sectionDelimiter>================================================================================</sectionDelimiter>
187 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
188 <canUpdateCopyright>true</canUpdateCopyright>
189 <canUpdateDescription>true</canUpdateDescription>
190 <canUpdateLicense>true</canUpdateLicense>
191 <emptyLineAfterHeader>true</emptyLineAfterHeader>
192 <roots>
193 <!-- Default is src, target/generated-sources, target/processed-sources -->
194
195 <!-- Everything except the files in the excludes section -->
196 <root>/</root>
197 </roots>
198 <excludes>
199 <!-- Files which are to be excluded. The pom.xml is excluded because
200 the start/end tags and the delimiters are in the body of the file. This confuses
201 the algorithm. So, this file must be manually updated with a license header. -->
202 <exclude>pom.xml</exclude>
203 </excludes>
204 </configuration>
205 </plugin>
206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-compiler-plugin</artifactId>
209 <version>3.0</version>
210 <configuration>
211 <encoding>${project.encoding}</encoding>
212 <source>${project.source.version}</source>
213 <target>${project.target.version}</target>
214 </configuration>
215 </plugin>
216 <plugin>
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-resources-plugin</artifactId>
219 <version>2.6</version>
220 <configuration>
221 <encoding>${project.encoding}</encoding>
222 </configuration>
223 </plugin>
224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-war-plugin</artifactId>
227 <version>2.3</version>
228 <configuration>
229 <failOnMissingWebXml>false</failOnMissingWebXml>
230 </configuration>
231 </plugin>
232 <!-- The Jetty plugin allows us to easily test the development build by
233 running jetty:run on the command line. -->
234
235 <plugin>
236 <groupId>org.eclipse.jetty</groupId>
237 <artifactId>jetty-maven-plugin</artifactId>
238 <version>${jetty.plugin.version}</version>
239 <configuration>
240 <scanIntervalSeconds>2</scanIntervalSeconds>
241 </configuration>
242 </plugin>
243 <plugin>
244 <groupId>com.fortify.ps.maven.plugin</groupId>
245 <artifactId>sca-maven-plugin</artifactId>
246 <version>4.20</version>
247 </plugin>
248 <plugin>
249 <groupId>org.jacoco</groupId>
250 <artifactId>jacoco-maven-plugin</artifactId>
Ravindra Bakkamanthalad9007d62017-05-31 15:54:24 -0400251 <version>0.7.6.201602180812</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500252 <configuration>
253 <dumpOnExit>true</dumpOnExit>
254 <includes>
255 <include>org.openecomp.*</include>
256 </includes>
257 </configuration>
258 <executions>
259 <execution>
260 <id>jacoco-initialize-unit-tests</id>
261 <goals>
262 <goal>prepare-agent</goal>
263 </goals>
264 <configuration>
265 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
266 </configuration>
267 </execution>
268 </executions>
269 </plugin>
Pamela Dragosh0cd54352017-04-03 10:51:20 -0400270 <plugin>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-site-plugin</artifactId>
273 <version>3.6</version>
274 <dependencies>
275 <dependency>
276 <groupId>org.apache.maven.wagon</groupId>
277 <artifactId>wagon-webdav-jackrabbit</artifactId>
278 <version>2.10</version>
279 </dependency>
280 </dependencies>
281 </plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500282 </plugins>
283 </build>
284</project>