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