Consolidate version numbers to 2.0.0(-SNAPSHOT)

Partially resolves #156
This commit is contained in:
Chris Bono
2022-01-24 09:18:13 -06:00
committed by GitHub
parent b9f2591ebf
commit 96c487a820
105 changed files with 169 additions and 277 deletions

View File

@@ -30,7 +30,7 @@ This is a Spring Cloud Task application that logs a timestamp.
=== Command line
[source,shell,indent=2]
----
java -jar target/timestamp-task-1.0.0.jar
java -jar target/timestamp-task-2.0.0.jar
----
=== Docker

View File

@@ -10,7 +10,7 @@
</parent>
<groupId>io.spring</groupId>
<artifactId>timestamp-task</artifactId>
<version>1.0.0</version>
<version>2.0.0</version>
<name>timestamp-task</name>
<description>Simple Timestamp sample.</description>
@@ -72,42 +72,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.21.0</version>
<configuration>
<images>
<image>
<name>springcloudtask/${project.artifactId}</name>
<build>
<tags>
<tag>${project.version}</tag>
</tags>
<from>springcloud/openjdk:2.0.0.RELEASE</from>
<volumes>
<volume>/tmp</volume>
</volumes>
<env>
<LANG>C.UTF-8</LANG>
</env>
<entryPoint>
<exec>
<arg>java</arg>
<arg>-jar</arg>
<arg>/maven/timestamp-task.jar</arg>
</exec>
</entryPoint>
<assembly>
<name>maven</name>
<descriptor>assembly.xml</descriptor>
<targetDir>/</targetDir>
</assembly>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins>
</build>