Did you try:

     <name>FTP Repository</name>
     <url>ftp://192.168.128.135/</url>
     <layout>default</layout>

ie perhaps the /maven/repository is assumed and should not be
specified in the URL?

I don't personally use FTP deploy, so I'm just making stuff up here...
Anyone using FTP Deploy care to comment?

Wayne


On 3/3/06, Nuno Martins <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I tested that and /maven/repository exists in ftp server.
> With my browser, i confirm that ftp://192.168.128.135/maven/repository
> exists and directory contents are ok.
>
> This is my pom.xml file
>
> <?xml version="1.0" encoding="UTF-8"?><project>
>  <modelVersion>4.0.0</modelVersion>
>  <groupId>tests</groupId>
>  <artifactId>mavenTest</artifactId>
>  <version>0.1</version>
>  <description></description>
>  <dependencies>
>    <dependency>
>      <groupId>junit</groupId>
>      <artifactId>junit</artifactId>
>      <version>3.8.1</version>
>    </dependency>
>  </dependencies>
>  <distributionManagement>
>   <repository>
>      <id>ftprep</id>
>      <name>FTP Repository</name>
>      <url>ftp://192.168.128.135/maven/repository</url>
>      <layout>default</layout>
>    </repository>
>  </distributionManagement>
>  <build>
>    <extensions>
>      <extension>
>        <groupId>org.apache.maven.wagon</groupId>
>        <artifactId>wagon-ftp</artifactId>
>        <version>1.0-alpha-6</version>
>      </extension>
>    </extensions>
>  </build>
> </project>
>
>
> Reguards
>
> Wayne Fay wrote:
>
> >Just a WILD guess, but I think you need to create a directory
> >/maven/repository on your ftp server...
> >
> >
> >
> >>[INFO] Trace
> >>org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying
> >>artifact: Required directory: '/maven/repository' is missing
> >>
> >>
> >
> >Wayne
> >
> >
> >On 3/3/06, Nuno Martins <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Hi all,
> >>
> >>I'm trying to deploy to a ftp server and this error occurrs.
> >>
> >>Any ideias?
> >>
> >>Reguards
> >>
> >>
> >>[INFO] Trace
> >>org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying
> >>artifact: Required directory: '/maven/repository' is missing
> >>   at
> >>org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556)
> >>   at
> >>org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472)
> >>   at
> >>org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
> >>   at
> >>
> >>
> >
> >---------------------------------------------------------------------
> >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]
>
>

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

Reply via email to