I\'m using maven in my project and I need to run the build in a non-internet-access machine.
When I test my project build everything is working, bu
After some debugging I found that maven-dependency-plugin
(version 3.1.1
at the time of writing) is unable to resolve plugin's dependencies when specified like:
org.apache.maven.plugins
maven-surefire-plugin
3.0.0-M3
<--- this is not going to be resolved by dependency:go-offline command !!!
org.apache.maven.surefire
surefire-junit4
3.0.0-M3
After that I found go-offline-maven-plugin
which just works! Pls see https://github.com/qaware/go-offline-maven-plugin for more info.
de.qaware.maven
go-offline-maven-plugin
x.y.z
Current version could be found here https://mvnrepository.com/artifact/de.qaware.maven/go-offline-maven-plugin and Maven issue here https://issues.apache.org/jira/browse/MDEP-82