Hi
I have this in ../conf/settings.xml:
<profile>
<id>repo</id>
<repositories>
<repository>
<id>internal</id>
<name>Internal Repository</name>
<url>ftp://localhost</url>
</repository>
</repositories>
</profile>
In the pom.xml I have:
<distributionManagement>
<repository>
<id>internal</id>
<name>Internal Repository</name>
<url>ftp://localhost</url>
</repository>
</distributionManagement>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>1.0-beta-1</version>
</extension>
</extensions>
</build>
My ftp server is of course up and running. I have two questions:
1. Do I have to repeat the repository in pom.xml and settings.xml?
2. Why do I get:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Unsupported Protocol: 'ftp': Cannot find
wagon
which supports the requested protocol: ftp
org/apache/commons/net/ftp/FTP
Thanks for your help!