Commit includes ControlLoopPolicy API and bugfixes
[policy/engine.git] / pom.xml
1 <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>
7         <version>1.1.0-SNAPSHOT</version>
8         <packaging>pom</packaging>
9         <name>Policy Engine - Policy Engine Suite</name>
10
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
19                 <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>
23
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>
31                 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
32                 <nexusproxy>https://nexus.onap.org</nexusproxy>
33                 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
34                 <releases.path>content/repositories/releases/</releases.path>
35                 <snapshots.path>content/repositories/snapshots/</snapshots.path>
36                 <staging.path>content/repositories/staging/</staging.path>
37         </properties>
38
39
40         <modules>
41                 <module>PolicyEngineUtils</module>
42                 <module>ECOMP-XACML</module>
43                 <module>ECOMP-REST</module>
44                 <module>ECOMP-ASDC</module>
45                 <module>ECOMP-ControlloopPolicy</module>
46                 <module>PolicyEngineAPI</module>
47                 <module>ECOMP-PDP</module>
48                 <module>ECOMP-PDP-REST</module>
49                 <module>ECOMP-PAP-REST</module>
50                 <module>LogParser</module>
51                 <module>PolicyEngineClient</module>
52                 <module>BRMSGateway</module>
53                 <module>POLICY-SDK-APP</module>
54                 <module>ECOMP-SDK-APP</module>
55                 <module>packages</module>
56         </modules>
57
58         <repositories>
59                 <repository>
60                         <id>ecomp-snapshots</id>
61                         <name>OpenECOMP Snapshot Repository</name>
62                         <url>${nexusproxy}/${snapshots.path}</url>
63                 </repository>
64                 <repository>
65                         <id>ecomp-releases</id>
66                         <name>OpenECOMP Release Repository</name>
67                         <url>${nexusproxy}/${releases.path}/</url>
68                 </repository>
69                 <repository>
70                         <id>ecomp-staging</id>
71                         <name>OpenECOMP Staging Repository</name>
72                         <url>${nexusproxy}/${staging.path}</url>
73                 </repository>
74         </repositories>
75
76         <distributionManagement>
77                 <repository>
78                         <id>ecomp-releases</id>
79                         <name>OpenECOMP Release Repository</name>
80                         <url>${nexusproxy}/${releases.path}</url>
81                 </repository>
82                 <snapshotRepository>
83                         <id>ecomp-snapshots</id>
84                         <name>OpenECOMP Snapshot Repository</name>
85                         <url>${nexusproxy}/${snapshots.path}</url>
86                 </snapshotRepository>
87                 <site>
88                         <id>ecomp-site</id>
89                         <url>dav:${nexusproxy}${sitePath}</url>
90                 </site>
91         </distributionManagement>
92
93         <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
114         <dependencies>
115
116                 <dependency>
117                         <groupId>javax.servlet</groupId>
118                         <artifactId>javax.servlet-api</artifactId>
119                         <version>3.1.0</version>
120                 </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>
132                                 <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>
143                                 <groupId>org.apache.maven.plugins</groupId>
144                                 <artifactId>maven-deploy-plugin</artifactId>
145                                 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
146                                 <configuration>
147                                         <skip />
148                                 </configuration>
149                         </plugin>
150                         <plugin>
151                                 <groupId>org.apache.maven.plugins</groupId>
152                                 <artifactId>maven-surefire-plugin</artifactId>
153                                 <version>2.19.1</version>
154                         </plugin>
155                         <plugin>
156                                 <groupId>org.apache.maven.plugins</groupId>
157                                 <artifactId>maven-clean-plugin</artifactId>
158                                 <version>2.4.1</version>
159                         </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>
251                                 <version>0.7.5.201505241946</version>
252                                 <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>
270                         <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>
282                 </plugins>
283         </build>
284 </project>