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

Havard Bjastad commented on MWEBSTART-82:
-----------------------------------------

I get the compilation error consistently. I can't imagine maven or JDK version 
being relevant, but I use Maven 2.0.8 and JDK 1.5.0_04-b05.

##

When I try to build with the latest from SVN, I get the following:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a range [1.5,)
  ant:ant:jar:null

from the specified remote repositories:
  codehaus.org (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2),
  snapshots (http://people.apache.org/maven-snapshot-repository)

##

To get around it, I switch maven-jar-plugin back to 2.2-SNAPSHOT:

$ svn diff
Index: pom.xml
===================================================================
--- pom.xml     (revision 5940)
+++ pom.xml     (working copy)
@@ -126,7 +126,7 @@
     <dependency>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-jar-plugin</artifactId>
-      <version>2.2</version>
+      <version>2.2-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.codehaus.mojo</groupId>

> JarUnsignMojo compilation failure on trunk
> ------------------------------------------
>
>                 Key: MWEBSTART-82
>                 URL: http://jira.codehaus.org/browse/MWEBSTART-82
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Bug
>          Components: sign
>    Affects Versions: 1.0-alpha-2
>            Reporter: Kevin Stembridge
>            Assignee: Jerome Lacoste
>            Priority: Critical
>             Fix For: 1.0-alpha-2
>
>         Attachments: JarUnsignMojo.diff
>
>
> Trunk is currently failing with the following compilation error from the 
> JarUnsignMojo class:
> {code}
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> /home/kevin/dev/workspaces/webstart-maven-workspace/webstart-maven-plugin/plugin/src/main/java/org/codehaus/mojo/webstart/JarUnsignMojo.java:[150,30]
>  
> unreported exception java.io.IOException; must be caught or declared to be 
> thrown
> {code}
> I've provided a patch that catches the IOException and throws a 
> MojoExecutionException instead.

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