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 )
|
||||
{
|
||||
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE)
|
||||
.setMessage( "Failed to interpolate file location " + path + " for profile " + profile.getId() + ": " + e.getMessage())
|
||||
.setLocation( file.getLocation( missing ? "missing" : "exists" ))
|
||||
.setException( e ));
|
||||
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE )
|
||||
.setMessage( "Failed to interpolate file location " + path + " for profile " + profile.getId() + ": " + e.getMessage() )
|
||||
.setLocation( file.getLocation( missing ? "missing" : "exists" ) )
|
||||
.setException( e ) );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -58,9 +58,9 @@ public class JdkVersionProfileActivator
|
|||
|
||||
if ( version == null || version.length() <= 0 )
|
||||
{
|
||||
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE)
|
||||
.setMessage( "Failed to determine Java version for profile " + profile.getId())
|
||||
.setLocation(activation.getLocation( "jdk" )));
|
||||
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE )
|
||||
.setMessage( "Failed to determine Java version for profile " + profile.getId() )
|
||||
.setLocation(activation.getLocation( "jdk" ) ) );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -63,9 +63,9 @@ public class PropertyProfileActivator
|
|||
|
||||
if ( name == null || name.length() <= 0 )
|
||||
{
|
||||
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE)
|
||||
.setMessage( "The property name is required to activate the profile " + profile.getId())
|
||||
.setLocation( property.getLocation( "" )));
|
||||
problems.add( new ModelProblemCollectorRequest( Severity.ERROR, Version.BASE )
|
||||
.setMessage( "The property name is required to activate the profile " + profile.getId() )
|
||||
.setLocation( property.getLocation( "" ) ) );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue