I would like to user mockrunner through maven.
But I can't see the latest version(0.4.2) on maven central repository.
please upload the latest version to central repository.
Mockrunner does not use Maven, does not contain any pom.xml files and does not publish anything to the Maven repository. Anything in any Maven repository has not been uploaded by the Mockrunner team.
Please consider uploading it there as Maven repo is used by many build systems: Maven, Ivy, Grape, Gradle, Buildr, SBT.
Mockrunner is great! Thanks for writing it!
I have a mavenized version of CVS HEAD here: https://github.com/steinarb/mockrunner
What I've done, is:
This was sufficient for me to be able to do a "mvn install" and then later use the com.mockrunner/mockrunner/0.4.2 dependency in a unit test.
Note that I haven't done anything with the srcj2ee/ and srcjdk/ directories, since I don't know what they are for, and because what I currently have gave me MockResultSet, which is what I needed from MockRunner.
Note also that at the time of writing, there is one unsatisfied dependency in com.kirkk/jaranalyzer/1.2. I satisfied that dependency by creating a minmal POM, and then installing the Jar file and the source Jar from the 1.2 release of JarAnalyzer locally, with:
mvn install:install-file -Dfile=jaranalyzer-1.2.jar -DpomFile=pom.xml -Dsources=jaranalyzer-src-1.2.jar
I forked Steiner's repository and went a bit further with the mavenization.
I created modules for each of mockrunner's JARs - struts, jms, servlets, etc
Divided the dependencies into the modules, so that developers using one module do not pull unrequired dependencies.
Setup maven to build mockrunner's website with project information, plus a replica of the content at mockrunner.sourceforge.net
Setup maven to deploy release and snapshot versions to the maven central repository and produced a first release of the resulting project with version 0.4.5
You can see the release at search.maven.org with the search query
g:"com.mockrunner" AND v:"0.4.5"
The maven generated site is at cemartins.github.io/mockrunner
Congratulations on Mockrunner. I'm using the JMS mock classes and they're Great!
Was easy to find on the maven central repository here
I only have one issue: I cannot use the latest version 0.4 because I get the error "mockrunner does not match the POM's expected path prefix" from my artifactory mirror
Keep up the good work
Log in to post a comment.