Skip to content

Commit 672329b

Browse files
committed
Update assembly plugin configuration for runnable examples jar.
1 parent 0660c35 commit 672329b

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

Readme.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ To build all the Piccolo2D modules
5656

5757
$ mvn install
5858

59-
To build and run the Piccolo2D examples runnable jar
59+
To run the Piccolo2D examples runnable jar
6060

61-
$ cd examples
62-
$ mvn assembly:assembly
63-
$ java -jar target/piccolo2d-examples-3.0.1-jar-with-dependencies.jar
61+
$ java -jar examples/target/piccolo2d-examples-{version}-jar-with-dependencies.jar

examples/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@
7272
<descriptorRef>jar-with-dependencies</descriptorRef>
7373
</descriptorRefs>
7474
</configuration>
75+
<executions>
76+
<execution>
77+
<id>make-assembly</id>
78+
<phase>package</phase>
79+
<goals>
80+
<goal>single</goal>
81+
</goals>
82+
</execution>
83+
</executions>
7584
</plugin>
7685
</plugins>
7786
</build>

0 commit comments

Comments
 (0)