Jörg Schaible wrote:
Hi Julien,

Julien Stern wrote:
Hi list,

I'm sure that many people have encountered the same issue,
but I did not
find a way to solve it...

In our master pom, we define the wagon extension:

       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-webdav</artifactId>
         <version>1.0-beta-2</version>
       </extension>

This works fine with 2.0.7 and 2.0.8, but fails with 2.0.9.
Apparently, this is because wagon is now included with 2.0.9.
OK. Fine, but if I remove the extension, it fails with 2.0.7
and 2.0.8.

So, I tried to use profiles, activated based on the Maven
version, but
profiles do not allow to define extensions.


So, how can I ensure that my projects will work both with 2.0.8 and
2.0.9 ? Currently, I have to choose either one or the other,
but not both.


What do you use WebDAV for? You may try to add it as direct dependency to the 
plugin (deploy, site) that requires WebDAV for you and have those in profiles. 
Don't know if it helps, but it's at least a plan ;-)

Hi Jörg,

I use WebDAV to deploy to Archiva (well, I believe I do, Brett email got me confused ;)).

I will try your suggestion, but wouldn't it work only when defined as an extension to the plugin ? In which case, I have the same profile issue...

Thanks,

--
Julien


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

Reply via email to