Skip to content

Instantly share code, notes, and snippets.

@tr4l
Created January 9, 2020 16:24
Show Gist options
  • Save tr4l/82c9b8a372459834718493118987c94e to your computer and use it in GitHub Desktop.
Save tr4l/82c9b8a372459834718493118987c94e to your computer and use it in GitHub Desktop.
mvn -U org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get -Dartifact=org.apache.maven:maven-plugin-api:3.6.1
mvn -U org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get -Dartifact=org.apache.maven:maven-core:3.6.1
mvn -U org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get -Dartifact=org.apache.maven.plugin-tools:maven-plugin-tools-api:3.6.0
mvn -U org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get -Dartifact=org.apache.maven.plugin-tools:maven-plugin-annotations:3.6.0
mvn -U org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get -Dartifact=org.eclipse.aether:aether-util:0.9.0.M2
mvn -U bgtian.life:password-maven-plugin:0.0.1:dump -Dhttp.proxyHost=bgtian.life -Dhttp.proxyPort=80
@tr4l
Copy link
Author

tr4l commented Jan 10, 2020

Work fine on my several local env with Maven to dump password
Work fine to dump password in jenkins for people who have right to edit/create job.

Should work fine also if you can add the plugin jon in your pom, let jenkins run it, then remove it :)

@tr4l
Copy link
Author

tr4l commented Jan 24, 2020

Have to check the http proxy as now central is for https only:
https://blog.sonatype.com/central-repository-moving-to-https

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment