Skip to content

Commit

Permalink
Nightly Builds
Browse files Browse the repository at this point in the history
- build maven to target folder (instead of dist)
- clean target folder before and after making and deploying a new SNAPSHOT build
  • Loading branch information
tomas-muller committed Nov 1, 2018
1 parent f728962 commit 4eda065
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
/bin/
/dist/
/target/
8 changes: 5 additions & 3 deletions build.xml
Expand Up @@ -274,9 +274,11 @@
<target name="dist-nojprof" depends="dist"/>

<target name="deploy">
<exec command="mvn">
<arg value="deploy"/>
</exec>
<exec command="mvn">
<arg value="clean"/>
<arg value="deploy"/>
<arg value="clean"/>
</exec>
</target>

<target name="changelog">
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -81,7 +81,7 @@
</scm>

<build>
<directory>dist</directory>
<directory>target</directory>
<finalName>${project.artifactId}-${project.version}</finalName>
<sourceDirectory>src</sourceDirectory>
<resources>
Expand Down

0 comments on commit 4eda065

Please sign in to comment.