You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bakito (JIRA)" <ji...@codehaus.org> on 2012/10/03 08:56:35 UTC
[jira] (MDEP-380) copy-dependencies should be able to use the
artifact's baseVersion
Bakito created MDEP-380:
---------------------------
Summary: copy-dependencies should be able to use the artifact's baseVersion
Key: MDEP-380
URL: https://jira.codehaus.org/browse/MDEP-380
Project: Maven 2.x Dependency Plugin
Issue Type: New Feature
Components: copy-dependencies
Affects Versions: 2.5.1
Reporter: Bakito
Attachments: maven-dependency-plugin.patch
It should be possible to copy dependencies with their baseVersion.
Currently the version used for snapshots is the resolvedVersion (timestamped version) org.apache.maven.artifact.DefaultArtifact.setResolvedVersion(String) which may be the timestamped snapshot version.
When calling copy-dependencies I expect snapshots to have the snapshot version org.apache.maven.artifact.DefaultArtifact.getBaseVersion().
The attached patch introduces a new parameter 'useBaseVersion' which, if selected, sets the base version in the copied artifact's names.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MDEP-380) copy-dependencies should be able to use the
artifact's baseVersion
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MDEP-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MDEP-380.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.6
Assignee: Robert Scholte
Fixed in [r1398935|http://svn.apache.org/viewvc?rev=1398935&view=rev]
Thanks for the great and complete patch!
I've only changed the default value of the parameter. I think the majority of the users wants to see the baseVersion.
> copy-dependencies should be able to use the artifact's baseVersion
> ------------------------------------------------------------------
>
> Key: MDEP-380
> URL: https://jira.codehaus.org/browse/MDEP-380
> Project: Maven 2.x Dependency Plugin
> Issue Type: New Feature
> Components: copy-dependencies
> Affects Versions: 2.5.1
> Reporter: Bakito
> Assignee: Robert Scholte
> Fix For: 2.6
>
> Attachments: maven-dependency-plugin.patch
>
>
> It should be possible to copy dependencies with their baseVersion.
> Currently the version used for snapshots is the resolvedVersion (timestamped version) org.apache.maven.artifact.DefaultArtifact.setResolvedVersion(String) which may be the timestamped snapshot version.
> When calling copy-dependencies I expect snapshots to have the snapshot version org.apache.maven.artifact.DefaultArtifact.getBaseVersion().
> The attached patch introduces a new parameter 'useBaseVersion' which, if selected, sets the base version in the copied artifact's names.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira