Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-BE / pom.xml
diff --git a/ecomp-portal-BE/pom.xml b/ecomp-portal-BE/pom.xml
new file mode 100644 (file)
index 0000000..5ad4780
--- /dev/null
@@ -0,0 +1,612 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>org.openecomp.portal</groupId>
+       <artifactId>ecompportal</artifactId>
+       <packaging>war</packaging>
+       <version>1.0.0</version>
+
+       <properties>
+               <springframework.version>4.2.0.RELEASE</springframework.version>
+               <hibernate.version>4.3.11.Final</hibernate.version>
+               <eelf.version>0.0.1</eelf.version>
+               <projectversion>1.0.0</projectversion>
+               <encoding>UTF-8</encoding>
+               <!-- Tests usually require some setup that maven cannot do, so skip. -->
+               <skiptests>false</skiptests>
+               <sonar.exclusions>**.js</sonar.exclusions>
+       </properties>
+       
+       <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.10.4</version>
+                <configuration>
+                    <failOnError>false</failOnError>
+                    <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
+                    <docletArtifact>
+                        <groupId>org.umlgraph</groupId>
+                        <artifactId>umlgraph</artifactId>
+                        <version>5.6</version>
+                    </docletArtifact>
+                    <additionalparam>-views</additionalparam>
+                    <useStandardDocletOptions>true</useStandardDocletOptions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </reporting>
+       <distributionManagement>
+               <site>
+                 <id>nexus</id>
+                 <url>dav:https://ecomp-nexus:8443/repository/portal-javadoc/${projectversion}</url>
+               </site>
+       </distributionManagement>
+       <repositories>
+               <repository>
+                       <!-- Snapshots repository has ECOMP snapshot artifacts -->
+                       <id>nexus-snapshots</id>
+                       <name>Nexus Maven Central - Snapshots</name>
+                       <url>https://ecomp-nexus:8443/repository/maven-snapshots/</url>
+               </repository>
+               <repository>
+                       <!-- Releases repository has ECOMP release artifacts -->
+                       <id>nexus</id>
+                       <name>Nexus Maven Central - Releases</name>
+                       <url>https://ecomp-nexus:8443/repository/maven-releases/</url>
+               </repository>
+               <repository>
+                       <!-- Snapshots repository has ECOMP snapshot artifacts -->
+                       <id>oss-snapshots</id>
+                       <name>oss Central - Snapshots</name>
+                       <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
+               </repository>
+               <repository>
+            <id>central</id>
+            <name>Maven 2 repository 2</name>
+            <url>http://repo2.maven.org/maven2/</url>
+        </repository>
+       </repositories>
+
+       <build>
+               <sourceDirectory>src/main/java</sourceDirectory>
+               <finalName>ecompportal</finalName>
+
+               <plugins>
+                        <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>sonar-maven-plugin</artifactId>
+                               <version>3.2</version>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-site-plugin</artifactId>
+                               <version>3.6</version>
+                               <dependencies>
+                                 <dependency>
+                                   <groupId>org.apache.maven.wagon</groupId>
+                                   <artifactId>wagon-webdav-jackrabbit</artifactId>
+                                   <version>2.10</version>
+                                 </dependency>
+                               </dependencies>
+            </plugin>
+                       <plugin>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <version>3.1</version>
+                               <configuration>
+                                       <source>1.8</source>
+                                       <target>1.8</target>
+                               </configuration>
+                       </plugin>
+                       
+                       <plugin>
+                               <artifactId>maven-war-plugin</artifactId>
+                               <version>2.6</version>
+                               <configuration>
+                                 <warSourceDirectory>war</warSourceDirectory>
+                                 <failOnMissingWebXml>false</failOnMissingWebXml> 
+                                 <archive>
+                                               <manifest>
+                                                       <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                                               </manifest>
+                                               <manifestEntries>
+                                                       <Build-Number>${build.number}</Build-Number>
+                                                       <Build-Time>${maven.build.timestamp}</Build-Time>
+                                               </manifestEntries>
+                                 </archive>
+                               </configuration>
+                       </plugin>
+               
+                       
+                       <plugin>
+                 <artifactId>maven-resources-plugin</artifactId>
+                 <version>3.0.1</version>
+                 <!--
+                       Your own property files can be placed in ecomp-portal-be/../../overrides directory and they 
+                       will override the generic source controlled versions at build time allowing
+                       you to test locally with your own settings.
+                  -->
+                 <executions>
+                     <execution>
+                        <id>copy-custom-properties1</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <overwrite>true</overwrite>
+                            <outputDirectory>${basedir}/war/WEB-INF/conf</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>${basedir}/../../overrides</directory>
+                                    <includes>
+                                        <include>system.properties</include>
+                                    </includes>
+                                </resource>
+                            </resources>
+                        </configuration>
+                     </execution>
+                     <execution>
+                        <id>copy-custom-properties2</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                                <overwrite>true</overwrite>
+                                <outputDirectory>${basedir}/war/WEB-INF/fusion/conf</outputDirectory>
+                                <resources>
+                                    <resource>
+                                        <directory>${basedir}/../../overrides</directory>
+                                        <includes>
+                                            <include>fusion.properties</include>
+                                        </includes>
+                                    </resource>
+                                </resources>
+                        </configuration>
+                     </execution>
+                     <execution>
+                        <id>copy-custom-properties3</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                            <configuration>
+                                <overwrite>true</overwrite>
+                                <outputDirectory>${basedir}/src/main/resources</outputDirectory>
+                                <resources>
+                                    <resource>
+                                        <directory>${basedir}/../../overrides</directory>
+                                        <includes>
+                                            <include>portal.properties</include>
+                                            <include>openid-connect.properties</include>                                            
+                                            <include>openid-keystore.jwks</include>                                            
+                                        </includes>
+                                    </resource>
+                                </resources>
+                            </configuration>                      
+                     </execution>
+                </executions>
+            </plugin>
+               </plugins>
+
+               <testResources>
+               <testResource>
+                               <directory>src/test/java</directory>
+                               <includes>
+                                               <include>**/*Test*.*</include>                                  
+                               </includes>
+               </testResource>
+       </testResources>
+       
+               <resources>
+                       <resource>
+                               <directory>src/main/resources</directory>
+                               <includes>
+                                       <include>**/*.xml</include>
+                                       <include>**/*.ccf</include>
+                                       <include>**/*.properties</include>
+                                       <include>**/*.jwks</include>
+                               </includes>
+                       </resource>
+                       <resource>
+                               <directory>src/test/resources</directory>
+                               <includes>
+                                       <include>**/*.xml</include>
+                                       <include>**/*.properties</include>
+                               </includes>
+                       </resource>
+                       <!-- picks up the applicationcodes.properties file presented in \src\ path -->
+                       <resource>
+                               <directory>src/main/java</directory>
+                               <includes>
+                                       <include>**/*.xml</include>
+                                       <include>**/*.properties</include>
+                               </includes>
+                       </resource>
+               </resources>
+
+       </build>
+
+       <dependencies>
+               <dependency>
+                       <groupId>com.att.eelf</groupId> 
+                       <artifactId>eelf-core</artifactId> 
+                       <version>${eelf.version}</version> 
+               </dependency>
+               <dependency>
+                       <groupId>com.google.code.gson</groupId>
+                       <artifactId>gson</artifactId>
+                       <version>2.5</version>
+               </dependency>
+
+               <!-- Spring -->
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-core</artifactId>
+                       <version>${springframework.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-web</artifactId>
+                       <version>${springframework.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-webmvc</artifactId>
+                       <version>${springframework.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-tx</artifactId>
+                       <version>${springframework.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-context-support</artifactId>
+                       <version>${springframework.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-orm</artifactId>
+                       <version>${springframework.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework</groupId>
+                       <artifactId>spring-test</artifactId>
+                       <version>${springframework.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.boot</groupId>
+                       <artifactId>spring-boot-starter</artifactId>
+                       <version>1.3.0.RELEASE</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.slf4j</groupId>
+                                       <artifactId>log4j-over-slf4j</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>ch.qos.logback</groupId>
+                                       <artifactId>logback-classic</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <!-- Hibernate -->
+               <dependency>
+                       <groupId>org.hibernate</groupId>
+                       <artifactId>hibernate-core</artifactId>
+                       <version>${hibernate.version}</version>
+               </dependency>
+
+               <!-- jsr303 validation -->
+               <!-- <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> 
+                       <version>1.1.0.Final</version> </dependency> -->
+
+               <dependency>
+                       <groupId>org.hibernate</groupId>
+                       <artifactId>hibernate-validator</artifactId>
+                       <version>5.1.3.Final</version>
+               </dependency>
+               <!-- Servlet+JSP+JSTL -->
+               <dependency>
+                       <groupId>javax.servlet</groupId>
+                       <artifactId>javax.servlet-api</artifactId>
+                       <version>3.1.0</version>
+               </dependency>
+               <dependency>
+                       <groupId>javax.servlet.jsp</groupId>
+                       <artifactId>javax.servlet.jsp-api</artifactId>
+                       <version>2.3.1</version>
+               </dependency>
+               <dependency>
+                       <groupId>javax.servlet</groupId>
+                       <artifactId>jstl</artifactId>
+                       <version>1.2</version>
+               </dependency>
+
+               <!-- Apache Tiles -->
+               <dependency>
+                       <groupId>org.apache.tiles</groupId>
+                       <artifactId>tiles-core</artifactId>
+                       <version>3.0.5</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.tiles</groupId>
+                       <artifactId>tiles-jsp</artifactId>
+                       <version>3.0.5</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.cxf</groupId>
+                       <artifactId>cxf-rt-rs-client</artifactId>
+                       <version>3.0.0-milestone1</version>
+               </dependency>
+
+               <!-- Mapper -->
+               <dependency>
+                       <groupId>com.fasterxml.jackson.core</groupId>
+                       <artifactId>jackson-annotations</artifactId>
+                       <version>2.6.3</version>
+               </dependency>
+               <dependency>
+                       <groupId>com.fasterxml.jackson.core</groupId>
+                       <artifactId>jackson-core</artifactId>
+                       <version>2.6.3</version>
+               </dependency>
+               <dependency>
+                       <groupId>com.fasterxml.jackson.core</groupId>
+                       <artifactId>jackson-databind</artifactId>
+                       <version>2.6.3</version>
+               </dependency>
+
+               <dependency>
+                       <groupId>mysql</groupId>
+                       <artifactId>mysql-connector-java</artifactId>
+                       <version>5.1.22</version>
+               </dependency>
+
+               <!-- Elastic Search -->
+               <dependency>
+               <groupId>org.elasticsearch</groupId>
+               <artifactId>elasticsearch</artifactId>
+               <version>2.2.0</version>
+               </dependency>
+               <dependency>
+                       <groupId>io.searchbox</groupId>
+                       <artifactId>jest</artifactId>
+                       <version>2.0.0</version>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.jcs</groupId>
+                       <artifactId>jcs</artifactId>
+                       <version>1.3</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>*</groupId>
+                                       <artifactId>*</artifactId>
+                               </exclusion>
+                       </exclusions>
+                       <!-- -->
+               </dependency>
+
+               <dependency>
+                       <groupId>org.apache.tomcat</groupId>
+                       <artifactId>tomcat-websocket</artifactId>
+                       <version>8.0.28</version>
+                       <scope>provided</scope>
+               </dependency>
+
+               <!-- Raptor required Libraries -->
+               <!-- for static charts -->
+               <dependency>
+                       <groupId>commons-lang</groupId>
+                       <artifactId>commons-lang</artifactId>
+                       <version>2.6</version>
+               </dependency>
+               <!-- for generating excel/csv/excelx -->
+               <dependency>
+                       <groupId>org.apache.poi</groupId>
+                       <artifactId>poi</artifactId>
+                       <version>3.5-FINAL</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.poi</groupId>
+                       <artifactId>poi-ooxml</artifactId>
+                       <version>3.5-FINAL</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.poi</groupId>
+                       <artifactId>poi-scratchpad</artifactId>
+                       <version>3.5-FINAL</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.poi</groupId>
+                       <artifactId>poi-contrib</artifactId>
+                       <version>3.5-FINAL</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <!-- 
+               <dependency>
+                       <groupId>com.lowagie</groupId>
+                       <artifactId>itext</artifactId>
+                       <version>2.0.8</version>
+                       <exclusions>
+                               <exclusion>
+                        <groupId>org.bouncycastle</groupId>
+                                    <artifactId>bcprov-jdk14</artifactId>
+                   </exclusion>
+            </exclusions>
+               </dependency> -->
+               <!-- Quartz -->
+               <dependency>
+                       <groupId>org.quartz-scheduler</groupId>
+                       <artifactId>quartz</artifactId>
+                       <version>2.2.1</version>
+                       <exclusions>
+                               <!-- SDK brings a new version of c3p0 -->
+                               <exclusion>
+                                       <groupId>c3p0</groupId>
+                                       <artifactId>c3p0</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+
+               <dependency>
+                       <groupId>commons-codec</groupId>
+                       <artifactId>commons-codec</artifactId>
+                       <version>1.9</version>
+               </dependency>
+               
+               <dependency>
+               <groupId>com.att.nsa</groupId>
+               <artifactId>cambriaClient</artifactId>
+               <version>0.0.1</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>apache-log4j-extras</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.slf4j</groupId>
+                                       <artifactId>slf4j-log4j12</artifactId>
+                               </exclusion>
+                       </exclusions>
+       </dependency>
+        
+        <dependency>
+                       <groupId>org.openecomp.ecompsdkos</groupId>
+                       <artifactId>ecompFW</artifactId>
+                       <version>${projectversion}</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>commons-logging</groupId>
+                                       <artifactId>commons-logging</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>apache-log4j-extras</artifactId>
+                               </exclusion>
+                               <exclusion>
+                                       <groupId>org.slf4j</groupId>
+                                       <artifactId>slf4j-log4j12</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+        
+               <dependency>
+                       <groupId>org.openecomp.ecompsdkos</groupId>
+                       <artifactId>ecompSDK-core</artifactId>
+                       <version>${projectversion}</version>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.openecomp.ecompsdkos</groupId>
+                       <artifactId>ecompSDK-workflow</artifactId>
+                       <version>${projectversion}</version>
+               </dependency>
+               
+               
+               <!-- Referenced by some poms and needed for testing;
+                        do NOT use "test" scope here. -->
+               <dependency>
+                       <groupId>org.apache.httpcomponents</groupId>
+                       <artifactId>httpclient</artifactId>
+                       <version>4.5.2</version>
+               </dependency>
+
+               <!-- for testing -->
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <version>4.11</version>
+                       <scope>test</scope>
+               </dependency>
+               
+               <dependency>
+                       <groupId>commons-beanutils</groupId>
+                       <artifactId>commons-beanutils</artifactId>
+                       <version>1.9.2</version>
+               </dependency>
+               
+               <!-- OpenID Connect Dependencies -->
+               <dependency>
+                       <groupId>org.mitre</groupId>
+                       <artifactId>openid-connect-client</artifactId>
+                       <version>1.2.2</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>org.codehaus.jackson</groupId>
+                                       <artifactId>jackson-mapper-asl</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               
+               <dependency>
+                   <groupId>org.springframework.security</groupId>
+            <artifactId>spring-security-taglibs</artifactId>
+                   <version>3.2.8.RELEASE</version>
+            <exclusions>
+                       <exclusion>
+                               <groupId>org.springframework</groupId>
+                       <artifactId>*</artifactId>
+                       </exclusion>
+            </exclusions>
+        </dependency>          
+               
+
+       </dependencies>
+</project>