On 17-Jun-09, at 7:55 AM, Olivier Lamy wrote:

Hi,
Thanks for the tip.
But as I see you have patched the trunk to fix that (thanks again :-) ).
Just FYI, as I have started some work on maven-site-plugin [1], I have
discovered we can't use anymore the current plugin testing harness when a plugin depends on the core artifacts trunk so I have started an other branch
too [2].
The issue I have encountered is : it looks in current trunk there is not anymore magic component which automatically load all plugin declaration
(/META-INF/maven/plugin.xml) as plexus component.


I would stay away from any testing harness that utilizes, in any large part, the internals. Make integration tests and you'll be safe. There's a whole bunch of testing harnesses all of varying quality but the one thing we know that will work for sure are the integration tests. So if you're going to spend any time now and don't want to throw anything away I would focus on integration tests.

--
Olivier

[1] :
https://svn.apache.org/repos/asf/maven/plugins/branches/maven-site-plugin-3.x/
[2] :
https://svn.apache.org/repos/asf/maven/plugin-testing/branches/plugin-testing-mvn-3.x/

2009/6/16 Benjamin Bentmann <[email protected]>

Olivier Lamy wrote:

I have started on it (branch created [1]) and I have an issue building
with the current trunk.
[...]
o Invalid repository apache.snapshots in POM org.apache:apache:4:
org.apache.maven.model.Repository cannot be cast to
org.apache.maven.artifact.repository.ArtifactRepository


You need to use maven-remote-resources-plugin:1.0.1-SNAPSHOT to get the fix
for MRRESOURCES-35.


Benjamin


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/SonatypeNexus
http://twitter.com/SonatypeM2E
----------------------------------------------------------

Selfish deeds are the shortest path to self destruction.

 -- The Seven Samuari, Akira Kurosawa


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to