On Thu, 2010-05-06 at 09:44 +0200, Antonio Petrelli wrote:
> Can you try using the -DstagingRepository parameter directly, using
> the specified layout?
> tiles-staging::standard::scp://.... 

I think it should be "tiles-staging::default::scp://..."

But I can't get the -DstagingRepository parameter to work.

For example using
mvn
-DstagingRepository=tiles-staging::standard::scp://people.apache.org/www/junk  
-Dusername=mck -Papache-release 
-Darguments="-Dusername=mck -Papache-release 
-DstagingRepository=tiles-staging::standard::scp://people.apache.org/www/junk"
 release:stage 
-DconnectionUrl=scm:svn:https://svn.apache.org/repos/asf/tiles/maven/tags/tiles-master-2

still gives

> [INFO] [ERROR] BUILD FAILURE
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] : 
> scp://people.apache.org/www/people.apache.org/builds/tiles/2/m2-staging-repository
> [INFO] Invalid syntax for repository.
> [INFO] 
> [INFO] Invalid syntax for alternative repository. Use "id::layout::url".

I've also tried specifying the -DaltDeploymentRepository (inside -Darguments as 
well) without any luck.

~mck



Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to