When calling to this function,
List projectBuildingResults =
projectBuilder.build(Arrays.asList(new File(pomFile)), true,
projectBuildingRequest);
all the properties used in the pom file, such as ${spring.version} in here,
get resolved successfully.
org.springframework
sprin
the documentation for
org.apache.maven.model.ConfigurationContainer.getConfiguration()
says "Get the configuration as DOM object",
however it returns an Object.
how to handle this?
is it always an instance of org.codehaus.plexus.util.xml.Xpp3Dom?
Regards,
David
On 30 Apr 2013, at 07:54, David Portabella wrote:
> it works after adding these two dependencies, thanks! :)
>
> but it seems to me that there is something wrong with this dependency
> injection mechanism.
> it would be fantastic to have something that fails at compile time (as the
> implicit in