Emmanuel Venisse wrote:

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"
/>



Thanks for your tip - but since Maven seamlessly integrates with Ant tasks, I should really be able to invoke any task I want anywhere no ?


It's not just SCP, it's invoking any Ant task within maven.xml

Cheers

Brice


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to