summaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorMaria Odea B. Ching <oching@apache.org>2009-05-24 11:04:35 +0000
committerMaria Odea B. Ching <oching@apache.org>2009-05-24 11:04:35 +0000
commitb704d37229bb76b3dde8058ea82b49ef0f40634d (patch)
tree1f66039290c9013f73616b44fa5fe3164effc735 /archiva-modules
parentaf0109d90fe767d72c346602bf6770a3764f1e4c (diff)
downloadarchiva-b704d37229bb76b3dde8058ea82b49ef0f40634d.tar.gz
archiva-b704d37229bb76b3dde8058ea82b49ef0f40634d.zip
oops, forgot to remove debug logs..
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java56
-rw-r--r--archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/filters/EffectiveProjectModelFilter.java8
2 files changed, 1 insertions, 63 deletions
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java
index 396b7e3a4..3a8211a6d 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-database-consumers/src/main/java/org/apache/maven/archiva/consumers/database/ProjectModelToDatabaseConsumer.java
@@ -156,24 +156,6 @@ public class ProjectModelToDatabaseConsumer
try
{
model = reader.read( artifactFile );
-
- Organization organization = model.getOrganization();
- if( organization != null )
- {
- log.info( "++++ [AfterRead] organization NAME --> " + organization.getName() + " : " + organization.getOrganizationName() );
- }
-
- IssueManagement iM = model.getIssueManagement();
- if( iM != null )
- {
- log.info( "++++ [AfterRead] issueMgnt url --> " + iM.getUrl() + " : " + iM.getIssueManagementUrl() );
- }
-
- CiManagement ci = model.getCiManagement();
- if( ci != null )
- {
- log.info( "++++ [AfterRead] ci url --> " + ci.getUrl() + " : " + ci.getCiUrl() );
- }
// The version should be updated to the artifact/filename version if it is a unique snapshot
if ( VersionUtil.isUniqueSnapshot( artifact.getVersion() ) )
@@ -184,24 +166,6 @@ public class ProjectModelToDatabaseConsumer
// Resolve the project model (build effective model, resolve expressions)
model = effectiveModelFilter.filter( model );
- organization = model.getOrganization();
- if( organization != null )
- {
- log.info( "++++ [AfterFilter] organization NAME --> " + organization.getName() + " : " + organization.getOrganizationName() );
- }
-
- iM = model.getIssueManagement();
- if( iM != null )
- {
- log.info( "++++ [AfterFilter] issueMgnt url --> " + iM.getUrl() + " : " + iM.getIssueManagementUrl() );
- }
-
- ci = model.getCiManagement();
- if( ci != null )
- {
- log.info( "++++ [AfterFilter] ci url --> " + ci.getUrl() + " : " + ci.getCiUrl() );
- }
-
if ( isValidModel( model, repo, artifact ) )
{
log.debug( "Adding project model to database - " + Keys.toKey( model ) );
@@ -209,25 +173,7 @@ public class ProjectModelToDatabaseConsumer
// Clone model, since DAO while detachingCopy resets its contents
// This changes contents of the cache in EffectiveProjectModelFilter
model = ArchivaModelCloner.clone( model );
-
- organization = model.getOrganization();
- if( organization != null )
- {
- log.info( "++++ [AfterClone] organization NAME --> " + organization.getName() + " : " + organization.getOrganizationName() );
- }
-
- iM = model.getIssueManagement();
- if( iM != null )
- {
- log.info( "++++ [AfterClone] issueMgnt url --> " + iM.getUrl() + " : " + iM.getIssueManagementUrl() );
- }
-
- ci = model.getCiManagement();
- if( ci != null )
- {
- log.info( "++++ [AfterClone] ci url --> " + ci.getUrl() + " : " + ci.getCiUrl() );
- }
-
+
dao.getProjectModelDAO().saveProjectModel( model );
}
else
diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/filters/EffectiveProjectModelFilter.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/filters/EffectiveProjectModelFilter.java
index 186b7d1a4..04bec93af 100644
--- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/filters/EffectiveProjectModelFilter.java
+++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/project/filters/EffectiveProjectModelFilter.java
@@ -100,14 +100,6 @@ public class EffectiveProjectModelFilter
// Clone submitted project (so that we don't mess with it)
effectiveProject = ArchivaModelCloner.clone( project );
- System.out.println( "++++[EFFECTIVE Project] effectiveProject --> " + effectiveProject );
- IssueManagement iM = effectiveProject.getIssueManagement();
- if( iM != null )
- {
- System.out.println( "++++[EFFECTIVE Project] issue mgnt URL --> " + iM.getUrl() + " $$ " +
- iM.getIssueManagementUrl() );
- }
-
DEBUG( "Starting build of effective with: " + effectiveProject );
// Merge in all the parent poms.