We're updating the issue view to help you get more done. 

Byteman dependency is not properly scoped

Description

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 <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.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Karel Piwko

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

4.0.0.CR2

Priority

Critical