On 06/22/2012 02:46 PM, Olivier Lamy wrote:
I think you will have to do a if (maven3) ... else ....
And how do you compile your plugin if you have different blocks in your code that cannot be built with the same classpath?

I currently copied ConsoleDownloadMonitor from Maven 2 into my plugin to use it on whatever version of Maven.

BTW what is your use case ? a wagon listener ?
Yes. It's a plugin that we use to download stuff with caching and signature verification, when we cannot rely on maven-dependency-plugin: http://code.google.com/p/maven-download-plugin/ . The download part currently uses Wagon, and I want to show a downlaod monitor.

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets <http://twitter.com/mickaelistria>

Reply via email to