Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
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
I have trouble reproducing this issue. Running mvn dependency:tree on a newly generated project gives:
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?