Updated versions prior to release

This commit is contained in:
Michael Minella
2016-07-26 23:42:49 -05:00
parent b2eb043023
commit 843c7683f4
7 changed files with 23 additions and 6 deletions

View File

@@ -105,4 +105,21 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>skipIntegrationTests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@@ -27,7 +27,7 @@ $ ./mvnw clean install
[source,shell,indent=2]
----
$ java -jar target/batch-events-1.0.2.BUILD-SNAPSHOT.jar --spring.cloud.stream.bindings.batch-events.contentType=application/json
$ java -jar target/batch-events-1.0.2.RELEASE.jar --spring.cloud.stream.bindings.batch-events.contentType=application/json
----
For example you can listen for specific job execution events on a specified channel with a Spring Cloud Stream Sink

View File

@@ -22,5 +22,5 @@ $ mvn clean package
[source,shell,indent=2]
----
$ java -jar target/batch-job-1.0.2.BUILD-SNAPSHOT.jar
$ java -jar target/batch-job-1.0.2.RELEASE.jar
----

View File

@@ -22,7 +22,7 @@ $ export spring_datasource_url=jdbc:mysql://localhost:3306/<your database>
$ export spring_datasource_username=<your username>
$ export spring_datasource_password=<your password>
$ export spring_datasource_driverClassName=org.mariadb.jdbc.Driver
$ java -jar -Dspring.profiles.active=master target/partitioned-batch-job-1.0.2.BUILD-SNAPSHOT.jar
$ java -jar -Dspring.profiles.active=master target/partitioned-batch-job-1.0.2.RELEASE.jar
----
NOTE: This example will use require a MySql RDBMS repository and currently uses the mariadb jdbc driver to connect.

View File

@@ -99,7 +99,7 @@ public class JobConfiguration {
@Bean
public PartitionHandler partitionHandler(TaskLauncher taskLauncher, JobExplorer jobExplorer) throws Exception {
Resource resource = resourceLoader.getResource("maven://io.spring.cloud:partitioned-batch-job:1.0.2.BUILD-SNAPSHOT");
Resource resource = resourceLoader.getResource("maven://io.spring.cloud:partitioned-batch-job:1.0.2.RELEASE");
DeployerPartitionHandler partitionHandler = new DeployerPartitionHandler(taskLauncher, jobExplorer, resource, "workerStep");

View File

@@ -17,7 +17,7 @@ $ ./mvnw clean install
[source,shell,indent=2]
----
$ java -jar target/task-events-1.0.2.BUILD-SNAPSHOT.jar --spring.cloud.stream.bindings.task-events.contentType=application/json
$ java -jar target/task-events-1.0.2.RELEASE.jar --spring.cloud.stream.bindings.task-events.contentType=application/json
----
You can listen for the events on the task-events channel with a Spring Cloud Stream Sink

View File

@@ -22,5 +22,5 @@ $ mvn clean package
[source,shell,indent=2]
----
$ java -jar target/timestamp-task-1.0.2.BUILD-SNAPSHOT.jar
$ java -jar target/timestamp-task-1.0.2.RELEASE.jar
----