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

Jerome Lacoste commented on MWEBSTART-49:
-----------------------------------------

Martin, if you have the ability to compile your own version of the plugin, try 
to replace all calls to getWorkDirectory() by calls to getLibDirectory() in the 
method signJars() of the file AbstractBaseJnlpMojo.java

https://svn.codehaus.org/mojo/trunk/mojo/webstart-maven-plugin/plugin/src/main/java/org/codehaus/mojo/webstart/AbstractBaseJnlpMojo.java



> Error with <libPath> Element
> ----------------------------
>
>                 Key: MWEBSTART-49
>                 URL: http://jira.codehaus.org/browse/MWEBSTART-49
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0-alpha-2
>            Reporter: Martin Ritz
>             Fix For: 1.0-alpha-2
>
>
> For the use of Webstart plugin the <libPath> Element doesn't work. 
> The build without this element declared in the pom succeeded.
> With this element I get the error:
> "Embedded error: The number of signed artifacts differ from the number of 
> modified artifacts. Implementation error"
> My POM:
> <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>webstart-maven-plugin</artifactId>
>         <version>1.0-alpha-2-SNAPSHOT</version> 
>         <executions>
>           <execution>
>             <goals>
>               <goal>jnlp</goal>
>             </goals>
>           </execution>
>         </executions>
>         <configuration>
>           <libPath>libs</libPath>
>           <dependencies>
>             <excludes>
>               <exclude>...</exclude>
>             </excludes>
>           </dependencies>
>           <jnlp>
>             
> <inputTemplateResourcePath>src/main/jnlp</inputTemplateResourcePath>
>             <outputFile>....jnlp</outputFile>
>             <mainClass>...</mainClass>
>           </jnlp>
>           <sign>
>             <keystore>...</keystore>
>             <keypass>...</keypass>
>             <storepass>....</storepass>
>             <alias>....</alias>
>             <validity>...</validity>
>             <verify>...</verify>
>           </sign>
>         </configuration>
>       </plugin>
> Any hints - or what I'm doing wrong?

-- 
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