Removed artifact-copy plugin
[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>compile-helper-plugin</artifactId>
65                 <version>${project.version}</version>
66                 <executions>
67                     <execution>
68                         <goals>
69                             <goal>init-helper</goal>
70                             <goal>pre-compile-helper</goal>
71                             <goal>post-compile-helper</goal>
72                             <goal>pre-test-compile-helper</goal>
73                             <goal>post-test-run-helper</goal>
74                         </goals>
75                     </execution>
76                 </executions>
77                 <configuration>
78                     <excludePackaging>pom</excludePackaging>
79                     <excludeDependencies>test,runtime</excludeDependencies>
80                     <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation>
81                     <buildState>
82                         <project>${project}</project>
83                         <compileStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat
84                         </compileStateFilePath>
85                     </buildState>
86                 </configuration>
87             </plugin>
88             <plugin>
89                 <groupId>org.apache.maven.plugins</groupId>
90                 <artifactId>maven-jar-plugin</artifactId>
91                 <version>${mvn.jar.version}</version>
92                 <configuration>
93                     <archive>
94                         <addMavenDescriptor>${mvnDsc}</addMavenDescriptor>
95                     </archive>
96                     <excludes>
97                         <exclude>${emptyJAR}</exclude>
98                     </excludes>
99                 </configuration>
100             </plugin>
101             <plugin>
102                 <groupId>org.codehaus.mojo</groupId>
103                 <artifactId>license-maven-plugin</artifactId>
104                 <version>${mvn.license.version}</version>
105                 <configuration>
106                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
107                     <processStartTag>============LICENSE_START=======================================================
108                     </processStartTag>
109                     <processEndTag>============LICENSE_END=========================================================
110                     </processEndTag>
111                     <sectionDelimiter>================================================================================
112                     </sectionDelimiter>
113                     <licenseName>apache_v2</licenseName>
114                     <inceptionYear>2017</inceptionYear>
115                     <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
116                     <projectName>SDC</projectName>
117                     <canUpdateCopyright>true</canUpdateCopyright>
118                     <canUpdateDescription>true</canUpdateDescription>
119                     <canUpdateLicense>true</canUpdateLicense>
120                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
121                     <verbose>false</verbose>
122                     <includes>
123                         <include>**/*.java</include>
124                         <include>**/*.js</include>
125                         <include>**/*.ts</include>
126                     </includes>
127                     <roots>
128                         <root>src</root>
129                         <root>app</root>
130                         <root>server-mock</root>
131                         <root>typings</root>
132                     </roots>
133                 </configuration>
134                 <executions>
135                     <execution>
136                         <id>first</id>
137                         <goals>
138                             <goal>update-file-header</goal>
139                         </goals>
140                     </execution>
141                 </executions>
142             </plugin>
143             <plugin>
144                 <groupId>org.jacoco</groupId>
145                 <artifactId>jacoco-maven-plugin</artifactId>
146                 <executions>
147                     <execution>
148                         <id>default-prepare-agent</id>
149                         <goals>
150                             <goal>prepare-agent</goal>
151                         </goals>
152                     </execution>
153                     <execution>
154                         <id>report</id>
155                         <phase>prepare-package</phase>
156                         <goals>
157                             <goal>report</goal>
158                         </goals>
159                     </execution>
160                     <execution>
161                         <id>post-unit-test</id>
162                         <phase>test</phase>
163                         <goals>
164                             <goal>report</goal>
165                         </goals>
166                         <configuration>
167                             <!-- Sets the path to the file which contains the execution data. -->
168                             <dataFile>target/jacoco.exec</dataFile>
169                             <!-- Sets the output directory for the code coverage report. -->
170                             <outputDirectory>target/jacoco-ut</outputDirectory>
171                         </configuration>
172                     </execution>
173                 </executions>
174             </plugin>
175
176         </plugins>
177     </build>
178
179     <modules>
180         <module>/api</module>
181         <module>/lib</module>
182         <module>/tools/swagger-ui</module>
183         <module>/tools/zusammen-tools</module>
184         <module>/backend</module>
185     </modules>
186     <profiles>
187
188         <profile>
189             <id>docker</id>
190             <activation>
191                 <activeByDefault>false</activeByDefault>
192             </activation>
193
194             <modules>
195                 <module>/dist</module>
196             </modules>
197         </profile>
198     </profiles>
199 </project>
200