mirror of https://github.com/apache/archiva.git
-merge changes from archiva-1.0.x branch -r630722
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630750 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
64cd5a7455
commit
79947feead
|
@ -111,11 +111,16 @@ public class EffectiveProjectModelFilter
|
|||
// Resolve dependency versions from dependency management.
|
||||
applyDependencyManagement( effectiveProject );
|
||||
|
||||
// Do not add project into cache if it contains no groupId and
|
||||
// version information
|
||||
if ( project.getGroupId() != null && project.getVersion() != null )
|
||||
{
|
||||
synchronized ( effectiveProjectCache )
|
||||
{
|
||||
DEBUG( "Putting (to cache/projectKey): " + projectKey );
|
||||
effectiveProjectCache.put( projectKey, effectiveProject );
|
||||
}
|
||||
}
|
||||
|
||||
// Return what we got.
|
||||
return effectiveProject;
|
||||
|
|
Loading…
Reference in New Issue