Added MainClass to manifest, simple build/run instructions
This commit is contained in:
parent
70c43df686
commit
165e249694
@ -3,6 +3,13 @@ DroidQuest
|
||||
|
||||
A Java recreation of the classic game Robot Odyssey I
|
||||
|
||||
Build with:
|
||||
|
||||
mvn install
|
||||
|
||||
Run with:
|
||||
|
||||
java -jar target/dq-1.1-SNAPSHOT.jar
|
||||
|
||||
Copyright (c) 2000 Thomas Foote
|
||||
|
||||
|
17
pom.xml
17
pom.xml
@ -16,6 +16,23 @@
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<!-- Build an executable JAR -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addClasspath>true</addClasspath>
|
||||
<classpathPrefix>lib/</classpathPrefix>
|
||||
<mainClass>com.droidquest.DQ</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
|
Loading…
Reference in New Issue
Block a user