bump sdc version to 1.3.3
[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     <artifactId>openecomp-sdc</artifactId>
7     <packaging>pom</packaging>
8
9     <url>http://maven.apache.org</url>
10
11     <parent>
12         <groupId>org.openecomp.sdc</groupId>
13         <artifactId>sdc-onboarding</artifactId>
14         <version>1.3.3-SNAPSHOT</version>
15         <relativePath>../onboarding/pom.xml</relativePath>
16     </parent>
17
18     <dependencies>
19         <dependency>
20             <groupId>org.togglz</groupId>
21             <artifactId>togglz-core</artifactId>
22             <version>${togglz.version}</version>
23         </dependency>
24         <dependency>
25             <groupId>org.togglz</groupId>
26             <artifactId>togglz-testing</artifactId>
27             <version>${togglz.version}</version>
28             <scope>test</scope>
29         </dependency>
30     </dependencies>
31
32     <build>
33         <plugins>
34
35             <!-- ================================================== -->
36             <!-- Set the JDK compiler version.                      -->
37             <!-- ================================================== -->
38             <plugin>
39                 <groupId>org.apache.maven.plugins</groupId>
40                 <artifactId>maven-compiler-plugin</artifactId>
41                 <version>${mvn.compiler.version}</version>
42                 <inherited>true</inherited>
43                 <executions>
44                     <execution>
45                         <id>default-compile</id>
46                         <configuration>
47                             <skipMain>${skipMainSourceCompile}</skipMain>
48                         </configuration>
49                     </execution>
50                     <execution>
51                         <id>default-testCompile</id>
52                         <configuration>
53                             <skip>${skipTestSourceCompile}</skip>
54                         </configuration>
55                     </execution>
56                 </executions>
57                 <configuration>
58                     <source>${java.source}</source>
59                     <target>${java.target}</target>
60                 </configuration>
61             </plugin>
62             <plugin>
63                 <groupId>org.openecomp.sdc.onboarding</groupId>
64                 <artifactId>artifact-copy-plugin</artifactId>
65                 <version>${project.version}</version>
66                 <executions>
67                     <execution>
68                         <goals>
69                             <goal>init-artifact-helper</goal>
70                             <!--<goal>copy-helper</goal>-->
71                             <goal>calibrate-artifact-helper</goal>
72                         </goals>
73                     </execution>
74                 </executions>
75                 <configuration>
76                     <groupId>org.openecomp.sdc</groupId>
77                     <artifactId>build-data-installer</artifactId>
78                     <version>${project.version}</version>
79                     <artifactHelper>
80                         <project>${project}</project>
81                         <session>${session}</session>
82                         <unicornRoot>org.openecomp.sdc:sdc-onboarding/target/build-data</unicornRoot>
83                     </artifactHelper>
84                 </configuration>
85             </plugin>
86             <plugin>
87                 <groupId>org.openecomp.sdc.onboarding</groupId>
88                 <artifactId>compile-helper-plugin</artifactId>
89                 <version>${project.version}</version>
90                 <executions>
91                     <execution>
92                         <goals>
93                             <goal>init-helper</goal>
94                             <goal>pre-compile-helper</goal>
95                             <goal>post-compile-helper</goal>
96                             <goal>pre-test-compile-helper</goal>
97                             <goal>post-test-run-helper</goal>
98                         </goals>
99                     </execution>
100                 </executions>
101                 <configuration>
102                     <excludePackaging>pom</excludePackaging>
103                     <excludeDependencies>test,runtime</excludeDependencies>
104                     <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation>
105                     <buildState>
106                         <project>${project}</project>
107                         <compileStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat
108                         </compileStateFilePath>
109                     </buildState>
110                 </configuration>
111             </plugin>
112             <plugin>
113                 <groupId>org.apache.maven.plugins</groupId>
114                 <artifactId>maven-jar-plugin</artifactId>
115                 <version>${mvn.jar.version}</version>
116                 <configuration>
117                     <archive>
118                         <addMavenDescriptor>${mvnDsc}</addMavenDescriptor>
119                     </archive>
120                     <excludes>
121                         <exclude>${emptyJAR}</exclude>
122                     </excludes>
123                 </configuration>
124             </plugin>
125             <plugin>
126                 <groupId>org.codehaus.mojo</groupId>
127                 <artifactId>license-maven-plugin</artifactId>
128                 <version>${mvn.license.version}</version>
129                 <configuration>
130                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
131                     <processStartTag>============LICENSE_START=======================================================
132                     </processStartTag>
133                     <processEndTag>============LICENSE_END=========================================================
134                     </processEndTag>
135                     <sectionDelimiter>================================================================================
136                     </sectionDelimiter>
137                     <licenseName>apache_v2</licenseName>
138                     <inceptionYear>2017</inceptionYear>
139                     <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
140                     <projectName>SDC</projectName>
141                     <canUpdateCopyright>true</canUpdateCopyright>
142                     <canUpdateDescription>true</canUpdateDescription>
143                     <canUpdateLicense>true</canUpdateLicense>
144                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
145                     <verbose>false</verbose>
146                     <includes>
147                         <include>**/*.java</include>
148                         <include>**/*.js</include>
149                         <include>**/*.ts</include>
150                     </includes>
151                     <roots>
152                         <root>src</root>
153                         <root>app</root>
154                         <root>server-mock</root>
155                         <root>typings</root>
156                     </roots>
157                 </configuration>
158                 <executions>
159                     <execution>
160                         <id>first</id>
161                         <goals>
162                             <goal>update-file-header</goal>
163                         </goals>
164                     </execution>
165                 </executions>
166             </plugin>
167             <plugin>
168                 <groupId>org.jacoco</groupId>
169                 <artifactId>jacoco-maven-plugin</artifactId>
170                 <executions>
171                     <execution>
172                         <id>default-prepare-agent</id>
173                         <goals>
174                             <goal>prepare-agent</goal>
175                         </goals>
176                     </execution>
177                     <execution>
178                         <id>report</id>
179                         <phase>prepare-package</phase>
180                         <goals>
181                             <goal>report</goal>
182                         </goals>
183                     </execution>
184                     <execution>
185                         <id>post-unit-test</id>
186                         <phase>test</phase>
187                         <goals>
188                             <goal>report</goal>
189                         </goals>
190                         <configuration>
191                             <!-- Sets the path to the file which contains the execution data. -->
192                             <dataFile>target/jacoco.exec</dataFile>
193                             <!-- Sets the output directory for the code coverage report. -->
194                             <outputDirectory>target/jacoco-ut</outputDirectory>
195                         </configuration>
196                     </execution>
197                 </executions>
198             </plugin>
199
200         </plugins>
201     </build>
202
203     <modules>
204         <module>/api</module>
205         <module>/lib</module>
206         <module>/tools/swagger-ui</module>
207         <module>/tools/zusammen-tools</module>
208         <module>/backend</module>
209     </modules>
210     <profiles>
211
212         <profile>
213             <id>docker</id>
214             <activation>
215                 <activeByDefault>false</activeByDefault>
216             </activation>
217
218             <modules>
219                 <module>/dist</module>
220             </modules>
221         </profile>
222     </profiles>
223 </project>
224