blob: 34d94b83c6ecb2aa6f092fe43370bf3a156beccd [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
Guo Ruijinge9382842017-08-03 11:44:10 +00005 <parent>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
8 <version>1.0.0-SNAPSHOT</version>
9 <relativePath/>
10 </parent>
11
Guo Ruijing073cc182017-07-31 08:47:35 +000012 <groupId>org.onap.policy.engine</groupId>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050013 <artifactId>PolicyEngineSuite</artifactId>
Pamela Dragosh3234eb02017-03-10 14:54:53 -050014 <version>1.1.0-SNAPSHOT</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050015 <packaging>pom</packaging>
Pamela Dragosh5444e742017-04-28 10:51:41 -040016 <name>Policy Engine - Policy Engine Suite</name>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050017
Guo Ruijing073cc182017-07-31 08:47:35 +000018 <description>The ONAP Policy Engine main pom</description>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050019
20 <properties>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050021 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22
Pamela Dragosh91d04c62017-02-14 19:41:00 -050023 <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
24 <project.source.version>1.8</project.source.version>
25 <project.target.version>1.8</project.target.version>
26 <project.encoding>UTF-8</project.encoding>
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -070027
Pamela Dragosh91d04c62017-02-14 19:41:00 -050028 <sonar.language>java</sonar.language>
29 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
30 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
31 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
32 <sonar.jacoco.itReportPath>/opt/app/policy/it-results/jacoco-it.exec</sonar.jacoco.itReportPath>
33 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
34 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Pamela Dragosh3234eb02017-03-10 14:54:53 -050035 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
Pamela Dragoshae8d7752017-03-30 09:35:18 -040036 <nexusproxy>https://nexus.onap.org</nexusproxy>
Pamela Dragoshe1dcfc52017-04-06 11:06:34 -040037 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
Anaël Closson98fe6d82017-04-12 11:10:10 +020038 <releases.path>content/repositories/releases/</releases.path>
39 <snapshots.path>content/repositories/snapshots/</snapshots.path>
40 <staging.path>content/repositories/staging/</staging.path>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050041 </properties>
42
43
44 <modules>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040045 <module>PolicyEngineUtils</module>
Guo Ruijing073cc182017-07-31 08:47:35 +000046 <module>ONAP-XACML</module>
47 <module>ONAP-REST</module>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040048 <module>PolicyEngineAPI</module>
Guo Ruijing073cc182017-07-31 08:47:35 +000049 <module>ONAP-PDP</module>
50 <module>ONAP-PDP-REST</module>
51 <module>ONAP-PAP-REST</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050052 <module>LogParser</module>
53 <module>PolicyEngineClient</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050054 <module>BRMSGateway</module>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040055 <module>POLICY-SDK-APP</module>
Guo Ruijing073cc182017-07-31 08:47:35 +000056 <module>ONAP-SDK-APP</module>
Pamela Dragoshc2938542017-02-20 16:30:10 -050057 <module>packages</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050058 </modules>
59
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050060 <distributionManagement>
61 <repository>
62 <id>ecomp-releases</id>
Guo Ruijing073cc182017-07-31 08:47:35 +000063 <name>ONAP Release Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020064 <url>${nexusproxy}/${releases.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050065 </repository>
66 <snapshotRepository>
67 <id>ecomp-snapshots</id>
Guo Ruijing073cc182017-07-31 08:47:35 +000068 <name>ONAP Snapshot Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020069 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050070 </snapshotRepository>
Pamela Dragosh0cd54352017-04-03 10:51:20 -040071 <site>
72 <id>ecomp-site</id>
73 <url>dav:${nexusproxy}${sitePath}</url>
74 </site>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050075 </distributionManagement>
76
Pamela Dragosh0cd54352017-04-03 10:51:20 -040077 <reporting>
78 <plugins>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-javadoc-plugin</artifactId>
82 <version>2.10.4</version>
83 <configuration>
84 <failOnError>false</failOnError>
85 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
86 <docletArtifact>
87 <groupId>org.umlgraph</groupId>
88 <artifactId>umlgraph</artifactId>
89 <version>5.6</version>
90 </docletArtifact>
91 <additionalparam>-views</additionalparam>
92 <useStandardDocletOptions>true</useStandardDocletOptions>
93 </configuration>
94 </plugin>
95 </plugins>
96 </reporting>
97
Pamela Dragosh91d04c62017-02-14 19:41:00 -050098 <dependencies>
99
100 <dependency>
101 <groupId>javax.servlet</groupId>
102 <artifactId>javax.servlet-api</artifactId>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -0400103 <version>3.1.0</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500104 </dependency>
105 <dependency>
106 <!-- org.w3c.dom dependencies -->
107 <groupId>xml-apis</groupId>
108 <artifactId>xml-apis</artifactId>
109 <version>1.3.03</version>
110 </dependency>
111 </dependencies>
112
113 <build>
114 <plugins>
115 <plugin>
Pamela Dragosh6a657052017-02-17 15:41:18 -0500116 <groupId>org.sonatype.plugins</groupId>
117 <artifactId>nexus-staging-maven-plugin</artifactId>
118 <version>1.6.7</version>
119 <extensions>true</extensions>
120 <configuration>
121 <nexusUrl>${nexusproxy}</nexusUrl>
122 <stagingProfileId>176c31dfe190a</stagingProfileId>
Pamela Dragosh5497a612017-07-31 21:30:18 -0400123 <serverId>ecomp-staging</serverId>
Pamela Dragosh6a657052017-02-17 15:41:18 -0500124 </configuration>
125 </plugin>
126 <plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-deploy-plugin</artifactId>
129 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Pamela Dragosh6a657052017-02-17 15:41:18 -0500130 <configuration>
131 <skip />
132 </configuration>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500133 </plugin>
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-surefire-plugin</artifactId>
137 <version>2.19.1</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500138 </plugin>
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-clean-plugin</artifactId>
142 <version>2.4.1</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500143 </plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-compiler-plugin</artifactId>
147 <version>3.0</version>
148 <configuration>
149 <encoding>${project.encoding}</encoding>
150 <source>${project.source.version}</source>
151 <target>${project.target.version}</target>
152 </configuration>
153 </plugin>
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-resources-plugin</artifactId>
157 <version>2.6</version>
158 <configuration>
159 <encoding>${project.encoding}</encoding>
160 </configuration>
161 </plugin>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-war-plugin</artifactId>
165 <version>2.3</version>
166 <configuration>
167 <failOnMissingWebXml>false</failOnMissingWebXml>
168 </configuration>
169 </plugin>
ITSERVICES\cr056n29596e42017-08-14 09:46:27 -0700170 <!-- The Jetty plugin allows us to easily test the development build by
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500171 running jetty:run on the command line. -->
172
173 <plugin>
174 <groupId>org.eclipse.jetty</groupId>
175 <artifactId>jetty-maven-plugin</artifactId>
176 <version>${jetty.plugin.version}</version>
177 <configuration>
178 <scanIntervalSeconds>2</scanIntervalSeconds>
179 </configuration>
180 </plugin>
181 <plugin>
182 <groupId>com.fortify.ps.maven.plugin</groupId>
183 <artifactId>sca-maven-plugin</artifactId>
184 <version>4.20</version>
185 </plugin>
186 <plugin>
187 <groupId>org.jacoco</groupId>
188 <artifactId>jacoco-maven-plugin</artifactId>
Ravindra Bakkamanthalad9007d62017-05-31 15:54:24 -0400189 <version>0.7.6.201602180812</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500190 <configuration>
191 <dumpOnExit>true</dumpOnExit>
192 <includes>
Guo Ruijing073cc182017-07-31 08:47:35 +0000193 <include>org.onap.*</include>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500194 </includes>
195 </configuration>
196 <executions>
197 <execution>
198 <id>jacoco-initialize-unit-tests</id>
199 <goals>
200 <goal>prepare-agent</goal>
201 </goals>
202 <configuration>
203 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
204 </configuration>
205 </execution>
206 </executions>
207 </plugin>
Pamela Dragosh0cd54352017-04-03 10:51:20 -0400208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-site-plugin</artifactId>
211 <version>3.6</version>
212 <dependencies>
213 <dependency>
214 <groupId>org.apache.maven.wagon</groupId>
215 <artifactId>wagon-webdav-jackrabbit</artifactId>
216 <version>2.10</version>
217 </dependency>
218 </dependencies>
219 </plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500220 </plugins>
Pamela Dragosh40aef4f2017-08-14 13:53:06 -0400221 <pluginManagement>
222 <plugins>
223 <plugin>
224 <groupId>org.eclipse.m2e</groupId>
225 <artifactId>lifecycle-mapping</artifactId>
226 <version>1.0.0</version>
227 <configuration>
228 <lifecycleMappingMetadata>
229 <pluginExecutions>
230 <pluginExecution>
231 <pluginExecutionFilter>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-checkstyle-plugin</artifactId>
234 <versionRange>2.17,)</versionRange>
235 <goals>
236 <goal>check</goal>
237 </goals>
238 </pluginExecutionFilter>
239 <action>
240 <ignore />
241 </action>
242 </pluginExecution>
243 </pluginExecutions>
244 </lifecycleMappingMetadata>
245 </configuration>
246 </plugin>
247 </plugins>
248 </pluginManagement>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500249 </build>
250</project>