release-1.0.0 changes
[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.0.0</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</common-modules.version>
34                 <nexusproxy>https://nexus.openecomp.org</nexusproxy>
35         </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>
52                 <module>packages</module>
53         </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>
66                 <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>
76         </repositories>
77
78         <distributionManagement>
79                 <repository>
80                         <id>ecomp-releases</id>
81                         <name>OpenECOMP Release Repository</name>
82                         <url>${nexusproxy}/content/repositories/releases/</url>
83                 </repository>
84                 <snapshotRepository>
85                         <id>ecomp-snapshots</id>
86                         <name>OpenECOMP Snapshot Repository</name>
87                         <url>${nexusproxy}/content/repositories/snapshots/</url>
88                 </snapshotRepository>
89         </distributionManagement>
90
91         <dependencies>
92
93                 <dependency>
94                         <groupId>javax.servlet</groupId>
95                         <artifactId>javax.servlet-api</artifactId>
96                         <version>3.0.1</version>
97                         <!-- <scope>provided</scope> -->
98                 </dependency>
99                 <dependency>
100                         <!-- org.w3c.dom dependencies -->
101                         <groupId>xml-apis</groupId>
102                         <artifactId>xml-apis</artifactId>
103                         <version>1.3.03</version>
104                 </dependency>
105         </dependencies>
106
107         <build>
108                 <plugins>
109                         <plugin>
110                                 <groupId>org.sonatype.plugins</groupId>
111                                 <artifactId>nexus-staging-maven-plugin</artifactId>
112                                 <version>1.6.7</version>
113                                 <extensions>true</extensions>
114                                 <configuration>
115                                         <nexusUrl>${nexusproxy}</nexusUrl>
116                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
117                                         <serverId>ecomp-staging</serverId>
118                                 </configuration>
119                         </plugin>
120                         <plugin>
121                                 <groupId>org.apache.maven.plugins</groupId>
122                                 <artifactId>maven-deploy-plugin</artifactId>
123                                 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
124                                 <configuration>
125                                         <skip />
126                                 </configuration>
127                         </plugin>
128                         <plugin>
129                                 <groupId>org.apache.maven.plugins</groupId>
130                                 <artifactId>maven-surefire-plugin</artifactId>
131                                 <version>2.19.1</version>
132                                 <configuration>
133                                         <skipTests>true</skipTests>
134                                 </configuration>
135                         </plugin>
136                         <plugin>
137                                 <groupId>org.apache.maven.plugins</groupId>
138                                 <artifactId>maven-clean-plugin</artifactId>
139                                 <version>2.4.1</version>
140                         </plugin>
141                         <!-- license plugin Run mvn clean before running from the command line 
142                                 mvn license:update-file-header -->
143                         <plugin>
144                                 <groupId>org.codehaus.mojo</groupId>
145                                 <artifactId>license-maven-plugin</artifactId>
146                                 <version>1.9</version>
147                                 <configuration>
148                                         <extraExtensions>
149                                                 <!-- Used to add or change the header style <fileTypeYouAreMapping> 
150                                                         fileTypeMappedInto </fileTypeYouAreMapping> -->
151                                                 <drl>java</drl>
152                                                 <ccf>properties</ccf>
153
154                                                 <!-- Because the typical sql comment type confuses the update algorithm -->
155                                                 <sql>java</sql>
156                                         </extraExtensions>
157                                         <licenseName>apache_v2</licenseName>
158
159                                         <inceptionYear>2017</inceptionYear>
160                                         <organizationName>AT&amp;T Intellectual Property. All rights
161                                                 reserved.</organizationName>
162
163                                         <!-- Once you have established the tags and delimiter, they cannot be 
164                                                 changed -->
165                                         <processStartTag>============LICENSE_START=======================================================</processStartTag>
166                                         <processEndTag>============LICENSE_END=========================================================</processEndTag>
167                                         <sectionDelimiter>================================================================================</sectionDelimiter>
168                                         <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
169                                         <canUpdateCopyright>true</canUpdateCopyright>
170                                         <canUpdateDescription>true</canUpdateDescription>
171                                         <canUpdateLicense>true</canUpdateLicense>
172                                         <emptyLineAfterHeader>true</emptyLineAfterHeader>
173                                         <roots>
174                                                 <!-- Default is src, target/generated-sources, target/processed-sources -->
175
176                                                 <!-- Everything except the files in the excludes section -->
177                                                 <root>/</root>
178                                         </roots>
179                                         <excludes>
180                                                 <!-- Files which are to be excluded. The pom.xml is excluded because 
181                                                         the start/end tags and the delimiters are in the body of the file. This confuses 
182                                                         the algorithm. So, this file must be manually updated with a license header. -->
183                                                 <exclude>pom.xml</exclude>
184                                         </excludes>
185                                 </configuration>
186                         </plugin>
187                         <plugin>
188                                 <groupId>org.apache.maven.plugins</groupId>
189                                 <artifactId>maven-compiler-plugin</artifactId>
190                                 <version>3.0</version>
191                                 <configuration>
192                                         <encoding>${project.encoding}</encoding>
193                                         <source>${project.source.version}</source>
194                                         <target>${project.target.version}</target>
195                                 </configuration>
196                         </plugin>
197                         <plugin>
198                                 <groupId>org.apache.maven.plugins</groupId>
199                                 <artifactId>maven-resources-plugin</artifactId>
200                                 <version>2.6</version>
201                                 <configuration>
202                                         <encoding>${project.encoding}</encoding>
203                                 </configuration>
204                         </plugin>
205                         <plugin>
206                                 <groupId>org.apache.maven.plugins</groupId>
207                                 <artifactId>maven-war-plugin</artifactId>
208                                 <version>2.3</version>
209                                 <configuration>
210                                         <failOnMissingWebXml>false</failOnMissingWebXml>
211                                 </configuration>
212                         </plugin>
213                         <!-- The Jetty plugin allows us to easily test the development build by 
214                                 running jetty:run on the command line. -->
215
216                         <plugin>
217                                 <groupId>org.eclipse.jetty</groupId>
218                                 <artifactId>jetty-maven-plugin</artifactId>
219                                 <version>${jetty.plugin.version}</version>
220                                 <configuration>
221                                         <scanIntervalSeconds>2</scanIntervalSeconds>
222                                 </configuration>
223                         </plugin>
224                         <plugin>
225                                 <groupId>com.fortify.ps.maven.plugin</groupId>
226                                 <artifactId>sca-maven-plugin</artifactId>
227                                 <version>4.20</version>
228                         </plugin>
229                         <plugin>
230                                 <groupId>org.jacoco</groupId>
231                                 <artifactId>jacoco-maven-plugin</artifactId>
232                                 <version>0.7.5.201505241946</version>
233                                 <configuration>
234                                         <dumpOnExit>true</dumpOnExit>
235                                         <includes>
236                                                 <include>org.openecomp.*</include>
237                                         </includes>
238                                 </configuration>
239                                 <executions>
240                                         <execution>
241                                                 <id>jacoco-initialize-unit-tests</id>
242                                                 <goals>
243                                                         <goal>prepare-agent</goal>
244                                                 </goals>
245                                                 <configuration>
246                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
247                                                 </configuration>
248                                         </execution>
249                                 </executions>
250                         </plugin>
251                 </plugins>
252         </build>
253 </project>