Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 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> |
ayalaben | 914f3a5 | 2017-11-16 09:21:41 +0200 | [diff] [blame] | 20 | <version>${project.version}</version> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 21 | </dependency> |
| 22 | <dependency> |
shalomb | b38f18b | 2018-01-02 13:48:40 +0200 | [diff] [blame] | 23 | <groupId>com.amdocs.zusammen.plugin</groupId> |
| 24 | <artifactId>zusammen-collaboration-cassandra-plugin</artifactId> |
ayalaben | da60332 | 2018-02-11 11:11:00 +0200 | [diff] [blame] | 25 | <version>${zusammen-collaboration-store.version}</version> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 26 | </dependency> |
| 27 | <dependency> |
| 28 | <groupId>org.openecomp.sdc</groupId> |
| 29 | <artifactId>openecomp-sdc-vendor-software-product-core</artifactId> |
ayalaben | 914f3a5 | 2017-11-16 09:21:41 +0200 | [diff] [blame] | 30 | <version>${project.version}</version> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 31 | </dependency> |
| 32 | <dependency> |
| 33 | <groupId>org.openecomp.sdc</groupId> |
| 34 | <artifactId>openecomp-sdc-vendor-license-api</artifactId> |
ayalaben | 914f3a5 | 2017-11-16 09:21:41 +0200 | [diff] [blame] | 35 | <version>${project.version}</version> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 36 | </dependency> |
| 37 | <dependency> |
| 38 | <groupId>org.openecomp.sdc</groupId> |
| 39 | <artifactId>openecomp-sdc-model-impl</artifactId> |
ayalaben | 914f3a5 | 2017-11-16 09:21:41 +0200 | [diff] [blame] | 40 | <version>${project.version}</version> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 41 | </dependency> |
| 42 | <dependency> |
| 43 | <groupId>org.openecomp.sdc.core</groupId> |
| 44 | <artifactId>openecomp-zusammen-core</artifactId> |
ayalaben | 914f3a5 | 2017-11-16 09:21:41 +0200 | [diff] [blame] | 45 | <version>${project.version}</version> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>com.amdocs.zusammen.plugin</groupId> |
| 49 | <artifactId>zusammen-state-store-cassandra-plugin</artifactId> |
az2497 | 644017c | 2017-08-10 17:49:40 +0300 | [diff] [blame] | 50 | <version>${zusammen-state-store.version}</version> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>org.hibernate</groupId> |
| 54 | <artifactId>hibernate-validator</artifactId> |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 55 | <version>${hibernate.validator.version}</version> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.openecomp.sdc</groupId> |
| 59 | <artifactId>openecomp-sdc-vendor-license-core</artifactId> |
ayalaben | 914f3a5 | 2017-11-16 09:21:41 +0200 | [diff] [blame] | 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> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 66 | </dependency> |
| 67 | </dependencies> |
| 68 | <artifactId>openecomp-zusammen-tools</artifactId> |
| 69 | <groupId>org.openecomp.sdc.core.tools</groupId> |
Michael Lando | 0ad3c80 | 2017-09-19 16:32:59 +0300 | [diff] [blame] | 70 | <version>1.2.0-SNAPSHOT</version> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 71 | <parent> |
| 72 | <groupId>org.openecomp.sdc</groupId> |
| 73 | <artifactId>openecomp-sdc-lib</artifactId> |
| 74 | <relativePath>../../lib</relativePath> |
Michael Lando | 0ad3c80 | 2017-09-19 16:32:59 +0300 | [diff] [blame] | 75 | <version>1.2.0-SNAPSHOT</version> |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 76 | </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 | |
| 85 | <!-- ================================================== --> |
| 86 | <!-- Set the JDK compiler version. --> |
| 87 | <!-- ================================================== --> |
| 88 | <plugin> |
| 89 | <groupId>org.apache.maven.plugins</groupId> |
| 90 | <artifactId>maven-compiler-plugin</artifactId> |
| 91 | <version>2.5.1</version> |
| 92 | <inherited>true</inherited> |
| 93 | <configuration> |
| 94 | <source>1.8</source> |
| 95 | <target>1.8</target> |
| 96 | </configuration> |
| 97 | </plugin> |
| 98 | |
| 99 | <plugin> |
| 100 | <groupId>org.codehaus.mojo</groupId> |
| 101 | <artifactId>license-maven-plugin</artifactId> |
| 102 | <version>1.10</version> |
| 103 | <configuration> |
| 104 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 105 | <processStartTag> |
| 106 | ============LICENSE_START======================================================= |
| 107 | </processStartTag> |
| 108 | <processEndTag> |
| 109 | ============LICENSE_END========================================================= |
| 110 | </processEndTag> |
| 111 | <sectionDelimiter> |
| 112 | ================================================================================ |
| 113 | </sectionDelimiter> |
| 114 | <licenseName>apache_v2</licenseName> |
| 115 | <inceptionYear>2017</inceptionYear> |
| 116 | <organizationName>AT&T Intellectual Property. All rights reserved. |
| 117 | </organizationName> |
| 118 | <projectName>SDC</projectName> |
| 119 | <canUpdateCopyright>true</canUpdateCopyright> |
| 120 | <canUpdateDescription>true</canUpdateDescription> |
| 121 | <canUpdateLicense>true</canUpdateLicense> |
| 122 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 123 | <verbose>false</verbose> |
| 124 | <includes> |
| 125 | <include>**/*.java</include> |
| 126 | <include>**/*.js</include> |
| 127 | <include>**/*.ts</include> |
| 128 | </includes> |
| 129 | <roots> |
| 130 | <root>src</root> |
| 131 | <root>app</root> |
| 132 | <root>server-mock</root> |
| 133 | <root>typings</root> |
| 134 | </roots> |
| 135 | </configuration> |
| 136 | <executions> |
| 137 | <execution> |
| 138 | <id>first</id> |
| 139 | <goals> |
| 140 | <goal>update-file-header</goal> |
| 141 | </goals> |
| 142 | <!--phase>process-sources</phase--> |
| 143 | </execution> |
| 144 | </executions> |
| 145 | </plugin> |
| 146 | |
| 147 | |
| 148 | <plugin> |
| 149 | <groupId>org.apache.maven.plugins</groupId> |
| 150 | <artifactId>maven-dependency-plugin</artifactId> |
| 151 | <version>2.8</version> |
| 152 | <executions> |
| 153 | <execution> |
| 154 | <id>copy-dependencies</id> |
| 155 | <phase>install</phase> |
| 156 | <goals> |
| 157 | <goal>copy-dependencies</goal> |
| 158 | </goals> |
| 159 | <configuration> |
| 160 | <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 161 | <overWriteReleases>false</overWriteReleases> |
| 162 | <overWriteSnapshots>false</overWriteSnapshots> |
| 163 | <overWriteIfNewer>true</overWriteIfNewer> |
| 164 | <!--includeScope>runtime</includeScope--> |
| 165 | </configuration> |
| 166 | </execution> |
| 167 | </executions> |
| 168 | </plugin> |
| 169 | |
| 170 | <plugin> |
| 171 | <groupId>org.apache.maven.plugins</groupId> |
| 172 | <artifactId>maven-jar-plugin</artifactId> |
| 173 | <version>2.4</version> |
| 174 | <executions> |
| 175 | <execution> |
| 176 | <phase>package</phase> |
| 177 | </execution> |
| 178 | </executions> |
| 179 | <configuration> |
| 180 | <archive> |
| 181 | <manifest> |
| 182 | <addClasspath>true</addClasspath> |
| 183 | <classpathLayoutType>custom</classpathLayoutType> |
| 184 | <customClasspathLayout> |
| 185 | lib/${artifact.artifactId}-${baseVersion}.${artifact.extension} |
| 186 | </customClasspathLayout> |
| 187 | <mainClass>org.openecomp.core.tools.main.ZusammenMainTool |
| 188 | </mainClass> |
| 189 | </manifest> |
| 190 | <manifestEntries> |
| 191 | <Class-Path>lib/</Class-Path> |
| 192 | </manifestEntries> |
| 193 | </archive> |
| 194 | </configuration> |
| 195 | </plugin> |
| 196 | |
| 197 | <plugin> |
| 198 | <groupId>org.apache.maven.plugins</groupId> |
| 199 | <artifactId>maven-surefire-plugin</artifactId> |
| 200 | <version>2.19.1</version> |
| 201 | <configuration> |
| 202 | <useSystemClassLoader>false</useSystemClassLoader> |
| 203 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 204 | </configuration> |
| 205 | </plugin> |
| 206 | |
| 207 | |
| 208 | <plugin> |
| 209 | <groupId>org.apache.maven.plugins</groupId> |
| 210 | <artifactId>maven-antrun-plugin</artifactId> |
| 211 | <executions> |
| 212 | <execution> |
| 213 | <id>ant-test</id> |
| 214 | <phase>package</phase> |
| 215 | <configuration> |
| 216 | <tasks> |
| 217 | <fixcrlf srcdir="./" eol="unix" |
| 218 | includes="zusammenMainTool.sh"/> |
| 219 | </tasks> |
vempo | 8fbf1ec | 2017-10-17 13:27:03 +0300 | [diff] [blame] | 220 | <tasks> |
| 221 | <replace file="src/main/resources/zusammenMainTool.sh" token="1.0-SNAPSHOT" value="${project.version}"/> |
| 222 | </tasks> |
| 223 | |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 224 | </configuration> |
| 225 | <goals> |
| 226 | <goal>run</goal> |
| 227 | </goals> |
| 228 | </execution> |
| 229 | </executions> |
| 230 | </plugin> |
| 231 | <plugin> |
| 232 | <artifactId>maven-assembly-plugin</artifactId> |
| 233 | <executions> |
| 234 | <execution> |
| 235 | <id>Generate assembly</id> |
| 236 | <phase>install</phase> |
| 237 | <goals> |
| 238 | <goal>single</goal> |
| 239 | </goals> |
| 240 | </execution> |
| 241 | </executions> |
| 242 | <configuration> |
| 243 | <descriptors> |
| 244 | <descriptor>${basedir}/src/main/assembly/zusammen-tools-lib-assembly.xml |
| 245 | </descriptor> |
| 246 | </descriptors> |
| 247 | <appendAssemblyId>false</appendAssemblyId> |
| 248 | <finalName>openecomp-zusammen-tools-lib</finalName> |
| 249 | </configuration> |
| 250 | </plugin> |
| 251 | |
| 252 | </plugins> |
| 253 | </build> |
| 254 | |
| 255 | </project> |