Create on boarding docker
[sdc.git] / openecomp-be / pom.xml
1 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4
5     <name>openecomp-sdc</name>
6     <groupId>org.openecomp.sdc</groupId>
7     <artifactId>openecomp-sdc</artifactId>
8     <packaging>pom</packaging>
9
10     <url>http://maven.apache.org</url>
11
12     <parent>
13         <groupId>org.openecomp.sdc</groupId>
14         <artifactId>sdc-onboarding</artifactId>
15         <version>1.2.0-SNAPSHOT</version>
16         <relativePath>../onboarding</relativePath>
17     </parent>
18
19     <dependencies>
20         <dependency>
21             <groupId>com.fasterxml.jackson.core</groupId>
22             <artifactId>jackson-annotations</artifactId>
23             <version>${jackson.version}</version>
24         </dependency>
25
26         <!-- Feature Toggle support libraries-->
27         <dependency>
28             <groupId>org.togglz</groupId>
29             <artifactId>togglz-core</artifactId>
30             <version>${togglz.version}</version>
31         </dependency>
32
33         <dependency>
34             <groupId>org.togglz</groupId>
35             <artifactId>togglz-testing</artifactId>
36             <version>${togglz.version}</version>
37             <scope>test</scope>
38         </dependency>
39         <dependency>
40             <groupId>org.openecomp.sdc</groupId>
41             <artifactId>build-helper</artifactId>
42             <version>${project.version}</version>
43             <scope>runtime</scope>
44         </dependency>
45
46     </dependencies>
47
48     <build>
49         <plugins>
50
51             <!-- ================================================== -->
52             <!-- Set the JDK compiler version.                      -->
53             <!-- ================================================== -->
54             <plugin>
55                 <groupId>org.apache.maven.plugins</groupId>
56                 <artifactId>maven-compiler-plugin</artifactId>
57                 <version>${mvn.compiler.version}</version>
58                 <inherited>true</inherited>
59                 <configuration>
60                     <source>${java.source}</source>
61                     <target>${java.target}</target>
62                 </configuration>
63             </plugin>
64              <plugin>
65                 <groupId>org.codehaus.mojo</groupId>
66                 <artifactId>license-maven-plugin</artifactId>
67                 <version>${mvn.license.version}</version>
68                 <configuration>
69                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
70                     <processStartTag>============LICENSE_START=======================================================</processStartTag>
71                     <processEndTag>============LICENSE_END=========================================================</processEndTag>
72                     <sectionDelimiter>================================================================================</sectionDelimiter>
73                     <licenseName>apache_v2</licenseName>
74                     <inceptionYear>2017</inceptionYear>
75                     <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
76                     <projectName>SDC</projectName>
77                     <canUpdateCopyright>true</canUpdateCopyright>
78                     <canUpdateDescription>true</canUpdateDescription>
79                     <canUpdateLicense>true</canUpdateLicense>
80                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
81                     <verbose>false</verbose>
82                     <includes>
83                         <include>**/*.java</include>
84                         <include>**/*.js</include>
85                         <include>**/*.ts</include>
86                     </includes>
87                     <roots>
88                         <root>src</root>
89                         <root>app</root>
90                         <root>server-mock</root>
91                         <root>typings</root>
92                     </roots>
93                 </configuration>
94                 <executions>
95                     <execution>
96                         <id>first</id>
97                         <goals>
98                             <goal>update-file-header</goal>
99                         </goals>
100                     </execution>
101                 </executions>
102             </plugin>
103             <plugin>
104                 <groupId>org.jacoco</groupId>
105                 <artifactId>jacoco-maven-plugin</artifactId>
106                 <version>${jacoco.version}</version>
107                 <executions>
108                     <execution>
109                         <goals>
110                             <goal>prepare-agent</goal>
111                         </goals>
112                     </execution>
113                     <execution>
114                         <id>report</id>
115                         <phase>prepare-package</phase>
116                         <goals>
117                             <goal>report</goal>
118                         </goals>
119                     </execution>
120                     <execution>
121                         <id>post-unit-test</id>
122                         <phase>test</phase>
123                         <goals>
124                             <goal>report</goal>
125                         </goals>
126                         <configuration>
127                             <!-- Sets the path to the file which contains the execution data. -->
128                             <dataFile>target/jacoco.exec</dataFile>
129                             <!-- Sets the output directory for the code coverage report. -->
130                             <outputDirectory>target/jacoco-ut</outputDirectory>
131                         </configuration>
132                     </execution>
133                 </executions>
134             </plugin>
135
136         </plugins>
137     </build>
138
139     <!--Added to resolve blackduck operational risks for indirect dependencies referred -->
140     <dependencyManagement>
141         <dependencies>
142             <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
143             <dependency>
144                 <groupId>commons-beanutils</groupId>
145                 <artifactId>commons-beanutils</artifactId>
146                 <version>${commons.beanutils.version}</version>
147             </dependency>
148             <!-- https://mvnrepository.com/artifact/com.beust/jcommander -->
149             <dependency>
150                 <groupId>com.beust</groupId>
151                 <artifactId>jcommander</artifactId>
152                 <version>${jcommander.version}</version>
153             </dependency>
154             <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient -->
155             <dependency>
156                 <groupId>org.apache.httpcomponents</groupId>
157                 <artifactId>httpasyncclient</artifactId>
158                 <version>${httpasyncclient.version}</version>
159             </dependency>
160             <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
161             <dependency>
162                 <groupId>com.sun.xml.bind</groupId>
163                 <artifactId>jaxb-impl</artifactId>
164                 <version>${jaxb.impl.version}</version>
165             </dependency>
166             <!-- https://mvnrepository.com/artifact/org.beanshell/bsh -->
167             <dependency>
168                 <groupId>org.beanshell</groupId>
169                 <artifactId>bsh</artifactId>
170                 <version>${bsh.version}</version>
171             </dependency>
172             <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester -->
173             <dependency>
174                 <groupId>commons-digester</groupId>
175                 <artifactId>commons-digester</artifactId>
176                 <version>${commons.digester.version}</version>
177             </dependency>
178             <!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
179             <dependency>
180                 <groupId>com.fasterxml</groupId>
181                 <artifactId>classmate</artifactId>
182                 <version>${classmate.version}</version>
183             </dependency>
184             <!--1702 -->
185             <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
186             <dependency>
187                 <groupId>org.slf4j</groupId>
188                 <artifactId>slf4j-api</artifactId>
189                 <version>${slf4j.version}</version>
190             </dependency>
191             <dependency>
192                 <groupId>org.codehaus.groovy</groupId>
193                 <artifactId>groovy-all</artifactId>
194                 <version>${groovy.version}</version>
195             </dependency>
196             <dependency>
197                 <groupId>org.codehaus.janino</groupId>
198                 <artifactId>janino</artifactId>
199                 <version>${janino.version}</version>
200                 <scope>provided</scope>
201             </dependency>
202         </dependencies>
203     </dependencyManagement>
204
205         <modules>
206             <module>/api</module>
207             <module>/lib</module>
208             <module>/tools/swagger-ui</module>
209             <module>/tools/zusammen-tools</module>
210             <module>/backend</module>
211         </modules>
212     <profiles>
213         <!--<profile>-->
214             <!--<id>docker-staging</id>-->
215             <!--<properties>-->
216                 <!--<docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>-->
217                 <!--<docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>-->
218             <!--</properties>-->
219         <!--</profile>-->
220
221         <profile>
222             <id>docker</id>
223             <activation>
224                 <activeByDefault>false</activeByDefault>
225             </activation>
226
227             <modules>
228                 <module>/dist</module>
229             </modules>
230         </profile>
231     </profiles>
232 </project>
233