You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by or...@io7m.com on 2014/04/16 21:25:23 UTC
Generated content in generated sites (!)
'Lo.
Currently, sites generated for my projects look something like:
http://mvn.io7m.com/jaux/releases.html
The releases.html page actually comes from a static releases.xml
file that's generated and inserted into src/site by the shell script
that performs releases.
I'd like to achieve the above without the shell script. What
would be the "Maven" way to do this? I can think of several possible
methods (parsing a changelog with an external library and Maven exec
in order to generate releases.xml, writing a custom plugin, etc).
I'm not averse to writing a custom plugin, but I'd rather not if it's
not actually required. Please be aware that any solution would have to
be applied uniformly to some 30-40 projects...
M
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Generated content in generated sites (!)
Posted by Stephen Connolly <st...@gmail.com>.
On Wednesday, 16 April 2014, <or...@io7m.com> wrote:
> On Wed, 16 Apr 2014 20:39:40 +0100
> Stephen Connolly <stephen.alan.connolly@gmail.com <javascript:;>> wrote:
>
> > On Wednesday, 16 April 2014, <org.apache.maven.user@io7m.com<javascript:;>>
> wrote:
>
> > > I'm not averse to writing a custom plugin, but I'd rather not if it's
> > > not actually required.
> >
> >
> > If you want it applied uniformly, write a plugin. That is the use case
> for
> > a plugin (doing the same thing the same way on many projects)
>
> Right.
>
> Am I correct in thinking that this falls under the umbrella of a
> reporting plugin?
>
> I'm not sure if there's a more direct (plugin) route to insert arbitrary
> content into a site.
If you are contributing to the site-plugin generated site... That's a
reporting plugin
> R
> M
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org <javascript:;>
> For additional commands, e-mail: users-help@maven.apache.org<javascript:;>
>
>
--
Sent from my phone
Re: Generated content in generated sites (!)
Posted by or...@io7m.com.
On Wed, 16 Apr 2014 20:39:40 +0100
Stephen Connolly <st...@gmail.com> wrote:
> On Wednesday, 16 April 2014, <or...@io7m.com> wrote:
> > I'm not averse to writing a custom plugin, but I'd rather not if it's
> > not actually required.
>
>
> If you want it applied uniformly, write a plugin. That is the use case for
> a plugin (doing the same thing the same way on many projects)
Right.
Am I correct in thinking that this falls under the umbrella of a
reporting plugin?
I'm not sure if there's a more direct (plugin) route to insert arbitrary
content into a site.
M
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Generated content in generated sites (!)
Posted by Stephen Connolly <st...@gmail.com>.
On Wednesday, 16 April 2014, <or...@io7m.com> wrote:
> 'Lo.
>
> Currently, sites generated for my projects look something like:
>
> http://mvn.io7m.com/jaux/releases.html
>
> The releases.html page actually comes from a static releases.xml
> file that's generated and inserted into src/site by the shell script
> that performs releases.
>
> I'd like to achieve the above without the shell script. What
> would be the "Maven" way to do this? I can think of several possible
> methods (parsing a changelog with an external library and Maven exec
> in order to generate releases.xml, writing a custom plugin, etc).
>
> I'm not averse to writing a custom plugin, but I'd rather not if it's
> not actually required.
If you want it applied uniformly, write a plugin. That is the use case for
a plugin (doing the same thing the same way on many projects)
> Please be aware that any solution would have to
> be applied uniformly to some 30-40 projects...
>
> M
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org <javascript:;>
> For additional commands, e-mail: users-help@maven.apache.org<javascript:;>
>
>
--
Sent from my phone