Disable SecurityFilter
[sdc.git] / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 SDC
4 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10         *
11      http://www.apache.org/licenses/LICENSE-2.0
12         *
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 Modifications copyright (c) 2018-2019 Nokia
20 ================================================================================
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25   <modelVersion>4.0.0</modelVersion>
26
27   <groupId>org.openecomp.sdc</groupId>
28   <artifactId>sdc-main</artifactId>
29   <version>1.7.0-SNAPSHOT</version>
30   <packaging>pom</packaging>
31   <name>sdc</name>
32
33   <parent>
34     <groupId>org.onap.oparent</groupId>
35     <artifactId>oparent</artifactId>
36     <version>2.0.0</version>
37     <relativePath/>
38   </parent>
39
40   <properties>
41     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42
43     <tosca.datatype.version>${project.version}</tosca.datatype.version>
44
45     <!-- 3rd parties versions -->
46     <bean-matcher.version>0.11</bean-matcher.version>
47     <lang3.version>3.3.2</lang3.version>
48     <guava.version>18.0</guava.version>
49     <janusgraph.version>0.3.1</janusgraph.version>
50     <spring.version>4.3.18.RELEASE</spring.version>
51     <spring.security.version>3.2.3.RELEASE</spring.security.version>
52     <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
53     <jersey-bom.version>2.27</jersey-bom.version>
54     <netty.version>4.1.36.Final</netty.version>
55     <servlet-api.version>3.1.0</servlet-api.version>
56     <wire-mock.version>2.18.0</wire-mock.version>
57     <ecomp.version>2.6.0</ecomp.version>
58     <cassandra.unit.version>3.5.0.1</cassandra.unit.version>
59     <cadi.version>2.1.8</cadi.version>
60     <lombok.version>1.18.2</lombok.version>
61     <commons-beanutils>1.9.3</commons-beanutils>
62     <commons-configuration>2.3</commons-configuration>
63     <apache-poi.version>4.1.0</apache-poi.version>
64     <onap.logging.version>1.6.1</onap.logging.version>
65
66     <commons.collections.version>4.1</commons.collections.version>
67     <ws.rs.version>2.0.1</ws.rs.version>
68
69     <!-- Elastic Search mapper (reference the elastic search version actually). -->
70     <elastic-search.version>2.4.0</elastic-search.version>
71     <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
72     <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
73     <jetty.version>9.4.18.v20190429</jetty.version>
74
75     <!-- JSON and YAML Parsing -->
76     <jackson.version>2.9.9</jackson.version>
77     <jackson-annotations.version>2.9.9</jackson-annotations.version>
78     <jackson.mapper.version>1.9.13</jackson.mapper.version>
79     <clearspring.version>2.1.1</clearspring.version>
80
81     <!-- Yaml for properties -->
82     <snakeyaml.version>1.14</snakeyaml.version>
83     <functionaljava.version>4.7</functionaljava.version>
84     <httpclient.version>4.5.3</httpclient.version>
85     <httpcore.version>4.4.1</httpcore.version>
86     <json-simple.version>1.1</json-simple.version>
87
88     <!-- Logging start -->
89     <!-- logback -->
90     <logback.version>1.2.3</logback.version>
91     <slf4j-api.version>1.7.25</slf4j-api.version>
92     <commons-codec>1.10</commons-codec>
93     <commons-logging>1.2</commons-logging>
94     <janino.version>3.0.6</janino.version>
95
96     <!-- aspects -->
97     <jcabi.version>0.20.1</jcabi.version>
98     <aspectjrt.version>1.8.4</aspectjrt.version>
99     <aspectj.version>1.7.4</aspectj.version>
100     <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
101
102     <!-- Logging end -->
103     <!-- System Metrics -->
104     <sigar.version>1.6.4</sigar.version>
105
106     <regex.version>3.0.3</regex.version>
107
108     <!--GSON-->
109     <gson.version>2.3.1</gson.version>
110
111     <!--listen to file changes-->
112     <commons-jci-core.version>1.1</commons-jci-core.version>
113
114     <!--TESTING-->
115     <mockito.version>2.18.3</mockito.version>
116     <jmockit.version>1.33</jmockit.version>
117     <junit.version>4.12</junit.version>
118     <assertj.version>3.10.0</assertj.version>
119     <testng.version>6.14.3</testng.version>
120     <extentreports.version>3.0.3</extentreports.version>
121     <cucumber.version>2.4.0</cucumber.version>
122     <bean-matchers.version>0.11</bean-matchers.version>
123     <hamcrest.version>2.1</hamcrest.version>
124     <hamcrest-all.version>1.3</hamcrest-all.version>
125     <junit-jupiter.version>5.4.0</junit-jupiter.version>
126     <junit-vintage.version>5.4.0</junit-vintage.version>
127     <junit-platform.version>1.1.0</junit-platform.version>
128     <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
129     <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
130
131     <!-- parser-->
132     <sdc-tosca-parser.version>1.6.5</sdc-tosca-parser.version>
133
134     <!-- sonar -->
135         <sonar.coverage.jacoco.xmlReportPaths>
136                 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
137         </sonar.coverage.jacoco.xmlReportPaths>
138     <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
139     <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
140     <sonar.branch>${project.version}</sonar.branch>
141
142     <!--cassandra -->
143     <cassandra.driver.version>3.6.0</cassandra.driver.version>
144     <libthrift.version>0.12.0</libthrift.version>
145     <!-- maven central (Nexus) -->
146     <nexus.id.release>nexus</nexus.id.release>
147     <nexus.id.snapshot>nexus</nexus.id.snapshot>
148
149     <!--nexus-->
150     <npm.registry>https://nexus3.onap.org/repository/npm.public/</npm.registry>
151     <nexus.proxy>https://nexus.onap.org</nexus.proxy>
152     <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
153     <staging.profile.id>176c31dfe190a</staging.profile.id>
154     <!--maven-->
155     <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
156     <!--docker tags-->
157     <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
158     <!--togglz version-->
159     <togglz.version>2.4.1.Final</togglz.version>
160
161     <joda.time.version>2.9.9</joda.time.version>
162
163     <!--sdc-security-utils-->
164     <security.util.lib.version>1.6.0</security.util.lib.version>
165     <!--jacoco-->
166     <jacoco.version>0.8.1</jacoco.version>
167
168   </properties>
169
170
171   <dependencyManagement>
172     <dependencies>
173       <dependency>
174         <groupId>com.google.guava</groupId>
175         <artifactId>guava</artifactId>
176         <version>${guava.version}</version>
177       </dependency>
178
179       <dependency>
180         <groupId>org.glassfish.jersey.ext</groupId>
181         <artifactId>jersey-bean-validation</artifactId>
182         <version>${jersey-bom.version}</version>
183       </dependency>
184
185       <dependency>
186         <groupId>org.glassfish.hk2.external</groupId>
187         <artifactId>asm-all-repackaged</artifactId>
188         <version>2.4.0</version>
189       </dependency>
190
191       <dependency>
192         <groupId>org.assertj</groupId>
193         <artifactId>assertj-core</artifactId>
194         <version>${assertj.version}</version>
195       </dependency>
196
197       <dependency>
198         <groupId>org.mockito</groupId>
199         <artifactId>mockito-core</artifactId>
200         <version>${mockito.version}</version>
201       </dependency>
202
203       <dependency>
204         <groupId>org.jmockit</groupId>
205         <artifactId>jmockit</artifactId>
206         <version>${jmockit.version}</version>
207       </dependency>
208
209
210       <dependency>
211         <groupId>com.github.tomakehurst</groupId>
212         <artifactId>wiremock-standalone</artifactId>
213         <version>${wire-mock.version}</version>
214       </dependency>
215
216       <dependency>
217         <groupId>io.cucumber</groupId>
218         <artifactId>cucumber-java</artifactId>
219         <version>${cucumber.version}</version>
220       </dependency>
221
222       <dependency>
223         <groupId>io.cucumber</groupId>
224         <artifactId>cucumber-junit</artifactId>
225         <version>${cucumber.version}</version>
226       </dependency>
227
228       <dependency>
229         <groupId>org.apache.commons</groupId>
230         <artifactId>commons-lang3</artifactId>
231         <version>${lang3.version}</version>
232       </dependency>
233       <dependency>
234         <groupId>org.codehaus.groovy</groupId>
235         <artifactId>groovy</artifactId>
236         <version>2.4.13</version>
237       </dependency>
238       <dependency>
239         <groupId>io.netty</groupId>
240         <artifactId>netty-all</artifactId>
241         <version>${netty.version}</version>
242       </dependency>
243       <dependency>
244         <groupId>io.netty</groupId>
245         <artifactId>netty-handler</artifactId>
246         <version>${netty.version}</version>
247       </dependency>
248       <dependency>
249         <groupId>org.junit.platform</groupId>
250         <artifactId>junit-platform-launcher</artifactId>
251         <version>${junit-platform.version}</version>
252       </dependency>
253       <dependency>
254         <groupId>org.junit.jupiter</groupId>
255         <artifactId>junit-jupiter-engine</artifactId>
256         <version>${junit-jupiter.version}</version>
257       </dependency>
258       <dependency>
259         <groupId>org.junit.vintage</groupId>
260         <artifactId>junit-vintage-engine</artifactId>
261         <version>${junit-vintage.version}</version>
262       </dependency>
263     </dependencies>
264   </dependencyManagement>
265
266   <dependencies>
267     <dependency>
268       <!-- must be on the classpath -->
269       <groupId>org.jacoco</groupId>
270       <artifactId>org.jacoco.agent</artifactId>
271       <classifier>runtime</classifier>
272       <version>${jacoco.version}</version>
273       <scope>test</scope>
274     </dependency>
275   </dependencies>
276
277   <reporting>
278     <plugins>
279       <plugin>
280         <groupId>org.apache.maven.plugins</groupId>
281         <artifactId>maven-javadoc-plugin</artifactId>
282         <version>3.0.1</version>
283         <configuration>
284           <failOnError>false</failOnError>
285           <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
286           <docletArtifact>
287             <groupId>org.umlgraph</groupId>
288             <artifactId>umlgraph</artifactId>
289             <version>5.6</version>
290           </docletArtifact>
291           <useStandardDocletOptions>true</useStandardDocletOptions>
292         </configuration>
293       </plugin>
294     </plugins>
295   </reporting>
296
297   <build>
298     <pluginManagement>
299       <plugins>
300         <plugin>
301           <groupId>org.jacoco</groupId>
302           <artifactId>jacoco-maven-plugin</artifactId>
303           <version>0.8.1</version>
304         </plugin>
305         <plugin>
306           <groupId>org.apache.maven.plugins</groupId>
307           <artifactId>maven-assembly-plugin</artifactId>
308           <version>3.1.0</version>
309         </plugin>
310
311         <plugin>
312           <groupId>org.codehaus.mojo</groupId>
313           <artifactId>exec-maven-plugin</artifactId>
314           <version>1.6.0</version>
315         </plugin>
316         <plugin>
317           <groupId>org.sonarsource.scanner.maven</groupId>
318           <artifactId>sonar-maven-plugin</artifactId>
319           <version>3.4.1.1168</version>
320         </plugin>
321         <plugin>
322           <groupId>org.apache.maven.plugins</groupId>
323           <artifactId>maven-clean-plugin</artifactId>
324           <version>3.1.0</version>
325         </plugin>
326         <plugin>
327           <groupId>ru.yaal.maven</groupId>
328           <artifactId>write-text-files-maven-plugin</artifactId>
329           <version>1.1</version>
330         </plugin>
331         <plugin>
332           <groupId>org.codehaus.gmaven</groupId>
333           <artifactId>gmaven-plugin</artifactId>
334           <version>1.5</version>
335         </plugin>
336         <plugin>
337           <groupId>org.codehaus.mojo</groupId>
338           <artifactId>build-helper-maven-plugin</artifactId>
339           <version>3.0.0</version>
340         </plugin>
341         <plugin>
342           <groupId>org.apache.maven.plugins</groupId>
343           <artifactId>maven-deploy-plugin</artifactId>
344           <version>2.8.2</version>
345         </plugin>
346         <plugin>
347           <groupId>org.apache.maven.plugins</groupId>
348           <artifactId>maven-shade-plugin</artifactId>
349           <version>3.1.1</version>
350         </plugin>
351         <plugin>
352           <groupId>org.apache.maven.plugins</groupId>
353           <artifactId>maven-resources-plugin</artifactId>
354           <version>3.1.0</version>
355         </plugin>
356         <plugin>
357           <groupId>io.fabric8</groupId>
358           <artifactId>docker-maven-plugin</artifactId>
359           <version>0.26.0</version>
360         </plugin>
361         <plugin>
362           <groupId>org.apache.maven.plugins</groupId>
363           <artifactId>maven-war-plugin</artifactId>
364           <version>3.2.2</version>
365         </plugin>
366         <plugin>
367           <groupId>com.github.eirslett</groupId>
368           <artifactId>frontend-maven-plugin</artifactId>
369           <version>1.8.0</version>
370         </plugin>
371         <plugin>
372           <groupId>org.apache.maven.plugins</groupId>
373           <artifactId>maven-surefire-plugin</artifactId>
374           <version>${maven-surefire-plugin.version}</version>
375         </plugin>
376         <plugin>
377           <groupId>org.apache.maven.plugins</groupId>
378           <artifactId>maven-compiler-plugin</artifactId>
379           <version>3.8.0</version>
380         </plugin>
381         <plugin>
382           <groupId>com.github.sylvainlaurent.maven</groupId>
383           <artifactId>yaml-json-validator-maven-plugin</artifactId>
384           <version>1.0.1</version>
385         </plugin>
386         <plugin>
387           <groupId>pl.project13.maven</groupId>
388           <artifactId>git-commit-id-plugin</artifactId>
389           <version>2.2.6</version>
390         </plugin>
391       </plugins>
392     </pluginManagement>
393
394     <plugins>
395       <plugin>
396         <artifactId>maven-checkstyle-plugin</artifactId>
397         <version>2.17</version>
398         <configuration>
399           <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
400           <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
401         </configuration>
402       </plugin>
403       <!-- plugin for parsing the project version -->
404       <plugin>
405         <groupId>org.codehaus.mojo</groupId>
406         <artifactId>build-helper-maven-plugin</artifactId>
407         <executions>
408           <execution>
409             <id>parse-version</id>
410             <phase>pre-clean</phase>
411             <goals>
412               <goal>parse-version</goal>
413             </goals>
414           </execution>
415         </executions>
416       </plugin>
417
418       <!-- Java Code Coverage -->
419       <plugin>
420         <groupId>org.jacoco</groupId>
421         <artifactId>jacoco-maven-plugin</artifactId>
422         <inherited>false</inherited>
423         <executions>
424           <execution>
425             <id>default-instrument</id>
426             <goals>
427               <goal>instrument</goal>
428             </goals>
429           </execution>
430           <execution>
431             <id>default-restore-instrumented-classes</id>
432             <goals>
433               <goal>restore-instrumented-classes</goal>
434             </goals>
435           </execution>
436           <execution>
437             <id>default-report</id>
438             <goals>
439               <goal>report</goal>
440             </goals>
441             <configuration>
442               <dataFile>${project.build.directory}/jacoco.exec</dataFile>
443             </configuration>
444           </execution>
445         </executions>
446       </plugin>
447
448       <plugin>
449         <groupId>org.apache.maven.plugins</groupId>
450         <artifactId>maven-site-plugin</artifactId>
451         <version>3.7.1</version>
452         <dependencies>
453           <dependency>
454             <groupId>org.apache.maven.wagon</groupId>
455             <artifactId>wagon-webdav-jackrabbit</artifactId>
456             <version>3.0.0</version>
457           </dependency>
458         </dependencies>
459       </plugin>
460
461       <!-- Set the deployment repositories properties. -->
462       <plugin>
463         <groupId>org.codehaus.gmaven</groupId>
464         <artifactId>gmaven-plugin</artifactId>
465         <executions>
466           <execution>
467             <inherited>false</inherited>
468             <phase>integration-test</phase>
469             <goals>
470               <goal>execute</goal>
471             </goals>
472             <configuration>
473               <source>
474                 pom.properties['deploy.url'] =
475                   pom.version.contains('-SNAPSHOT') ?
476                     project.distributionManagement.snapshotRepository.url :
477                     project.distributionManagement.repository.url;
478                 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
479                   project.distributionManagement.snapshotRepository.id :
480                   project.distributionManagement.repository.id;
481               </source>
482             </configuration>
483           </execution>
484         </executions>
485       </plugin>
486       <plugin>
487         <groupId>org.apache.maven.plugins</groupId>
488         <artifactId>maven-compiler-plugin</artifactId>
489         <configuration>
490           <source>1.8</source>
491           <target>1.8</target>
492         </configuration>
493       </plugin>
494       <plugin>
495         <groupId>org.apache.maven.plugins</groupId>
496         <artifactId>maven-surefire-plugin</artifactId>
497         <configuration>
498           <printSummary>false</printSummary>
499           <systemPropertyVariables>
500             <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
501           </systemPropertyVariables>
502         </configuration>
503       </plugin>
504       <plugin>
505         <groupId>pl.project13.maven</groupId>
506         <artifactId>git-commit-id-plugin</artifactId>
507         <executions>
508           <execution>
509             <goals>
510               <goal>revision</goal>
511             </goals>
512           </execution>
513         </executions>
514         <configuration>
515           <generateGitPropertiesFile>true</generateGitPropertiesFile>
516           <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties
517           </generateGitPropertiesFilename>
518           <failOnNoGitDirectory>true</failOnNoGitDirectory>
519           <verbose>false</verbose>
520           <includeOnlyProperties>
521             <includeOnlyProperty>git.build.version</includeOnlyProperty>
522             <includeOnlyProperty>git.build.time</includeOnlyProperty>
523             <includeOnlyProperty>git.commit.id</includeOnlyProperty>
524             <includeOnlyProperty>git.commit.time</includeOnlyProperty>
525             <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
526             <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
527             <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
528             <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
529           </includeOnlyProperties>
530           <gitDescribe>
531             <skip>true</skip>
532           </gitDescribe>
533           <useNativeGit>false</useNativeGit>
534         </configuration>
535       </plugin>
536     </plugins>
537   </build>
538
539   <profiles>
540     <profile>
541       <id>all</id>
542       <activation>
543         <activeByDefault>true</activeByDefault>
544       </activation>
545       <modules>
546         <module>onboarding</module>
547         <module>common-app-logging</module>
548         <module>common-app-api</module>
549         <module>common-be</module>
550         <module>catalog-dao</module>
551         <module>catalog-model</module>
552         <module>catalog-be</module>
553         <module>asdctool</module>
554         <module>catalog-ui</module>
555         <module>catalog-fe</module>
556         <module>test-apis-ci</module>
557         <module>ui-ci</module>
558         <module>sdc-os-chef</module>
559         <module>utils/webseal-simulator</module>
560       </modules>
561
562     </profile>
563
564     <profile>
565       <id>catalog</id>
566       <activation>
567         <activeByDefault>false</activeByDefault>
568       </activation>
569       <modules>
570         <module>common-app-logging</module>
571         <module>common-app-api</module>
572         <module>common-be</module>
573         <module>catalog-dao</module>
574         <module>catalog-model</module>
575         <module>catalog-be</module>
576         <module>asdctool</module>
577         <module>catalog-ui</module>
578         <module>catalog-fe</module>
579         <module>test-apis-ci</module>
580         <module>ui-ci</module>
581       </modules>
582     </profile>
583
584     <profile>
585       <id>onboarding</id>
586       <activation>
587         <activeByDefault>false</activeByDefault>
588       </activation>
589       <modules>
590         <module>onboarding</module>
591       </modules>
592     </profile>
593
594   </profiles>
595
596   <repositories>
597     <!-- LF repositories -->
598     <repository>
599       <id>ecomp-releases</id>
600       <name>Release Repository</name>
601       <url>${nexus.proxy}/content/repositories/releases/</url>
602     </repository>
603     <repository>
604       <id>ecomp-snapshots</id>
605       <name>Snapshots Repository</name>
606       <url>${nexus.proxy}/content/repositories/snapshots/</url>
607     </repository>
608     <repository>
609       <id>ecomp-public</id>
610       <name>Public Repository</name>
611       <url>${nexus.proxy}/content/repositories/public/</url>
612     </repository>
613     <!-- LF repositories END-->
614   </repositories>
615
616   <distributionManagement>
617     <repository>
618       <id>ecomp-releases</id>
619       <name>Release Repository</name>
620       <url>${nexus.proxy}/content/repositories/releases/</url>
621     </repository>
622     <snapshotRepository>
623       <id>ecomp-snapshots</id>
624       <name>Snapshot Repository</name>
625       <url>${nexus.proxy}/content/repositories/snapshots/</url>
626     </snapshotRepository>
627     <site>
628       <id>ecomp-site</id>
629       <url>dav:${nexus.proxy}${sitePath}</url>
630     </site>
631   </distributionManagement>
632 </project>