directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: svn commit: r696191 - /directory/project/trunk/pom.xml
Date Wed, 17 Sep 2008 08:09:36 GMT
It seems, that an altDeploymentRepository is alwas taken as default one
if it exists (and not if a deployment to the original one fails as I've
thought). The prevent problems for all deployers it work before
(probably all exept me) I outsourced it to the settings.xml instead of
hardcoding it.

By default the property <release.altDeploymentRepository /> is empty and
thus not used. If it exists in the settings.xml it will overwrite the
default one in the pom.xml.
Because a non existing property is resolved to 'null' the definition of
an empty default in the pom.xml is needed to get it resolved to ''.

I'm not sure if it's worth to release a new TLP pom again or if we
should wait until the next release of studio/apacheds/shared/... is done
(which may require other changes to TLP pom as well). If nobody objects
I don't do a release.


Regards
Felix


felixk@apache.org schrieb:
> Author: felixk
> Date: Wed Sep 17 01:01:18 2008
> New Revision: 696191
>
> URL: http://svn.apache.org/viewvc?rev=696191&view=rev
> Log:
> Outsourcing the alternative deployment repository definition to settings.xml.
> To use an alternative deployment repository see also http://cwiki.apache.org/confluence/x/0dc
>
> Modified:
>     directory/project/trunk/pom.xml
>
> Modified: directory/project/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/directory/project/trunk/pom.xml?rev=696191&r1=696190&r2=696191&view=diff
> ==============================================================================
> --- directory/project/trunk/pom.xml (original)
> +++ directory/project/trunk/pom.xml Wed Sep 17 01:01:18 2008
> @@ -181,6 +181,14 @@
>      <url>http://svn.apache.org/viewvc/directory/project/trunk</url>
>    </scm>
>  
> +  <properties>
> +    <!-- ================================================ -->
> +    <!-- The use an alternative deployment repository see -->
> +    <!-- http://cwiki.apache.org/confluence/x/0dc         -->
> +    <!-- ================================================ -->
> +    <release.altDeploymentRepository />
> +  </properties>
> +
>    <build>
>      <!-- =======================  WARNING ========================== -->
>      <!-- Only put pluginManagement info in this pom for plugins      -->
> @@ -412,7 +420,7 @@
>              <configuration>
>                <useReleaseProfile>false</useReleaseProfile>
>                <goals>deploy</goals>
> -              <arguments>-Prelease -DaltDeploymentRepository=apache.release::default::scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</arguments>
> +              <arguments>-Prelease ${release.altDeploymentRepository}</arguments>
>              </configuration>
>            </plugin>
>  
>
>
>   


Mime
View raw message