servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Heinemann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SM-2027) jbi-maven-plugin, jbi.xml generation, missing jbi-component lib in bootstrap-class-path
Date Thu, 24 Feb 2011 06:59:38 GMT

    [ https://issues.apache.org/jira/browse/SM-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998708#comment-12998708
] 

Lars Heinemann commented on SM-2027:
------------------------------------

Just to mention it:

- the component jar file is the OSGi enabled bundle of the component to be used with SMX4
and above
- the component zip file is the JBI packaging of the component and to be used with SMX3 only


> jbi-maven-plugin, jbi.xml generation, missing jbi-component lib in bootstrap-class-path
> ---------------------------------------------------------------------------------------
>
>                 Key: SM-2027
>                 URL: https://issues.apache.org/jira/browse/SM-2027
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: jbi-maven-plugin-4.3
>         Environment: unrelated
>            Reporter: Alexis Lahouze
>         Attachments: bootstrap_classpath_element.diff
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> I tried to extend an existing Servicemix Component (servicemix-http).
> So, I added a dependency to this component.
> When I started Servicemix, I got an error "ClassNotFoundException: org.apache.servicemix.http.HttpBootstrap"
(or anything like that)
> I had a look at my generated jbi.xml, and I saw that path-element for servicemix-http
was missing.
> I checked out jbi-maven-plugin from the svn trunk, and noticed that generation of path-elements
was different between component and bootstrap. Only jar type was accepted for bootstrap.
> At line 95, I replaced the test "jar".equals(...) by !info.isSharedLibrary() and it worked.
> I attached my patch.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message