repositoryContentFactory.getManagedRepositoryContent( repoId );
ArchivaArtifact archivaArtifact = new ArchivaArtifact( groupId, artifactId, version, classifier,
StringUtils.isEmpty( type ) ? "jar" : type,
- repositoryId );
+ repoId );
File file = managedRepositoryContent.toFile( archivaArtifact );
if ( file.exists() )
{
ArtifactDownloadInfoBuilder builder =
new ArtifactDownloadInfoBuilder().forArtifactMetadata( artifact ).withManagedRepositoryContent(
- repositoryContentFactory.getManagedRepositoryContent( repositoryId ) );
+ repositoryContentFactory.getManagedRepositoryContent( repoId ) );
artifactDownloadInfos.add( builder.build() );
}
repositoryContentFactory.getManagedRepositoryContent( repoId );
ArchivaArtifact archivaArtifact = new ArchivaArtifact( groupId, artifactId, version, classifier,
StringUtils.isEmpty( type ) ? "jar" : type,
- repositoryId );
+ repoId );
File file = managedRepositoryContent.toFile( archivaArtifact );
if ( !file.exists() )
{