You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michal Szalinski (JIRA)" <ji...@codehaus.org> on 2009/05/25 11:33:43 UTC
[jira] Commented: (MONE-3) [maven-one-plugin] uniqueVersion=true to
generate snapshots with timestamp in m1 repo
[ http://jira.codehaus.org/browse/MONE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177931#action_177931 ]
Michal Szalinski commented on MONE-3:
-------------------------------------
solution which I found on my side for this problem is to change:
line 119 of MavenOneRepositoryDeployMojo
ArtifactRepository deploymentRepository = factory.createDeploymentArtifactRepository( remoteRepositoryId,
remoteRepositoryUrl,
legacyLayout, false );
into:
ArtifactRepository deploymentRepository = factory.createDeploymentArtifactRepository( remoteRepositoryId,
remoteRepositoryUrl,
legacyLayout, true );
then with usage of SnapshotTransformation (from maven 2.1.0?)
it timestamps artifact correctly in maven1 repository
> [maven-one-plugin] uniqueVersion=true to generate snapshots with timestamp in m1 repo
> -------------------------------------------------------------------------------------
>
> Key: MONE-3
> URL: http://jira.codehaus.org/browse/MONE-3
> Project: Maven 2.x One Plugin
> Issue Type: New Feature
> Environment: all
> Reporter: Olivier Lamy
> Priority: Minor
>
> As the uniqueVersion=true in distribution management to deploy in m2 repo with jars with timestamps.
> Is there any way to have the same parameters with the maven-one-plugin ?
> Thanks,
> - Olivier
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira