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 | |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 85 | <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&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 Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 185 | <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> |
vempo | 8fbf1ec | 2017-10-17 13:27:03 +0300 | [diff] [blame] | 195 | <tasks> |
| 196 | <replace file="src/main/resources/zusammenMainTool.sh" token="1.0-SNAPSHOT" value="${project.version}"/> |
| 197 | </tasks> |
| 198 | |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 199 | </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> |