Skip to content

Commit

Permalink
Delete the component jar when running maven clean.
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-spas committed May 17, 2018
1 parent 82e7b1e commit bb19f28
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions component/clean_component.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

rm sl-component.jar
12 changes: 11 additions & 1 deletion component/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<groupId>org.codehaus.mojo</groupId>
<executions>
<execution>
<id>blah</id>
<id>make_component</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
Expand All @@ -25,6 +25,16 @@
<executable>${basedir}/make_component.sh</executable>
</configuration>
</execution>
<execution>
<id>clean_component</id>
<phase>clean</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${basedir}/clean_component.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand Down

0 comments on commit bb19f28

Please sign in to comment.