Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:all
-
Number of attachments :
Description
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
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