mirror of https://github.com/apache/archiva.git
[MRM-370] NPE when trying to proxy a request for a plugin
Patch submitted by Jens Mühlenhoff git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
68721e8607
commit
743213aaf3
|
@ -134,7 +134,10 @@ public class DefaultBidirectionalRepositoryLayout
|
|||
|
||||
path.append( formatAsDirectory( reference.getGroupId() ) ).append( PATH_SEPARATOR );
|
||||
path.append( reference.getArtifactId() ).append( PATH_SEPARATOR );
|
||||
path.append( VersionUtil.getBaseVersion( reference.getVersion() ) ).append( PATH_SEPARATOR );
|
||||
if( reference.getVersion() != null ) {
|
||||
// add the version only if it is present
|
||||
path.append( VersionUtil.getBaseVersion( reference.getVersion() ) ).append( PATH_SEPARATOR );
|
||||
}
|
||||
path.append( MAVEN_METADATA );
|
||||
|
||||
return path.toString();
|
||||
|
|
Loading…
Reference in New Issue