Thanks for the reply. Responses embedded below:
On Dec 5, 2007 6:43 PM, Jerome Lacoste <[EMAIL PROTECTED]> wrote:
>
> 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 ?
I tried both latest non-snapshot and latest snapshot, with the same result.
> > [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.
For me it only happens when referencing classes in external jar files
(upon which my project depends) that are not built within the project
that uses webstart-maven-plugin. Its as if the classpath that allows
the classes/jar to be built is not the same that is used to verify the
main method when the plugin is used.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email