Still not working.
Code:
Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - Labyrinth:Labyrinth:jar:0.0.1-SNAPSHOT
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [groovy:generateStubs {execution: default}]
[INFO] No sources found for Java stub generation
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Documents and Settings\Pathfinder\My Documents\workspace-sts-2.5.2.RELEASE\Labyrinth\src\main\resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [groovy:compile {execution: default}]
[INFO] No sources found to compile
[INFO] [groovy:generateTestStubs {execution: default}]
[INFO] No sources found for Java stub generation
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory C:\Documents and Settings\Pathfinder\My Documents\workspace-sts-2.5.2.RELEASE\Labyrinth\src\test\resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [groovy:testCompile {execution: default}]
[INFO] No sources found to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: C:\Documents and Settings\Pathfinder\My Documents\workspace-sts-2.5.2.RELEASE\Labyrinth\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: C:\Documents and Settings\Pathfinder\My Documents\workspace-sts-2.5.2.RELEASE\Labyrinth\target\Labyrinth-0.0.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Mon Feb 14 14:31:32 EST 2011
[INFO] Final Memory: 16M/39M
[INFO] ------------------------------------------------------------------------
I copied the portions of the POM as advised but my jar is still coming up empty. Maven can't find the sources, but it is now looking Groovy code.
A couple of other notes:
Do I need to install the Gmavin plugin? I'm not finding any downloads or instructions.
My class no longer runs in the IDE. I get an error stating that the "editor dose not contain a main type."
Do I need to run the "mvn archetype:generate" command? If so, how do I do that in Windows? I don't have anything set up at the moment.
Last thought. This Groovy project is only 100 lines of code in a single class. It started out as a groovy script, but we need it to run on 180 servers. None have groovy installed so we decided to compile it into a JAR. Seems like this is becoming more difficult than I expected and I am thinking it might make more sense to convert it to a Java class. (I would like to be able to use Groovy though.)
Any other ideas or thoughts would be appreciated.