Tweet Gathering

Let's configure our pom.xml for the Tweet Gathering project.

The build node should look like the following:

<plugin>  <groupId>io.fabric8</groupId>  <artifactId>docker-maven-plugin</artifactId>  <version>0.21.0</version>  <configuration>    <images>      <image>        <name>springfivebyexample/${project.build.finalName}</name>        <build>          <from>openjdk:latest</from>          <entryPoint>java -Dspring.profiles.active=container -jar              /application/${project.build.finalName}.jar</entryPoint>          <assembly>            <basedir>/application</basedir>            <descriptorRef>artifact</descriptorRef>            <inline>              <id>assembly</id>              <files>                <file>        <source>target/${project.build.finalName}.jar</source>                </file>              </files>            </inline>          </assembly>          <tags>            <tag>latest</tag>          </tags>          <ports> <port>8081 ...

Get Spring 5.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.