[ 
http://jira.codehaus.org/browse/MWEBSTART-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113104
 ] 

Jörg Henne commented on MWEBSTART-55:
-------------------------------------

Some more investigation results:

The root of the problem seems to be that the jnlp-inline goal isn't run, as 
soon as there is an other project depending on it in the reactor. A workaround 
I found is to specify the scope of the dependency reference (in project test:b 
in the attached example) as "provided". This however, has the drawback that the 
dependency can no longer be referenced from within the reactor, i.e. one has to 
use "mvn install" to make the build work.

To actually fix the problem, I had to modify the JnlpInlineMojo: removing the 
@aggregator specification causes the build to run as I expected, even using 
just "mvn package" with an empty repository. I'll attach the patch, although it 
is rather trivial. Hope this helps.

> Mojo fails when packaging is pom
> --------------------------------
>
>                 Key: MWEBSTART-55
>                 URL: http://jira.codehaus.org/browse/MWEBSTART-55
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0-alpha-2
>            Reporter: Jörg Henne
>         Attachments: JnlpInlineMojo.java.patch, test case 2.zip, test case.zip
>
>
> The documentation says that the maven-webstart-plugin is applicable to jar 
> and pom packaging types. However, if pom is used, the build fails, since the 
> dependencies end up being empty, no matter what dependencies are specified.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to