[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[iam-dev] Question about the builder and a workspace with projects with nested modules
|
Hi,
I'm currently looking at 265956 - Exception on incremental builder if the
pom contains errors. In my workspace, I have archiva (nested modules at
more than one level) and a completely separate simple Java project. I get
the error when I add a non-existent dependency in the POM in the simple
Java project. It fails at this line in BuilderUtil, method
getChildProjects.
EqualsBuilder eb =
new EqualsBuilder().append( mavenProject.getGroupId(),
parent.getGroupId() ).append( mavenProject.getArtifactId(),
parent.getArtifactId() ).append( mavenProject.getVersion(),
parent.getVersion() );
When the error occurs, mavenProject is null, when it's supposed to contain
the simple Java project.
I was wondering, should mavenProject ever be null? If mavenProject can be
null, do we proceed with the rest of the build or stop the build at that
point?
thanks,
Korina