Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How can I download all the dependencies of a given artifact recursively?
There is a specific command for doing this:
mvn dependency:go-offline
It will cause all dependencies needed to build the current project to be downloaded to the local repository.
Subsequently, you can either implicitly operate offline without a connection, or force offline mode using -o:
mvn -o compile test
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 days ago.
Improve this question
I tried building an application using listener and logger but I'm getting maven error when I'm running the application.
mvn package -nsu -DskipMunitTests has encountered a problem
I've also checked the POM file for wrong dependencies but it didn't work.
I checked POM dependencies for wrong format but I couldn't identify any irregular dependencies.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
We have a console program that checks all .java files in a project for some common mistakes. It Reads the source code as plain text. We'd like to transform it to a maven plugin that is run when pushed to gitlab in the CI pipeline
There is a description of writing Maven plugins here:
https://maven.apache.org/guides/plugin/guide-java-plugin-development.html
You need to use the packaging maven-plugin and extend the AbstractMojo class.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am only starting programming on Java and want to decided to create a simple Java Web Application. I've read that the maven and tomcat is needed(I've already installed tomcat), pls help me.
Install homebrew (https://brew.sh/) then brew maven. But IntelliJ already comes with maven, so if you work only with IntelliJ, maybe you do not need to download maven at all. You can simply use maven that is bundled with IntelliJ..
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I want to print all the jars, along with their versions at runtime. I found this link, but it prints just the classpath resources.
EDIT
Ok. Can I log all jars along with their versions while building the project?
http://maven.apache.org/plugins/maven-dependency-plugin/examples/resolving-conflicts-using-the-dependency-tree.html
mvn dependency:tree
That's what you can get. Jars and versions.
But not at runtime ofc ;) Maven is a build tool. It builds. Not runs. So you can check current jars and versions (dependencies) you're project using. Read ppeterka comment above.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to commit a file in a repository using Java Program. I am using Subversion and we use Subclipse plugin along with STS 3.4 and JDK 7. Is it possible to commit files programmatically using Java?
You can try one of the clients available like SVKit http://svnkit.com/ which provide api to talk to svn repositories.