Hi,I found the problem myself. I had the wrong version of "maven-project" and the method I used has actually been removed.
Also Interpolator has moved to plexus-interpolation. With that I was now able to resolve the issues and ITs are now running. However, I can not commit anymore since today: 'https://svn.codehaus.org/mojo/trunk/sandbox/consumer-maven-plugin'Error running context: No connection could be made because the target machine actively refused it.
I have no idea what went wrong. The SVN is still answering properly in browser starting from this URL. There are many forums about this error message, but I could not find anything really helpful in my case.
Regards Jörg Am 27.02.2014 00:51, schrieb Jörg Hohwiller:
Hi there, I need help from a real maven expert - see below... Am 26.02.2014 23:51, schrieb Jörg Hohwiller:Am 26.02.2014 21:08, schrieb Robert Scholte: [...]The resolve-properties now exposes a small issue: the property is not resolved.Sure. That is coming from the fact that I now take them from the originalModel instead of the MavenProject itself. But I had to do this because otherwise I would also get the profile triggered dependencies and can not figure out their origin to filter them. I will try to fix this. I think it is easier to re-interpolate the properties using the MavenProject than trying to match which of the MavenProject dependencies match to which un-interpolated dependency. If anybody has a hint for some magic function in Maven that already does this job so I can reuse it and get the exact same feature, please let me know...I hope you can fix that.I added this: @Component private ModelInterpolator interpolator; and this: ... try {this.interpolator.interpolate(model, this.project.getBasedir(), this.project.getProjectBuilderConfiguration(),getLog().isDebugEnabled()); } catch (ModelInterpolationException e) { throw new MojoExecutionException("Interpolation failed", e); } return model; } what I get is this:org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:consumer-maven-plugin:0.9.0-SNAPSHOT:consumer (default-cli) on project resolve-properties: Execution default-cli of goal org.codehaus.mojo:consumer-maven-plugin:0.9.0-SNAPSHOT:consumer failed: An API incompatibility was encountered while executing org.codehaus.mojo:consumer-maven-plugin:0.9.0-SNAPSHOT:consumer: java.lang.NoSuchMethodError: org.apache.maven.project.MavenProject.getProjectBuilderConfiguration()Lorg/apache/maven/project/ProjectBuilderConfiguration;Seems like to much classloader and shading magic is going on for my poor understanding of maven internals.Any help is very much appreciated. Thanks Jörg
smime.p7s
Description: S/MIME Cryptographic Signature