[ 
https://jira.codehaus.org/browse/MWEBSTART-145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286959#comment-286959
 ] 

Mathieu Filotto commented on MWEBSTART-145:
-------------------------------------------

Issue linked to https://jira.codehaus.org/browse/MWEBSTART-190
                
> Dependencies (jar resources) from the webstart plugin are not resolved using 
> the reactor, so "mvn clean package" will not work. Then, "mvn 
> release:prepare" will not work either.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MWEBSTART-145
>                 URL: https://jira.codehaus.org/browse/MWEBSTART-145
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Improvement
>          Components: jnlp-download-servlet
>    Affects Versions: 1.0-alpha-2
>         Environment: uname -a:
> Linux linw109.oslo.eur.slb.com 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 
> 2007 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Oyvind Jergan
>
> My project have a separate module whose artifact is a zip file containing the 
> generated jnlp resources.
> This module generates jnlp-files based on other (jar-)modules within my 
> project, and thus it must depend on these modules.
> The problem is that the webstart-maven-plugin are not able to resolve these 
> dependencies using the reactor, it tries to find them in the maven-repository.
> So, this hinders me from running for example "mvn clean package" on my 
> project.
> This will again hinder me from running "mvn release:prepare", as the 
> release:prepare runs "clean package" as part of the preparation.
> I hope that the webstart-plugin can be changed so that resolves its 
> dependencies in the same way ordinary dependencies in maven are resolved 
> (using the reactor and the maven-repository).
> My webstart configuration is as follows:
> <build>
>       <plugins>
>          <plugin>
>             <groupId>org.codehaus.mojo.webstart</groupId>
>             <artifactId>webstart-maven-plugin</artifactId>
>             <executions>
>                <execution>
>                   <phase>package</phase>
>                   <goals>
>                      <goal>jnlp-download-servlet</goal>
>                   </goals>
>                </execution>
>             </executions>
>             <configuration>
>                <jnlpFiles>
>                   <jnlpFile>
>                      <templateFilename>client_jnlp.vm</templateFilename>
>                      <outputFilename>client.jnlp</outputFilename>
>                      <jarResources>
>                         <jarResource>
>                            <groupId>wg.exampleproject</groupId>
>                            <artifactId>client</artifactId>
>                            <version>${project.version}</version>
>                            
> <mainClass>wg.exampleproject.client.Client</mainClass>
>                         </jarResource>
>                      </jarResources>
>                   </jnlpFile>
>                </jnlpFiles>
>                <sign>
>                   <keystore>${basedir}/src/main/jnlp/.keystore</keystore>
>                   <alias>mykey</alias>
>                   <storepass>passord</storepass>
>                </sign>
>                <outputJarVersions>false</outputJarVersions>
>             </configuration>
>          </plugin>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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