You use properties of artifact plugin, but jar plugin doesn't use it
actually.
Actually, you can only deploy jar with ssh (deploy plugin).

In the future, we'll uniformize the deploy mechanism.

Emmanuel

----- Original Message ----- 
From: "Amato Massimiliano (TLAB)"
<[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 18, 2004 9:19 AM
Subject: Problem with Jar:deploy under Windows


Hello,

I have a problem while i try to deploy an artifact to my remote repository,
that is a shared directory since we are behind a firewall and cannot go thru
it

Anyway i set all the 3 settings i needed

maven.repo.list= central
maven.repo.central=file://astrodev001\\development$\\maven
maven.repo.central.directory=repository

But when i try to upload an artifact i got an error that seems due to the
fact that the plugin calls ssh. Now there's not reason to call ssh under
windows especially since i am in FILE modality.


Here's the output:

jar:jar:
    [jar] Building jar: D:\Projects\Base\Dao\target\Base-Dao-1.0.jar

    [echo]
        Moving target/Base-Dao-1.0.jar to the repository/Base/jars on
file://astrodev001\development$\maven

BUILD FAILED
File...... file:/C:/Documents and
Settings/mamato/.maven/plugins/maven-deploy-plugin-1.1/
Element... ant:exec
Line...... 96
Column.... 53
Execute failed: java.io.IOException: CreateProcess: ssh -l maven
file://astrodev001\development$\maven "mkdir -p repository/Base/jars"
error=2
Total time: 10 seconds
Finished at: Tue May 18 09:16:55 CEST 2004

Thanks for any help
Max

---------------------------------------------------------------------
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]

Reply via email to