mirror of https://github.com/apache/maven.git
code formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1403658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e32cf81b6c
commit
0312cb0ff8
|
@ -127,10 +127,10 @@ public class FileProfileActivator
|
||||||
}
|
}
|
||||||
catch ( Exception e )
|
catch ( Exception e )
|
||||||
{
|
{
|
||||||
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE)
|
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE )
|
||||||
.setMessage( "Failed to interpolate file location " + path + " for profile " + profile.getId() + ": " + e.getMessage())
|
.setMessage( "Failed to interpolate file location " + path + " for profile " + profile.getId() + ": " + e.getMessage() )
|
||||||
.setLocation( file.getLocation( missing ? "missing" : "exists" ))
|
.setLocation( file.getLocation( missing ? "missing" : "exists" ) )
|
||||||
.setException( e ));
|
.setException( e ) );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,9 +58,9 @@ public class JdkVersionProfileActivator
|
||||||
|
|
||||||
if ( version == null || version.length() <= 0 )
|
if ( version == null || version.length() <= 0 )
|
||||||
{
|
{
|
||||||
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE)
|
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE )
|
||||||
.setMessage( "Failed to determine Java version for profile " + profile.getId())
|
.setMessage( "Failed to determine Java version for profile " + profile.getId() )
|
||||||
.setLocation(activation.getLocation( "jdk" )));
|
.setLocation(activation.getLocation( "jdk" ) ) );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -63,9 +63,9 @@ public class PropertyProfileActivator
|
||||||
|
|
||||||
if ( name == null || name.length() <= 0 )
|
if ( name == null || name.length() <= 0 )
|
||||||
{
|
{
|
||||||
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE)
|
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE )
|
||||||
.setMessage( "The property name is required to activate the profile " + profile.getId())
|
.setMessage( "The property name is required to activate the profile " + profile.getId() )
|
||||||
.setLocation( property.getLocation( "" )));
|
.setLocation( property.getLocation( "" ) ) );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue