On Dec 4, 2007 6:39 PM, deckrider <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I'm getting a warning when I try the example pom.xml at
>
> http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/usage.html
> listed just under "Plugin configuration" when I run 'mvn package':


are you using  a snapshot  version of the plugin ? If so look at the docs
foudn within the subversion (not online, as they are old). You may need to
use a different mojo goal.
Look at the examples under plugin/src/test/projects/.... This is well
explained in the docs.

[WARNING] The specified main class
> (org.apache.commons.cli.BasicParser) doesn't seem to contain a main
> method... Please check your
> configuration.org.apache.commons.cli.BasicParser.main([Ljava.lang.String;)
>
> How do I fix this?  I get a similar warning for my own project, even
> though the end result appears to work ok:



This usualy happens (I think) when the project and the webstart project are
within a single module.

Support for this was added in since the first stable release, but as I said
above, you need to read the docs that are not published on the official
site.

>
>
> [WARNING] Something failed while checking if the main class contains
> the main() method. This is probably due to the limited classpath we
> have provided to the class loader. The specified main class
> (com.foonet.myapp.WebstartTest.FooLoginTest) found in the jar is
> *assumed* to contain a main method...
> com/foonet/myapp/bar/exception/BARException
>
> Thanks in advance,
> Dave.


Hope that answered at least partially to your questiois...

CHeers,

Jerome

Reply via email to