You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jaromír Cápík (Created JIRA)" <ji...@apache.org> on 2011/10/26 13:51:32 UTC
[jira] [Created] (FELIX-3188) [PATCH] exception
org.apache.maven.project.artifact.InvalidDependencyVersionException has
already been caught
[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
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
[jira] [Commented] (FELIX-3188) [PATCH] exception
org.apache.maven.project.artifact.InvalidDependencyVersionException has
already been caught
Posted by "Jaromír Cápík (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135901#comment-13135901 ]
Jaromír Cápík commented on FELIX-3188:
--------------------------------------
Yes, we've already switched to 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
[jira] [Updated] (FELIX-3188) [PATCH] exception
org.apache.maven.project.artifact.InvalidDependencyVersionException has
already been caught
Posted by "Jaromír Cápík (Updated JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaromír Cápík updated FELIX-3188:
---------------------------------
Comment: was deleted
(was: ... and ... it was year ago :)
Thanks for applying ...
)
> [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
[jira] [Commented] (FELIX-3188) [PATCH] exception
org.apache.maven.project.artifact.InvalidDependencyVersionException has
already been caught
Posted by "Jaromír Cápík (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135904#comment-13135904 ]
Jaromír Cápík commented on FELIX-3188:
--------------------------------------
... and ... it was year ago :)
Thanks for applying ...
> [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
[jira] [Issue Comment Edited] (FELIX-3188) [PATCH] exception
org.apache.maven.project.artifact.InvalidDependencyVersionException has
already been caught
Posted by "Jaromír Cápík (Issue Comment Edited JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135901#comment-13135901 ]
Jaromír Cápík edited comment on FELIX-3188 at 10/26/11 12:38 PM:
-----------------------------------------------------------------
Yes, we've already switched to Maven 3 ...it was year ago :)
Thanks for applying ...
was (Author: jcapik):
Yes, we've already switched to 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
[jira] [Resolved] (FELIX-3188) [PATCH] exception
org.apache.maven.project.artifact.InvalidDependencyVersionException has
already been caught
Posted by "Stuart McCulloch (Resolved) (JIRA)" <ji...@apache.org>.
[ 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