Re: maven-plugin-testing-harness: getting an ArtifactRepository for my test

2006-08-10 Thread Brett Porter

Actually, I created a small maven-artifact-test module for that. It
needs more detail, but it'll help you get a usable repository
instance.

- Brett

On 10/08/06, Dave Syer <[EMAIL PROTECTED]> wrote:


Anyone got any tips or suggestions for where to look to find an example of
using the test harness to wire up a mojo with an ArtifactRepository?  Or any
other non-trivial parameters?  The MavenProject seems to be available
through a stub implementation provided with the test harness.  Is that the
best way to get a repository object (I would have to write a stub)?

Also, how do I make ${basedir} in a parameter expression resolve?  I find I
have to override all the parameters that contain ${basedir} in theor
expression separately.
--
View this message in context: 
http://www.nabble.com/maven-plugin-testing-harness%3A-getting-an-ArtifactRepository-for-my-test-tf2084342.html#a5743139
Sent from the Maven - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



maven-plugin-testing-harness: getting an ArtifactRepository for my test

2006-08-10 Thread Dave Syer

Anyone got any tips or suggestions for where to look to find an example of
using the test harness to wire up a mojo with an ArtifactRepository?  Or any
other non-trivial parameters?  The MavenProject seems to be available
through a stub implementation provided with the test harness.  Is that the
best way to get a repository object (I would have to write a stub)?

Also, how do I make ${basedir} in a parameter expression resolve?  I find I
have to override all the parameters that contain ${basedir} in theor
expression separately.
-- 
View this message in context: 
http://www.nabble.com/maven-plugin-testing-harness%3A-getting-an-ArtifactRepository-for-my-test-tf2084342.html#a5743139
Sent from the Maven - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]