Reputation: 21
I am experiencing an issue with downloading the munit-runner artefact through maven. For some reason the jar is not downloaded. Not for 1.3.2, 1.3.3 or 1.3.4 I have cleaned the repository cash and rebuild but nothing seems to help.
The POM file looks according to the MuleSoft documentation.
Te specific error is: Description Resource Path Location Type Project 'xxx' is missing required library: '/home/xxxx/.m2/repository/com/mulesoft/munit/munit-runner/1.3.3-SNAPSHOT/munit-runner-1.3.3-SNAPSHOT.jar' xxx Build path Build Path Problem
Upvotes: 0
Views: 283
Reputation: 712
For future references you can find the latests versions of MUnit listed here: https://docs.mulesoft.com/release-notes/munit-release-notes
Also, while it's cool for you to play with SNAPSHOT versions please notice that they are just SNAPSHOT thus not stable. FYI our SNAPSHOT repositories are periodically clean so you may be pointing to an artifact that's not longer published
Upvotes: 0
Reputation: 54
Try the below version.
<munit.version>1.2.1</munit.version>
<mule.munit.support.version>3.7.4</mule.munit.support.version>
<dependency>
<groupId>com.mulesoft.munit</groupId>
<artifactId>munit-runner</artifactId>
<version>${munit.version}</version>
<scope>test</scope>
</dependency>`
if still you are facing the issue then copy the jar from your m2 repository if it is already downloaded otherwise download it from online and manually add it to the build path.
Upvotes: 0
Reputation: 1942
I think the correct version to use for MUNIT is this one bellow:
<munit.version>1.3.1</munit.version>
<mule.munit.support.version>3.8.3</mule.munit.support.version>
Upvotes: 0