When you build with maven on a multicore / multi-CPU machine it would often be possible to build different subprojects in parallel. Is there a way to do this...
How can you depend on test code from another module in Maven? Example, I have 2 modules: Base Main I would like a test case in Main to extend...
I have 2 different project build on mvn. I am trying to replace to Gradle. Project 1 is an SDK, and project 2 is using that sdk (example). In...
I can install an artifact by install:install-file, but how can I download an artifact? For example: mvn download:download-file -DgroupId=.. -DartifactId=.. -Dversion=LATEST 13 Answers 13
dependency:tree can be used to see the dependency tree for a given project. But what I need is to see the dependency tree for a 3rd party artifact. I...
In Maven2, to exclude a single transitive dependency, I have to do something like this: <dependency> <groupId>sample.group</groupId> <artifactId>sample-artifactB</artifactId> <version>1</version> <exclusions> <exclusion> <groupId>sample.group</groupId> <artifactId>sample-artifactAB</artifactId> </exclusion> </exclusions> </dependency> The problem with...
I’m getting the following error. It seems there are multiple logging frameworks bound to slf4j. Not sure how to resolve this. Any help is greatly appreciated. SLF4J: Class path...
I’ve added a new dependency to my POM. Is there a simple command I can run to download this dependency to my repository? 5 Answers 5
I’m currently in the process of moving some project from Ant to Maven. Conformist as I am, I want to use well-established conventions for finding groupId and artifactId, but...

