mirror of https://github.com/apache/archiva.git
revert twoPhaseBuilding model building as it breaks maven inheritance resolution (for dependencies version)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293768 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
496920391c
commit
a4544331a8
|
@ -149,4 +149,21 @@ public class Dependency
|
|||
{
|
||||
return groupId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
sb.append( "Dependency" );
|
||||
sb.append( "{classifier='" ).append( classifier ).append( '\'' );
|
||||
sb.append( ", optional=" ).append( optional );
|
||||
sb.append( ", scope='" ).append( scope ).append( '\'' );
|
||||
sb.append( ", systemPath='" ).append( systemPath ).append( '\'' );
|
||||
sb.append( ", type='" ).append( type ).append( '\'' );
|
||||
sb.append( ", artifactId='" ).append( artifactId ).append( '\'' );
|
||||
sb.append( ", groupId='" ).append( groupId ).append( '\'' );
|
||||
sb.append( ", version='" ).append( version ).append( '\'' );
|
||||
sb.append( '}' );
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -223,7 +223,7 @@ public class Maven2RepositoryStorage
|
|||
new DefaultModelBuildingRequest()
|
||||
.setProcessPlugins( false )
|
||||
.setPomFile( file )
|
||||
.setTwoPhaseBuilding( true )
|
||||
.setTwoPhaseBuilding( false )
|
||||
.setValidationLevel( ModelBuildingRequest.VALIDATION_LEVEL_MINIMAL );
|
||||
|
||||
// MRM-1411
|
||||
|
|
Loading…
Reference in New Issue