blob: aef0eb73ade51f5d7554f60a5b7f0ab81616f303 [file] [log] [blame]
Michael Lando4d97d5f2017-06-17 22:40:44 +03001<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>
ayalaben914f3a52017-11-16 09:21:41 +020020 <version>${project.version}</version>
Michael Lando4d97d5f2017-06-17 22:40:44 +030021 </dependency>
22 <dependency>
shalombb38f18b2018-01-02 13:48:40 +020023 <groupId>com.amdocs.zusammen.plugin</groupId>
24 <artifactId>zusammen-collaboration-cassandra-plugin</artifactId>
ayalabenda603322018-02-11 11:11:00 +020025 <version>${zusammen-collaboration-store.version}</version>
Michael Lando4d97d5f2017-06-17 22:40:44 +030026 </dependency>
27 <dependency>
28 <groupId>org.openecomp.sdc</groupId>
29 <artifactId>openecomp-sdc-vendor-software-product-core</artifactId>
ayalaben914f3a52017-11-16 09:21:41 +020030 <version>${project.version}</version>
Michael Lando4d97d5f2017-06-17 22:40:44 +030031 </dependency>
32 <dependency>
33 <groupId>org.openecomp.sdc</groupId>
34 <artifactId>openecomp-sdc-vendor-license-api</artifactId>
ayalaben914f3a52017-11-16 09:21:41 +020035 <version>${project.version}</version>
Michael Lando4d97d5f2017-06-17 22:40:44 +030036 </dependency>
37 <dependency>
38 <groupId>org.openecomp.sdc</groupId>
39 <artifactId>openecomp-sdc-model-impl</artifactId>
ayalaben914f3a52017-11-16 09:21:41 +020040 <version>${project.version}</version>
Michael Lando4d97d5f2017-06-17 22:40:44 +030041 </dependency>
42 <dependency>
43 <groupId>org.openecomp.sdc.core</groupId>
44 <artifactId>openecomp-zusammen-core</artifactId>
ayalaben914f3a52017-11-16 09:21:41 +020045 <version>${project.version}</version>
Michael Lando4d97d5f2017-06-17 22:40:44 +030046 </dependency>
47 <dependency>
48 <groupId>com.amdocs.zusammen.plugin</groupId>
49 <artifactId>zusammen-state-store-cassandra-plugin</artifactId>
az2497644017c2017-08-10 17:49:40 +030050 <version>${zusammen-state-store.version}</version>
Michael Lando4d97d5f2017-06-17 22:40:44 +030051 </dependency>
52 <dependency>
53 <groupId>org.hibernate</groupId>
54 <artifactId>hibernate-validator</artifactId>
Avi Zivb8e2faf2017-07-18 19:45:38 +030055 <version>${hibernate.validator.version}</version>
Michael Lando4d97d5f2017-06-17 22:40:44 +030056 </dependency>
57 <dependency>
58 <groupId>org.openecomp.sdc</groupId>
59 <artifactId>openecomp-sdc-vendor-license-core</artifactId>
ayalaben914f3a52017-11-16 09:21:41 +020060 <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>
Michael Lando4d97d5f2017-06-17 22:40:44 +030066 </dependency>
67 </dependencies>
68 <artifactId>openecomp-zusammen-tools</artifactId>
69 <groupId>org.openecomp.sdc.core.tools</groupId>
Michael Lando0ad3c802017-09-19 16:32:59 +030070 <version>1.2.0-SNAPSHOT</version>
Michael Lando4d97d5f2017-06-17 22:40:44 +030071 <parent>
72 <groupId>org.openecomp.sdc</groupId>
73 <artifactId>openecomp-sdc-lib</artifactId>
74 <relativePath>../../lib</relativePath>
Michael Lando0ad3c802017-09-19 16:32:59 +030075 <version>1.2.0-SNAPSHOT</version>
Michael Lando4d97d5f2017-06-17 22:40:44 +030076 </parent>
77 <!--parent>
78 <groupId>org.openecomp.sdc</groupId>
79 <artifactId>openecomp-sdc</artifactId>
80 <version>1.0-SNAPSHOT</version>
81 </parent-->
82 <build>
83 <plugins>
84
Michael Lando4d97d5f2017-06-17 22:40:44 +030085 <plugin>
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>license-maven-plugin</artifactId>
88 <version>1.10</version>
89 <configuration>
90 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
91 <processStartTag>
92 ============LICENSE_START=======================================================
93 </processStartTag>
94 <processEndTag>
95 ============LICENSE_END=========================================================
96 </processEndTag>
97 <sectionDelimiter>
98 ================================================================================
99 </sectionDelimiter>
100 <licenseName>apache_v2</licenseName>
101 <inceptionYear>2017</inceptionYear>
102 <organizationName>AT&amp;T Intellectual Property. All rights reserved.
103 </organizationName>
104 <projectName>SDC</projectName>
105 <canUpdateCopyright>true</canUpdateCopyright>
106 <canUpdateDescription>true</canUpdateDescription>
107 <canUpdateLicense>true</canUpdateLicense>
108 <emptyLineAfterHeader>true</emptyLineAfterHeader>
109 <verbose>false</verbose>
110 <includes>
111 <include>**/*.java</include>
112 <include>**/*.js</include>
113 <include>**/*.ts</include>
114 </includes>
115 <roots>
116 <root>src</root>
117 <root>app</root>
118 <root>server-mock</root>
119 <root>typings</root>
120 </roots>
121 </configuration>
122 <executions>
123 <execution>
124 <id>first</id>
125 <goals>
126 <goal>update-file-header</goal>
127 </goals>
128 <!--phase>process-sources</phase-->
129 </execution>
130 </executions>
131 </plugin>
132
133
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-dependency-plugin</artifactId>
137 <version>2.8</version>
138 <executions>
139 <execution>
140 <id>copy-dependencies</id>
141 <phase>install</phase>
142 <goals>
143 <goal>copy-dependencies</goal>
144 </goals>
145 <configuration>
146 <outputDirectory>${project.build.directory}/lib</outputDirectory>
147 <overWriteReleases>false</overWriteReleases>
148 <overWriteSnapshots>false</overWriteSnapshots>
149 <overWriteIfNewer>true</overWriteIfNewer>
150 <!--includeScope>runtime</includeScope-->
151 </configuration>
152 </execution>
153 </executions>
154 </plugin>
155
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-jar-plugin</artifactId>
159 <version>2.4</version>
160 <executions>
161 <execution>
162 <phase>package</phase>
163 </execution>
164 </executions>
165 <configuration>
166 <archive>
167 <manifest>
168 <addClasspath>true</addClasspath>
169 <classpathLayoutType>custom</classpathLayoutType>
170 <customClasspathLayout>
171 lib/${artifact.artifactId}-${baseVersion}.${artifact.extension}
172 </customClasspathLayout>
173 <mainClass>org.openecomp.core.tools.main.ZusammenMainTool
174 </mainClass>
175 </manifest>
176 <manifestEntries>
177 <Class-Path>lib/</Class-Path>
178 </manifestEntries>
179 </archive>
180 </configuration>
181 </plugin>
182
183 <plugin>
184 <groupId>org.apache.maven.plugins</groupId>
Michael Lando4d97d5f2017-06-17 22:40:44 +0300185 <artifactId>maven-antrun-plugin</artifactId>
186 <executions>
187 <execution>
188 <id>ant-test</id>
189 <phase>package</phase>
190 <configuration>
191 <tasks>
192 <fixcrlf srcdir="./" eol="unix"
193 includes="zusammenMainTool.sh"/>
194 </tasks>
vempo8fbf1ec2017-10-17 13:27:03 +0300195 <tasks>
196 <replace file="src/main/resources/zusammenMainTool.sh" token="1.0-SNAPSHOT" value="${project.version}"/>
197 </tasks>
198
Michael Lando4d97d5f2017-06-17 22:40:44 +0300199 </configuration>
200 <goals>
201 <goal>run</goal>
202 </goals>
203 </execution>
204 </executions>
205 </plugin>
206 <plugin>
207 <artifactId>maven-assembly-plugin</artifactId>
208 <executions>
209 <execution>
210 <id>Generate assembly</id>
211 <phase>install</phase>
212 <goals>
213 <goal>single</goal>
214 </goals>
215 </execution>
216 </executions>
217 <configuration>
218 <descriptors>
219 <descriptor>${basedir}/src/main/assembly/zusammen-tools-lib-assembly.xml
220 </descriptor>
221 </descriptors>
222 <appendAssemblyId>false</appendAssemblyId>
223 <finalName>openecomp-zusammen-tools-lib</finalName>
224 </configuration>
225 </plugin>
226
227 </plugins>
228 </build>
229
230</project>