Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Manor, Yanir (ym903w) | 47db2dd | 2018-09-26 13:07:27 +0300 | [diff] [blame] | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 4 | <modelVersion>4.0.0</modelVersion> |
Stone, Avi (as206k) | 1f5c15a | 2018-05-13 13:08:20 +0300 | [diff] [blame] | 5 | <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 6 | <artifactId>dcaedt_tools</artifactId> |
| 7 | <name>DCAE-D Tools</name> |
| 8 | <parent> |
Stone, Avi (as206k) | b725d4c | 2018-05-10 18:22:39 +0300 | [diff] [blame] | 9 | <groupId>org.onap.sdc.dcae-d.dt-be-main</groupId> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 10 | <artifactId>dcae_dt_be_main</artifactId> |
Manor, Yanir (ym903w) | 47db2dd | 2018-09-26 13:07:27 +0300 | [diff] [blame] | 11 | <version>1.3.0-SNAPSHOT</version> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 12 | </parent> |
Areli, Fuss (af732p) | d54cab9 | 2018-05-17 19:53:13 +0300 | [diff] [blame] | 13 | |
| 14 | <properties> |
Eran (ev672n), Vosk | 25aa909 | 2018-10-15 10:52:26 +0300 | [diff] [blame^] | 15 | <!--suppress UnresolvedMavenProperty --> |
Areli, Fuss (af732p) | d54cab9 | 2018-05-17 19:53:13 +0300 | [diff] [blame] | 16 | <docker.staging.tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</docker.staging.tag> |
| 17 | </properties> |
| 18 | |
Stone, Avi (as206k) | c936da8 | 2018-05-17 13:04:39 +0300 | [diff] [blame] | 19 | <profiles> |
Areli, Fuss (af732p) | a808ee1 | 2018-05-17 20:15:19 +0300 | [diff] [blame] | 20 | <profile> |
| 21 | <id>docker</id> |
| 22 | <build> |
| 23 | <plugins> |
| 24 | <plugin> |
Manor, Yanir (ym903w) | 47db2dd | 2018-09-26 13:07:27 +0300 | [diff] [blame] | 25 | <artifactId>maven-clean-plugin</artifactId> |
| 26 | <executions> |
| 27 | <execution> |
| 28 | <id>delete dcae tools jar</id> |
| 29 | <phase>clean</phase> |
| 30 | <goals> |
| 31 | <goal>clean</goal> |
| 32 | </goals> |
| 33 | <configuration> |
| 34 | <filesets> |
| 35 | <fileset> |
| 36 | <directory>${project.parent.basedir}/docker/docker_tools/target</directory> |
| 37 | <followSymlinks>false</followSymlinks> |
| 38 | <includes> |
| 39 | <include>*.jar</include> |
| 40 | </includes> |
| 41 | </fileset> |
| 42 | </filesets> |
| 43 | </configuration> |
| 44 | </execution> |
| 45 | </executions> |
Areli, Fuss (af732p) | a808ee1 | 2018-05-17 20:15:19 +0300 | [diff] [blame] | 46 | </plugin> |
| 47 | |
| 48 | <plugin> |
Manor, Yanir (ym903w) | 47db2dd | 2018-09-26 13:07:27 +0300 | [diff] [blame] | 49 | <artifactId>maven-resources-plugin</artifactId> |
| 50 | <version>3.0.2</version> |
| 51 | <executions> |
| 52 | <execution> |
| 53 | <id>copy-dcae-tools-jar</id> |
| 54 | <phase>install</phase> |
| 55 | <goals> |
| 56 | <goal>copy-resources</goal> |
| 57 | </goals> |
| 58 | <configuration> |
| 59 | <outputDirectory>${project.parent.basedir}/docker/docker_tools/target</outputDirectory> |
| 60 | <resources> |
| 61 | <resource> |
| 62 | <directory>${project.basedir}/target</directory> |
| 63 | <includes> |
| 64 | <include>dcaedt_tools-${project.version}-jar-with-dependencies.jar</include> |
| 65 | </includes> |
| 66 | </resource> |
| 67 | </resources> |
| 68 | </configuration> |
| 69 | </execution> |
| 70 | <execution> |
| 71 | <id>copy-dcae-config-json</id> |
| 72 | <phase>validate</phase> |
| 73 | <goals> |
| 74 | <goal>copy-resources</goal> |
| 75 | </goals> |
| 76 | <configuration> |
| 77 | <outputDirectory>${project.parent.basedir}/docker/docker_tools/chef-solo/cookbooks/Deploy-DCAE/files/default</outputDirectory> |
| 78 | <resources> |
| 79 | <resource> |
| 80 | <directory>${project.basedir}/src/main/resources/conf</directory> |
| 81 | <includes> |
| 82 | <include>config.json</include> |
| 83 | </includes> |
| 84 | </resource> |
| 85 | </resources> |
| 86 | </configuration> |
| 87 | </execution> |
| 88 | </executions> |
| 89 | </plugin> |
| 90 | <plugin> |
| 91 | <groupId>io.fabric8</groupId> |
| 92 | <artifactId>docker-maven-plugin</artifactId> |
| 93 | <version>0.23.0</version> |
| 94 | <configuration> |
| 95 | <verbose>true</verbose> |
| 96 | <apiVersion>1.23</apiVersion> |
| 97 | <images> |
| 98 | <!-- Build tools image --> |
| 99 | <image> |
| 100 | <name>onap/dcae-tools</name> |
| 101 | <alias>dcae-tools</alias> |
| 102 | <build> |
| 103 | <cleanup>try</cleanup> |
| 104 | <dockerFileDir>${project.parent.basedir}/docker/docker_tools</dockerFileDir> |
| 105 | <tags> |
| 106 | <tag>${docker.tag}</tag> |
| 107 | <tag>${docker.latest.tag}</tag> |
| 108 | <tag>${docker.staging.tag}</tag> |
| 109 | </tags> |
| 110 | </build> |
| 111 | </image> |
| 112 | </images> |
| 113 | </configuration> |
| 114 | <executions> |
| 115 | <execution> |
| 116 | <id>clean-images</id> |
| 117 | <phase>pre-clean</phase> |
| 118 | <goals> |
| 119 | <goal>remove</goal> |
| 120 | </goals> |
| 121 | <configuration> |
| 122 | <removeAll>true</removeAll> |
| 123 | <image>onap/dcae-be</image> |
| 124 | </configuration> |
| 125 | </execution> |
| 126 | <execution> |
| 127 | <id>generate-images</id> |
| 128 | <phase>install</phase> |
| 129 | <goals> |
| 130 | <goal>build</goal> |
| 131 | </goals> |
| 132 | </execution> |
| 133 | <execution> |
| 134 | <id>push-images</id> |
| 135 | <phase>deploy</phase> |
| 136 | <goals> |
| 137 | <goal>push</goal> |
| 138 | </goals> |
| 139 | <configuration> |
| 140 | <image>onap/dcae-tools</image> |
| 141 | </configuration> |
| 142 | </execution> |
| 143 | </executions> |
| 144 | </plugin> |
| 145 | </plugins> |
Areli, Fuss (af732p) | a808ee1 | 2018-05-17 20:15:19 +0300 | [diff] [blame] | 146 | </build> |
| 147 | </profile> |
Stone, Avi (as206k) | c936da8 | 2018-05-17 13:04:39 +0300 | [diff] [blame] | 148 | </profiles> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 149 | <build> |
| 150 | <plugins> |
| 151 | <plugin> |
| 152 | <groupId>org.codehaus.mojo</groupId> |
| 153 | <artifactId>exec-maven-plugin</artifactId> |
| 154 | <version>1.2.1</version> |
| 155 | <executions> |
| 156 | <execution> |
| 157 | <goals> |
| 158 | <goal>java</goal> |
| 159 | </goals> |
| 160 | </execution> |
| 161 | </executions> |
| 162 | <configuration> |
| 163 | <mainClass>tools.Main</mainClass> |
| 164 | </configuration> |
| 165 | </plugin> |
| 166 | <plugin> |
| 167 | <groupId>org.apache.maven.plugins</groupId> |
| 168 | <artifactId>maven-jar-plugin</artifactId> |
| 169 | <version>3.0.2</version> |
| 170 | <configuration> |
| 171 | <archive> |
| 172 | <manifest> |
| 173 | <addClasspath>true</addClasspath> |
| 174 | <classpathPrefix>lib/</classpathPrefix> |
| 175 | <mainClass>tools.Main</mainClass> |
| 176 | </manifest> |
| 177 | </archive> |
| 178 | </configuration> |
| 179 | </plugin> |
| 180 | <plugin> |
| 181 | <artifactId>maven-assembly-plugin</artifactId> |
| 182 | <version>3.0.0</version> |
| 183 | <configuration> |
| 184 | <descriptorRefs> |
| 185 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 186 | </descriptorRefs> |
| 187 | <archive> |
| 188 | <manifest> |
| 189 | <addClasspath>true</addClasspath> |
| 190 | <mainClass>tools.Main</mainClass> |
| 191 | </manifest> |
| 192 | </archive> |
| 193 | </configuration> |
| 194 | <executions> |
| 195 | <execution> |
Manor, Yanir (ym903w) | 47db2dd | 2018-09-26 13:07:27 +0300 | [diff] [blame] | 196 | <id>make-assembly</id> <!-- this is used for inheritance merges --> |
| 197 | <phase>package</phase> <!-- bind to the packaging phase --> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 198 | <goals> |
| 199 | <goal>single</goal> |
| 200 | </goals> |
| 201 | </execution> |
| 202 | </executions> |
| 203 | </plugin> |
| 204 | </plugins> |
| 205 | </build> |
| 206 | <dependencies> |
| 207 | <dependency> |
| 208 | <groupId>com.google.code.gson</groupId> |
| 209 | <artifactId>gson</artifactId> |
| 210 | <version>2.8.0</version> |
| 211 | </dependency> |
| 212 | <dependency> |
Stone, Avi (as206k) | b725d4c | 2018-05-10 18:22:39 +0300 | [diff] [blame] | 213 | <groupId>org.onap.sdc.dcae-d.dt-be-property</groupId> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 214 | <artifactId>DCAE-DT-PROPERTY</artifactId> |
Michael Lando | 1a019f0 | 2018-09-27 15:18:37 +0300 | [diff] [blame] | 215 | <version>1.3.0-SNAPSHOT</version> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 216 | </dependency> |
| 217 | <dependency> |
| 218 | <groupId>org.powermock</groupId> |
| 219 | <artifactId>powermock-module-junit4</artifactId> |
| 220 | <version>1.6.4</version> |
| 221 | <scope>test</scope> |
| 222 | </dependency> |
| 223 | <dependency> |
| 224 | <groupId>org.powermock</groupId> |
| 225 | <artifactId>powermock-api-mockito</artifactId> |
| 226 | <version>1.6.4</version> |
| 227 | <scope>test</scope> |
| 228 | </dependency> |
| 229 | <dependency> |
| 230 | <groupId>org.testng</groupId> |
| 231 | <artifactId>testng</artifactId> |
| 232 | <version>6.9.10</version> |
| 233 | <scope>test</scope> |
| 234 | </dependency> |
| 235 | <dependency> |
| 236 | <groupId>org.apache.httpcomponents</groupId> |
| 237 | <artifactId>httpclient</artifactId> |
| 238 | </dependency> |
| 239 | <dependency> |
| 240 | <groupId>commons-logging</groupId> |
| 241 | <artifactId>commons-logging</artifactId> |
| 242 | <version>1.1.1</version> |
| 243 | </dependency> |
| 244 | <dependency> |
| 245 | <groupId>com.fasterxml.jackson.core</groupId> |
| 246 | <artifactId>jackson-core</artifactId> |
Eran (ev672n), Vosk | 8571b0c | 2018-10-10 13:23:54 +0300 | [diff] [blame] | 247 | <version>2.9.6</version> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 248 | </dependency> |
| 249 | <dependency> |
| 250 | <groupId>com.fasterxml.jackson.core</groupId> |
| 251 | <artifactId>jackson-annotations</artifactId> |
Eran (ev672n), Vosk | 25aa909 | 2018-10-15 10:52:26 +0300 | [diff] [blame^] | 252 | <version>2.9.6</version> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 253 | </dependency> |
| 254 | <dependency> |
| 255 | <groupId>com.fasterxml.jackson.core</groupId> |
| 256 | <artifactId>jackson-databind</artifactId> |
Eran (ev672n), Vosk | 8571b0c | 2018-10-10 13:23:54 +0300 | [diff] [blame] | 257 | <version>2.9.6</version> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 258 | </dependency> |
| 259 | <dependency> |
| 260 | <groupId>junit</groupId> |
| 261 | <artifactId>junit</artifactId> |
| 262 | <version>4.12</version> |
| 263 | </dependency> |
| 264 | </dependencies> |
Stone, Avi (as206k) | b725d4c | 2018-05-10 18:22:39 +0300 | [diff] [blame] | 265 | </project> |