Include this in your goal, with the correct replacement:
<util:replace var="forwardSlashBaseDir" oldChar="\" newChar="/"
value="${basedir}"/>
<j:if test="${!forwardSlashBaseDir.endsWith('/')}">
<j:set var="base" value="${forwardSlashBaseDir}/" />
</j:if>
<j:set
var="relativePath">${fileToDeploy.substring(base.length())}</j:set>
<deploy:artifact
artifact="${relativePath}"
type="YOUR_TYPE"
assureDirectoryCommand="mkdir -p"
siteCommand="cd @deployDirectory@; chmod g+w YOUR_FILENAME; chgrp
${maven.remote.group} YOUR_FILENAME"
/>
Emmanuel
----- Original Message -----
From: "Brice Copy" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 10, 2004 3:02 PM
Subject: Re: Using SCP in maven.xml (on maven 1.0 RC1)
> Emmanuel Venisse wrote:
>
> >In maven, we use it without ant 1.6.
> >
> >You can see in deploy plugin for jaelly tag declaration and jar:deploy
goal
> >for a sample of use.
> >
> >
> >
> I know, but in my case I was thinking of deploying extra dependencies -
> not the final JAR artifact, but shell scripts, other XML files etc...
>
> As for the deploy plugin, it seems it only deploys the POM (??) :
>
> Goal Description
> deploy:pom Deploy project.xml, a.k.a. the POM to the central repository.
>
>
>
> Thanks
>
> Brice
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]