2010/5/6 Mck <[email protected]>: > 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".
It seems that, whatever parameter you use, the release plugin uses the one in the configuration of the release plugin. At this point I guess you should rollback the modifications to 2-SNAPSHOT version, fix the configuration and try again. This means removing the tag too. Luckily there is no release package around :-) BTW, the URL should have "/builds/tiles-master/ and not "/builds/tiles/". Thanks Antonio
