}
catch ( RepositoryStorageMetadataNotFoundException e )
{
- log.warn( "Missing or invalid POM for artifact: " + path + "; creating empty metadata" );
+ log.warn( "Missing or invalid POM for artifact:" + path + " (" + repoId + "); creating empty metadata" );
versionMetadata = new ProjectVersionMetadata();
versionMetadata.setId( projectVersion );
}
catch ( RepositoryStorageMetadataInvalidException e )
{
- log.warn( "Error occurred resolving POM for artifact: " + path + "; message: " + e.getMessage() );
+ log.warn( "Error occurred resolving POM for artifact:" + path + "(" + repoId + "); message: " + e.getMessage() );
}
// read the metadata and update it if it is newer or doesn't exist
}
catch ( MetadataRepositoryException e )
{
- log.warn( "Error occurred persisting metadata for artifact: " + path + "; message: " + e.getMessage(), e );
+ log.warn( "Error occurred persisting metadata for artifact: " + path + "(" + repoId + "); message: " + e.getMessage(), e );
repositorySession.revert();
}
catch ( RepositoryStorageRuntimeException e )
{
- log.warn( "Error occurred persisting metadata for artifact: " + path + "; message: " + e.getMessage(), e );
+ log.warn( "Error occurred persisting metadata for artifact: " + path + "(" + repoId + "); message: " + e.getMessage(), e );
repositorySession.revert();
}
finally