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