Issue Type: Bug Bug
Assignee: Jozef Hartinger
Components: OSGi support
Created: 15/Apr/13 10:39 AM
Description:

While trying to use the 1.2.0.Beta1 of weld-osgi, it wasn't working properly as some runtime dependencies were not satified

Constraint violation for package 'org.jboss.weld.environment.se' when resolving module 14.0
  between existing export 14.0.org.jboss.weld.environment.se
   NO BLAME and uses constraint 2.0.org.jboss.weld.environment.se
   BLAMED ON [[14.0] package; (&(package=org.jboss.weld.environment.se)(version>=1.2.0.SNAPSHOT))]

The problem is bnd files that generates OSGi manifest.mf have hard coded versions:

in core / environments / osgi / core / integration / src / main / resources / META-INF / weld-osgi-core-integration.bnd

...
 org.jboss.weld.environment.se.events; \
 org.jboss.weld.environment.se.bindings; \
 org.jboss.weld.environment.se.threading; \
 org.jboss.weld.environment.se.beans; \
 org.jboss.weld.environment.se.discovery; \
 org.jboss.weld.environment.se.discovery.url; \
 org.jboss.weld.environment.se.contexts; \
 org.jboss.weld.messages; version=1.2.0-SNAPSHOT
...

This should be fixed to avoid issues for the next release.

Additional work may be needed to remove all the hard coded dependencies in theses files (mostly testing and checking if it's really necessary)

Fix Versions: 1.2.0.CR1
Project: Weld
Priority: Major Major
Reporter: Sun Seng David TAN
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