The problem is that I can't get parameters injected during testing.

Here is my pom.xml [1], this is the test [2]. The test fails at this
assertion [3].

Any ideas? I think that plexus is not working as it should. I can't
understand why, that's why I'm interested to see an example.

1.
http://trac.fazend.com/rempl/browser/rempl/branches/ticket15/rempl/rempl-plugins/plugin-maven/pom.xml?rev=766
2.
http://trac.fazend.com/rempl/browser/rempl/branches/ticket15/rempl/rempl-plugins/plugin-maven/src/test/java/com/rempl/maven/ReaderMojoTest.java?rev=743
3.
http://trac.fazend.com/rempl/browser/rempl/branches/ticket15/rempl/rempl-plugins/plugin-maven/src/main/java/com/rempl/maven/AbstractRemplMojo.java?rev=745&marks=88

—
Yegor Bugayenko



On Fri, Mar 18, 2011 at 9:07 PM, Anders Hammar <[email protected]> wrote:

> Any specific issues you're running into?
> There are at least two plugins aimed at Maven 3.0 which should be using
> this api that I know of, maven-site-plugin:3.0-beta-3 and at least one of
> the sonar maven plugins (there is one at org.codehaus.mojo and one at
> org.codehaus.sonar).
>
> /Anders
>
>
> On Fri, Mar 18, 2011 at 18:48, Yegor Bugayenko <[email protected]>wrote:
>
>> I'm trying to create a maven plugin using maven-plugin-api 3.0. The
>> problem
>> is that I can't find any open-source project which would use this API, and
>> would include unit/integration tests.
>>
>> I already asked this question at SO (
>> http://stackoverflow.com/questions/5350247) with no luck so far.
>>
>> Maybe some here can help me? Thanks!
>>
>> —
>> Yegor Bugayenko
>>
>
>

Reply via email to