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> |
Ofir Sonsino | 351a974 | 2019-07-29 10:34:21 +0300 | [diff] [blame] | 11 | <version>1.3.1-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> |
k.kedron | 176a760 | 2019-09-05 17:50:23 +0200 | [diff] [blame] | 77 | <outputDirectory>${project.parent.basedir}/docker/docker_tools/chef-repo/cookbooks/Deploy-DCAE/files/default</outputDirectory> |
Manor, Yanir (ym903w) | 47db2dd | 2018-09-26 13:07:27 +0300 | [diff] [blame] | 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> |
Eran (ev672n), Vosk | f94a95f | 2018-10-29 18:10:13 +0200 | [diff] [blame] | 210 | <version>2.8.5</version> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 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> |
Ofir Sonsino | 351a974 | 2019-07-29 10:34:21 +0300 | [diff] [blame] | 215 | <version>1.3.1</version> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 216 | </dependency> |
| 217 | <dependency> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 218 | <groupId>org.testng</groupId> |
| 219 | <artifactId>testng</artifactId> |
| 220 | <version>6.9.10</version> |
| 221 | <scope>test</scope> |
| 222 | </dependency> |
| 223 | <dependency> |
k.kedron | 6921431 | 2019-07-23 15:33:02 +0200 | [diff] [blame] | 224 | <groupId>org.mockito</groupId> |
| 225 | <artifactId>mockito-core</artifactId> |
| 226 | <version>2.18.3</version> |
| 227 | <scope>test</scope> |
| 228 | </dependency> |
| 229 | <dependency> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 230 | <groupId>org.apache.httpcomponents</groupId> |
| 231 | <artifactId>httpclient</artifactId> |
| 232 | </dependency> |
| 233 | <dependency> |
| 234 | <groupId>commons-logging</groupId> |
| 235 | <artifactId>commons-logging</artifactId> |
| 236 | <version>1.1.1</version> |
| 237 | </dependency> |
| 238 | <dependency> |
| 239 | <groupId>com.fasterxml.jackson.core</groupId> |
| 240 | <artifactId>jackson-core</artifactId> |
Eran (ev672n), Vosk | 8571b0c | 2018-10-10 13:23:54 +0300 | [diff] [blame] | 241 | <version>2.9.6</version> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 242 | </dependency> |
| 243 | <dependency> |
| 244 | <groupId>com.fasterxml.jackson.core</groupId> |
| 245 | <artifactId>jackson-annotations</artifactId> |
Eran (ev672n), Vosk | 25aa909 | 2018-10-15 10:52:26 +0300 | [diff] [blame] | 246 | <version>2.9.6</version> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 247 | </dependency> |
| 248 | <dependency> |
| 249 | <groupId>com.fasterxml.jackson.core</groupId> |
| 250 | <artifactId>jackson-databind</artifactId> |
Eran (ev672n), Vosk | 8571b0c | 2018-10-10 13:23:54 +0300 | [diff] [blame] | 251 | <version>2.9.6</version> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 252 | </dependency> |
| 253 | <dependency> |
| 254 | <groupId>junit</groupId> |
| 255 | <artifactId>junit</artifactId> |
| 256 | <version>4.12</version> |
| 257 | </dependency> |
Eran (ev672n), Vosk | b4b7410 | 2018-10-23 12:18:46 +0300 | [diff] [blame] | 258 | <dependency> |
| 259 | <groupId>org.springframework</groupId> |
| 260 | <artifactId>spring-web</artifactId> |
| 261 | <version>5.0.9.RELEASE</version> |
Eran (ev672n), Vosk | b4b7410 | 2018-10-23 12:18:46 +0300 | [diff] [blame] | 262 | </dependency> |
k.kedron | 176a760 | 2019-09-05 17:50:23 +0200 | [diff] [blame] | 263 | <!-- TO-DO: UNCOMMENT WHEN SDC-2554 BUG WILL BE SOLVE--> |
| 264 | <!-- <dependency>--> |
| 265 | <!-- <groupId>org.springframework</groupId>--> |
| 266 | <!-- <artifactId>spring-core</artifactId>--> |
| 267 | <!-- <version>${org.springframework.version}</version>--> |
| 268 | <!-- </dependency>--> |
| 269 | <!-- <dependency>--> |
| 270 | <!-- <groupId>org.slf4j</groupId>--> |
| 271 | <!-- <artifactId>slf4j-simple</artifactId>--> |
| 272 | <!-- <version>1.7.26</version>--> |
| 273 | <!-- </dependency>--> |
Stone, Avi (as206k) | 5032434 | 2018-04-12 15:46:31 +0300 | [diff] [blame] | 274 | </dependencies> |
Stone, Avi (as206k) | b725d4c | 2018-05-10 18:22:39 +0300 | [diff] [blame] | 275 | </project> |