Skip to end of metadata
Go to start of metadata

If you get errors like this one when building with maven ...

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2

DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
Attempting to download commons-jelly-tags-velocity-1.0.jar.
Error retrieving artifact from [http://cvs.apache.org/repository/]: org.apache.maven.wagon.TransferFailedException: Invalid argument or cannot assign requested address
Error retrieving artifact from [http://www.ibiblio.org/maven]: org.apache.maven.wagon.TransferFailedException: Invalid argument or cannot assign requested address
Error retrieving artifact from [http://dist.codehaus.org]: org.apache.maven.wagon.TransferFailedException: Invalid argument or cannot assign requested address
WARNING: Failed to download commons-jelly-tags-velocity-1.0.jar.
Attempting to download commons-jelly-1.0-beta-4.jar.
Error retrieving artifact from [http://cvs.apache.org/repository/]: org.apache.maven.wagon.TransferFailedException: Invalid argument or cannot assign requested address
Error retrieving artifact from [http://www.ibiblio.org/maven]: org.apache.maven.wagon.TransferFailedException: Invalid argument or cannot assign requested address
Error retrieving artifact from [http://dist.codehaus.org]: org.apache.maven.wagon.TransferFailedException: Invalid argument or cannot assign requested address
WARNING: Failed to download commons-jelly-1.0-beta-4.jar.
Attempting to download velocity-1.4.jar.
Error retrieving artifact from [http://cvs.apache.org/repository/]: org.apache.maven.wagon.TransferFailedException: Invalid argument or cannot assign requested address
Error retrieving artifact from [http://www.ibiblio.org/maven]: org.apache.maven.wagon.TransferFailedException: Invalid argument or cannot assign requested address
Error retrieving artifact from [http://dist.codehaus.org]: org.apache.maven.wagon.TransferFailedException: Invalid argument or cannot assign requested address
WARNING: Failed to download velocity-1.4.jar.

Then you probably have SElinux turned on in your /etc/selinux/config

selinux config

Just update that sucker to not have selinux turned on and preventing maven from downloading jars

selinux config
Labels
  • None