42274dd4c788c8e94602d5fc01f98340e697568a
[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>artifact-copy-plugin</artifactId>
54                 <version>${project.version}</version>
55                 <executions>
56                     <execution>
57                         <goals>
58                             <goal>init-artifact-helper</goal>
59                             <goal>calibrate-artifact-helper</goal>
60                         </goals>
61                     </execution>
62                 </executions>
63                 <configuration>
64                     <groupId>org.openecomp.sdc</groupId>
65                     <artifactId>build-data-installer</artifactId>
66                     <version>${project.version}</version>
67                     <artifactHelper>
68                         <project>${project}</project>
69                         <session>${session}</session>
70                         <unicornRoot>org.openecomp.sdc:sdc-onboarding/target/build-data</unicornRoot>
71                     </artifactHelper>
72                 </configuration>
73             </plugin>
74             <plugin>
75                 <groupId>org.openecomp.sdc.onboarding</groupId>
76                 <artifactId>compile-helper-plugin</artifactId>
77                 <version>${project.version}</version>
78                 <executions>
79                     <execution>
80                         <goals>
81                             <goal>init-helper</goal>
82                             <goal>pre-compile-helper</goal>
83                             <goal>post-compile-helper</goal>
84                             <goal>pre-test-compile-helper</goal>
85                             <goal>post-test-run-helper</goal>
86                         </goals>
87                     </execution>
88                 </executions>
89                 <configuration>
90                     <excludePackaging>pom</excludePackaging>
91                     <excludeDependencies>test,runtime</excludeDependencies>
92                     <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation>
93                     <buildState>
94                         <project>${project}</project>
95                         <compileStateFilePath>
96                             org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat
97                         </compileStateFilePath>
98                     </buildState>
99                 </configuration>
100             </plugin>
101             <plugin>
102                 <groupId>org.apache.maven.plugins</groupId>
103                 <artifactId>maven-jar-plugin</artifactId>
104                 <version>${mvn.jar.version}</version>
105                 <configuration>
106                     <archive>
107                         <addMavenDescriptor>false</addMavenDescriptor>
108                     </archive>
109                     <excludes>
110                         <exclude>${emptyJAR}</exclude>
111                     </excludes>
112                 </configuration>
113             </plugin>
114             <plugin>
115                 <groupId>org.codehaus.mojo</groupId>
116                 <artifactId>license-maven-plugin</artifactId>
117                 <version>${mvn.license.version}</version>
118                 <configuration>
119                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
120                     <processStartTag>============LICENSE_START=======================================================
121                     </processStartTag>
122                     <processEndTag>============LICENSE_END=========================================================
123                     </processEndTag>
124                     <sectionDelimiter>================================================================================
125                     </sectionDelimiter>
126                     <licenseName>apache_v2</licenseName>
127                     <inceptionYear>2017</inceptionYear>
128                     <organizationName>AT&amp;T Intellectual Property. All rights
129                         reserved.
130                     </organizationName>
131                     <projectName>SDC</projectName>
132                     <canUpdateCopyright>true</canUpdateCopyright>
133                     <canUpdateDescription>true</canUpdateDescription>
134                     <canUpdateLicense>true</canUpdateLicense>
135                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
136                     <verbose>false</verbose>
137                     <includes>
138                         <include>**/*.java</include>
139                         <include>**/*.js</include>
140                         <include>**/*.ts</include>
141                     </includes>
142                     <roots>
143                         <root>src</root>
144                         <root>app</root>
145                         <root>server-mock</root>
146                         <root>typings</root>
147                     </roots>
148                 </configuration>
149                 <executions>
150                     <execution>
151                         <id>first</id>
152                         <goals>
153                             <goal>update-file-header</goal>
154                         </goals>
155                         <!--phase>process-sources</phase-->
156                     </execution>
157                 </executions>
158             </plugin>
159         </plugins>
160     </build>
161
162 </project>