You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by Stefan Bodewig <bo...@apache.org> on 2011/07/27 09:03:01 UTC
Re: Need Help with Maven Plugin
On 2011-07-20, Stefan Bodewig wrote:
> The it1 test fails after I made sure the configured license family name
> is actually set in SimplePatternBasedLicense because the license family
> name of the custom license is not one of the "approved" ones (and the
> plugin says "too many unapproved licenses"). Is there any way to add
> new "approved" licenses in the plugin?
There is nothing better than "use the source". 8-)
I figured out how to add ILicenseFamily instances an fixed the test, I
also added some minimal documentation in the "custom license matcher"
example page and would appreciate it if Jochen or anybody else more
familiar with the plugin could verify it - should become visible at
http://ci.apache.org/projects/rat/ very soon.
Stefan
Re: Need Help with Maven Plugin
Posted by Stefan Bodewig <bo...@apache.org>.
On 2011-08-13, Gavin McDonald wrote:
>> -----Original Message-----
>> From: Stefan Bodewig [mailto:bodewig@apache.org]
>> Sent: Sunday, 14 August 2011 12:29 AM
>> On 2011-08-13, Gavin McDonald wrote:
>>> Remember that ci.apache.org is great for building the site within a
>>> few minutes of your commits and is therefore a great staging/preview
>>> tool, but one should then run mvn site-deploy locally to update the
>>> main website with these new improvements.
>> I had deliberately not done that since much of what I have added only
>> applies to trunk and not to any released version of RAT. My plan was to
>> deploy the site after the 0.8 release.
> Aha, of course, but then I see an issue. I had my own changes to the website
> and wanted to get them up right away. How can I mvn deploy on my changes
> whilst leaving your changes unpublished? I can't as far as I can tell.
This is true. For one I didn't expect anybody else to have updates as
well - it's not as if we had been changing the site regularly - and
second I thought the next release would be pretty close when I made
those changes.
I don't think any harm has been done. The Antlib has gone from
completely undocumented to docs that contain things not available in any
released version but marked with "since RAT 0.8". People will figure
this out.
> What we should have perhaps is like httpd project and others, an area for
> documentation of the current release; and an area where we can add docs
> for trunk.
We should do so if this (having docs for trunk that don't apply to a
release) happens more often. Right now I suspect it's a one time issue.
Stefan
RE: Need Help with Maven Plugin
Posted by Gavin McDonald <ga...@16degrees.com.au>.
> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Sunday, 14 August 2011 12:29 AM
> To: rat-dev@incubator.apache.org
> Subject: Re: Need Help with Maven Plugin
>
> On 2011-08-13, Gavin McDonald wrote:
>
> > Remember that ci.apache.org is great for building the site within a
> > few minutes of your commits and is therefore a great staging/preview
> > tool, but one should then run mvn site-deploy locally to update the
> > main website with these new improvements.
>
> I had deliberately not done that since much of what I have added only
> applies to trunk and not to any released version of RAT. My plan was to
> deploy the site after the 0.8 release.
Aha, of course, but then I see an issue. I had my own changes to the website
and wanted to get them up right away. How can I mvn deploy on my changes
whilst leaving your changes unpublished? I can't as far as I can tell.
What we should have perhaps is like httpd project and others, an area for
documentation of the current release; and an area where we can add docs
for trunk. So anyone that plays with trunk can still have upto date docs but
without infecting the main released docs with not yet available features
etc?
It would be then easy to move across the trunk docs to current at release
time.
At the same time it allows for me and others to do other website updates.
Gav...
>
> > I have updated the docs on publishing our website at
>
> > http://incubator.apache.org/rat/site-publish.html
>
> > and I have published the site today so it should all be up to date
> > with everyone's recent changes.
>
> OK, thanks
>
> The things that don't apply to 0.7 should have been marked in some way
> anyway, so having the docs online won't hurt.
>
> Stefan
Re: Need Help with Maven Plugin
Posted by Stefan Bodewig <bo...@apache.org>.
On 2011-08-13, Gavin McDonald wrote:
> Remember that ci.apache.org is great for building the site within a
> few minutes of your commits and is therefore a great staging/preview
> tool, but one should then run mvn site-deploy locally to update the
> main website with these new improvements.
I had deliberately not done that since much of what I have added only
applies to trunk and not to any released version of RAT. My plan was to
deploy the site after the 0.8 release.
> I have updated the docs on publishing our website at
> http://incubator.apache.org/rat/site-publish.html
> and I have published the site today so it should all be up to date
> with everyone's recent changes.
OK, thanks
The things that don't apply to 0.7 should have been marked in some way
anyway, so having the docs online won't hurt.
Stefan
RE: Need Help with Maven Plugin
Posted by Gavin McDonald <ga...@16degrees.com.au>.
> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Wednesday, 27 July 2011 5:03 PM
> To: rat-dev@incubator.apache.org
> Subject: Re: Need Help with Maven Plugin
>
> On 2011-07-20, Stefan Bodewig wrote:
>
> > The it1 test fails after I made sure the configured license family
> > name is actually set in SimplePatternBasedLicense because the license
> > family name of the custom license is not one of the "approved" ones
> > (and the plugin says "too many unapproved licenses"). Is there any
> > way to add new "approved" licenses in the plugin?
>
> There is nothing better than "use the source". 8-)
>
> I figured out how to add ILicenseFamily instances an fixed the test, I
also
> added some minimal documentation in the "custom license matcher"
> example page and would appreciate it if Jochen or anybody else more
> familiar with the plugin could verify it - should become visible at
> http://ci.apache.org/projects/rat/ very soon.
Remember that ci.apache.org is great for building the site within a few
minutes
of your commits and is therefore a great staging/preview tool, but one
should
then run mvn site-deploy locally to update the main website with these new
improvements.
I have updated the docs on publishing our website at
http://incubator.apache.org/rat/site-publish.html
and I have published the site today so it should all be up to date with
everyone's
recent changes.
HTH
Gav...
>
> Stefan
Re: Need Help with Maven Plugin
Posted by Robert Burrell Donkin <rd...@apache.org>.
On 07/27/11 08:03, Stefan Bodewig wrote:
> On 2011-07-20, Stefan Bodewig wrote:
>
>> The it1 test fails after I made sure the configured license family name
>> is actually set in SimplePatternBasedLicense because the license family
>> name of the custom license is not one of the "approved" ones (and the
>> plugin says "too many unapproved licenses"). Is there any way to add
>> new "approved" licenses in the plugin?
>
> There is nothing better than "use the source". 8-)
>
> I figured out how to add ILicenseFamily instances an fixed the test, I
> also added some minimal documentation in the "custom license matcher"
> example page and would appreciate it if Jochen or anybody else more
> familiar with the plugin could verify it - should become visible at
> http://ci.apache.org/projects/rat/ very soon.
:-)
(Back from visiting my brother and his family now)
Robert