Maven v2.0.4, JDK 1.5 on Windows XP.  I'm trying to integrate an
existing ant build with our maven repository.  I've enabled the maven
tasks for ant, and am using maven-artifact-ant-2.0.4-dep.jar.  

My configuration looks like:

<target name="deployJar" description="Deploy a jar to the maven repo">
   <artifact:install-provider artifactId="wagon-ssh"
version="1.0-alpha-5"/>
   <artifact:deploy file="${deployable.jar.file}">
      <remoteRepository url="scp://webdev1/var/proximity/repo/inhouse">

         <authentication username="${deployment.username}"  
                         password="${deployment.password}"/>
      </remoteRepository>
      <pom file="${pom.xml.file}"/>
   </artifact:deploy>
</target>       

The pom file looks like:

<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>gov.usitc</groupId>
  <artifactId>edis3-dm-interfaces</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>edis3-dm-interfaces</name>
  <url>http://maven.apache.org</url>
  <description>
     External interfaces used by the document management system
  </description>
  <organization>
        <name>USITC</name>
  </organization>
</project>

The deployment user name and password have been confirmed to be correct.
The remote repository location is correct.  This configuration has
worked on other projects for other developers in the group, however, I
am receiving the following error for all attempts to deploy.

[artifact:deploy] Error deploying artifact
'gov.usitc:edis3-dm-interfaces:jar':  Error deploying artifact: Did
receive proper ACK: '1'

Any ideas?  I feel like this is environmental, but I can't identify
what's tripping me up.

Thanks,

-jason

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

Reply via email to