本文整理了Java中org.codehaus.plexus.logging.Logger.info()
方法的一些代码示例,展示了Logger.info()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.info()
方法的具体详情如下:
包路径:org.codehaus.plexus.logging.Logger
类名称:Logger
方法名:info
暂无
代码示例来源:origin: org.apache.maven/maven-plugin-api
public void info( Throwable error )
{
logger.info( "", error );
}
代码示例来源:origin: apache/maven
public void info( Throwable error )
{
logger.info( "", error );
}
代码示例来源:origin: apache/maven
public void info( String s )
{
logger.info( s );
}
代码示例来源:origin: org.apache.maven/maven-plugin-api
public void info( CharSequence content, Throwable error )
{
logger.info( toString( content ), error );
}
代码示例来源:origin: org.apache.maven/maven-plugin-api
public void info( CharSequence content )
{
logger.info( toString( content ) );
}
代码示例来源:origin: apache/maven
public void info( CharSequence content )
{
logger.info( toString( content ) );
}
代码示例来源:origin: apache/maven
public void info( CharSequence content, Throwable error )
{
logger.info( toString( content ), error );
}
代码示例来源:origin: apache/maven
@Override
public void putArtifactMetadata( File source, ArtifactMetadata artifactMetadata, ArtifactRepository repository )
throws TransferFailedException
{
logger.info( "Uploading " + artifactMetadata );
putRemoteFile( repository, source, repository.pathOfRemoteRepositoryMetadata( artifactMetadata ), null );
}
代码示例来源:origin: apache/maven
@Override
public void artifactInstalling( RepositoryEvent event )
{
logger.info( "Installing " + event.getArtifact().getFile() + " to " + event.getFile() );
}
代码示例来源:origin: apache/maven
getLogger().info(
metadata + " could not be found on repository: " + remoteRepository.getId() + ", so will be created" );
代码示例来源:origin: org.apache.maven/maven-project
getLogger().info(
projectArtifact.getArtifactId() + ": updating metadata due to status of '" + status + "'" );
try
代码示例来源:origin: apache/maven
if ( degreeOfConcurrency >= 2 )
logger.info( "" );
logger.info( String.format( "Using the %s implementation with a thread count of %d",
builder.getClass().getSimpleName(), degreeOfConcurrency ) );
代码示例来源:origin: apache/maven
private int resolveLatestSnapshotBuildNumber( Artifact artifact, ArtifactRepository localRepository,
ArtifactRepository remoteRepository )
throws RepositoryMetadataResolutionException
{
RepositoryMetadata metadata = new SnapshotArtifactRepositoryMetadata( artifact );
getLogger().info( "Retrieving previous build number from " + remoteRepository.getId() );
repositoryMetadataManager.resolveAlways( metadata, localRepository, remoteRepository );
int buildNumber = 0;
Metadata repoMetadata = metadata.getMetadata();
if ( ( repoMetadata != null )
&& ( repoMetadata.getVersioning() != null && repoMetadata.getVersioning().getSnapshot() != null ) )
{
buildNumber = repoMetadata.getVersioning().getSnapshot().getBuildNumber();
}
return buildNumber;
}
代码示例来源:origin: apache/maven
|| result.hasCircularDependencyExceptions() )
logger.info( "Failure detected." );
return result;
代码示例来源:origin: apache/maven
if ( metadata instanceof RepositoryMetadata )
getLogger().info( "Retrieving previous metadata from " + deploymentRepository.getId() );
try
代码示例来源:origin: apache/maven
getLogger().info( metadata.getKey() + ": checking for updates from " + repository.getId() );
try
代码示例来源:origin: apache/maven
logger.info( "Disabling enhanced local repository: using legacy is strongly discouraged to ensure"
+ " build reproducibility." );
代码示例来源:origin: org.codehaus.plexus/plexus-archiver
@Override
protected void execute()
throws ArchiverException
{
if ( getSourceFile().lastModified() > getDestFile().lastModified() )
{
getLogger().info( "Expanding " + getSourceFile().getAbsolutePath() + " to "
+ getDestFile().getAbsolutePath() );
copyFully( getGzipInputStream( fileInputStream( getSourceFile(), OPERATION_GZIP ) ),
fileOutputStream( getDestFile(), OPERATION_GZIP ), OPERATION_GZIP );
}
}
代码示例来源:origin: org.codehaus.plexus/plexus-archiver
@Override
protected void execute() throws ArchiverException
{
if ( getSourceFile().lastModified() > getDestFile().lastModified() )
{
getLogger().info( "Expanding " + getSourceFile().getAbsolutePath() + " to "
+ getDestFile().getAbsolutePath() );
copyFully( getXZInputStream( bufferedInputStream( fileInputStream( getSourceFile(), OPERATION_XZ ) ) ),
bufferedOutputStream( fileOutputStream( getDestFile(), OPERATION_XZ ) ), OPERATION_XZ );
}
}
代码示例来源:origin: org.codehaus.plexus/plexus-archiver
@Override
protected void execute()
throws ArchiverException
{
if ( getSourceFile().lastModified() > getDestFile().lastModified() )
{
getLogger().info(
"Expanding " + getSourceFile().getAbsolutePath() + " to " + getDestFile().getAbsolutePath() );
copyFully( getBZip2InputStream( bufferedInputStream( fileInputStream( getSourceFile(), OPERATION_BZIP2 ) ) ),
bufferedOutputStream( fileOutputStream( getDestFile(), OPERATION_BZIP2 ) ), OPERATION_BZIP2 );
}
}
内容来源于网络,如有侵权,请联系作者删除!