From fc28a410971ec0b53438273039a36047348cf292 Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Mon, 12 Nov 2007 21:17:00 +0000 Subject: [PATCH] Moving a comment to a place where it will be more useful. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@594300 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/project/DefaultMavenProjectBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java index 853777f236..a936b496aa 100644 --- a/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java +++ b/maven-project/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java @@ -275,7 +275,6 @@ public class DefaultMavenProjectBuilder // this snippet of code here. // ---------------------------------------------------------------------- - // TODO: such a call in MavenMetadataSource too - packaging not really the intention of type Artifact projectArtifact = project.getArtifact(); String projectId = safeVersionlessKey( project.getGroupId(), project.getArtifactId() ); @@ -852,6 +851,7 @@ public class DefaultMavenProjectBuilder project.setActiveProfiles( activeProfiles ); + // TODO: such a call in MavenMetadataSource too - packaging not really the intention of type // TODO: maybe not strictly correct, while we should enfore that packaging has a type handler of the same id, we don't Artifact projectArtifact = artifactFactory.createBuildArtifact( project.getGroupId(), project.getArtifactId(), project.getVersion(), project.getPackaging() );