forget to add the property for nexus proxy
[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-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                 <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.apache.maven.plugins</groupId>
111                                 <artifactId>maven-deploy-plugin</artifactId>
112                                 <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
113                         </plugin>
114                         <plugin>
115                                 <groupId>org.apache.maven.plugins</groupId>
116                                 <artifactId>maven-surefire-plugin</artifactId>
117                                 <version>2.19.1</version>
118                                 <configuration>
119                                         <skipTests>true</skipTests>
120                                 </configuration>
121                         </plugin>
122                         <plugin>
123                                 <groupId>org.apache.maven.plugins</groupId>
124                                 <artifactId>maven-clean-plugin</artifactId>
125                                 <version>2.4.1</version>
126                         </plugin>
127                         <!-- license plugin Run mvn clean before running from the command line 
128                                 mvn license:update-file-header -->
129                         <plugin>
130                                 <groupId>org.codehaus.mojo</groupId>
131                                 <artifactId>license-maven-plugin</artifactId>
132                                 <version>1.9</version>
133                                 <configuration>
134                                         <extraExtensions>
135                                                 <!-- Used to add or change the header style <fileTypeYouAreMapping> 
136                                                         fileTypeMappedInto </fileTypeYouAreMapping> -->
137                                                 <drl>java</drl>
138                                                 <ccf>properties</ccf>
139
140                                                 <!-- Because the typical sql comment type confuses the update algorithm -->
141                                                 <sql>java</sql>
142                                         </extraExtensions>
143                                         <licenseName>apache_v2</licenseName>
144
145                                         <inceptionYear>2017</inceptionYear>
146                                         <organizationName>AT&amp;T Intellectual Property. All rights
147                                                 reserved.</organizationName>
148
149                                         <!-- Once you have established the tags and delimiter, they cannot be 
150                                                 changed -->
151                                         <processStartTag>============LICENSE_START=======================================================</processStartTag>
152                                         <processEndTag>============LICENSE_END=========================================================</processEndTag>
153                                         <sectionDelimiter>================================================================================</sectionDelimiter>
154                                         <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
155                                         <canUpdateCopyright>true</canUpdateCopyright>
156                                         <canUpdateDescription>true</canUpdateDescription>
157                                         <canUpdateLicense>true</canUpdateLicense>
158                                         <emptyLineAfterHeader>true</emptyLineAfterHeader>
159                                         <roots>
160                                                 <!-- Default is src, target/generated-sources, target/processed-sources -->
161
162                                                 <!-- Everything except the files in the excludes section -->
163                                                 <root>/</root>
164                                         </roots>
165                                         <excludes>
166                                                 <!-- Files which are to be excluded. The pom.xml is excluded because 
167                                                         the start/end tags and the delimiters are in the body of the file. This confuses 
168                                                         the algorithm. So, this file must be manually updated with a license header. -->
169                                                 <exclude>pom.xml</exclude>
170                                         </excludes>
171                                 </configuration>
172                         </plugin>
173                         <plugin>
174                                 <groupId>org.apache.maven.plugins</groupId>
175                                 <artifactId>maven-compiler-plugin</artifactId>
176                                 <version>3.0</version>
177                                 <configuration>
178                                         <encoding>${project.encoding}</encoding>
179                                         <source>${project.source.version}</source>
180                                         <target>${project.target.version}</target>
181                                 </configuration>
182                         </plugin>
183                         <plugin>
184                                 <groupId>org.apache.maven.plugins</groupId>
185                                 <artifactId>maven-resources-plugin</artifactId>
186                                 <version>2.6</version>
187                                 <configuration>
188                                         <encoding>${project.encoding}</encoding>
189                                 </configuration>
190                         </plugin>
191                         <plugin>
192                                 <groupId>org.apache.maven.plugins</groupId>
193                                 <artifactId>maven-war-plugin</artifactId>
194                                 <version>2.3</version>
195                                 <configuration>
196                                         <failOnMissingWebXml>false</failOnMissingWebXml>
197                                 </configuration>
198                         </plugin>
199                         <!-- The Jetty plugin allows us to easily test the development build by 
200                                 running jetty:run on the command line. -->
201
202                         <plugin>
203                                 <groupId>org.eclipse.jetty</groupId>
204                                 <artifactId>jetty-maven-plugin</artifactId>
205                                 <version>${jetty.plugin.version}</version>
206                                 <configuration>
207                                         <scanIntervalSeconds>2</scanIntervalSeconds>
208                                 </configuration>
209                         </plugin>
210                         <plugin>
211                                 <groupId>com.fortify.ps.maven.plugin</groupId>
212                                 <artifactId>sca-maven-plugin</artifactId>
213                                 <version>4.20</version>
214                         </plugin>
215                         <plugin>
216                                 <groupId>org.jacoco</groupId>
217                                 <artifactId>jacoco-maven-plugin</artifactId>
218                                 <version>0.7.1.201405082137</version>
219                                 <configuration>
220                                         <dumpOnExit>true</dumpOnExit>
221                                         <includes>
222                                                 <include>org.openecomp.*</include>
223                                         </includes>
224                                 </configuration>
225                                 <executions>
226                                         <execution>
227                                                 <id>jacoco-initialize-unit-tests</id>
228                                                 <goals>
229                                                         <goal>prepare-agent</goal>
230                                                 </goals>
231                                                 <configuration>
232                                                         <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
233                                                 </configuration>
234                                         </execution>
235                                 </executions>
236                         </plugin>
237                 </plugins>
238         </build>
239 </project>