Wendy, thanks for getting back to me so quickly, it is frustrating :)

$ cat pom.xml
<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>com.mycompany.app</groupId>
 <artifactId>my-app</artifactId>
 <packaging>jar</packaging>
 <version>1.0-SNAPSHOT</version>
 <name>my-app</name>
 <url>http://maven.apache.org</url>
 <dependencies>
   <dependency>
     <groupId>junit</groupId>
     <artifactId>junit</artifactId>
     <version>3.8.1</version>
     <scope>test</scope>
   </dependency>
 </dependencies>

       <distributionManagement>
               <repository>
                       <id>local-repository</id>
                       <url>http://localhost:8081</url>
               </repository>
       </distributionManagement>

       <build>
               <extensions>
                       <groupId>org.apache.maven.wagon</groupId>
                       <artifactId>wagon-http</artifactId>
               </extensions>
       </build>

</project>

On 3/24/07, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 3/24/07, Baz <[EMAIL PROTECTED]> wrote:

> I am a newbie to maven and maven 2.0.
>
> I am reading "Better builds with Maven" by Mergere and trying to setup
> a repo on localhost so i can run "mvn deploy". I have tried jetty
> server as suggested and also IIS. Unfortunately, both return similar
> errors:
>
> [INFO] 
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
------------------------------------------------------------------------
> [INFO] Error deploying artifact: Unable to transfer file.
> HttpURLConnection returned the response code: 404
>
> Can somebody help?

What does the <distributionManagement> section of your project's pom
look like?  (What protocol are you using to deploy?)

--
Wendy

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