Hi Gisbert,

FYI, I have just made a change to the clover plugin in SVN. The license file
is now no longer downloaded at all. There's a default license bundled in the
plugin which you can/must override with the usual maven.clover.license.path

Thanks
-Vincent

> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: mardi 15 f�vrier 2005 18:01
> To: 'Maven Users List'
> Subject: RE: Maven-Clover-Plugin: License is not downloaded from local
> Maven repo
> 
> 
> 
> > -----Original Message-----
> > From: Gisbert Amm [mailto:[EMAIL PROTECTED]
> > Sent: mardi 15 f�vrier 2005 17:55
> > To: Maven Users List
> > Subject: Re: Maven-Clover-Plugin: License is not downloaded from local
> > Maven repo
> >
> > Vincent Massol wrote:
> > >>When I then read the documentation I found out
> > >>about the maven.clover.license.path parameter or the classpath (I use
> > >>the param now) but still wonder why my tacit understanding to put the
> > >>licence in a license folder of the local Maven http repo shall not
> work.
> > >
> > > If you wish to use the remote repository it is still possible (I could
> a
> > FAQ
> > > for this) by doing the following:
> > > - add the license as a dependency in your project.xml
> > > - use maven.clover.license.path =
> > > ${pom.getDependencyPath('clover:yourlicensename')
> >
> > Thanx, it worked.
> >
> > However, there's the disadvantage that I have to repeat this (global
> > configuration, at least for us) for every project. OTOH it's not a big
> > problem since I'm about to create templates for new projects.
> 
> Yes, you could use a master project and have all projects inherit from it.
> 
> >
> >   >>I think it should not be a dependency in the project.xml of the
> > >>maven-clover plugin but rather the default entry for
> > >>maven.clover.license.path in the plugin.properties. Probably the
> license
> > >>  had to be distributed with the plugin then what I'd consider an
> > >>advantage.
> > >
> > > Yeah but then who performs the download of the license? ATM this done
> by
> > the
> > > Maven dependency manager. If we do this (and this may be possible but
> > I'm
> > > not sure it's worth it) we'll need to hook in the Maven API (like
> using
> > > HttpUtils but I'm not sure it's a public API).
> >
> > If it was possible and not too much work it would be nice. It's
> > certainly not necessary for survival ;-)
> 
> To be honest that's not on my priority list. I plan to add lots of other
> features in the coming weeks (like history reports, etc).
> 
> -Vincent




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

Reply via email to