You sir, are awesome. :)
On Wed, May 12, 2010 at 2:51 PM, <kao...@apache.org> wrote: > Author: kaosko > Date: Wed May 12 21:51:59 2010 > New Revision: 943710 > > URL: http://svn.apache.org/viewvc?rev=943710&view=rev > Log: > Publish snapshot and release sites to different locations > > Modified: > incubator/shiro/trunk/pom.xml > > Modified: incubator/shiro/trunk/pom.xml > URL: > http://svn.apache.org/viewvc/incubator/shiro/trunk/pom.xml?rev=943710&r1=943709&r2=943710&view=diff > ============================================================================== > --- incubator/shiro/trunk/pom.xml (original) > +++ incubator/shiro/trunk/pom.xml Wed May 12 21:51:59 2010 > @@ -60,7 +60,7 @@ > <site> > <id>incubator.website</id> > <name>Apache Incubator Site</name> > - > <url>scp://people.apache.org/www/incubator.apache.org/shiro/site</url> > + > <url>scp://people.apache.org/www/incubator.apache.org/shiro/site/latest</url> > </site> > </distributionManagement> > > @@ -465,5 +465,15 @@ > </plugins> > </build> > </profile> > + <profile> > + <id>release-profile</id> > + <distributionManagement> > + <site> > + <id>incubator.website</id> > + <name>Apache Incubator Site</name> > + > <url>scp://people.apache.org/www/incubator.apache.org/shiro/site/${project.version}</url> > + </site> > + </distributionManagement> > + </profile> > </profiles> > </project> > > >