org.apache.archiva.scheduler*;version=${project.version},
org.apache.archiva.security;version=${project.version},
org.apache.archiva.proxy.model;version=${project.version},
+ org.apache.archiva.metadata.repository.storage;version=${project.version},
org.apache.commons.io;version="[1.4,2)",
org.apache.commons.lang;version="[2.4,3)",
org.apache.jackrabbit.util;version="[1,3)",
/**
*
*/
-@Service ( "davResourceFactory#archiva" )
+@Service ("davResourceFactory#archiva")
public class ArchivaDavResourceFactory
implements DavResourceFactory, Auditable
{
*
*/
@Inject
- @Named ( value = "repositoryProxyConnectors#default" )
+ @Named (value = "repositoryProxyConnectors#default")
private RepositoryProxyConnectors connectors;
/**
*
*/
@Inject
- @Named ( value = "httpAuthenticator#basic" )
+ @Named (value = "httpAuthenticator#basic")
private HttpAuthenticator httpAuth;
@Inject
*
*/
@Inject
- @Named ( value = "archivaTaskScheduler#repository" )
+ @Named (value = "archivaTaskScheduler#repository")
private RepositoryArchivaTaskScheduler scheduler;
private ApplicationContext applicationContext;
if ( artifact != null )
{
String repositoryLayout = managedRepository.getRepository().getLayout();
- if ( StringUtils.equalsIgnoreCase( "default", repositoryLayout ) )
+ if ( StringUtils.equalsIgnoreCase( "default", repositoryLayout ) || StringUtils.equalsIgnoreCase(
+ "legacy", repositoryLayout ) )
{
repositoryLayout = "maven2";
}