[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-980) Byteman dependency is not properly scoped

Karel Piwko (JIRA) noreply at atlassian.com
Tue Nov 22 04:20:24 EST 2011


Byteman dependency is not properly scoped
-----------------------------------------

                 Key: HSEARCH-980
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-980
             Project: Hibernate Search
          Issue Type: Bug
          Components: build
    Affects Versions: 4.0.0.CR2
            Reporter: Karel Piwko
            Priority: Critical


The <dependencyManagement> section hibernate-search-parent contains following:

{code}

            <dependency>
                <groupId>org.jboss.byteman</groupId>
                <artifactId>byteman</artifactId>
                <version>${bytemanVersion}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.jboss.byteman</groupId>
                <artifactId>byteman-install</artifactId>
                <version>${bytemanVersion}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.jboss.byteman</groupId>
                <artifactId>byteman-bmunit</artifactId>
                <version>${bytemanVersion}</version>
                <scope>test</scope>
            </dependency>
{code}

Following modules reference it: 

* hibernate-search-orm
* hibernate-search-engine

The former correctly specifies scope to test, the latter however pushed it to compile and therefore byteman becomes a hibernate-search dependency. As byteman is *NOT* synced to Maven Central, this renders project unusable.

Please correct dependency management in your project. There should be no scopes in depedencyManagement section and every module should specify the scope.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list