Added MainClass to manifest, simple build/run instructions

Este commit está contenido en:
Patrick Surry 2014-12-10 14:04:34 -05:00
padre 70c43df686
commit 165e249694
Se han modificado 2 ficheros con 24 adiciones y 0 borrados

Ver fichero

@ -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
Ver fichero

@ -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>