You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Amato Massimiliano (TLAB)" <Ma...@tradinglab.unicredit.it> on 2004/05/18 09:19:37 UTC

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem with Jar:deploy under Windows

Posted by Emmanuel Venisse <em...@venisse.net>.
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)"
<Ma...@tradinglab.unicredit.it>
To: "Maven Users List" <us...@maven.apache.org>
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org