[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / tools / zusammen-tools / 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     <modelVersion>4.0.0</modelVersion>
5
6     <properties>
7
8         <groovy.version>2.4.7</groovy.version>
9         <janino.version>2.7.7</janino.version>
10
11     </properties>
12
13
14
15     <name>openecomp-zusammen-tools</name>
16     <dependencies>
17         <dependency>
18             <groupId>org.openecomp.sdc</groupId>
19             <artifactId>openecomp-sdc-vendor-software-product-api</artifactId>
20             <version>1.1.0-SNAPSHOT</version>
21         </dependency>
22         <dependency>
23             <artifactId>openecomp-zusammen-plugin</artifactId>
24             <groupId>org.openecomp.sdc.core</groupId>
25             <version>1.1.0-SNAPSHOT</version>
26         </dependency>
27         <dependency>
28             <groupId>org.openecomp.sdc</groupId>
29             <artifactId>openecomp-sdc-vendor-software-product-core</artifactId>
30             <version>1.1.0-SNAPSHOT</version>
31         </dependency>
32         <dependency>
33             <groupId>org.openecomp.sdc</groupId>
34             <artifactId>openecomp-sdc-vendor-license-api</artifactId>
35             <version>1.1.0-SNAPSHOT</version>
36         </dependency>
37         <dependency>
38             <groupId>org.openecomp.sdc</groupId>
39             <artifactId>openecomp-sdc-model-impl</artifactId>
40             <version>1.1.0-SNAPSHOT</version>
41         </dependency>
42         <dependency>
43             <groupId>org.openecomp.sdc.core</groupId>
44             <artifactId>openecomp-zusammen-core</artifactId>
45             <version>1.1.0-SNAPSHOT</version>
46         </dependency>
47         <dependency>
48             <groupId>com.amdocs.zusammen.plugin</groupId>
49             <artifactId>zusammen-state-store-cassandra-plugin</artifactId>
50               <version>${zusammen.version}</version>
51         </dependency>
52         <dependency>
53             <groupId>org.hibernate</groupId>
54             <artifactId>hibernate-validator</artifactId>
55             <version>${hibernate.validator.version}</version>
56         </dependency>
57         <dependency>
58             <groupId>org.openecomp.sdc</groupId>
59             <artifactId>openecomp-sdc-vendor-license-core</artifactId>
60             <version>1.1.0-SNAPSHOT</version>
61         </dependency>
62     </dependencies>
63     <artifactId>openecomp-zusammen-tools</artifactId>
64     <groupId>org.openecomp.sdc.core.tools</groupId>
65     <version>1.1.0-SNAPSHOT</version>
66     <parent>
67         <groupId>org.openecomp.sdc</groupId>
68         <artifactId>openecomp-sdc-lib</artifactId>
69         <relativePath>../../lib</relativePath>
70         <version>1.1.0-SNAPSHOT</version>
71     </parent>
72     <!--parent>
73         <groupId>org.openecomp.sdc</groupId>
74         <artifactId>openecomp-sdc</artifactId>
75         <version>1.0-SNAPSHOT</version>
76     </parent-->
77     <build>
78         <plugins>
79
80             <!-- ================================================== -->
81             <!-- Set the JDK compiler version.                      -->
82             <!-- ================================================== -->
83             <plugin>
84                 <groupId>org.apache.maven.plugins</groupId>
85                 <artifactId>maven-compiler-plugin</artifactId>
86                 <version>2.5.1</version>
87                 <inherited>true</inherited>
88                 <configuration>
89                     <source>1.8</source>
90                     <target>1.8</target>
91                 </configuration>
92             </plugin>
93
94             <plugin>
95                 <groupId>org.codehaus.mojo</groupId>
96                 <artifactId>license-maven-plugin</artifactId>
97                 <version>1.10</version>
98                 <configuration>
99                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
100                     <processStartTag>
101                         ============LICENSE_START=======================================================
102                     </processStartTag>
103                     <processEndTag>
104                         ============LICENSE_END=========================================================
105                     </processEndTag>
106                     <sectionDelimiter>
107                         ================================================================================
108                     </sectionDelimiter>
109                     <licenseName>apache_v2</licenseName>
110                     <inceptionYear>2017</inceptionYear>
111                     <organizationName>AT&amp;T Intellectual Property. All rights reserved.
112                     </organizationName>
113                     <projectName>SDC</projectName>
114                     <canUpdateCopyright>true</canUpdateCopyright>
115                     <canUpdateDescription>true</canUpdateDescription>
116                     <canUpdateLicense>true</canUpdateLicense>
117                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
118                     <verbose>false</verbose>
119                     <includes>
120                         <include>**/*.java</include>
121                         <include>**/*.js</include>
122                         <include>**/*.ts</include>
123                     </includes>
124                     <roots>
125                         <root>src</root>
126                         <root>app</root>
127                         <root>server-mock</root>
128                         <root>typings</root>
129                     </roots>
130                 </configuration>
131                 <executions>
132                     <execution>
133                         <id>first</id>
134                         <goals>
135                             <goal>update-file-header</goal>
136                         </goals>
137                         <!--phase>process-sources</phase-->
138                     </execution>
139                 </executions>
140             </plugin>
141
142
143             <plugin>
144                 <groupId>org.apache.maven.plugins</groupId>
145                 <artifactId>maven-dependency-plugin</artifactId>
146                 <version>2.8</version>
147                 <executions>
148                     <execution>
149                         <id>copy-dependencies</id>
150                         <phase>install</phase>
151                         <goals>
152                             <goal>copy-dependencies</goal>
153                         </goals>
154                         <configuration>
155                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
156                             <overWriteReleases>false</overWriteReleases>
157                             <overWriteSnapshots>false</overWriteSnapshots>
158                             <overWriteIfNewer>true</overWriteIfNewer>
159                             <!--includeScope>runtime</includeScope-->
160                         </configuration>
161                     </execution>
162                 </executions>
163             </plugin>
164
165             <plugin>
166                 <groupId>org.apache.maven.plugins</groupId>
167                 <artifactId>maven-jar-plugin</artifactId>
168                 <version>2.4</version>
169                 <executions>
170                     <execution>
171                         <phase>package</phase>
172                     </execution>
173                 </executions>
174                 <configuration>
175                     <archive>
176                         <manifest>
177                             <addClasspath>true</addClasspath>
178                             <classpathLayoutType>custom</classpathLayoutType>
179                             <customClasspathLayout>
180                                 lib/${artifact.artifactId}-${baseVersion}.${artifact.extension}
181                             </customClasspathLayout>
182                             <mainClass>org.openecomp.core.tools.main.ZusammenMainTool
183                             </mainClass>
184                         </manifest>
185                         <manifestEntries>
186                             <Class-Path>lib/</Class-Path>
187                         </manifestEntries>
188                     </archive>
189                 </configuration>
190             </plugin>
191
192             <plugin>
193                 <groupId>org.apache.maven.plugins</groupId>
194                 <artifactId>maven-surefire-plugin</artifactId>
195                 <version>2.19.1</version>
196                 <configuration>
197                     <useSystemClassLoader>false</useSystemClassLoader>
198                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
199                 </configuration>
200             </plugin>
201
202
203             <plugin>
204                 <groupId>org.apache.maven.plugins</groupId>
205                 <artifactId>maven-antrun-plugin</artifactId>
206                 <executions>
207                     <execution>
208                         <id>ant-test</id>
209                         <phase>package</phase>
210                         <configuration>
211                             <tasks>
212                                 <fixcrlf srcdir="./" eol="unix"
213                                          includes="zusammenMainTool.sh"/>
214                             </tasks>
215                         </configuration>
216                         <goals>
217                             <goal>run</goal>
218                         </goals>
219                     </execution>
220                 </executions>
221             </plugin>
222             <plugin>
223                 <artifactId>maven-assembly-plugin</artifactId>
224                 <executions>
225                     <execution>
226                         <id>Generate assembly</id>
227                         <phase>install</phase>
228                         <goals>
229                             <goal>single</goal>
230                         </goals>
231                     </execution>
232                 </executions>
233                 <configuration>
234                     <descriptors>
235                         <descriptor>${basedir}/src/main/assembly/zusammen-tools-lib-assembly.xml
236                         </descriptor>
237                     </descriptors>
238                     <appendAssemblyId>false</appendAssemblyId>
239                     <finalName>openecomp-zusammen-tools-lib</finalName>
240                 </configuration>
241             </plugin>
242
243         </plugins>
244     </build>
245
246 </project>