You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Patrick Forhan (JIRA)" <ji...@apache.org> on 2009/10/01 22:24:23 UTC

[jira] Commented: (FELIX-1262) [regression] shared archive resources cannot be found

    [ https://issues.apache.org/jira/browse/FELIX-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761328#action_12761328 ] 

Patrick Forhan commented on FELIX-1262:
---------------------------------------

With maven-bundle-plugin 2.0.1 and maven-scr-plugin 1.4.0, I seem to be getting much the same problem when the maven-release-plugin does this:
 mvn clean verify install --no-plugin-updates -P development

I get these messages in debug:
[DEBUG] Final Manifest:
[DEBUG] ------------------------------------------------------------------------
[DEBUG] Service-Component: OSGI-INF/serviceComponents.xml,OSGI-INF/serviceComponents.xml
[DEBUG] Export-Package: org.bjc.osgi.foundation.cache
[DEBUG] Built-By: paf2009
[DEBUG] Manifest-Version: 1.0
[DEBUG] Tool: Bnd-0.0.357
[DEBUG] Bundle-Name: org.bjc.osgi.foundation.cache
[DEBUG] Created-By: Apache Maven Bundle Plugin
[DEBUG] Bundle-Vendor: BJC HealthCare
[DEBUG] Build-Jdk: 1.6.0_02
[DEBUG] Bundle-Version: 1.13.0.RC1-SNAPSHOT
[DEBUG] Bnd-LastModified: 1254427683151
[DEBUG] Bundle-ManifestVersion: 2
[DEBUG] Bundle-Description: Caching bundle
[DEBUG] Import-Package: net.sf.ehcache,org.apache.log4j
[DEBUG] Bundle-SymbolicName: org.bjc.es.org.bjc.osgi.foundation.cache
[DEBUG] ------------------------------------------------------------------------
[WARNING] Warning building bundle org.bjc.es:org.bjc.osgi.foundation.cache:bundle:1.13.0.RC1-SNAPSHOT : Did not find matching referal for org.springfr
amework.*
[ERROR] Error building bundle org.bjc.es:org.bjc.osgi.foundation.cache:bundle:1.13.0.RC1-SNAPSHOT : Service-Component entry can not be located in JAR:
 OSGI-INF/serviceComponents.xml~
[ERROR] Error(s) found in bundle configuration

> [regression] shared archive resources cannot be found
> -----------------------------------------------------
>
>                 Key: FELIX-1262
>                 URL: https://issues.apache.org/jira/browse/FELIX-1262
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.0.0
>            Reporter: Oleg Kalnichevski
>            Assignee: Stuart McCulloch
>             Fix For: maven-bundle-plugin-2.0.1
>
>         Attachments: maven.log
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.