Mohan Vamsi
Mohan Vamsi

Reputation: 1

Failed to execute goal com.mulesoft.munit.tools:munit-maven-plugin:1.3.2:test

Hello Team, Created munit from APIkit router ,while running a mule maven project along with munit, I am facing Failed to execute goal com.mulesoft.munit.tools:munit-maven-plugin:1.3.2:test (test) error ,without munit I can able to run the project successfully. My Studio version : 6.2.5 Mule runtime : 3.8.4 ,

Munit POM config

<mule.version>3.8.4</mule.version>
        <mule.tools.version>1.2</mule.tools.version>
    <munit.version>1.3.2</munit.version>
    <mule.munit.support.version>3.8.3</mule.munit.support.version>

Upvotes: 0

Views: 4634

Answers (1)

M&#246;oz
M&#246;oz

Reputation: 863

There could be a few things wrong with your set up:

Point to the correct settings.xml file

You will have a default settings.xml file in your project that you have to reference. Go to

Window > Preferences > Maven > User Settings

and point to your correct settings.xml file:

enter image description here

While you're there, make sure you have the correct 'm2-repository' configured as well (pictured above).

Point to the correct installation of Maven

Ensure that you are referencing the correct installation of Maven. Go to

Window > Preferences > Anypoint Studio > Maven

and choose the correct path to your Maven installation:

enter image description here

Make sure your build path is correct

Double-check your build path and make sure that it's correct.

Upvotes: 0

Related Questions