Closed TheFlagCourier closed 2 years ago
Hi
It appears we are being rate limited. Perhaps one way to work around this is to download from JitPack https://jitpack.io/#apache/maven-shade-plugin
Thanks for the response, that kind of sucks the life out of it.
Unfortunately, I don't think recursing back to Jitpack to retrieve the maven-shade-plugin is a viable solution, unless there's a workaround for bypassing the InvalidPluginDescriptorException from the DefaultMavenPluginManager. With the following maven configuration, locally I am running into the exception on the package phase.
<pluginRepositories>
<pluginRepository>
<id>jitpack.io</id>
<url>https://jitpack.io/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>com.github.apache</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>d2bdd60a11</version> <!-- Current latest commit on master branch -->
</plugin>
</plugins>
</build>
[ERROR] Invalid plugin descriptor for com.github.apache:maven-shade-plugin:d2bdd60a11
(%USERPROFILE%\.m2\repository\com\github\apache\maven-shade-plugin\d2bdd60a11\maven-shade-plugin-d2bdd60a11.jar),
Plugin's descriptor contains the wrong group ID: org.apache.maven.plugins,
Plugin's descriptor contains the wrong version: 3.3.1-SNAPSHOT -> [Help 1]
<stack trace snipped>
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InvalidPluginDescriptorException
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Currently, unable to resolve artifacts from the Apache Snapshots Repository, which is needed to download snapshot versions of maven plugins (in our case, the maven-shade-plugin).
Please provide:
Link to build log from https://jitpack.io
Does the project build on your machine with the same commands (e.g. ./gradlew install) ?
.\mvnw clean install
- Even after deleting the%USERPROFILE%/.m2/repository/
folder.What error are you seeing?
Pom File: https://github.com/TownyAdvanced/Towny/blob/b2258fe01a2471005c5b23444b70d0b6330e92e4/pom.xml
Thank you!