Update SDC version
[sdc.git] / openecomp-be / tools / zusammen-tools / pom.xml
1 <!--
2   ~ Copyright © 2016-2018 European Support Limited
3   ~
4   ~ Licensed under the Apache License, Version 2.0 (the "License");
5   ~ you may not use this file except in compliance with the License.
6   ~ You may obtain a copy of the License at
7   ~
8   ~      http://www.apache.org/licenses/LICENSE-2.0
9   ~
10   ~ Unless required by applicable law or agreed to in writing, software
11   ~ distributed under the License is distributed on an "AS IS" BASIS,
12   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   ~ See the License for the specific language governing permissions and
14   ~ limitations under the License.
15   -->
16
17 <project xmlns="http://maven.apache.org/POM/4.0.0"
18         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20     <modelVersion>4.0.0</modelVersion>
21
22     <artifactId>openecomp-zusammen-tools</artifactId>
23     <groupId>org.openecomp.sdc.core.tools</groupId>
24     <name>openecomp-zusammen-tools</name>
25
26     <parent>
27         <groupId>org.openecomp.sdc</groupId>
28         <artifactId>openecomp-sdc-lib</artifactId>
29         <relativePath>../../lib</relativePath>
30         <version>1.8.4-SNAPSHOT</version>
31     </parent>
32
33     <properties>
34     </properties>
35
36     <dependencies>
37         <dependency>
38             <groupId>org.openecomp.sdc</groupId>
39             <artifactId>openecomp-sdc-vendor-software-product-api</artifactId>
40             <version>${project.version}</version>
41         </dependency>
42         <dependency>
43             <groupId>com.amdocs.zusammen.plugin</groupId>
44             <artifactId>zusammen-collaboration-cassandra-plugin</artifactId>
45             <version>${zusammen-collaboration-store.version}</version>
46         </dependency>
47         <dependency>
48             <groupId>org.openecomp.sdc</groupId>
49             <artifactId>openecomp-sdc-vendor-software-product-core</artifactId>
50             <version>${project.version}</version>
51         </dependency>
52         <dependency>
53             <groupId>org.openecomp.sdc</groupId>
54             <artifactId>openecomp-sdc-vendor-license-api</artifactId>
55             <version>${project.version}</version>
56         </dependency>
57         <dependency>
58             <groupId>org.openecomp.sdc</groupId>
59             <artifactId>openecomp-sdc-model-impl</artifactId>
60             <version>${project.version}</version>
61         </dependency>
62         <dependency>
63             <groupId>org.openecomp.sdc.core</groupId>
64             <artifactId>openecomp-zusammen-core</artifactId>
65             <version>${project.version}</version>
66         </dependency>
67         <dependency>
68             <groupId>com.amdocs.zusammen.plugin</groupId>
69             <artifactId>zusammen-state-store-cassandra-plugin</artifactId>
70             <version>${zusammen-state-store.version}</version>
71         </dependency>
72         <dependency>
73             <groupId>org.hibernate</groupId>
74             <artifactId>hibernate-validator</artifactId>
75             <version>${hibernate.validator.version}</version>
76         </dependency>
77         <dependency>
78             <groupId>org.openecomp.sdc</groupId>
79             <artifactId>openecomp-sdc-vendor-license-core</artifactId>
80             <version>${project.version}</version>
81         </dependency>
82         <dependency>
83             <groupId>org.openecomp.sdc</groupId>
84             <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
85             <version>${project.version}</version>
86         </dependency>
87         <dependency>
88             <groupId>commons-cli</groupId>
89             <artifactId>commons-cli</artifactId>
90             <version>1.4</version>
91         </dependency>
92     </dependencies>
93
94     <build>
95         <plugins>
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         </plugins>
215     </build>
216
217 </project>