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

[regression] shared archive resources cannot be found

    XMLWordPrintableJSON

Details

    Description

      HttpCore OSGi bundle can no longer be built after the bundle plugin got upgraded from 1.4.3 to 2.0.0

      http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/

      The problem goes away if I manually downgrade plugin version to 1.4.3

      Could you please have a look?

      Oleg

      ------------------------------------
      [INFO] Building HttpCore OSGi bundle
      [INFO] ------------------------------------------------------------------------
      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
      [INFO] [remote-resources:process

      {execution: default}

      ]
      [INFO] [resources:resources]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\data\src\apache.org\httpcomponents\httpcore\httpcore-osgi\src\main\resources
      [INFO] Copying 3 resources
      [INFO] Copying 3 resources
      [INFO] [compiler:compile]
      [INFO] No sources to compile
      [INFO] [resources:testResources]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory C:\data\src\apache.org\httpcomponents\httpcore\httpcore-osgi\src\test\resources
      [INFO] Copying 3 resources
      [INFO] Copying 3 resources
      [INFO] [compiler:testCompile]
      [INFO] Not compiling test sources
      [INFO] [surefire:test]
      [INFO] Tests are skipped.
      [INFO] [bundle:bundle]
      [ERROR] Error building bundle org.apache.httpcomponents:httpcore-osgi:bundle:4.1-SNAPSHOT : Input file does not exist: target/maven-shared-archive-resources/META-INF/DEPENDENCIES~
      [ERROR] Error building bundle org.apache.httpcomponents:httpcore-osgi:bundle:4.1-SNAPSHOT : Input file does not exist: target/maven-shared-archive-resources/META-INF/LICENSE~
      [ERROR] Error building bundle org.apache.httpcomponents:httpcore-osgi:bundle:4.1-SNAPSHOT : Input file does not exist: target/maven-shared-archive-resources/META-INF/NOTICE~
      [ERROR] Error(s) found in bundle configuration
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error(s) found in bundle configuration

      Attachments

        1. maven.log
          405 kB
          Oleg Kalnichevski

        Activity

          People

            mcculls Stuart McCulloch
            olegk Oleg Kalnichevski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: