Fix Maven site links, Make unit test shorter, add svn rev to manifest

This commit is contained in:
jendave
2011-08-10 16:57:20 +00:00
parent 2552467c8b
commit 78b668297e
3 changed files with 30 additions and 9 deletions

26
pom.xml
View File

@@ -144,6 +144,22 @@
<build>
<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>
<artifactId>maven-release-plugin</artifactId>
<version>2.2.1</version>
@@ -197,7 +213,11 @@
<archive>
<manifest>
<mainClass>forge.Gui_NewGame</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
</manifestEntries>
</archive>
</configuration>
<executions>
@@ -250,9 +270,9 @@
</configuration>
<dependencies>
<dependency>
<groupId>com.google.code.maven-svn-wagon</groupId>
<artifactId>maven-svn-wagon</artifactId>
<version>1.4</version>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</plugin>

View File

@@ -35,18 +35,19 @@ Forge
<<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>>
* {{{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}}

View File

@@ -6,13 +6,13 @@ import org.testng.annotations.Test;
* Created by IntelliJ IDEA.
* User: dhudson
*/
@Test(groups = {"UnitTest"}, timeOut = 5000, enabled = false)
@Test(groups = {"UnitTest"}, timeOut = 1000, enabled = false)
public class ListChooserTest {
/**
*
*
*/
@Test(timeOut = 5000)
@Test(timeOut = 1000)
public void ListChooserTest1() {
ListChooser<String> c = new ListChooser<String>("test", "choose a or b", 0, 2, "a", "b");
System.out.println(c.show());