don't install timestamped builds
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@179540 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
4c46b07881
commit
5e3a42f67b
1 file changed
-7
@@ -283,13 +283,6 @@ public class DefaultArtifactDeployer
|
||||
private void doInstall( File file, String type, Project project, String version, ArtifactTypeHandler handler )
|
||||
throws MavenException
|
||||
{
|
||||
if ( version.indexOf( MavenConstants.SNAPSHOT_SIGNIFIER ) >= 0 )
|
||||
{
|
||||
String snapshotSignature = getSnapshotSignature();
|
||||
String v = StringUtils.replace( version, MavenConstants.SNAPSHOT_SIGNIFIER, snapshotSignature );
|
||||
doInstall( file, type, project, v, handler );
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
Repository repository = new Repository( "local", "file:" + project.getContext().getMavenRepoLocal() );
|
||||
|
||||
Reference in new issue
Block a user