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

View File

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

View File

@@ -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());