blob: 1f04c0435dc5c02e1fd902905b3700fd94031ba1 [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>
9 <name>ECOMP Policy Engine</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 <!-- from vaadin-test -->
20 <jetty.plugin.version>9.2.3.v20140905</jetty.plugin.version>
21 <project.source.version>1.8</project.source.version>
22 <project.target.version>1.8</project.target.version>
23 <project.encoding>UTF-8</project.encoding>
24 <!-- end -->
25
26 <sonar.language>java</sonar.language>
27 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
28 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
29 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
30 <sonar.jacoco.itReportPath>/opt/app/policy/it-results/jacoco-it.exec</sonar.jacoco.itReportPath>
31 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
32 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Pamela Dragosh3234eb02017-03-10 14:54:53 -050033 <common-modules.version>1.1.0-SNAPSHOT</common-modules.version>
Pamela Dragoshae8d7752017-03-30 09:35:18 -040034 <nexusproxy>https://nexus.onap.org</nexusproxy>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050035 </properties>
36
37
38 <modules>
39 <module>ECOMP-XACML</module>
40 <module>ECOMP-REST</module>
41 <module>ECOMP-PDP</module>
42 <module>ECOMP-PDP-REST</module>
43 <module>ECOMP-PAP-REST</module>
44 <module>ECOMP-TEST</module>
45 <module>LogParser</module>
46 <module>PolicyEngineClient</module>
47 <module>PolicyEngineUtils</module>
48 <module>PolicyEngineAPI</module>
49 <module>PyPDPServer</module>
50 <module>BRMSGateway</module>
51 <module>ecomp-sdk-app</module>
Pamela Dragoshc2938542017-02-20 16:30:10 -050052 <module>packages</module>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050053 </modules>
54
55 <repositories>
56 <repository>
57 <id>central</id>
58 <name>Maven 2 repository</name>
59 <url>http://repo2.maven.org/maven2/</url>
60 </repository>
61 <repository>
62 <id>soapUI</id>
63 <url>http://www.soapui.org/repository/maven2/</url>
64 <name>SoapUI plugin</name>
65 </repository>
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050066 <repository>
67 <id>ecomp-releases</id>
68 <name>OpenECOMP Release Repository</name>
69 <url>${nexusproxy}/content/repositories/releases/</url>
70 </repository>
71 <repository>
72 <id>ecomp-staging</id>
73 <name>OpenECOMP Staging Repository</name>
74 <url>${nexusproxy}/content/repositories/staging/</url>
75 </repository>
Pamela Dragosh3234eb02017-03-10 14:54:53 -050076 <repository>
77 <id>ecomp-snapshots</id>
78 <name>OpenECOMP Snapshot Repository</name>
79 <url>${nexusproxy}/content/repositories/snapshots/</url>
80 </repository>
Pamela Dragosh91d04c62017-02-14 19:41:00 -050081 </repositories>
82
Pamela Dragosh2a66a1b2017-02-15 15:33:14 -050083 <distributionManagement>
84 <repository>
85 <id>ecomp-releases</id>
86 <name>OpenECOMP Release Repository</name>
87 <url>${nexusproxy}/content/repositories/releases/</url>
88 </repository>
89 <snapshotRepository>
90 <id>ecomp-snapshots</id>
91 <name>OpenECOMP Snapshot Repository</name>
92 <url>${nexusproxy}/content/repositories/snapshots/</url>
93 </snapshotRepository>
94 </distributionManagement>
95
Pamela Dragosh91d04c62017-02-14 19:41:00 -050096 <dependencies>
97
98 <dependency>
99 <groupId>javax.servlet</groupId>
100 <artifactId>javax.servlet-api</artifactId>
101 <version>3.0.1</version>
102 <!-- <scope>provided</scope> -->
103 </dependency>
104 <dependency>
105 <!-- org.w3c.dom dependencies -->
106 <groupId>xml-apis</groupId>
107 <artifactId>xml-apis</artifactId>
108 <version>1.3.03</version>
109 </dependency>
110 </dependencies>
111
112 <build>
113 <plugins>
114 <plugin>
Pamela Dragosh6a657052017-02-17 15:41:18 -0500115 <groupId>org.sonatype.plugins</groupId>
116 <artifactId>nexus-staging-maven-plugin</artifactId>
117 <version>1.6.7</version>
118 <extensions>true</extensions>
119 <configuration>
120 <nexusUrl>${nexusproxy}</nexusUrl>
121 <stagingProfileId>176c31dfe190a</stagingProfileId>
122 <serverId>ecomp-staging</serverId>
123 </configuration>
124 </plugin>
125 <plugin>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-deploy-plugin</artifactId>
128 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
Pamela Dragosh6a657052017-02-17 15:41:18 -0500129 <configuration>
130 <skip />
131 </configuration>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500132 </plugin>
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-surefire-plugin</artifactId>
136 <version>2.19.1</version>
137 <configuration>
138 <skipTests>true</skipTests>
139 </configuration>
140 </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>
Pamela Dragosh393fe422017-02-23 07:13:31 -0500237 <version>0.7.5.201505241946</version>
Pamela Dragosh91d04c62017-02-14 19:41:00 -0500238 <configuration>
239 <dumpOnExit>true</dumpOnExit>
240 <includes>
241 <include>org.openecomp.*</include>
242 </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>
256 </plugins>
257 </build>
258</project>