blob: ddf6c6413e4259c3120b78a121f0fc6fe6973fbf [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>
7 <version>1.0.0-SNAPSHOT</version>
8 <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>
33 <common-modules.version>[1.0.0-SNAPSHOT]</common-modules.version>
34 </properties>
35
36
37 <modules>
38 <module>ECOMP-XACML</module>
39 <module>ECOMP-REST</module>
40 <module>ECOMP-PDP</module>
41 <module>ECOMP-PDP-REST</module>
42 <module>ECOMP-PAP-REST</module>
43 <module>ECOMP-TEST</module>
44 <module>LogParser</module>
45 <module>PolicyEngineClient</module>
46 <module>PolicyEngineUtils</module>
47 <module>PolicyEngineAPI</module>
48 <module>PyPDPServer</module>
49 <module>BRMSGateway</module>
50 <module>ecomp-sdk-app</module>
51 <module>packages</module>
52 </modules>
53
54 <repositories>
55 <repository>
56 <id>central</id>
57 <name>Maven 2 repository</name>
58 <url>http://repo2.maven.org/maven2/</url>
59 </repository>
60 <repository>
61 <id>soapUI</id>
62 <url>http://www.soapui.org/repository/maven2/</url>
63 <name>SoapUI plugin</name>
64 </repository>
65 </repositories>
66
67 <dependencies>
68
69 <dependency>
70 <groupId>javax.servlet</groupId>
71 <artifactId>javax.servlet-api</artifactId>
72 <version>3.0.1</version>
73 <!-- <scope>provided</scope> -->
74 </dependency>
75 <dependency>
76 <!-- org.w3c.dom dependencies -->
77 <groupId>xml-apis</groupId>
78 <artifactId>xml-apis</artifactId>
79 <version>1.3.03</version>
80 </dependency>
81 </dependencies>
82
83 <build>
84 <plugins>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-deploy-plugin</artifactId>
88 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
89 </plugin>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-surefire-plugin</artifactId>
93 <version>2.19.1</version>
94 <configuration>
95 <skipTests>true</skipTests>
96 </configuration>
97 </plugin>
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-clean-plugin</artifactId>
101 <version>2.4.1</version>
102 <configuration>
103 <filesets>
104 <fileset>
105 <directory>${project.basedir}/SWM/pdp-package/swmstage/nix/dist_files/opt/app/policyengine/pdp/webapps/</directory>
106 <includes>
107 <include>**/*</include>
108 </includes>
109 <followSymlinks>false</followSymlinks>
110 </fileset>
111 <fileset>
112 <directory>${project.basedir}/SWM/pdp-package/swmstage/nix/dist_files/opt/app/policyengine/pdp/lib/</directory>
113 <includes>
114 <include>**/*</include>
115 </includes>
116 <followSymlinks>false</followSymlinks>
117 </fileset>
118 </filesets>
119 </configuration>
120 </plugin>
121 <!-- license plugin Run mvn clean before running from the command line
122 mvn license:update-file-header -->
123 <plugin>
124 <groupId>org.codehaus.mojo</groupId>
125 <artifactId>license-maven-plugin</artifactId>
126 <version>1.9</version>
127 <configuration>
128 <extraExtensions>
129 <!-- Used to add or change the header style <fileTypeYouAreMapping>
130 fileTypeMappedInto </fileTypeYouAreMapping> -->
131 <drl>java</drl>
132 <ccf>properties</ccf>
133
134 <!-- Because the typical sql comment type confuses the update algorithm -->
135 <sql>java</sql>
136 </extraExtensions>
137 <licenseName>apache_v2</licenseName>
138
139 <inceptionYear>2017</inceptionYear>
140 <organizationName>AT&amp;T Intellectual Property. All rights
141 reserved.</organizationName>
142
143 <!-- Once you have established the tags and delimiter, they cannot be
144 changed -->
145 <processStartTag>============LICENSE_START=======================================================</processStartTag>
146 <processEndTag>============LICENSE_END=========================================================</processEndTag>
147 <sectionDelimiter>================================================================================</sectionDelimiter>
148 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
149 <canUpdateCopyright>true</canUpdateCopyright>
150 <canUpdateDescription>true</canUpdateDescription>
151 <canUpdateLicense>true</canUpdateLicense>
152 <emptyLineAfterHeader>true</emptyLineAfterHeader>
153 <roots>
154 <!-- Default is src, target/generated-sources, target/processed-sources -->
155
156 <!-- Everything except the files in the excludes section -->
157 <root>/</root>
158 </roots>
159 <excludes>
160 <!-- Files which are to be excluded. The pom.xml is excluded because
161 the start/end tags and the delimiters are in the body of the file. This confuses
162 the algorithm. So, this file must be manually updated with a license header. -->
163 <exclude>pom.xml</exclude>
164 </excludes>
165 </configuration>
166 </plugin>
167 <plugin>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-compiler-plugin</artifactId>
170 <version>3.0</version>
171 <configuration>
172 <encoding>${project.encoding}</encoding>
173 <source>${project.source.version}</source>
174 <target>${project.target.version}</target>
175 </configuration>
176 </plugin>
177 <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-resources-plugin</artifactId>
180 <version>2.6</version>
181 <configuration>
182 <encoding>${project.encoding}</encoding>
183 </configuration>
184 </plugin>
185 <plugin>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-war-plugin</artifactId>
188 <version>2.3</version>
189 <configuration>
190 <failOnMissingWebXml>false</failOnMissingWebXml>
191 </configuration>
192 </plugin>
193 <!-- The Jetty plugin allows us to easily test the development build by
194 running jetty:run on the command line. -->
195
196 <plugin>
197 <groupId>org.eclipse.jetty</groupId>
198 <artifactId>jetty-maven-plugin</artifactId>
199 <version>${jetty.plugin.version}</version>
200 <configuration>
201 <scanIntervalSeconds>2</scanIntervalSeconds>
202 </configuration>
203 </plugin>
204 <plugin>
205 <groupId>com.fortify.ps.maven.plugin</groupId>
206 <artifactId>sca-maven-plugin</artifactId>
207 <version>4.20</version>
208 </plugin>
209 <plugin>
210 <groupId>org.jacoco</groupId>
211 <artifactId>jacoco-maven-plugin</artifactId>
212 <version>0.7.1.201405082137</version>
213 <configuration>
214 <dumpOnExit>true</dumpOnExit>
215 <includes>
216 <include>org.openecomp.*</include>
217 </includes>
218 </configuration>
219 <executions>
220 <execution>
221 <id>jacoco-initialize-unit-tests</id>
222 <goals>
223 <goal>prepare-agent</goal>
224 </goals>
225 <configuration>
226 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
227 </configuration>
228 </execution>
229 </executions>
230 </plugin>
231 </plugins>
232 </build>
233</project>