[PATCH] build fails with "unreported exception"
-----------------------------------------------
Key: FELIX-3222
URL: https://issues.apache.org/jira/browse/FELIX-3222
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 error appears when building in the latest fedora-rawhide
environment:
[ERROR]
/projects/maven-plugin-bundle/maven-bundle-plugin-2.3.5/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java:[118,45]
unreported exception
org.apache.maven.repository.legacy.WagonConfigurationException; must be caught
or declared to be thrown
The following patch solved the build issue (i know, that exception catchall is
not the best solution):
http://jcapik.fedorapeople.org/files/maven-bundle-plugin/maven-bundle-plugin-unreported-exception.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