Go Offline?

6 views
Skip to first unread message

Rauno Ots

unread,
Jul 19, 2024, 9:59:47 AM7/19/24
to maven-download-plugin
Hi,
Is there a chance to make this easily work with `mvn --offline` mode?
E.g. so that plugins like dependency:go-offline or de.qaware.maven:go-offline-maven-plugin:resolve-dependencies would automatically pull the dependencies.

I think right now the only way is to manually invoke each execution in each module during the preparation of the offline maven repository
mvn -pl :MY-MODULE1 com.googlecode.maven-download-plugin:download-maven-plugin:wget@download-exec1 com.googlecode.maven-download-plugin:download-maven-plugin:wget@download-exec2
mvn -pl :MY-MODULE2 com.googlecode.maven-download-plugin:download-maven-plugin:wget@download-exec3 com.googlecode.maven-download-plugin:download-maven-plugin:wget@download-exec4

Any better ideas?

Reply all
Reply to author
Forward
0 new messages