question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PluginExecutionException

See original GitHub issue

Describe the bug While attempting to install dependencies, facing an execution error in stack-core dependency

I’ve executed those commands :

mvn clean install
mvn dependency:tree

Expected behavior Install depency simply and complete

Logs and Packet Captures

[INFO] stack-core ......................................... FAILURE [ 20.105 s]
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:4.0.0:manifest (generate-manifest) on project stack-core: Execution generate-manifest of goal org.apache.felix:maven-bundle-plugin:4.0.0:manifest failed.: ConcurrentModificationException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.felix:maven-bundle-plugin:4.0.0:manifest (generate-manifest) on project stack-core: Execution generate-manifest of goal org.apache.felix:maven-bundle-plugin:4.0.0:manifest failed.

I’ve visited the apache wiki for this issue, told me to report the bug

Additional context What told me mvn -version

Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /usr/local/Cellar/maven/3.8.1/libexec
Java version: 15.0.2, vendor: N/A, runtime: /usr/local/Cellar/openjdk/15.0.2/libexec/openjdk.jdk/Contents/Home
Default locale: en_FR, platform encoding: UTF-8
OS name: "mac os x", version: "11.3", arch: "x86_64", family: "mac"

I’m using VSCode and iTerm2 for CLI

Hope we’ll find a solution 😃

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Nefadencommented, May 25, 2021

Ok, i didnt know how to do this, so I’ve changed the version in pom.xml like this :

<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>4.0.0</version> --> <version>5.1.2</version>

And it was enough, the build is successful,

Thank you very much, you saved me a lot of time !

0reactions
kevinherroncommented, May 25, 2021

The latest version of maven-bundle-plugin seems to be 5.1.2. Other reports of similar issues appear to be resolved by updating to that version… can you try that out and let me know?

Read more comments on GitHub >

github_iconTop Results From Across the Web

PluginExecutionException (Maven Core 3.6.3 API)
public class PluginExecutionException extends PluginManagerException. Exception in the plugin manager. See Also: Serialized Form ...
Read more >
Solved: PluginExecutionException while deploying configura...
Hi All,. I am trying maven deployment with Oauth ,Able to deploy proxy through it but facing the below issue in configuration deployment....
Read more >
Build Sling Failure: Failed to execute goal org.apache.maven ...
Im just trying to build sling. I downloaded the sources from svn and now im trying to build it with maven. – user1291536....
Read more >
maven/PluginExecutionException.java at master - GitHub
* Exception in the plugin manager. */. public class PluginExecutionException extends PluginManagerException {.
Read more >
org.apache.maven.plugin.PluginExecutionException java ...
PluginExecutionException.<init>(...) ; public PluginExecutionException( MojoExecution mojoExecution, MavenProject project, Exception cause ) ; super( ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found