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

Reply via email to