[
https://issues.jboss.org/browse/ARQ-996?page=com.atlassian.jira.plugin.sy...
]
Thomas Diesler edited comment on ARQ-996 at 6/13/12 5:49 AM:
-------------------------------------------------------------
For the record: embedding private functionality is semantically very different from
importing public functionality. It effects the number of artefacts that need to be
managed, may impact class space resolution due to the availability of new candidates,
requires configuration changes down the line, etc.
The preferred solution is not to change the modularity semantics of the artefact. Instead
the build should be changed such that embedded functionality is build as part of the
artefact. A fork that is maintained by fedora-java could use git modules for example.
In jboss-as-7.1.1 we have a case where API 1.0.x is used and exported publicly and one
artefact uses the same API in version 2.0.x embedded/privately. API 2.0.x is and should
not be exposed publicly.
was (Author: thomas.diesler):
For the record: embedding private functionality is semantically very different from
importing public functionality. It effects the number of artefacts that need to be
managed, may impact class space resolution due to the availability of new candidates,
requires configuration changes down the line, etc.
The preferred solution is not to change the modularity semantics of the artefact. Instead
the build should be changed such that embedded functionality is build as part of the
artefact. A fork that is maintained by fedora-java could use git modules for example.
Provide an Arquillian Bundle suitable for Fedora
------------------------------------------------
Key: ARQ-996
URL:
https://issues.jboss.org/browse/ARQ-996
Project: Arquillian
Issue Type: Task
Security Level: Public(Everyone can see)
Components: OSGi Containers
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: osgi_1.0.3.Final
arq-osgi currently contains these embedded libraries
{code}
[tdiesler@tdvaio arquillian-container-osgi]$ jar -tf
bundle/target/arquillian-osgi-bundle-1.0.2.Final.jar | grep jar
arquillian-container-impl-base-1.0.0.CR7.jar
arquillian-container-spi-1.0.0.CR7.jar
arquillian-container-test-api-1.0.0.CR7.jar
arquillian-container-test-impl-base-1.0.0.CR7.jar
arquillian-container-test-spi-1.0.0.CR7.jar
arquillian-core-api-1.0.0.CR7.jar
arquillian-core-impl-base-1.0.0.CR7.jar
arquillian-core-spi-1.0.0.CR7.jar
arquillian-junit-container-1.0.0.CR7.jar
arquillian-junit-core-1.0.0.CR7.jar
arquillian-protocol-jmx-1.0.0.CR7.jar
arquillian-test-api-1.0.0.CR7.jar
arquillian-test-impl-base-1.0.0.CR7.jar
arquillian-test-spi-1.0.0.CR7.jar
arquillian-testenricher-osgi-1.0.2.Final.jar
javax.inject-1.jar
junit-4.8.1.jar
shrinkwrap-api-1.0.0-cr-1.jar
shrinkwrap-impl-base-1.0.0-cr-1.jar
shrinkwrap-spi-1.0.0-cr-1.jar
{code}
In the context of Fedora they must be replaced by something else (i.e. we cannot use
embedded binaries)
The task can be broken down into solutions for embedded
* Arquillian Core
* Javax Inject
* JUnit
* Shrinkwrap
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira