Am 26.02.2014 21:08, schrieb Robert Scholte:
Hi Jörg,
Hi Robert,

I did some small modifications.
I had a quick look. Awesome. Some time passed since I wrote my last MOJO and this code was a little old-fashioned. Nicer with annotations...
Thanks.

Most important: introduce the mock repository manager.
With 'mvn verify' it'll run some integration tests with a mock repo.
This should help you to write fast and small tests.
I've already added 2 ITs under /src/it/projects
Thanks. That is really great support!
The resolve-properties now exposes a small issue: the property is not resolved.
I hope you can fix that.
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...
If you have question about these ITs, look at
http://mojo.codehaus.org/mrm-maven-plugin/index.html
or send me a mail.
I had a look and your ITs are perfectly right. The revealed bug is obvious.


Robert
Thanks a lot
  Jörg

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to