wilx commented on issue #1190: URL: https://github.com/apache/maven-dependency-plugin/issues/1190#issuecomment-5160572924
> when I use the `dependency:copy` goal with `useBaseVersion` flag set to `true`: (Maven Dependency plugin version: 3.9.0) > > ``` > $ mvn dependency:copy -Dartifact="groupId:artifactId:1.2.3-SNAPSHOT:tar.gz:deploy" \ > -DuseBaseVersion=true \ > -DoverWriteSnapshots=true \ > -DoutputDirectory="." \ > --no-transfer-progress > ``` > > file system: > > ``` > artifactId-1.2.3-20260302.141819-5-deploy.tar.gz > ``` > > it still places the file on the file system with a timestamped SNAPSHOT, how do I get the file name to use `1.2.3-SNAPSHOT` explicitly in the filename (instead of the timestamp) when using this goal? > > [@khmarbaise](https://github.com/khmarbaise) ? You are using wrong property. It is [`mdep.useBaseVersion`](https://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html#usebaseversion). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
