blob: 17faafcf8cb451e4065d1388940a4589783d6682 [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>
Ravindra Bakkamanthalad9007d62017-05-31 15:54:24 -040027
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>
48 <module>ONAP-ASDC</module>
49 <module>ONAP-ControlloopPolicy</module>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040050 <module>PolicyEngineAPI</module>
Guo Ruijing073cc182017-07-31 08:47:35 +000051 <module>ONAP-PDP</module>
52 <module>ONAP-PDP-REST</module>
53 <module>ONAP-PAP-REST</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050054 <module>LogParser</module>
55 <module>PolicyEngineClient</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050056 <module>BRMSGateway</module>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -040057 <module>POLICY-SDK-APP</module>
Guo Ruijing073cc182017-07-31 08:47:35 +000058 <module>ONAP-SDK-APP</module>
Pamela Dragoshc2938542017-02-20 16:30:10 -050059 <module>packages</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050060 </modules>
61
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050062 <distributionManagement>
63 <repository>
64 <id>ecomp-releases</id>
Guo Ruijing073cc182017-07-31 08:47:35 +000065 <name>ONAP 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 <snapshotRepository>
69 <id>ecomp-snapshots</id>
Guo Ruijing073cc182017-07-31 08:47:35 +000070 <name>ONAP Snapshot Repository</name>
Anaël Closson98fe6d82017-04-12 11:10:10 +020071 <url>${nexusproxy}/${snapshots.path}</url>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050072 </snapshotRepository>
Pamela Dragosh0cd54352017-04-03 10:51:20 -040073 <site>
74 <id>ecomp-site</id>
75 <url>dav:${nexusproxy}${sitePath}</url>
76 </site>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050077 </distributionManagement>
78
Pamela Dragosh0cd54352017-04-03 10:51:20 -040079 <reporting>
80 <plugins>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-javadoc-plugin</artifactId>
84 <version>2.10.4</version>
85 <configuration>
86 <failOnError>false</failOnError>
87 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
88 <docletArtifact>
89 <groupId>org.umlgraph</groupId>
90 <artifactId>umlgraph</artifactId>
91 <version>5.6</version>
92 </docletArtifact>
93 <additionalparam>-views</additionalparam>
94 <useStandardDocletOptions>true</useStandardDocletOptions>
95 </configuration>
96 </plugin>
97 </plugins>
98 </reporting>
99
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500100 <dependencies>
101
102 <dependency>
103 <groupId>javax.servlet</groupId>
104 <artifactId>javax.servlet-api</artifactId>
ITSERVICES\rb7147e0addf52017-04-25 11:46:00 -0400105 <version>3.1.0</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500106 </dependency>
107 <dependency>
108 <!-- org.w3c.dom dependencies -->
109 <groupId>xml-apis</groupId>
110 <artifactId>xml-apis</artifactId>
111 <version>1.3.03</version>
112 </dependency>
113 </dependencies>
114
115 <build>
116 <plugins>
117 <plugin>
Pamela Dragosh6a657052017-02-17 15:41:18 -0500118 <groupId>org.sonatype.plugins</groupId>
119 <artifactId>nexus-staging-maven-plugin</artifactId>
120 <version>1.6.7</version>
121 <extensions>true</extensions>
122 <configuration>
123 <nexusUrl>${nexusproxy}</nexusUrl>
124 <stagingProfileId>176c31dfe190a</stagingProfileId>
Pamela Dragosh5497a612017-07-31 21:30:18 -0400125 <serverId>ecomp-staging</serverId>
Pamela Dragosh6a657052017-02-17 15:41:18 -0500126 </configuration>
127 </plugin>
128 <plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-deploy-plugin</artifactId>
131 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Pamela Dragosh6a657052017-02-17 15:41:18 -0500132 <configuration>
133 <skip />
134 </configuration>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500135 </plugin>
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-surefire-plugin</artifactId>
139 <version>2.19.1</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500140 </plugin>
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-clean-plugin</artifactId>
144 <version>2.4.1</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500145 </plugin>
146 <!-- license plugin Run mvn clean before running from the command line
147 mvn license:update-file-header -->
148 <plugin>
149 <groupId>org.codehaus.mojo</groupId>
150 <artifactId>license-maven-plugin</artifactId>
151 <version>1.9</version>
152 <configuration>
153 <extraExtensions>
154 <!-- Used to add or change the header style <fileTypeYouAreMapping>
155 fileTypeMappedInto </fileTypeYouAreMapping> -->
156 <drl>java</drl>
157 <ccf>properties</ccf>
158
159 <!-- Because the typical sql comment type confuses the update algorithm -->
160 <sql>java</sql>
161 </extraExtensions>
162 <licenseName>apache_v2</licenseName>
163
164 <inceptionYear>2017</inceptionYear>
165 <organizationName>AT&amp;T Intellectual Property. All rights
166 reserved.</organizationName>
167
168 <!-- Once you have established the tags and delimiter, they cannot be
169 changed -->
170 <processStartTag>============LICENSE_START=======================================================</processStartTag>
171 <processEndTag>============LICENSE_END=========================================================</processEndTag>
172 <sectionDelimiter>================================================================================</sectionDelimiter>
173 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
174 <canUpdateCopyright>true</canUpdateCopyright>
175 <canUpdateDescription>true</canUpdateDescription>
176 <canUpdateLicense>true</canUpdateLicense>
177 <emptyLineAfterHeader>true</emptyLineAfterHeader>
178 <roots>
179 <!-- Default is src, target/generated-sources, target/processed-sources -->
180
181 <!-- Everything except the files in the excludes section -->
182 <root>/</root>
183 </roots>
184 <excludes>
185 <!-- Files which are to be excluded. The pom.xml is excluded because
186 the start/end tags and the delimiters are in the body of the file. This confuses
187 the algorithm. So, this file must be manually updated with a license header. -->
188 <exclude>pom.xml</exclude>
189 </excludes>
190 </configuration>
191 </plugin>
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-compiler-plugin</artifactId>
195 <version>3.0</version>
196 <configuration>
197 <encoding>${project.encoding}</encoding>
198 <source>${project.source.version}</source>
199 <target>${project.target.version}</target>
200 </configuration>
201 </plugin>
202 <plugin>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-resources-plugin</artifactId>
205 <version>2.6</version>
206 <configuration>
207 <encoding>${project.encoding}</encoding>
208 </configuration>
209 </plugin>
210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-war-plugin</artifactId>
213 <version>2.3</version>
214 <configuration>
215 <failOnMissingWebXml>false</failOnMissingWebXml>
216 </configuration>
217 </plugin>
218 <!-- The Jetty plugin allows us to easily test the development build by
219 running jetty:run on the command line. -->
220
221 <plugin>
222 <groupId>org.eclipse.jetty</groupId>
223 <artifactId>jetty-maven-plugin</artifactId>
224 <version>${jetty.plugin.version}</version>
225 <configuration>
226 <scanIntervalSeconds>2</scanIntervalSeconds>
227 </configuration>
228 </plugin>
229 <plugin>
230 <groupId>com.fortify.ps.maven.plugin</groupId>
231 <artifactId>sca-maven-plugin</artifactId>
232 <version>4.20</version>
233 </plugin>
234 <plugin>
235 <groupId>org.jacoco</groupId>
236 <artifactId>jacoco-maven-plugin</artifactId>
Ravindra Bakkamanthalad9007d62017-05-31 15:54:24 -0400237 <version>0.7.6.201602180812</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500238 <configuration>
239 <dumpOnExit>true</dumpOnExit>
240 <includes>
Guo Ruijing073cc182017-07-31 08:47:35 +0000241 <include>org.onap.*</include>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500242 </includes>
243 </configuration>
244 <executions>
245 <execution>
246 <id>jacoco-initialize-unit-tests</id>
247 <goals>
248 <goal>prepare-agent</goal>
249 </goals>
250 <configuration>
251 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
252 </configuration>
253 </execution>
254 </executions>
255 </plugin>
Pamela Dragosh0cd54352017-04-03 10:51:20 -0400256 <plugin>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-site-plugin</artifactId>
259 <version>3.6</version>
260 <dependencies>
261 <dependency>
262 <groupId>org.apache.maven.wagon</groupId>
263 <artifactId>wagon-webdav-jackrabbit</artifactId>
264 <version>2.10</version>
265 </dependency>
266 </dependencies>
267 </plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500268 </plugins>
269 </build>
270</project>