Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved

I am getting this error message and a further one here: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.4:

Even though when i go the .m2 repository with this path C:\Users\A591024.m2\repository\org\apache\maven\plugins\maven-resources-plugin\2.4

the maven-resources-plugin-2.4.jar file is there AND maven-resources-plugin-2.4.pom is also there. i have tried to delete the .m2 repository with no luck. so far maven will not build my project that i desperately need it to.

any ideas?

like image 653
BlueShark Avatar asked Nov 27 '25 17:11

BlueShark


1 Answers

it seems proxy issue please aad following in your setting.xml by grabbing LAN setting and proxy information.

<proxies>
      <proxy>
        <id>proxy</id>
        <active>true</active>
        <protocol>http</protocol>
        <host>HOSTNAME</host>
        <port>PORT</port>
      </proxy>
  </proxies>

This is a frequent issue, please see the below link as well.

Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved

Maven: Failed to retrieve plugin descriptor error

Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!