[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / tools / migration / 1702_to_1707_zusammen / 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-migration</name>
16     <dependencies>
17         <dependency>
18             <groupId>org.openecomp.sdc</groupId>
19             <artifactId>openecomp-sdc-vendor-software-product-api</artifactId>
20             <version>${project.version}</version>
21         </dependency>
22         <dependency>
23             <artifactId>openecomp-zusammen-plugin</artifactId>
24             <groupId>org.openecomp.sdc.core</groupId>
25             <version>${project.version}</version>
26         </dependency>
27         <dependency>
28             <groupId>org.openecomp.sdc</groupId>
29             <artifactId>openecomp-sdc-vendor-software-product-core</artifactId>
30             <version>${project.version}</version>
31         </dependency>
32         <dependency>
33             <groupId>org.openecomp.sdc</groupId>
34             <artifactId>openecomp-sdc-vendor-license-api</artifactId>
35             <version>${project.version}</version>
36         </dependency>
37         <dependency>
38             <groupId>org.openecomp.sdc</groupId>
39             <artifactId>openecomp-sdc-model-impl</artifactId>
40             <version>${project.version}</version>
41         </dependency>
42         <dependency>
43             <groupId>org.openecomp.sdc.core</groupId>
44             <artifactId>openecomp-zusammen-core</artifactId>
45             <version>${project.version}</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>${project.version}</version>
61         </dependency>
62     </dependencies>
63     <artifactId>openecomp-zusammen-migration</artifactId>
64     <groupId>org.openecomp.sdc.core.migration</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     <build>
73         <plugins>
74
75             <!-- ================================================== -->
76             <!-- Set the JDK compiler version.                      -->
77             <!-- ================================================== -->
78             <plugin>
79                 <groupId>org.apache.maven.plugins</groupId>
80                 <artifactId>maven-compiler-plugin</artifactId>
81                 <version>2.5.1</version>
82                 <inherited>true</inherited>
83                 <configuration>
84                     <source>1.8</source>
85                     <target>1.8</target>
86                 </configuration>
87             </plugin>
88
89             <plugin>
90                 <groupId>org.codehaus.mojo</groupId>
91                 <artifactId>license-maven-plugin</artifactId>
92                 <version>1.10</version>
93                 <configuration>
94                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
95                     <processStartTag>
96                         ============LICENSE_START=======================================================
97                     </processStartTag>
98                     <processEndTag>
99                         ============LICENSE_END=========================================================
100                     </processEndTag>
101                     <sectionDelimiter>
102                         ================================================================================
103                     </sectionDelimiter>
104                     <licenseName>apache_v2</licenseName>
105                     <inceptionYear>2017</inceptionYear>
106                     <organizationName>AT&amp;T Intellectual Property. All rights 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
137
138             <plugin>
139                 <groupId>org.apache.maven.plugins</groupId>
140                 <artifactId>maven-dependency-plugin</artifactId>
141                 <version>2.8</version>
142                 <executions>
143                     <execution>
144                         <id>copy-dependencies</id>
145                         <phase>install</phase>
146                         <goals>
147                             <goal>copy-dependencies</goal>
148                         </goals>
149                         <configuration>
150                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
151                             <overWriteReleases>false</overWriteReleases>
152                             <overWriteSnapshots>false</overWriteSnapshots>
153                             <overWriteIfNewer>true</overWriteIfNewer>
154                             <!--includeScope>runtime</includeScope-->
155                         </configuration>
156                     </execution>
157                 </executions>
158             </plugin>
159
160             <plugin>
161                 <groupId>org.apache.maven.plugins</groupId>
162                 <artifactId>maven-jar-plugin</artifactId>
163                 <version>2.4</version>
164                 <executions>
165                     <execution>
166                         <phase>package</phase>
167                     </execution>
168                 </executions>
169                 <configuration>
170                     <archive>
171                         <manifest>
172                             <addClasspath>true</addClasspath>
173                             <classpathLayoutType>custom</classpathLayoutType>
174                             <customClasspathLayout>
175                                 lib/${artifact.artifactId}-${baseVersion}.${artifact.extension}
176                             </customClasspathLayout>
177                             <mainClass>org.openecomp.core.migration.MigrationMain
178                             </mainClass>
179                         </manifest>
180                         <manifestEntries>
181                             <Class-Path>lib/</Class-Path>
182                         </manifestEntries>
183                     </archive>
184                 </configuration>
185             </plugin>
186
187             <plugin>
188                 <groupId>org.apache.maven.plugins</groupId>
189                 <artifactId>maven-surefire-plugin</artifactId>
190                 <version>2.19.1</version>
191                 <configuration>
192                     <useSystemClassLoader>false</useSystemClassLoader>
193                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
194                 </configuration>
195             </plugin>
196
197
198             <plugin>
199                 <groupId>org.apache.maven.plugins</groupId>
200                 <artifactId>maven-antrun-plugin</artifactId>
201                 <executions>
202                     <execution>
203                         <id>ant-test</id>
204                         <phase>package</phase>
205                         <configuration>
206                             <tasks>
207                                 <fixcrlf srcdir="./" eol="unix"
208                                          includes="cassandra2zusammen.sh"/>
209                             </tasks>
210                         </configuration>
211                         <goals>
212                             <goal>run</goal>
213                         </goals>
214                     </execution>
215                 </executions>
216             </plugin>
217             <plugin>
218                 <artifactId>maven-assembly-plugin</artifactId>
219                 <version>${mvn.assembly.version}</version>
220                 <executions>
221                     <execution>
222                         <id>Generate assembly</id>
223                         <phase>install</phase>
224                         <goals>
225                             <goal>single</goal>
226                         </goals>
227                     </execution>
228                 </executions>
229                 <configuration>
230                     <descriptors>
231                         <descriptor>${basedir}/src/main/assembly/migration-lib-assembly.xml
232                         </descriptor>
233                     </descriptors>
234                     <finalName>openecomp-zusammen-migration-lib</finalName>
235                 </configuration>
236             </plugin>
237
238         </plugins>
239     </build>
240
241 </project>