[
http://jira.codehaus.org/browse/MWEBSTART-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256634#action_256634
]
Ruben Garat commented on MWEBSTART-163:
---------------------------------------
you should remove the webstart dependency
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>webstart-maven-plugin</artifactId>
<version>1.0-alpha-1</version>
<type>maven-plugin</type>
<scope>compile</scope>
</dependency>
this is only used as a plugin not a dependency and having this as a dependency
is what is adding all those extra jars to the zip
> Webstart zip contains Maven jars that are not required for the webstart app
> ---------------------------------------------------------------------------
>
> Key: MWEBSTART-163
> URL: http://jira.codehaus.org/browse/MWEBSTART-163
> Project: Maven 2.x Webstart Plugin
> Issue Type: Bug
> Environment: Maven 2.2, Java 1.6.0.23, Win7-64
> Reporter: Paul Loveridge
> Attachments: MainFrame.java, pom.txt
>
>
> Now this might be user error, I'm new to Maven. But I've followed what
> instructions I could find and got a webstart app building as one project, and
> deployed into the war as another. The war app works fine, its the zip file
> produced by the first project that gives rise to the problem.
> The app is a test app, its just 3x4 grid of buttons like a keypad. I wanted
> to get the mechanism working in Maven so I chose something simple. It
> requires no external jars, just a basic jre install. But when I look in the
> zip file instead of just the app jar and the .jnlp file it contains 41 jars
> that I can only assume come from the Maven process. I know for certain that
> a one class simple Swing demo app doesnt need maven-core-2.0.1.jar deployed
> on the codebase server.
> How do I restrict the webstart .zip to just the runtime jars or is this a
> webstart plugin bug ?
--
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