Skip to content

Commit

Permalink
Release 1.0.0-dev1
Browse files Browse the repository at this point in the history
  • Loading branch information
making committed Oct 30, 2016
1 parent 72c602b commit 14cc536
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
17 changes: 1 addition & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>ik.am.demo</groupId>
<artifactId>index-import-task</artifactId>
<version>1.0.0-dev0</version>
<version>1.0.0-dev1</version>
<packaging>jar</packaging>

<name>index-import-task</name>
Expand Down Expand Up @@ -92,21 +92,6 @@
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>add-procfile</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<echo message="Add Procfile"/>
<exec executable="jar">
<arg line="-uvf target/${build.finalName}.jar Procfile"/>
</exec>
</target>
</configuration>
</execution>
<execution>
<id>add-.profile.d</id>
<phase>package</phase>
Expand Down
3 changes: 2 additions & 1 deletion v3-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ APP=index-import-task
SERVICE=df-mysql

./mvnw clean package -DskipTests=true
cf v3-push $APP -b java_buildpack_offline -p target/index-import-task-0.0.1-SNAPSHOT.jar
java -uvf target/index-import-task-1.0.0-dev1.jar Procfile
cf v3-push $APP -b java_buildpack_offline -p target/index-import-task-1.0.0-dev1.jar
cf v3-bind-service $APP $SERVICE

0 comments on commit 14cc536

Please sign in to comment.