Skip to content

Commit

Permalink
build zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Immueggpain authored and Immueggpain committed Aug 15, 2018
1 parent 2ca4f18 commit d48b6f9
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,22 @@
<goal>run</goal>
</goals>
<configuration>
<tasks>
<target>
<copy file="settings.json"
tofile="${project.build.directory}/settings.json" />
<copy file="user.rule"
tofile="${project.build.directory}/user.rule" />
</tasks>
<zip
destfile="${project.build.directory}/smartproxy-${project.version}.zip"
basedir="${project.build.directory}" includes="lib/**">
<fileset dir="${project.build.directory}"
includes="user.rule" />
<fileset dir="${project.build.directory}"
includes="settings.json" />
<fileset dir="${project.build.directory}"
includes="${project.artifactId}-${project.version}.jar" />
</zip>
</target>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit d48b6f9

Please sign in to comment.