You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Harald Wellmann (JIRA)" <ji...@apache.org> on 2012/06/24 11:34:42 UTC

[jira] [Created] (DELTASPIKE-210) Build OSGi bundles

Harald Wellmann created DELTASPIKE-210:
------------------------------------------

             Summary: Build OSGi bundles
                 Key: DELTASPIKE-210
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-210
             Project: DeltaSpike
          Issue Type: New Feature
          Components: build_infra
    Affects Versions: 0.2-incubating
            Reporter: Harald Wellmann


Build DeltaSpike artifacts as OSGi bundles and not as plain old JARs to make them usable in OSGi applications.

--
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

        

[jira] [Assigned] (DELTASPIKE-210) Build OSGi bundles

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DELTASPIKE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Moulliard reassigned DELTASPIKE-210:
--------------------------------------------

    Assignee: Charles Moulliard
    
> Build OSGi bundles
> ------------------
>
>                 Key: DELTASPIKE-210
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-210
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: build_infra
>    Affects Versions: 0.2-incubating
>            Reporter: Harald Wellmann
>            Assignee: Charles Moulliard
>
> Build DeltaSpike artifacts as OSGi bundles and not as plain old JARs to make them usable in OSGi applications.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DELTASPIKE-210) Build OSGi bundles

Posted by "Harald Wellmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449851#comment-13449851 ] 

Harald Wellmann commented on DELTASPIKE-210:
--------------------------------------------

Tested successfully!
                
> Build OSGi bundles
> ------------------
>
>                 Key: DELTASPIKE-210
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-210
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: build_infra
>    Affects Versions: 0.2-incubating
>            Reporter: Harald Wellmann
>            Assignee: Charles Moulliard
>
> Build DeltaSpike artifacts as OSGi bundles and not as plain old JARs to make them usable in OSGi applications.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DELTASPIKE-210) Build OSGi bundles

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449488#comment-13449488 ] 

Charles Moulliard commented on DELTASPIKE-210:
----------------------------------------------

Modification done
                
> Build OSGi bundles
> ------------------
>
>                 Key: DELTASPIKE-210
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-210
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: build_infra
>    Affects Versions: 0.2-incubating
>            Reporter: Harald Wellmann
>            Assignee: Charles Moulliard
>
> Build DeltaSpike artifacts as OSGi bundles and not as plain old JARs to make them usable in OSGi applications.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DELTASPIKE-210) Build OSGi bundles

Posted by "Harald Wellmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448892#comment-13448892 ] 

Harald Wellmann commented on DELTASPIKE-210:
--------------------------------------------

Thanks for taking care of this!

My Pax CDI tests now work after an additional small change in jpa/api/pom.xml:


        <deltaspike.osgi.import>
            javax.enterprise.inject,
            !org.apache.deltaspike.jpa.*,
            *
        </deltaspike.osgi.import>


This is a workaround for what seems to be a bug in the maven-bundle-plugin, see FELIX-3638.

                
> Build OSGi bundles
> ------------------
>
>                 Key: DELTASPIKE-210
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-210
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: build_infra
>    Affects Versions: 0.2-incubating
>            Reporter: Harald Wellmann
>            Assignee: Charles Moulliard
>
> Build DeltaSpike artifacts as OSGi bundles and not as plain old JARs to make them usable in OSGi applications.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DELTASPIKE-210) Build OSGi bundles

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448522#comment-13448522 ] 

Charles Moulliard commented on DELTASPIKE-210:
----------------------------------------------

According to Harald Hellman request, I have added a property to tell to OSGI CDI if the bundle is a managed bean

karaf@root> headers 54

deltaspike-core-api (54)
------------------------
Karaf-Info = DeltaSpike;deltaspike-core-api=0.4-incubating-SNAPSHOT
Specification-Title = Apache DeltaSpike Core-API
Tool = Bnd-1.50.0
Specification-Version = 0.4-incubating-SNAPSHOT
Specification-Vendor = The Apache Software Foundation
Pax-ManagedBeans = META-INF/beans.xml

Modification done for cre, impl and jpa


                
> Build OSGi bundles
> ------------------
>
>                 Key: DELTASPIKE-210
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-210
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: build_infra
>    Affects Versions: 0.2-incubating
>            Reporter: Harald Wellmann
>            Assignee: Charles Moulliard
>
> Build DeltaSpike artifacts as OSGi bundles and not as plain old JARs to make them usable in OSGi applications.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (DELTASPIKE-210) Build OSGi bundles

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DELTASPIKE-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447540#comment-13447540 ] 

Charles Moulliard commented on DELTASPIKE-210:
----------------------------------------------

OSGI support added for core, impl and module JPA

Tested done on Apache Karaf 2.2.7

[  50] [Active     ] [            ] [   80] mvn:org.apache.geronimo.specs/geronimo-jcdi_1.0_spec/1.0
[  51] [Active     ] [            ] [   80] mvn:org.apache.geronimo.specs/geronimo-el_2.2_spec/1.0.3
[  52] [Active     ] [            ] [   80] mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec/1.0
[  53] [Active     ] [            ] [   80] mvn:org.apache.geronimo.specs/geronimo-interceptor_1.1_spec/1.0
[  54] [Active     ] [            ] [   80] mvn:org.apache.deltaspike.core/deltaspike-core-api/0.4-incubating-SNAPSHOT
[  56] [Active     ] [            ] [   80] mvn:org.apache.deltaspike.core/deltaspike-core-impl/0.4-incubating-SNAPSHOT
[  58] [Active     ] [            ] [   80] mvn:org.apache.deltaspike.modules/deltaspike-jpa-module-api/0.4-incubating-SNAPSHOT
[  59] [Active     ] [            ] [   80] mvn:org.apache.deltaspike.modules/deltaspike-jpa-module-impl/0.4-incubating-SNAPSHOT
[  60] [Active     ] [            ] [   80] mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1
[  61] [Active     ] [            ] [   80] mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1
                
> Build OSGi bundles
> ------------------
>
>                 Key: DELTASPIKE-210
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-210
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: build_infra
>    Affects Versions: 0.2-incubating
>            Reporter: Harald Wellmann
>            Assignee: Charles Moulliard
>
> Build DeltaSpike artifacts as OSGi bundles and not as plain old JARs to make them usable in OSGi applications.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira