blob: 59c8fff345e90a41d02fa90e518e645af512b079 [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\rb7147dda032f2017-05-08 22:20:44 -040044 <module>ECOMP-ControlloopPolicy</module>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040045 <module>PolicyEngineAPI</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050046 <module>ECOMP-PDP</module>
47 <module>ECOMP-PDP-REST</module>
48 <module>ECOMP-PAP-REST</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050049 <module>LogParser</module>
50 <module>PolicyEngineClient</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050051 <module>BRMSGateway</module>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040052 <module>POLICY-SDK-APP</module>
53 <module>ECOMP-SDK-APP</module>
Pamela Dragoshc2938542017-02-20 16:30:10 -050054 <module>packages</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050055 </modules>
56
57 <repositories>
58 <repository>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040059 <id>ecomp-snapshots</id>
60 <name>OpenECOMP Snapshot Repository</name>
61 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050062 </repository>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050063 <repository>
64 <id>ecomp-releases</id>
65 <name>OpenECOMP Release Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020066 <url>${nexusproxy}/${releases.path}/</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050067 </repository>
68 <repository>
69 <id>ecomp-staging</id>
70 <name>OpenECOMP Staging Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020071 <url>${nexusproxy}/${staging.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050072 </repository>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050073 </repositories>
74
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050075 <distributionManagement>
76 <repository>
77 <id>ecomp-releases</id>
78 <name>OpenECOMP Release Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020079 <url>${nexusproxy}/${releases.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050080 </repository>
81 <snapshotRepository>
82 <id>ecomp-snapshots</id>
83 <name>OpenECOMP Snapshot Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020084 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050085 </snapshotRepository>
Pamela Dragosh0cd54352017-04-03 10:51:20 -040086 <site>
87 <id>ecomp-site</id>
88 <url>dav:${nexusproxy}${sitePath}</url>
89 </site>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050090 </distributionManagement>
91
Pamela Dragosh0cd54352017-04-03 10:51:20 -040092 <reporting>
93 <plugins>
94 <plugin>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-javadoc-plugin</artifactId>
97 <version>2.10.4</version>
98 <configuration>
99 <failOnError>false</failOnError>
100 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
101 <docletArtifact>
102 <groupId>org.umlgraph</groupId>
103 <artifactId>umlgraph</artifactId>
104 <version>5.6</version>
105 </docletArtifact>
106 <additionalparam>-views</additionalparam>
107 <useStandardDocletOptions>true</useStandardDocletOptions>
108 </configuration>
109 </plugin>
110 </plugins>
111 </reporting>
112
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500113 <dependencies>
114
115 <dependency>
116 <groupId>javax.servlet</groupId>
117 <artifactId>javax.servlet-api</artifactId>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -0400118 <version>3.1.0</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500119 </dependency>
120 <dependency>
121 <!-- org.w3c.dom dependencies -->
122 <groupId>xml-apis</groupId>
123 <artifactId>xml-apis</artifactId>
124 <version>1.3.03</version>
125 </dependency>
126 </dependencies>
127
128 <build>
129 <plugins>
130 <plugin>
Pamela Dragosh6a657052017-02-17 15:41:18 -0500131 <groupId>org.sonatype.plugins</groupId>
132 <artifactId>nexus-staging-maven-plugin</artifactId>
133 <version>1.6.7</version>
134 <extensions>true</extensions>
135 <configuration>
136 <nexusUrl>${nexusproxy}</nexusUrl>
137 <stagingProfileId>176c31dfe190a</stagingProfileId>
138 <serverId>ecomp-staging</serverId>
139 </configuration>
140 </plugin>
141 <plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-deploy-plugin</artifactId>
144 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Pamela Dragosh6a657052017-02-17 15:41:18 -0500145 <configuration>
146 <skip />
147 </configuration>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500148 </plugin>
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-surefire-plugin</artifactId>
152 <version>2.19.1</version>
153 <configuration>
154 <skipTests>true</skipTests>
155 </configuration>
156 </plugin>
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-clean-plugin</artifactId>
160 <version>2.4.1</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500161 </plugin>
162 <!-- license plugin Run mvn clean before running from the command line
163 mvn license:update-file-header -->
164 <plugin>
165 <groupId>org.codehaus.mojo</groupId>
166 <artifactId>license-maven-plugin</artifactId>
167 <version>1.9</version>
168 <configuration>
169 <extraExtensions>
170 <!-- Used to add or change the header style <fileTypeYouAreMapping>
171 fileTypeMappedInto </fileTypeYouAreMapping> -->
172 <drl>java</drl>
173 <ccf>properties</ccf>
174
175 <!-- Because the typical sql comment type confuses the update algorithm -->
176 <sql>java</sql>
177 </extraExtensions>
178 <licenseName>apache_v2</licenseName>
179
180 <inceptionYear>2017</inceptionYear>
181 <organizationName>AT&amp;T Intellectual Property. All rights
182 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 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-compiler-plugin</artifactId>
211 <version>3.0</version>
212 <configuration>
213 <encoding>${project.encoding}</encoding>
214 <source>${project.source.version}</source>
215 <target>${project.target.version}</target>
216 </configuration>
217 </plugin>
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-resources-plugin</artifactId>
221 <version>2.6</version>
222 <configuration>
223 <encoding>${project.encoding}</encoding>
224 </configuration>
225 </plugin>
226 <plugin>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-war-plugin</artifactId>
229 <version>2.3</version>
230 <configuration>
231 <failOnMissingWebXml>false</failOnMissingWebXml>
232 </configuration>
233 </plugin>
234 <!-- The Jetty plugin allows us to easily test the development build by
235 running jetty:run on the command line. -->
236
237 <plugin>
238 <groupId>org.eclipse.jetty</groupId>
239 <artifactId>jetty-maven-plugin</artifactId>
240 <version>${jetty.plugin.version}</version>
241 <configuration>
242 <scanIntervalSeconds>2</scanIntervalSeconds>
243 </configuration>
244 </plugin>
245 <plugin>
246 <groupId>com.fortify.ps.maven.plugin</groupId>
247 <artifactId>sca-maven-plugin</artifactId>
248 <version>4.20</version>
249 </plugin>
250 <plugin>
251 <groupId>org.jacoco</groupId>
252 <artifactId>jacoco-maven-plugin</artifactId>
Pamela Dragosh393fe422017-02-23 07:13:31 -0500253 <version>0.7.5.201505241946</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500254 <configuration>
255 <dumpOnExit>true</dumpOnExit>
256 <includes>
257 <include>org.openecomp.*</include>
258 </includes>
259 </configuration>
260 <executions>
261 <execution>
262 <id>jacoco-initialize-unit-tests</id>
263 <goals>
264 <goal>prepare-agent</goal>
265 </goals>
266 <configuration>
267 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
268 </configuration>
269 </execution>
270 </executions>
271 </plugin>
Pamela Dragosh0cd54352017-04-03 10:51:20 -0400272 <plugin>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-site-plugin</artifactId>
275 <version>3.6</version>
276 <dependencies>
277 <dependency>
278 <groupId>org.apache.maven.wagon</groupId>
279 <artifactId>wagon-webdav-jackrabbit</artifactId>
280 <version>2.10</version>
281 </dependency>
282 </dependencies>
283 </plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500284 </plugins>
285 </build>
286</project>