You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Łukasz Lenart <lu...@googlemail.com> on 2011/12/14 14:27:36 UTC

Deploy Struts 2 site

Hi,

I'm finishing the release of new Struts 2 version but I have a problem
with updating Struts 2 site. It wasn't updated during Maven release
process and think it's because of that

    <distributionManagement>
        <site>
            <id>apache-site</id>
            <url>scp://people.apache.org/www/struts.apache.org/2.x/</url>
        </site>
    </distributionManagement>

2.x is a valid folder for 2.3.1, should it be changed to ${project.version} ?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Deploy Struts 2 site

Posted by Łukasz Lenart <lu...@googlemail.com>.
2011/12/14 Maurizio Cucchiara <mc...@apache.org>:
> IMHO we should use the project version (for example 2.3.1-SNAPSHOT).
> In this way
> * the release plugin is able to assign the right value;
> * we can keep up to date the snapshot version of the website simply running
> mvn site-deploy everytime we change something (f.i.:
>  http://struts.apache.org/2.3.1-SNAPSHOT).
>
> Once and for all, we should make clear what should contain the 2.x directory
> (maybe writing into the docs).
> IMHO it should be a symlink, but it is very annoying keep that link up to
> date for every release of Struts.
> Furthermore we should consider the opportunity to have a 3.x (or 2.5.x)
> directory.

Right now I'm thinking more about changing the Release Guide, to add
some line about "replace 2.x with planned version, commit, ....",
because it's a better approach to have 2.x site instead multiple
2.x.x-SNAPSHOT - someone has to clean them up ;-)

Let's keep the current 2.x as we can simply replace the Draft docs
with the latest version (nobody have to take care if there was an old
SNAPSHOT previously) and I'll add line to the Release Guide about
that.

Please review the latest version of Release Guide [1]

[1] https://cwiki.apache.org/confluence/display/WW/Building+Struts+2+-+Normal+release


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Deploy Struts 2 site

Posted by Maurizio Cucchiara <mc...@apache.org>.
IMHO we should use the project version (for example 2.3.1-SNAPSHOT).
In this way
* the release plugin is able to assign the right value;
* we can keep up to date the snapshot version of the website simply running
mvn site-deploy everytime we change something (f.i.:
http://struts.apache.org/2.3.1-SNAPSHOT).

Once and for all, we should make clear what should contain the 2.x
directory (maybe writing into the docs).
IMHO it should be a symlink, but it is very annoying keep that link up to
date for every release of Struts.
Furthermore we should consider the opportunity to have a 3.x (or 2.5.x)
directory.


Twitter     :http://www.twitter.com/m_cucchiara
G+          :https://plus.google.com/107903711540963855921
Linkedin    :http://www.linkedin.com/in/mauriziocucchiara

Maurizio Cucchiara


On 14 December 2011 14:27, Łukasz Lenart <lu...@googlemail.com>wrote:

> Hi,
>
> I'm finishing the release of new Struts 2 version but I have a problem
> with updating Struts 2 site. It wasn't updated during Maven release
> process and think it's because of that
>
>    <distributionManagement>
>        <site>
>            <id>apache-site</id>
>            <url>scp://people.apache.org/www/struts.apache.org/2.x/</url>
>        </site>
>    </distributionManagement>
>
> 2.x is a valid folder for 2.3.1, should it be changed to
> ${project.version} ?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Warszawa JUG conference - Confitura http://confitura.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>