You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Dixit, Sandeep (ProSource Solutions)" <Sa...@contractors.nationalcity.com> on 2006/02/16 16:03:28 UTC
How to setup FTP-based internal repository ?
How do I configure Internal Remote repository for FTP access? I am
getting:
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
updates
from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-site
-plugin' could not be retrieved from repository: central due to an
error: Unsupp
orted Protocol: 'ftp': Cannot find wagon which supports the requested
protocol:
ftp
[INFO] Repository 'central' will be blacklisted
As far as FTP access is concerned, I can do:
1) ftp://ip_address/pub in the browser and it shows the directory.
I can traverse the repository from the browser. The FTP is enabled for
anonymous access.
2) From Windows command prompt, I can type ftp <ip_address> and
then enter anonymous/anonymous to log in successfully.
I have in my settings.xml
<settings>
<server>
<id>central</id>
<username>anonymous</username>
<password>anonymous</password>
</server>
...
<profiles>
<profile>
<id>myConfig-dev</id>
<repositories>
<repository>
<id>central</id>
<name>NCC Repository</name>
<url>ftp://ip_address//pub</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<activation>
<property>
<name>env</name>
<value>dev</value>
</property>
</activation>
</profile>
<profiles>
<activeProfiles>
<activeProfile>myConfig-dev</activeProfile>
</activeProfiles>
<settings>
What am I missing here?
Thanks,
Sandeep
-------------------------------------------------------------------------------------------
***National City made the following annotations
-------------------------------------------------------------------------------------------
This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication.
===========================================================================================
Re: How to setup FTP-based internal repository ?
Posted by Emmanuel Venisse <em...@venisse.net>.
You must add wagon-ftp jar in $MAVEN_HOME/lib
http://www.ibiblio.org/maven2/org/apache/maven/wagon/wagon-ftp/
Emmanuel
Dixit, Sandeep (ProSource Solutions) a écrit :
> How do I configure Internal Remote repository for FTP access? I am
> getting:
>
>
>
> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> updates
>
> from central
>
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.plugins:maven-site
>
> -plugin' could not be retrieved from repository: central due to an
> error: Unsupp
>
> orted Protocol: 'ftp': Cannot find wagon which supports the requested
> protocol:
>
> ftp
>
> [INFO] Repository 'central' will be blacklisted
>
>
>
>
>
> As far as FTP access is concerned, I can do:
>
> 1) ftp://ip_address/pub in the browser and it shows the directory.
> I can traverse the repository from the browser. The FTP is enabled for
> anonymous access.
>
> 2) From Windows command prompt, I can type ftp <ip_address> and
> then enter anonymous/anonymous to log in successfully.
>
>
>
> I have in my settings.xml
>
> <settings>
>
> <server>
>
> <id>central</id>
>
> <username>anonymous</username>
>
> <password>anonymous</password>
>
> </server>
>
>
>
> ...
>
> <profiles>
>
> <profile>
>
> <id>myConfig-dev</id>
>
> <repositories>
>
> <repository>
>
> <id>central</id>
>
> <name>NCC Repository</name>
>
> <url>ftp://ip_address//pub</url>
>
> <snapshots>
>
> <enabled>true</enabled>
>
> </snapshots>
>
> </repository>
>
> </repositories>
>
> <activation>
>
> <property>
>
> <name>env</name>
>
> <value>dev</value>
>
> </property>
>
> </activation>
>
> </profile>
>
> <profiles>
>
>
>
> <activeProfiles>
>
> <activeProfile>myConfig-dev</activeProfile>
>
> </activeProfiles>
>
>
>
> <settings>
>
>
>
>
>
> What am I missing here?
>
>
>
>
>
>
>
> Thanks,
>
> Sandeep
>
>
>
>
> -------------------------------------------------------------------------------------------
> ***National City made the following annotations
> -------------------------------------------------------------------------------------------
> This communication is a confidential and proprietary business communication. It is intended solely for the use of the designated recipient(s). If this communication is received in error, please contact the sender and delete this communication.
> ===========================================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org