mirror of https://github.com/apache/maven.git
o Fixed format of project id
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@934867 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
419a1d4627
commit
e3c7c2633d
|
@ -56,7 +56,9 @@ class DefaultProjectBuildingResult
|
||||||
public DefaultProjectBuildingResult( MavenProject project, List<ModelProblem> problems,
|
public DefaultProjectBuildingResult( MavenProject project, List<ModelProblem> problems,
|
||||||
ArtifactResolutionResult dependencyResolutionResult )
|
ArtifactResolutionResult dependencyResolutionResult )
|
||||||
{
|
{
|
||||||
this.projectId = ( project != null ) ? project.getId() : "";
|
this.projectId =
|
||||||
|
( project != null ) ? project.getGroupId() + ':' + project.getArtifactId() + ':' + project.getVersion()
|
||||||
|
: "";
|
||||||
this.pomFile = ( project != null ) ? project.getFile() : null;
|
this.pomFile = ( project != null ) ? project.getFile() : null;
|
||||||
this.project = project;
|
this.project = project;
|
||||||
this.problems = problems;
|
this.problems = problems;
|
||||||
|
|
Loading…
Reference in New Issue