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
No instructions to use this project from Maven? #64
Comments
https://www.mockneat.com/start/ You can find the instructions to include it in a maven build. |
Did you try these instructions recently? I think the artifact is not available in that repository... This is why I had to build everything by my own. |
Just tested by creating a new maven project. My pom file looks like this:
It works for me. |
PS: Refrain from using terms like "useless". It's not nice. |
You are right, it was not elegant to use that "useless". This is a great work and I was frustrated not to be able to use it. The problem with that is the dependency seems not to be working, as I'm getting following error:
Are there any other dependencies missing? |
This is indeed very awkward...
Maybe the library was not compiled successfully... What I suggest:
In jcenter() - the repo were the library was made public I can see everyday a lot of download logs, and I am 100% people are using it from maven all the time, from all over the world, without issues. So I believe it's a problem in your local setup... Another thing I can try help you -> if it's possible share the sources of the project where you are currently using mockneat (if it's possible, of course) and I can try to make them run on my machine. |
Thanks for you help, really appreciated. It looks like there is some problem when using the library inside a Spring Boot application.
When removing this dependency, the code runs fine. Let me study this deeper and I'll come back with my findings. |
https://github.com/DeloitteDigitalRO/DDWatch In this project you can see a spring boot application that uses mockneat. And it's using maven. Tell me how it went I am curious to understand what was the issue. |
Definitively it was my fault. Now it's working fine. It looks like my ".m2" folder was corrupted. I've removed it completely and now Sorry for taking your time. |
No problem! Good luck. |
It looks too complex to use this project from Maven, since it's required to download two different source projects, build them and add them to local Maven repository.
Almost useless when working with Maven.
The text was updated successfully, but these errors were encountered: