Thanks Martin, making progress still.

Encountered problems regarding ssh transfers, no matter whether I specified scpexe or scp :(

scp itself gave this problem:

The authenticity of host 'maven.geotools.fr' can't be established.
RSA key fingerprint is ae:31:42:8a:55:ba:f1:af:51:90:fd:b8:21:cc:17:e9.

scpexe gave this one:

Exit code 255 - Permission denied (publickey,keyboard-interactive).

I tried executing an upload by hand, and it works, so the geotools account does have proper permission. The command I used: scp pom.xml [EMAIL PROTECTED]:/var/www/geotools.fr/maven/repository/org/geotools/gt2/2.2.RC3/gt2-2.2.RC3.pom

I'll email the maven list on this one.

Full errors are below:

**** SCP ****

----------------------------------------------------------------------------
[INFO] Building Geotools 2
[INFO]    task-segment: [deploy]
[INFO] ---------------------------------------------------------------------------- [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
[INFO] Preparing javadoc:jar
[INFO] [javadoc:javadoc]
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [javadoc:jar {execution: attach-javadocs}]
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] NOT adding sources to attached artifacts for packaging: 'pom'.
[INFO] [install:install]
[INFO] Installing /home/rgould/dev/gt-2.2.x/2.2.x/target/checkout/pom.xml to /home/rgould/.m2/repository/org/geotools/gt2/2.2.RC3/gt2-2.2.RC3.pom
[INFO] [deploy:deploy]
The authenticity of host 'maven.geotools.fr' can't be established.
RSA key fingerprint is ae:31:42:8a:55:ba:f1:af:51:90:fd:b8:21:cc:17:e9.

**** SCPEXE ****

[INFO] ----------------------------------------------------------------------------
[INFO] Building Geotools 2
[INFO]    task-segment: [deploy]
[INFO] ---------------------------------------------------------------------------- [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugin:attach-descriptor
[INFO] Preparing javadoc:jar
[INFO] [javadoc:javadoc]
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] [javadoc:jar {execution: attach-javadocs}]
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] NOT adding sources to attached artifacts for packaging: 'pom'.
[INFO] [install:install]
[INFO] Installing /home/rgould/dev/gt-2.2.x/2.2.x/target/checkout/pom.xml to /home/rgould/.m2/repository/org/geotools/gt2/2.2.RC3/gt2-2.2.RC3.pom
[INFO] [deploy:deploy]
Uploading: scpexe://maven.geotools.fr/var/www/geotools.fr/maven/repository/org/geotools/gt2/2.2.RC3/gt2-2.2.RC3.pom [INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error deploying artifact: Error executing command for transfer

Exit code 255 - Permission denied (publickey,keyboard-interactive).




Martin Desruisseaux wrote:
Martin, do I have access to upload jars to the maven repo on geotools.fr? If so, can you email me the user/pass? Thanks!


Sending loging and password by private email.

In theory, the above configuration should work:

------------------------------------------------------------------------------------

[in home/.m2/setting.xml]

    <server>
      <id>geotools-fr</id>
      <username>xxx</username>
      <password>xxx</password>
    </server>

[in gt/pom.xml]

    <repository>
      <id>geotools-fr</id>
      <name>Geotools release repository</name>
<url>scp://maven.geotools.fr/var/www/geotools.fr/maven/repository</url>
    </repository>

------------------------------------------------------------------------------------

However, I use (for now) the following one instead:

[in home/.m2/setting.xml]

    <server>
      <id>geotools-fr-exe</id>
      <username>xxx</username>
      <password>xxx</password>
      <configuration>
        <sshExecutable>ssh</sshExecutable>
        <scpExecutable>scp</scpExecutable>
      </configuration>
    </server>

[in gt/pom.xml]

    <repository>
      <id>geotools-fr-exe</id>
      <name>Geotools release repository</name>
<url>scpexe://maven.geotools.fr/var/www/geotools.fr/maven/repository</url>
    </repository>

[in gt/pom.xml]

------------------------------------------------------------------------------------

because, for a mysterious reason, the former is still asking for password on the command prompt for every file to be transfered. I suggest that you try the first form first (this mean modifying <repository> in pom.xml from "scpexe" to "scp" as show above). If it work without asking password for every file, then lets forget about "scpexe" and commit the modified pom.xml to SVN.

If it ask for password for every file, stop with [ctrl-C] and try the "scpexe" form. However you will need an external "scp" executable on yours path (it is present on must Linux box I believe).

On my machine "scpexe" work better than "scp".

Please let me know if you have any trouble, and thank for making the release,

    Martin.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to