mirror of https://github.com/apache/archiva.git
fix bean name for legacy repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403721 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3c5f484ee7
commit
3685b508cb
|
@ -256,6 +256,7 @@
|
||||||
org.apache.archiva.scheduler*;version=${project.version},
|
org.apache.archiva.scheduler*;version=${project.version},
|
||||||
org.apache.archiva.security;version=${project.version},
|
org.apache.archiva.security;version=${project.version},
|
||||||
org.apache.archiva.proxy.model;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.io;version="[1.4,2)",
|
||||||
org.apache.commons.lang;version="[2.4,3)",
|
org.apache.commons.lang;version="[2.4,3)",
|
||||||
org.apache.jackrabbit.util;version="[1,3)",
|
org.apache.jackrabbit.util;version="[1,3)",
|
||||||
|
|
|
@ -729,7 +729,8 @@ public class ArchivaDavResourceFactory
|
||||||
if ( artifact != null )
|
if ( artifact != null )
|
||||||
{
|
{
|
||||||
String repositoryLayout = managedRepository.getRepository().getLayout();
|
String repositoryLayout = managedRepository.getRepository().getLayout();
|
||||||
if ( StringUtils.equalsIgnoreCase( "default", repositoryLayout ) )
|
if ( StringUtils.equalsIgnoreCase( "default", repositoryLayout ) || StringUtils.equalsIgnoreCase(
|
||||||
|
"legacy", repositoryLayout ) )
|
||||||
{
|
{
|
||||||
repositoryLayout = "maven2";
|
repositoryLayout = "maven2";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue