Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3222

[PATCH] build fails with "unreported exception"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-bundle-plugin-2.3.5
    • maven-bundle-plugin-2.3.6
    • Maven Bundle Plugin
    • None
    • fedora-rawhide-x86_64

    Description

      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

      Attachments

        Activity

          People

            mcculls Stuart McCulloch
            jcapik Jaromír Cápík
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified