aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse
http://aws.amazon.com/eclipse
Apache License 2.0
275 stars 179 forks source link

Not able to install aws toolkint using the default repo in maven #232

Closed jimmybirrias closed 2 years ago

jimmybirrias commented 3 years ago

Currently I have a eclipse build maven project based on tycho in my plugins there are some dependencies to com.amazonaws.eclipse.ec2, here is my repository configuration:

<repository>
       <id>aws</id>
    <url>http://aws.amazon.com/eclipse/</url>
    <layout>p2</layout>
</repository>

But when I try to run mvn clean install I got the following stack trace:

[INFO] Adding repository http://aws.amazon.com/eclipse
[INFO] Fetching site.xml from http://aws.amazon.com/eclipse/ (118.62kB)
[ERROR] Partial IU: com.amazonaws.eclipse.codestar
[ERROR] Partial IU: com.amazonaws.eclipse.simpledb
[ERROR] Partial IU: com.amazonaws.eclipse.cloudformation
[ERROR] Partial IU: com.amazonaws.eclipse.elasticbeanstalk

And this Exception: Caused by: org.eclipse.equinox.p2.core.ProvisionException: The p2 repository at http://aws.amazon.com/eclipse contains partial IUs (see above) from an old style update site which cannot be used for dependency resolution

But if I use the same url (http://aws.amazon.com/eclipse/) directly in Eclipse (Help > Install new software...) the plugins are resolved, my question here is which is the correct url to use in maven? Thanks