Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Won't Fix or Usage Issue
  • Affects Version/s: 3.0.1
  • Fix Version/s: None
  • Component/s: Tools
  • Labels:
    None
  • User impact:
    High
  • Similar Issues:
    None

Description

The following needs to be added to the default pom.xml -

<!-- for testing -->
<dependency>
<groupId>org.mule</groupId>
<artifactId>mule-core</artifactId>
<version>${mule.version}</version>
<scope>provided</scope>
<type>test-jar</type>
</dependency>

Note that you need to check that the archetypes have this defined explicitly. Not sure why the dependency resolution doesn't work because we do have the functional-tests dependency in there.

Without this the generated project doesn't compile

Activity

Hide
Dirk Olmes added a comment -

I have trouble reproducing this issue. Running mvn dependency:tree on a newly generated project gives:

[INFO] +- org.mule.tests:mule-tests-functional:jar:3.1.0-SNAPSHOT:test
[INFO] |  +- org.springframework:spring-beans:jar:3.0.3.RELEASE:test
[INFO] |  \- org.mule:mule-core:test-jar:tests:3.1.0-SNAPSHOT:test

So the core test-jar is on the classpath for me (tested with Maven 2.0, 2.2.1 and 3.0.1)

Can you post the output of mvn dependency:tree on your project please?

Show
Dirk Olmes added a comment - I have trouble reproducing this issue. Running mvn dependency:tree on a newly generated project gives:
[INFO] +- org.mule.tests:mule-tests-functional:jar:3.1.0-SNAPSHOT:test
[INFO] |  +- org.springframework:spring-beans:jar:3.0.3.RELEASE:test
[INFO] |  \- org.mule:mule-core:test-jar:tests:3.1.0-SNAPSHOT:test
So the core test-jar is on the classpath for me (tested with Maven 2.0, 2.2.1 and 3.0.1) Can you post the output of mvn dependency:tree on your project please?
Hide
Mike Schilling added a comment -

Closing this since it can;t be reproduced

Show
Mike Schilling added a comment - Closing this since it can;t be reproduced

People

Vote (0)
Watch (0)

Dates

  • Due:
    Created:
    Updated:
    Resolved: