[ 
https://issues.apache.org/jira/browse/FELIX-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stuart McCulloch resolved FELIX-3188.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: maven-bundle-plugin-2.3.6
         Assignee: Stuart McCulloch

Fixed in r1189167 - btw, I assume you're compiling this code against a newer 
version of the Maven API (the current pom specifies 2.0.7) because the change 
to make InvalidDependencyVersionException a subclass of 
ProjectBuildingException only came in Maven 3
                
> [PATCH] exception 
> org.apache.maven.project.artifact.InvalidDependencyVersionException has 
> already been caught
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-3188
>                 URL: https://issues.apache.org/jira/browse/FELIX-3188
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.5
>         Environment: fedora-rawhide-x86_64
>            Reporter: Jaromír Cápík
>            Assignee: Stuart McCulloch
>             Fix For: maven-bundle-plugin-2.3.6
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> The following compilation error appears when compiling with javac 1.6.0_22
> [ERROR] 
> /home/jcapik/projects/maven-plugin-bundle/maven-bundle-plugin-2.3.5/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java:[278,12]
>  exception 
> org.apache.maven.project.artifact.InvalidDependencyVersionException has 
> already been caught
> There is a wrong order of exception catches. The following patch solved the 
> issue for me.
> http://jcapik.fedorapeople.org/files/maven-bundle-plugin/maven-bundle-plugin-exception-already-thrown.patch

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to