-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build standalone jar? #26
Comments
Hi, Two options:
Hope that helps, |
Thanks. Tried that gradle build command, but I'm still getting a failure on the "signArchives" task and it never gets far enough to create the standalone jar. However I was able to download the standalone jar from the link you provided, and that should be sufficient for now. |
Ah sorry, I forgot to mention you need to install PGP for the signing step to work. |
Sorry for posting in an old issue @tomakehurst, but I'm wondering if you have a basic build/development environment setup doc somewhere on github or wiremock.org? I'm trying to integrate wiremock into an automated testing framework currently using cppunit (but hopefully moving to catch). I've come across a couple of issues that ended up being unrelated to wiremock, but it would be lovely to be able to build and debug wiremock via, say, intellij or eclipse. Its been a while since I've used Java extensively (and even then it was android); do you have any sort of quick start guide you would consider sharing? Apologies if such a guide already exists and I haven't uncovered it in my searches! |
Assume you mean building WireMock from source? To test |
I tried running gradle clean build jarAll But Facing issues: FAILURE: Build failed with an exception.
|
@tomakehurst kindly take a look |
I'm interested in running WireMock in Standalone mode. The documentation says to use this command:
$ java -jar wiremock-1.30-standalone.jar
However, I've thus far been unable to build this jar file. I tried running "gradle build", and it got part way through the build process before failing with:
FAILURE: Build failed with an exception.
Execution failed for task ':signArchives'.
In spite of this failure, it appears that the task did manage to build the following jars:
wiremock-1.31.jar
wiremock-1.31-javadoc.jar
wiremock-1.31-sources.jar
but not
wiremock-1.31-standalone.jar
I'm not seeing any other gradle tasks that look like they're used to build the standalone jar. Am I missing something?
The text was updated successfully, but these errors were encountered: