Closed delanym closed 3 years ago
That's weird. Try deleting your entire .m2
folder, and then run it again?
I can install after deleting only the .m2/repository
Now its back
It seems your plugin depends on org.apache.httpcomponents:httpclient One of my projects import version 4.5.2 of this artefact into m2/repository But your plugin should mandate the version you need as it clearly won't work with v4.5.2. I did this in the plugin and it now builds.
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.10.3</version>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
</dependency>
</dependencies>
This plugin uses 4.5.2: https://github.com/eirslett/frontend-maven-plugin/blob/cdc515af830fb0be5f0a1710c538b7b950fef1f9/frontend-plugin-core/pom.xml#L47
Do you have another project that is polluting your local repository with a modified version of that JAR?
I'll have to look it it more closely. I tried swapping the jar with https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar
I can't remember the exact order of events, but now I can't replicate the issue.
https://github.com/eirslett/frontend-maven-plugin/issues/568
I can't install via the install-node-and-npm or install-node-and-yarn goals on versions since at least 1.7.5
Also tried JDK11
Disclaimer: node is already installed on my machine