Maven 2 & 3

ejb-client dependency no longer resolved in reactor build

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 2.0.6
  • Fix Version/s: 2.0.7
  • Component/s: Dependencies
  • Labels:
    None
  • Environment:
    Fedora Core 6
  • Complexity:
    Intermediate
  • Testcase included:
    yes
  • Patch Submitted:
    Yes
  • Number of attachments :
    2

Description

When running 'mvn clean install' on the test project (see attachment) under Maven 2.0.5 every builds as expected. On Maven 2.0.6 it no longer compiles. On Maven 2.0.5 I get in the log:
[DEBUG] be.frankcornelis.maven:client:jar:1.0-SNAPSHOT (selected for null)
[DEBUG] be.frankcornelis.maven:model:ejb-client:client:1.0-SNAPSHOT:compile (selected for compile)

Under Maven 2.0.6 I get:
[DEBUG] be.frankcornelis.maven:client:jar:1.0-SNAPSHOT (selected for null)
[DEBUG] be.frankcornelis.maven:model:ejb-client:client:1.0-SNAPSHOT (selected for null)
and an error message saying it cannot find the required interfaces defined in Model.
When I remove type:ejb-client in the Client pom.xml it compiles again.

Issue Links

Activity

Hide
Richard C. L. Li added a comment -

I have encounter this same problem as well.

Show
Richard C. L. Li added a comment - I have encounter this same problem as well.
Hide
Frank Cornelis added a comment -

What bothers me most about this is that such a major feature of Maven (it's even documented in the Maven2 book) breaks without big 'community notice'. I really wonder how people actually build their J2EE applications...

Show
Frank Cornelis added a comment - What bothers me most about this is that such a major feature of Maven (it's even documented in the Maven2 book) breaks without big 'community notice'. I really wonder how people actually build their J2EE applications...
Hide
Klaus Brunner added a comment -

I don't know about the 'community', but I've certainly noticed it as well. This is a major problem for us and I hope it's fixed very quickly.

Show
Klaus Brunner added a comment - I don't know about the 'community', but I've certainly noticed it as well. This is a major problem for us and I hope it's fixed very quickly.
Hide
Piotr Tabor added a comment -

Patch proposition

Show
Piotr Tabor added a comment - Patch proposition
Hide
John Allen added a comment -

agreed this is not the kind of failure you expect in a minor release however with the patch one hopes we'll might see a 2.0.7 soon

Show
John Allen added a comment - agreed this is not the kind of failure you expect in a minor release however with the patch one hopes we'll might see a 2.0.7 soon
Hide
Jason van Zyl added a comment -

Patch applied. Works with trunk and the branch.

Show
Jason van Zyl added a comment - Patch applied. Works with trunk and the branch.

People

Vote (14)
Watch (12)

Dates

  • Created:
    Updated:
    Resolved: