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