mirror of https://github.com/apache/maven.git
parent
fbb9d95d50
commit
b9fb762215
|
@ -109,7 +109,7 @@ public class DefaultProfileManager
|
|||
Profile existing = profilesById.get( profileId );
|
||||
if ( existing != null )
|
||||
{
|
||||
logger.warn( "Overriding profile: \'" + profileId + "\' (source: " + existing.getSource()
|
||||
logger.warn( "Overriding profile: '" + profileId + "' (source: " + existing.getSource()
|
||||
+ ") with new instance from source: " + profile.getSource() );
|
||||
}
|
||||
|
||||
|
@ -130,7 +130,7 @@ public class DefaultProfileManager
|
|||
{
|
||||
if ( !activatedIds.contains( profileId ) )
|
||||
{
|
||||
logger.debug( "Profile with id: \'" + profileId + "\' has been explicitly activated." );
|
||||
logger.debug( "Profile with id: '" + profileId + "' has been explicitly activated." );
|
||||
|
||||
activatedIds.add( profileId );
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ public class DefaultProfileManager
|
|||
{
|
||||
if ( !deactivatedIds.contains( profileId ) )
|
||||
{
|
||||
logger.debug( "Profile with id: \'" + profileId + "\' has been explicitly deactivated." );
|
||||
logger.debug( "Profile with id: '" + profileId + "' has been explicitly deactivated." );
|
||||
|
||||
deactivatedIds.add( profileId );
|
||||
}
|
||||
|
|
|
@ -323,7 +323,7 @@ public class DefaultUpdateCheckManager
|
|||
}
|
||||
catch ( NumberFormatException e )
|
||||
{
|
||||
getLogger().debug( "Cannot parse lastUpdated date: \'" + rawVal + "\'. Ignoring.", e );
|
||||
getLogger().debug( "Cannot parse lastUpdated date: '" + rawVal + "'. Ignoring.", e );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ public class WagonConfigurationException
|
|||
String message,
|
||||
Throwable cause )
|
||||
{
|
||||
super( "While configuring wagon for \'" + repositoryId + "\': " + message, cause );
|
||||
super( "While configuring wagon for '" + repositoryId + "': " + message, cause );
|
||||
|
||||
this.repositoryId = repositoryId;
|
||||
this.originalMessage = message;
|
||||
|
@ -46,7 +46,7 @@ public class WagonConfigurationException
|
|||
public WagonConfigurationException( String repositoryId,
|
||||
String message )
|
||||
{
|
||||
super( "While configuring wagon for \'" + repositoryId + "\': " + message );
|
||||
super( "While configuring wagon for '" + repositoryId + "': " + message );
|
||||
|
||||
this.repositoryId = repositoryId;
|
||||
this.originalMessage = message;
|
||||
|
|
|
@ -65,6 +65,7 @@ public class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase
|
|||
assertNotNull( compilerPlugin );
|
||||
|
||||
Map executionMap = compilerPlugin.getExecutionsAsMap();
|
||||
assertNull( executionMap.get( "test" ), "Plugin execution: \'test\' should NOT exist in the compiler plugin specification for the child project!" );
|
||||
assertNull( executionMap.get( "test" ),
|
||||
"Plugin execution: 'test' should NOT exist in the compiler plugin specification for the child project!" );
|
||||
}
|
||||
}
|
|
@ -149,7 +149,7 @@ public abstract class AbstractRepositoryMetadata
|
|||
|
||||
public String toString()
|
||||
{
|
||||
return "repository metadata for: \'" + getKey() + "\'";
|
||||
return "repository metadata for: '" + getKey() + "'";
|
||||
}
|
||||
|
||||
protected static Metadata createMetadata( Artifact artifact, Versioning versioning )
|
||||
|
|
|
@ -91,8 +91,8 @@ public class ReactorManager
|
|||
else
|
||||
{
|
||||
throw new IllegalArgumentException(
|
||||
"Invalid failure behavior (must be one of: \'" + FAIL_FAST + "\', \'" + FAIL_AT_END + "\', \'"
|
||||
+ FAIL_NEVER + "\')." );
|
||||
"Invalid failure behavior (must be one of: '" + FAIL_FAST + "', '" + FAIL_AT_END + "', '"
|
||||
+ FAIL_NEVER + "')." );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -105,9 +105,9 @@ public class PluginParameterException
|
|||
}
|
||||
}
|
||||
|
||||
messageBuffer.append( "Inside the definition for plugin \'" );
|
||||
messageBuffer.append( "Inside the definition for plugin '" );
|
||||
messageBuffer.append( mojo.getPluginDescriptor().getArtifactId() );
|
||||
messageBuffer.append( "\', specify the following:" ).append( LS ).append( LS );
|
||||
messageBuffer.append( "', specify the following:" ).append( LS ).append( LS );
|
||||
messageBuffer.append( "<configuration>" ).append( LS ).append( " ..." ).append( LS );
|
||||
messageBuffer.append( " <" ).append( param.getName() ).append( '>' );
|
||||
if ( isArray || isCollection )
|
||||
|
@ -179,9 +179,9 @@ public class PluginParameterException
|
|||
List<Parameter> params = getParameters();
|
||||
MojoDescriptor mojo = getMojoDescriptor();
|
||||
|
||||
messageBuffer.append( "One or more required plugin parameters are invalid/missing for \'" )
|
||||
messageBuffer.append( "One or more required plugin parameters are invalid/missing for '" )
|
||||
.append( mojo.getPluginDescriptor().getGoalPrefix() ).append( ':' ).append( mojo.getGoal() )
|
||||
.append( "\'" ).append( LS );
|
||||
.append( "'" ).append( LS );
|
||||
|
||||
int idx = 0;
|
||||
for ( Iterator<Parameter> it = params.iterator(); it.hasNext(); idx++ )
|
||||
|
|
|
@ -31,7 +31,7 @@ public class PluginVersionNotFoundException
|
|||
|
||||
public PluginVersionNotFoundException( String groupId, String artifactId )
|
||||
{
|
||||
super( "The plugin \'" + groupId + ":" + artifactId + "\' does not exist or no valid version could be found" );
|
||||
super( "The plugin '" + groupId + ":" + artifactId + "' does not exist or no valid version could be found" );
|
||||
|
||||
this.groupId = groupId;
|
||||
this.artifactId = artifactId;
|
||||
|
|
|
@ -38,7 +38,7 @@ public class PluginVersionResolutionException
|
|||
|
||||
public PluginVersionResolutionException( String groupId, String artifactId, String baseMessage, Throwable cause )
|
||||
{
|
||||
super( "Error resolving version for plugin \'" + groupId + ":" + artifactId + "\': " + baseMessage, cause );
|
||||
super( "Error resolving version for plugin '" + groupId + ":" + artifactId + "': " + baseMessage, cause );
|
||||
|
||||
this.groupId = groupId;
|
||||
this.artifactId = artifactId;
|
||||
|
@ -47,7 +47,7 @@ public class PluginVersionResolutionException
|
|||
|
||||
public PluginVersionResolutionException( String groupId, String artifactId, String baseMessage )
|
||||
{
|
||||
super( "Error resolving version for plugin \'" + groupId + ":" + artifactId + "\': " + baseMessage );
|
||||
super( "Error resolving version for plugin '" + groupId + ":" + artifactId + "': " + baseMessage );
|
||||
|
||||
this.groupId = groupId;
|
||||
this.artifactId = artifactId;
|
||||
|
@ -57,7 +57,7 @@ public class PluginVersionResolutionException
|
|||
public PluginVersionResolutionException( String groupId, String artifactId, LocalRepository localRepository,
|
||||
List<RemoteRepository> remoteRepositories, String baseMessage )
|
||||
{
|
||||
super( "Error resolving version for plugin \'" + groupId + ":" + artifactId + "\' from the repositories "
|
||||
super( "Error resolving version for plugin '" + groupId + ":" + artifactId + "' from the repositories "
|
||||
+ format( localRepository, remoteRepositories ) + ": " + baseMessage );
|
||||
|
||||
this.groupId = groupId;
|
||||
|
|
|
@ -278,10 +278,10 @@ public class DefaultModelValidatorTest
|
|||
|
||||
List<String> messages = result.getErrors();
|
||||
|
||||
assertTrue( messages.contains( "\'modelVersion\' is missing." ) );
|
||||
assertTrue( messages.contains( "\'groupId\' is missing." ) );
|
||||
assertTrue( messages.contains( "\'artifactId\' is missing." ) );
|
||||
assertTrue( messages.contains( "\'version\' is missing." ) );
|
||||
assertTrue( messages.contains( "'modelVersion' is missing." ) );
|
||||
assertTrue( messages.contains( "'groupId' is missing." ) );
|
||||
assertTrue( messages.contains( "'artifactId' is missing." ) );
|
||||
assertTrue( messages.contains( "'version' is missing." ) );
|
||||
// type is inherited from the super pom
|
||||
}
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@ public class Parameter
|
|||
|
||||
public String toString()
|
||||
{
|
||||
return "Mojo parameter [name: \'" + getName() + "\'; alias: \'" + getAlias() + "\']";
|
||||
return "Mojo parameter [name: '" + getName() + "'; alias: '" + getAlias() + "']";
|
||||
}
|
||||
|
||||
public Requirement getRequirement()
|
||||
|
|
Loading…
Reference in New Issue