I've configured the proxy in settings.xml like this, we don't have proxy
user and password:


<proxy>
      <id>optional</id>
      <active>true</active>
      <protocol>http</protocol>
      <username></username>
      <password></password>
      <host>PROXYUFV.MAIL</host>
      <port>8080</port>
      <nonProxyHosts></nonProxyHosts>
    </proxy>

 Then I've tried this:

r...@carlos-laptop:/dspace# mvn -U package
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
for updates from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-resources-plugin' could not be retrieved from
repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 9 seconds
[INFO] Finished at: Thu Apr 02 10:21:11 CEST 2009
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------





2009/4/1 Wayne Fay <[email protected]>

> > [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
> not
> > exist or no valid version could be found
>
>
> Try mvn -U package and see if that resolves it.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to