Change By: Sun Seng David TAN (15/Apr/13 10:40 AM)
Description: While trying to use the 1.2.0.Beta1 of weld-osgi,  it  launching weld-osgi bundles in felix  wasn't working properly as some runtime dependencies were not satified

{code}
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))]
{code}

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

{code}
...
 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
...
{code}
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)
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