Please post your finding back here! This is something I'd like to do for some of the Apache Commons site too.
Gary On Wed, May 22, 2013 at 8:12 AM, Robert Elliot <[email protected]> wrote: > Thanks Jörg, that looks like a promising line of investigation. > > Rob > > ----- Original Message ----- > > From: "Jörg Schaible" <[email protected]> > > To: [email protected] > > Sent: Tuesday, 21 May, 2013 9:46:30 AM > > Subject: Re: maven-scm-publish-plugin - prefixing site content with > project version? > > Hi Rob, > > > > Robert Elliot wrote: > > > > > Is the general consensus that this is impossible? > > > > everything is published by default that is located in target/site. So > > you > > can solve this by configuring an ant task for the antrun plugin, that > > creates a copy in target/site/${version} and bind it to the post-site > > lifecycle > > ( > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference > ). > > > > Cheers, > > Jörg > > > > > > > > Rob > > > > > > ----- Original Message ----- > > >> From: "Robert Elliot" <[email protected]> > > >> To: [email protected] > > >> Sent: Saturday, 18 May, 2013 10:29:25 PM > > >> Subject: maven-scm-publish-plugin - prefixing site content with > > >> project > > >> version? Hi, > > >> > > >> I'm using the maven-scm-publish-plugin to publish to gh-pages. > > >> > > >> I'd like to publish the site twice - once to the root of the branch > > >> (so that http://me.github.com/project-name is the maven site) and > > >> once > > >> to it prefixed with the version (so that > > >> http://me.github.com/project-name/1.2.3/ is also the maven site). > > >> Rationale is to have a historical record of what the project looked > > >> like, particularly the JavaDoc - it's nice for anyone using my > > >> libraries to be able to link their JavaDoc to the correct version > > >> of > > >> my JavaDoc. I certainly appreciate libraries that allow me to do > > >> this. > > >> > > >> Does this sound like something I ought to be able to do already? > > >> And > > >> if so, could someone give me a pointer? > > >> > > >> Thanks, > > >> Rob > > >> > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: [email protected] > > >> For additional commands, e-mail: [email protected] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
