Since I am finding the bug right now, I thought it may help someone.
I will try to fix it and submit a patch tonight if possible.
You cannot use "<jar>jarname.jar</jar>" in a dependency in the latest maven
builds, going back to beta-8 through the current in CVS.
DefaultProjectUnmarshaller, when it creates a "Dependency" value object,
sets the "jar" attribute on the "Dependency" value object (but does not set
an "id" on that "Dependency")
Later on, on line 98 of ArtifactListBuilder,
Project.standardToLegacyId( d.getId())
is called. This happens for every dependency, even if it has no "id" set on
it (as is the case with jar dependencies). This throws a NullPointer and
stops Maven from building the project with the <jar> dependency project.xml
in question.
I will look into a fix but since I took the time to research the problem I
thought someone may want to know that <jar> in a dependency alone doesn't
work right now. Probably an easy fix. I will try to submit a patch, but I
am not a Maven.
Amazing work by the way, conceptually and the implementation.
Thanks,
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]