Issue Type: Bug Bug
Affects Versions: 4.3.0.Beta1
Assignee: Unassigned
Components: build
Created: 11/Apr/13 10:24 AM
Description:

hibernate-osgi dependency cannot be easily deployed into an OSGi container

hibernate-osgi still contains references to a lot of non-osgi capable dependencies.

the hibernate-osgi module should exclude these non-osgi dependencies and include the osgi versions in their place.

Currently I am having to do this manually.

        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-osgi</artifactId>
            <version>${hibernate.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>org.antlr</groupId>
                    <artifactId>antlr</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.javassist</groupId>
                    <artifactId>javassist</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.fasterxml</groupId>
                    <artifactId>classmate</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>dom4j</groupId>
                    <artifactId>dom4j</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.hibernate.common</groupId>
                    <artifactId>hibernate-commons-annotations</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>com.springsource.antlr</artifactId>
            <version>2.7.7</version>
        </dependency>

        <dependency>
            <groupId>org.jboss.javassist</groupId>
        <artifactId>com.springsource.javassist</artifactId>
            <version>3.15.0.GA</version>
        </dependency>

        <dependency>
            <groupId>com.fasterxml</groupId>    <artifactId>com.springsource.com.fasterxml.classmate</artifactId>
            <version>0.5.4</version>
        </dependency>

        <dependency>
            <groupId>org.dom4j</groupId>
        <artifactId>com.springsource.org.dom4j</artifactId>
            <version>1.6.1</version>
        </dependency>

        <dependency>
            <groupId>org.hibernate.common</groupId>
            <artifactId>hibernate-commons-annotations</artifactId>
            <version>4.0.2.Final</version>
        </dependency>
Environment: Glassfish 4.0
Project: Hibernate ORM
Priority: Major Major
Reporter: Aaron Whiteside
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