mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Fix Maven site links, Make unit test shorter, add svn rev to manifest
This commit is contained in:
26
pom.xml
26
pom.xml
@@ -144,6 +144,22 @@
|
|||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
||||||
|
<version>1.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>validate</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>create</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<version>2.2.1</version>
|
<version>2.2.1</version>
|
||||||
@@ -197,7 +213,11 @@
|
|||||||
<archive>
|
<archive>
|
||||||
<manifest>
|
<manifest>
|
||||||
<mainClass>forge.Gui_NewGame</mainClass>
|
<mainClass>forge.Gui_NewGame</mainClass>
|
||||||
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
<manifestEntries>
|
||||||
|
<Implementation-Build>${buildNumber}</Implementation-Build>
|
||||||
|
</manifestEntries>
|
||||||
</archive>
|
</archive>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
@@ -250,9 +270,9 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.code.maven-svn-wagon</groupId>
|
<groupId>org.apache.maven.wagon</groupId>
|
||||||
<artifactId>maven-svn-wagon</artifactId>
|
<artifactId>wagon-ftp</artifactId>
|
||||||
<version>1.4</version>
|
<version>1.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|||||||
@@ -35,18 +35,19 @@ Forge
|
|||||||
|
|
||||||
<<Maven Project Links>>
|
<<Maven Project Links>>
|
||||||
|
|
||||||
* {{{http://cardforge.googlecode.com/svn/site/index.html}Maven Project Site}}
|
* {{{http://cardforge.org/releases/site/index.html}Maven Project Site}}
|
||||||
|
|
||||||
* {{{http://cardforge.googlecode.com/svn/site/apidocs/index.html}JavaDocs}}
|
* {{{http://cardforge.org/releases/site/apidocs/index.html}JavaDocs}}
|
||||||
|
|
||||||
* {{{http://cardforge.googlecode.com/svn/site/xref/index.html}Browsable Source Code}}
|
* {{{http://cardforge.org/releases/site/xref/index.html}Browsable Source Code}}
|
||||||
|
|
||||||
|
|
||||||
<<Related Links>>
|
<<Related Links>>
|
||||||
|
|
||||||
* {{{http://cardforge.org/}Main Website}}
|
* {{{http://cardforge.org/}Main Website}}
|
||||||
|
|
||||||
* {{{https://gitorious.org/cardforge/pages/Home}Project Site}}
|
* {{{http://svn.slightlymagic.net/forge/trunk}Source Code Repository}}
|
||||||
|
* {{{http://svn.slightlymagic.net/websvn/listing.php?repname=forge}Web View of Source}}
|
||||||
|
|
||||||
* {{{http://mtgrares.blogspot.com/}Original Author's Blog}}
|
* {{{http://mtgrares.blogspot.com/}Original Author's Blog}}
|
||||||
|
|
||||||
|
|||||||
@@ -6,13 +6,13 @@ import org.testng.annotations.Test;
|
|||||||
* Created by IntelliJ IDEA.
|
* Created by IntelliJ IDEA.
|
||||||
* User: dhudson
|
* User: dhudson
|
||||||
*/
|
*/
|
||||||
@Test(groups = {"UnitTest"}, timeOut = 5000, enabled = false)
|
@Test(groups = {"UnitTest"}, timeOut = 1000, enabled = false)
|
||||||
public class ListChooserTest {
|
public class ListChooserTest {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Test(timeOut = 5000)
|
@Test(timeOut = 1000)
|
||||||
public void ListChooserTest1() {
|
public void ListChooserTest1() {
|
||||||
ListChooser<String> c = new ListChooser<String>("test", "choose a or b", 0, 2, "a", "b");
|
ListChooser<String> c = new ListChooser<String>("test", "choose a or b", 0, 2, "a", "b");
|
||||||
System.out.println(c.show());
|
System.out.println(c.show());
|
||||||
|
|||||||
Reference in New Issue
Block a user