jfrog / artifactory-maven-plugin

A Maven plugin to resolve artifacts from Artifactory, deploy artifacts to Artifactory, capture and publish build info.
https://www.jfrog.com/confluence/display/JFROG/Maven+Artifactory+Plugin
Apache License 2.0
24 stars 26 forks source link

Add Support console parameter #88

Open hupling opened 10 months ago

hupling commented 10 months ago

Is your feature request related to a problem? Please describe.

https://maven.apache.org/guides/mini/guide-configuring-plugins.html#generic-configuration

for example mvn org.jfrog.buildinfo:artifactory-maven-plugin:3.6.1 publish -Dpublisher.contextUrl=https://acme.jfrog.io - Dpublischer.username=deployer -Dpublisher.possword=dontellanyone -Dpublisher.repoKey=libs-release-local -Dpublischer.snapshotRepoKey=libs-snapshot-local

Describe the solution you'd like to see

add https://maven.apache.org/guides/mini/guide-configuring-plugins.html#generic-configuration in https://github.com/jfrog/artifactory-maven-plugin/blob/master/src/main/java/org/jfrog/buildinfo/ArtifactoryMojo.java

Describe alternatives you've considered

No response

Additional context

No response

bitstrings commented 7 months ago

I asked for this years ago. I have created a in-house plugin extending this one to avoid polluting the pom with proprietary software.

Nexus does it this right.

As it stands, this plugin is useless.