Cool. so I was thinking we could drop all the wrapping elements to make it:
Jesse McConnell wrote:
> <configuration>
> <compileSourceRoots>
>
> <compileSourceRoot>{$basedir}target/classes/unit/compiler-basic-test/src/main/java</compileSourceRoot>
> </compileSourceRoots>
> <compilerId>javac</compilerId>
>
> <outputDirectory>{$basedir}/target/test/unit/compiler-basic-test/target</outputDirectory>
> <artifact implementation="
> org.apache.maven.plugin.testing.stubs.StubArtifact"/>
> </configuration>
This raises another question:
> <artifact implementation="
> org.apache.maven.plugin.testing.stubs.StubArtifact"/>
Do these have default implementations when the harness is in play?
Trying to think if that is even possible...
Having extended PlexusTestCase, you can already do that by:
TestCaseName.xml:
[...]
<component>
<role>o.a.m.a.Artifact</role>
<implementation>o.a.m.p.t.s.StubArtifact</implemnetation>
</component>
[...]
Not sure I really prefer that, of course. Still like to write Java
tests, but alternatives are good :)
Also, I assume its ${basedir} and you haven't changed the behaviour of
the expression eval? :)
Cheers,
Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]