Skip to content

Commit

Permalink
chore(dev): prepare next release development
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminParisel committed Jun 11, 2018
1 parent f61a42f commit 560a3af
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
FROM openjdk:8-jre-alpine
EXPOSE 8080
WORKDIR /data
ADD ./backend/webapp/target/ui-designer-1.7-SNAPSHOT-standalone.jar /data/ui-designer-standalone.jar
ADD ./backend/webapp/target/ui-designer-1.8-SNAPSHOT-standalone.jar /data/ui-designer-standalone.jar
CMD java -jar ui-designer-standalone.jar
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ You can build entire project using maven.
mvn clean package

This will build frontend and backend and create two artifacts :
backend/target/ui-designer-1.7-SNAPSHOT.war
backend/target/ui-designer-1.7-SNAPSHOT-standalone.jar
backend/target/ui-designer-1.8-SNAPSHOT.war
backend/target/ui-designer-1.8-SNAPSHOT-standalone.jar

## Test
while running `mvn clean package` only unit tests are run.
Expand All @@ -22,15 +22,15 @@ Also frontend e2e test could be launched via
## Run
To run build standalone jar, just launch it as a standard jar :

java -jar backend/target/ui-designer-1.7-SNAPSHOT-standalone.jar [-Dworkspace=/path/to/workspace] [-Drepository.widgets=/path/widgets/repository] [-Drepository.pages=/path/pages/repository]
java -jar backend/target/ui-designer-1.8-SNAPSHOT-standalone.jar [-Dworkspace=/path/to/workspace] [-Drepository.widgets=/path/widgets/repository] [-Drepository.pages=/path/pages/repository]

Application is now available at http://localhost:8080/designer/

You can specify workspace location where pages and widgets are stored. Default value is {user.home}/.bonita

Available options can be listed by running

java -jar backend/target/ui-designer-1.7-SNAPSHOT-standalone.jar -h
java -jar backend/target/ui-designer-1.8-SNAPSHOT-standalone.jar -h

Other available options are listed here : http://tomcat.apache.org/maven-plugin-2.0/executable-war-jar.html

Expand Down
2 changes: 1 addition & 1 deletion backend/contract/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.bonitasoft.web</groupId>
<artifactId>ui-designer-backend</artifactId>
<version>1.7-SNAPSHOT</version>
<version>1.8-SNAPSHOT</version>
</parent>

<artifactId>ui-designer-backend-contract</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.bonitasoft.web</groupId>
<artifactId>ui-designer</artifactId>
<version>1.7-SNAPSHOT</version>
<version>1.8-SNAPSHOT</version>
</parent>

<artifactId>ui-designer-backend</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion backend/webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.bonitasoft.web</groupId>
<artifactId>ui-designer-backend</artifactId>
<version>1.7-SNAPSHOT</version>
<version>1.8-SNAPSHOT</version>
</parent>

<artifactId>ui-designer-backend-webapp</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion frontend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.bonitasoft.web</groupId>
<artifactId>ui-designer</artifactId>
<version>1.7-SNAPSHOT</version>
<version>1.8-SNAPSHOT</version>
</parent>

<artifactId>ui-designer-frontend</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.bonitasoft.web</groupId>
<artifactId>ui-designer</artifactId>
<version>1.7-SNAPSHOT</version>
<version>1.8-SNAPSHOT</version>

<packaging>pom</packaging>

Expand Down
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ By default mvn task will check for _ddescribe_ and _iit_ in spec files and fail

You can easily add a test by running the app as usual from the current directory :

java -jar ../backend/webapp/target/ui-designer-1.7-SNAPSHOT-standalone.jar -httpPort=8083 \
java -jar ../backend/webapp/target/ui-designer-1.8-SNAPSHOT-standalone.jar -httpPort=8083 \
-Drepository.pages=src/test/resources/pages/ \
-Drepository.fragments=src/test/resources/fragments/ \
-Drepository.widgets=./target/widgets
Expand Down
2 changes: 1 addition & 1 deletion tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.bonitasoft.web</groupId>
<artifactId>ui-designer</artifactId>
<version>1.7-SNAPSHOT</version>
<version>1.8-SNAPSHOT</version>
</parent>

<artifactId>ui-designer-tests</artifactId>
Expand Down

0 comments on commit 560a3af

Please sign in to comment.