I copied both wagon-ftp-1.0-alpha-6-SNAPSHOT.jar and wagon-ftp-1.0-alpha-6.jar 
to MAVEN/lib... Now got the following error:

[INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugi
n:attach-descriptor
-----------------------------------------------------
this realm = plexus.core.maven
urls[0] = file:/c:/MAVEN-~1.2/bin/../lib/commons-cli-1.0.jar
urls[1] = file:/c:/MAVEN-~1.2/bin/../lib/doxia-sink-api-1.0-alpha-7.jar
urls[2] = file:/c:/MAVEN-~1.2/bin/../lib/jsch-0.1.24.jar
urls[3] = file:/c:/MAVEN-~1.2/bin/../lib/maven-artifact-2.0.2.jar
urls[4] = file:/c:/MAVEN-~1.2/bin/../lib/maven-artifact-manager-2.0.2.jar
urls[5] = file:/c:/MAVEN-~1.2/bin/../lib/maven-core-2.0.2-javadoc.jar
urls[6] = file:/c:/MAVEN-~1.2/bin/../lib/maven-core-2.0.2.jar
urls[7] = file:/c:/MAVEN-~1.2/bin/../lib/maven-error-diagnostics-2.0.2.jar
urls[8] = file:/c:/MAVEN-~1.2/bin/../lib/maven-model-2.0.2.jar
urls[9] = file:/c:/MAVEN-~1.2/bin/../lib/maven-monitor-2.0.2.jar
urls[10] = file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-api-2.0.2.jar
urls[11] = file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-descriptor-2.0.2.jar
urls[12] = file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-parameter-documenter-2.0.
2.jar
urls[13] = file:/c:/MAVEN-~1.2/bin/../lib/maven-plugin-registry-2.0.2.jar
urls[14] = file:/c:/MAVEN-~1.2/bin/../lib/maven-profile-2.0.2.jar
urls[15] = file:/c:/MAVEN-~1.2/bin/../lib/maven-project-2.0.2.jar
urls[16] = file:/c:/MAVEN-~1.2/bin/../lib/maven-reporting-api-2.0.2.jar
urls[17] = file:/c:/MAVEN-~1.2/bin/../lib/maven-repository-metadata-2.0.2.jar
urls[18] = file:/c:/MAVEN-~1.2/bin/../lib/maven-settings-2.0.2.jar
urls[19] = file:/c:/MAVEN-~1.2/bin/../lib/plexus-interactivity-api-1.0-alpha-4.j
ar
urls[20] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-file-1.0-alpha-6.jar
urls[21] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-ftp-1.0-alpha-6-SNAPSHOT.jar
urls[22] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-ftp-1.0-alpha-6.jar
urls[23] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-http-lightweight-1.0-alpha-6.jar

urls[24] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-provider-api-1.0-alpha-6.jar
urls[25] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-ssh-1.0-alpha-6.jar
urls[26] = file:/c:/MAVEN-~1.2/bin/../lib/wagon-ssh-external-1.0-alpha-6.jar
Number of imports: 0


this realm = plexus.core
urls[0] = file:/c:/MAVEN-~1.2/bin/../core/plexus-container-default-1.0-alpha-9.j
ar
urls[1] = file:/c:/MAVEN-~1.2/bin/../core/plexus-utils-1.1.jar
Number of imports: 0
-----------------------------------------------------
[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] Error building POM (may not be this project's POM).


Project ID: classworlds:classworlds

Reason: Error getting POM for 'classworlds:classworlds' from the repository: Uns
upported Protocol: 'ftp': Cannot find wagon which supports the requested protoco
l: ftp
  classworlds:classworlds:pom:1.1-alpha-2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.maven.codehaus.org/maven2)

-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 11:09 AM
To: Maven Users List
Subject: Re: How to setup FTP-based internal repository ?

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