Removed artifact-copy plugin
[sdc.git] / common / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5     <modelVersion>4.0.0</modelVersion>
6
7     <groupId>org.onap.sdc.common</groupId>
8     <name>onap-common-lib</name>
9     <artifactId>onap-common-lib</artifactId>
10     <packaging>pom</packaging>
11
12     <parent>
13         <groupId>org.openecomp.sdc</groupId>
14         <artifactId>sdc-onboarding</artifactId>
15         <version>1.3.3-SNAPSHOT</version>
16         <relativePath>../onboarding/pom.xml</relativePath>
17     </parent>
18
19     <modules>
20         <module>onap-sdc-artifact-generator-lib</module>
21         <module>onap-common-configuration-management</module>
22         <module>onap-tosca-datatype</module>
23     </modules>
24
25     <build>
26         <plugins>
27             <plugin>
28                 <groupId>org.apache.maven.plugins</groupId>
29                 <artifactId>maven-compiler-plugin</artifactId>
30                 <version>${mvn.compiler.version}</version>
31                 <inherited>true</inherited>
32                 <executions>
33                     <execution>
34                         <id>default-compile</id>
35                         <configuration>
36                             <skipMain>${skipMainSourceCompile}</skipMain>
37                         </configuration>
38                     </execution>
39                     <execution>
40                         <id>default-testCompile</id>
41                         <configuration>
42                             <skip>${skipTestSourceCompile}</skip>
43                         </configuration>
44                     </execution>
45                 </executions>
46                 <configuration>
47                     <source>${java.source}</source>
48                     <target>${java.target}</target>
49                 </configuration>
50             </plugin>
51             <plugin>
52                 <groupId>org.openecomp.sdc.onboarding</groupId>
53                 <artifactId>compile-helper-plugin</artifactId>
54                 <version>${project.version}</version>
55                 <executions>
56                     <execution>
57                         <goals>
58                             <goal>init-helper</goal>
59                             <goal>pre-compile-helper</goal>
60                             <goal>post-compile-helper</goal>
61                             <goal>pre-test-compile-helper</goal>
62                             <goal>post-test-run-helper</goal>
63                         </goals>
64                     </execution>
65                 </executions>
66                 <configuration>
67                     <excludePackaging>pom</excludePackaging>
68                     <excludeDependencies>test,runtime</excludeDependencies>
69                     <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation>
70                     <buildState>
71                         <project>${project}</project>
72                         <compileStateFilePath>
73                             org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat
74                         </compileStateFilePath>
75                     </buildState>
76                 </configuration>
77             </plugin>
78             <plugin>
79                 <groupId>org.apache.maven.plugins</groupId>
80                 <artifactId>maven-jar-plugin</artifactId>
81                 <version>${mvn.jar.version}</version>
82                 <configuration>
83                     <archive>
84                         <addMavenDescriptor>false</addMavenDescriptor>
85                     </archive>
86                     <excludes>
87                         <exclude>${emptyJAR}</exclude>
88                     </excludes>
89                 </configuration>
90             </plugin>
91             <plugin>
92                 <groupId>org.codehaus.mojo</groupId>
93                 <artifactId>license-maven-plugin</artifactId>
94                 <version>${mvn.license.version}</version>
95                 <configuration>
96                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
97                     <processStartTag>============LICENSE_START=======================================================
98                     </processStartTag>
99                     <processEndTag>============LICENSE_END=========================================================
100                     </processEndTag>
101                     <sectionDelimiter>================================================================================
102                     </sectionDelimiter>
103                     <licenseName>apache_v2</licenseName>
104                     <inceptionYear>2017</inceptionYear>
105                     <organizationName>AT&amp;T Intellectual Property. All rights
106                         reserved.
107                     </organizationName>
108                     <projectName>SDC</projectName>
109                     <canUpdateCopyright>true</canUpdateCopyright>
110                     <canUpdateDescription>true</canUpdateDescription>
111                     <canUpdateLicense>true</canUpdateLicense>
112                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
113                     <verbose>false</verbose>
114                     <includes>
115                         <include>**/*.java</include>
116                         <include>**/*.js</include>
117                         <include>**/*.ts</include>
118                     </includes>
119                     <roots>
120                         <root>src</root>
121                         <root>app</root>
122                         <root>server-mock</root>
123                         <root>typings</root>
124                     </roots>
125                 </configuration>
126                 <executions>
127                     <execution>
128                         <id>first</id>
129                         <goals>
130                             <goal>update-file-header</goal>
131                         </goals>
132                         <!--phase>process-sources</phase-->
133                     </execution>
134                 </executions>
135             </plugin>
136         </plugins>
137     </build>
138
139 </project>