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

ASF GitHub Bot commented on JENA-879:
-------------------------------------

GitHub user stain opened a pull request:

    https://github.com/apache/jena/pull/25

    JENA-879: Jena osgi pax exam

    Fixes JENA-879 for jena-osgi-test
    
    Replaces eosgi-maven-plugin tests with PAX Exam testing. 
    Tests jena-osgi with OSGi frameworks Eclipse Equinox and Apache Felix.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/stain/jena jena-osgi-pax-exam

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/25.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #25
    
----
commit dd9e73d8eaa7bed2148cbb3e92c89be9dfb97b94
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-02T23:36:45Z

    JENA-879: remove eosgi dependency (LGPL)

commit 9bc0e0db9f5d5e9a026f5a17fd46284080cfcbb1
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-02T23:38:34Z

    JENA-879: Reformat pom.xml

commit 56c4d5ad815c8d7419233b53eec992926bd90d05
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-02T23:43:16Z

    JENA-879: Removed Activator

commit 4b265ff3cf57d776e3bd71f7b7937d77ef30a18d
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-02T23:43:26Z

    JENA-879: PAX dependencies
    
    ..according to
    https://ops4j1.jira.com/wiki/display/PAXEXAM4/OSGi+Containers
    
    but with slf4j-log4j instead of logback to be license safe.
    
    (logback 0.9.18 or later should be ASF-OK though, as it's
    now both LGPL and EPL
    http://logback.qos.ch/license.html )

commit 474a30cb68be2bcf2cfe1d0ad9415c240b4c1a24
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-02T23:45:45Z

    JENA-879: No need for junit tests interface JenaOSGITest under PAX

commit bd605ee56fe1037d89aeee93b59d39d88a80bd55
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-02T23:47:19Z

    JENA-879: JenaOSGITestImpl renamed to JenaOSGITest
    
    javadoc updated

commit 60f192194a8196ffef2ab4f2a4556a2a70a67cb4
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-02T23:54:49Z

    JENA-879: JenaOSGITest modified to use PaxExam
    
    
https://ops4j1.jira.com/wiki/display/PAXEXAM4/Getting+Started+with+OSGi+Tests

commit 4823f76479ced0c5156fb42385301fb63dba107c
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-02T23:55:06Z

    JENA-879: src/main/java -> src/test/java

commit 1d29f2fb114ac876f3fe4658cfdade1c9e5be8ce
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-03T00:09:53Z

    Use forked configuration to avoid classpath leakage

commit d5a34394d4af0afd44765fbe149f81a50e409e57
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-03T00:28:26Z

    JENA-879: Manually list transitive OSGi bundle dependencies for PAX

commit 88dcffc137e5e5d761a709c0bca00355ebc723db
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-03T00:42:46Z

    JENA-879: pax-exam-container-native instead of -forked

commit 0e195c479b7dd92295e0a9df9aae2b67c3bd7102
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-03T00:42:54Z

    JENA-879: avoiding .versionAsInProject which PAX didn't like

commit 31497397eb09ad9655ea5b67bccc762ba2b9fcbe
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-03T01:22:08Z

    JENA-879: using linkBundle and newer dependencies

commit 2b5ba82b4e1b50b84033c7af2ca94a53f7af6540
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-03T01:46:39Z

    JENA-879: PAX logging dependencies solved it!

commit 3a151b940cf04a0a0824bae15d68a65bb1ba24e8
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-03T02:05:07Z

    JENA-879: scope test

commit a9450472d1adb08a4d0f5be31756c0d2489f64a8
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-03T11:31:10Z

    JENA-879: Optional way to test with eclipse equinox
    
    (NOTE: testing with both at the same time
    kindof works, but shows confusing errors
    from equinox)
    )

commit 32f331b972305b36d9be36df0e74328412caa7c9
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-03T11:37:22Z

    JENA-879: Also test with equinox

----


> Use PAX Exam for jena-osgi-test
> -------------------------------
>
>                 Key: JENA-879
>                 URL: https://issues.apache.org/jira/browse/JENA-879
>             Project: Apache Jena
>          Issue Type: Task
>          Components: Build
>    Affects Versions: Jena 2.13.0
>            Reporter: Stian Soiland-Reyes
>
> The eosgi plugin used by jena-osgi-test to run the tests within an OSGi 
> container is licensed as LGPL.
> As an optional LGPL dependencies only used for running the test, this is 
> nominally allowed within Apache, but this is a thin line, and it would be 
> cleaner to avoid the dependency altogher - so that we can include 
> jena-osgi-test in the general "complete" profile.
> http://mail-archives.apache.org/mod_mbox/jena-dev/201502.mbox/%3CCAPRnXtnf7Katv9mozKjr56nHjaqqGJnX8LpLZmyptae%2Bv9mD7g%40mail.gmail.com%3E
> An alternative (this task) is to use the PAX Exam system instead. (supposedly 
> Apache licensed) It is probably good to allow jena-osgi-test to still test 
> against multiple OSGi implementations as of today.
> Relevant links:
> https://ops4j1.jira.com/wiki/display/PAXEXAM4/Pax+Exam
> https://ops4j1.jira.com/wiki/display/PAXEXAM4/Getting+Started+with+OSGi+Tests
> https://ops4j1.jira.com/wiki/display/PAXEXAM4/OSGi+Containers
> Example use (possibly outdated):
> https://github.com/basis-technology-corp/tcl-regex-java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to