Brian,

Do you have it working in your environment using FTP?

Thanks,
Sandeep


-----Original Message-----
From: Brian E. Fox [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 11:39 AM
To: Maven Users List
Subject: RE: How to setup FTP-based internal repository ?

You need the ftp extension:
        <extensions>
                <extension>
        
<groupId>org.apache.maven.wagon</groupId>
                                <artifactId>wagon-ftp</artifactId>
                                <version>1.0-alpha-5</version>
                </extension>
        </extensions> 

-----Original Message-----
From: Dixit, Sandeep (ProSource Solutions)
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 10:03 AM
To: Maven Users List
Subject: 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.
========================================================================
===================


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