Bug 755859 - Fix Byteman dependency scope
Summary: Fix Byteman dependency scope
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: HibernateSearch
Version: 2.0.0.DR4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 2.0.0.DR06
Assignee: Strong Liu
QA Contact: Karel Piwko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-22 09:22 UTC by Karel Piwko
Modified: 2013-12-02 23:55 UTC (History)
1 user (show)

Fixed In Version: 4.0.0.CR2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-05 13:48:18 UTC
Type: Bug


Attachments (Terms of Use)

Description Karel Piwko 2011-11-22 09:22:20 UTC
The <dependencyManagement> section hibernate-search-parent contains following:

<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>
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 actually renders distributed hibernate-search unusable, as there is no byteman in the enterprise repositories nor Maven Central.

Comment 1 Karel Piwko 2011-11-22 09:23:13 UTC
Tracking for https://hibernate.onjira.com/browse/HSEARCH-980

Comment 3 Karel Piwko 2012-04-05 13:48:18 UTC
Verified in WFK 2.0.0.ER3 (a.k.a. 2.0.0.Beta1).


Note You need to log in before you can comment on or make changes to this bug.