blob: 9addbf6f101a0c54a659a06baa12c5ff8d36c153 [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>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050023
24 <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>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040044 <module>PolicyEngineAPI</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050045 <module>ECOMP-PDP</module>
46 <module>ECOMP-PDP-REST</module>
47 <module>ECOMP-PAP-REST</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050048 <module>LogParser</module>
49 <module>PolicyEngineClient</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050050 <module>BRMSGateway</module>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040051 <module>POLICY-SDK-APP</module>
52 <module>ECOMP-SDK-APP</module>
Pamela Dragoshc2938542017-02-20 16:30:10 -050053 <module>packages</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050054 </modules>
55
56 <repositories>
57 <repository>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040058 <id>ecomp-snapshots</id>
59 <name>OpenECOMP Snapshot Repository</name>
60 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050061 </repository>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050062 <repository>
63 <id>ecomp-releases</id>
64 <name>OpenECOMP Release Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020065 <url>${nexusproxy}/${releases.path}/</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050066 </repository>
67 <repository>
68 <id>ecomp-staging</id>
69 <name>OpenECOMP Staging Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020070 <url>${nexusproxy}/${staging.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050071 </repository>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050072 </repositories>
73
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050074 <distributionManagement>
75 <repository>
76 <id>ecomp-releases</id>
77 <name>OpenECOMP Release Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020078 <url>${nexusproxy}/${releases.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050079 </repository>
80 <snapshotRepository>
81 <id>ecomp-snapshots</id>
82 <name>OpenECOMP Snapshot Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020083 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050084 </snapshotRepository>
Pamela Dragosh0cd54352017-04-03 10:51:20 -040085 <site>
86 <id>ecomp-site</id>
87 <url>dav:${nexusproxy}${sitePath}</url>
88 </site>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050089 </distributionManagement>
90
Pamela Dragosh0cd54352017-04-03 10:51:20 -040091 <reporting>
92 <plugins>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-javadoc-plugin</artifactId>
96 <version>2.10.4</version>
97 <configuration>
98 <failOnError>false</failOnError>
99 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
100 <docletArtifact>
101 <groupId>org.umlgraph</groupId>
102 <artifactId>umlgraph</artifactId>
103 <version>5.6</version>
104 </docletArtifact>
105 <additionalparam>-views</additionalparam>
106 <useStandardDocletOptions>true</useStandardDocletOptions>
107 </configuration>
108 </plugin>
109 </plugins>
110 </reporting>
111
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500112 <dependencies>
113
114 <dependency>
115 <groupId>javax.servlet</groupId>
116 <artifactId>javax.servlet-api</artifactId>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -0400117 <version>3.1.0</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500118 </dependency>
119 <dependency>
120 <!-- org.w3c.dom dependencies -->
121 <groupId>xml-apis</groupId>
122 <artifactId>xml-apis</artifactId>
123 <version>1.3.03</version>
124 </dependency>
125 </dependencies>
126
127 <build>
128 <plugins>
129 <plugin>
Pamela Dragosh6a657052017-02-17 15:41:18 -0500130 <groupId>org.sonatype.plugins</groupId>
131 <artifactId>nexus-staging-maven-plugin</artifactId>
132 <version>1.6.7</version>
133 <extensions>true</extensions>
134 <configuration>
135 <nexusUrl>${nexusproxy}</nexusUrl>
136 <stagingProfileId>176c31dfe190a</stagingProfileId>
137 <serverId>ecomp-staging</serverId>
138 </configuration>
139 </plugin>
140 <plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-deploy-plugin</artifactId>
143 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Pamela Dragosh6a657052017-02-17 15:41:18 -0500144 <configuration>
145 <skip />
146 </configuration>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500147 </plugin>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-surefire-plugin</artifactId>
151 <version>2.19.1</version>
152 <configuration>
153 <skipTests>true</skipTests>
154 </configuration>
155 </plugin>
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-clean-plugin</artifactId>
159 <version>2.4.1</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500160 </plugin>
161 <!-- license plugin Run mvn clean before running from the command line
162 mvn license:update-file-header -->
163 <plugin>
164 <groupId>org.codehaus.mojo</groupId>
165 <artifactId>license-maven-plugin</artifactId>
166 <version>1.9</version>
167 <configuration>
168 <extraExtensions>
169 <!-- Used to add or change the header style <fileTypeYouAreMapping>
170 fileTypeMappedInto </fileTypeYouAreMapping> -->
171 <drl>java</drl>
172 <ccf>properties</ccf>
173
174 <!-- Because the typical sql comment type confuses the update algorithm -->
175 <sql>java</sql>
176 </extraExtensions>
177 <licenseName>apache_v2</licenseName>
178
179 <inceptionYear>2017</inceptionYear>
180 <organizationName>AT&amp;T Intellectual Property. All rights
181 reserved.</organizationName>
182
183 <!-- Once you have established the tags and delimiter, they cannot be
184 changed -->
185 <processStartTag>============LICENSE_START=======================================================</processStartTag>
186 <processEndTag>============LICENSE_END=========================================================</processEndTag>
187 <sectionDelimiter>================================================================================</sectionDelimiter>
188 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
189 <canUpdateCopyright>true</canUpdateCopyright>
190 <canUpdateDescription>true</canUpdateDescription>
191 <canUpdateLicense>true</canUpdateLicense>
192 <emptyLineAfterHeader>true</emptyLineAfterHeader>
193 <roots>
194 <!-- Default is src, target/generated-sources, target/processed-sources -->
195
196 <!-- Everything except the files in the excludes section -->
197 <root>/</root>
198 </roots>
199 <excludes>
200 <!-- Files which are to be excluded. The pom.xml is excluded because
201 the start/end tags and the delimiters are in the body of the file. This confuses
202 the algorithm. So, this file must be manually updated with a license header. -->
203 <exclude>pom.xml</exclude>
204 </excludes>
205 </configuration>
206 </plugin>
207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-compiler-plugin</artifactId>
210 <version>3.0</version>
211 <configuration>
212 <encoding>${project.encoding}</encoding>
213 <source>${project.source.version}</source>
214 <target>${project.target.version}</target>
215 </configuration>
216 </plugin>
217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-resources-plugin</artifactId>
220 <version>2.6</version>
221 <configuration>
222 <encoding>${project.encoding}</encoding>
223 </configuration>
224 </plugin>
225 <plugin>
226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-war-plugin</artifactId>
228 <version>2.3</version>
229 <configuration>
230 <failOnMissingWebXml>false</failOnMissingWebXml>
231 </configuration>
232 </plugin>
233 <!-- The Jetty plugin allows us to easily test the development build by
234 running jetty:run on the command line. -->
235
236 <plugin>
237 <groupId>org.eclipse.jetty</groupId>
238 <artifactId>jetty-maven-plugin</artifactId>
239 <version>${jetty.plugin.version}</version>
240 <configuration>
241 <scanIntervalSeconds>2</scanIntervalSeconds>
242 </configuration>
243 </plugin>
244 <plugin>
245 <groupId>com.fortify.ps.maven.plugin</groupId>
246 <artifactId>sca-maven-plugin</artifactId>
247 <version>4.20</version>
248 </plugin>
249 <plugin>
250 <groupId>org.jacoco</groupId>
251 <artifactId>jacoco-maven-plugin</artifactId>
Pamela Dragosh393fe422017-02-23 07:13:31 -0500252 <version>0.7.5.201505241946</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500253 <configuration>
254 <dumpOnExit>true</dumpOnExit>
255 <includes>
256 <include>org.openecomp.*</include>
257 </includes>
258 </configuration>
259 <executions>
260 <execution>
261 <id>jacoco-initialize-unit-tests</id>
262 <goals>
263 <goal>prepare-agent</goal>
264 </goals>
265 <configuration>
266 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
267 </configuration>
268 </execution>
269 </executions>
270 </plugin>
Pamela Dragosh0cd54352017-04-03 10:51:20 -0400271 <plugin>
272 <groupId>org.apache.maven.plugins</groupId>
273 <artifactId>maven-site-plugin</artifactId>
274 <version>3.6</version>
275 <dependencies>
276 <dependency>
277 <groupId>org.apache.maven.wagon</groupId>
278 <artifactId>wagon-webdav-jackrabbit</artifactId>
279 <version>2.10</version>
280 </dependency>
281 </dependencies>
282 </plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500283 </plugins>
284 </build>
285</project>