Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8929905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:46:19+00:00 2026-06-15T08:46:19+00:00

I am using the Jenkins M2 release plugin which calls the maven-release-plugin 2.3.2 internally.

  • 0

I am using the Jenkins M2 release plugin which calls the maven-release-plugin 2.3.2 internally. And I am getting this error:

 Waiting for Jenkins to finish collecting data
    mavenExecutionResult exceptions not empty
    message : Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project pms: Execution default-cli of goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare failed: A required class was missing while executing org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare: org.sonatype.plexus.components.cipher.PlexusCipher
    realm =    plugin>org.apache.maven.plugins:maven-release-plugin:2.3.2
    strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
...


    cause : Execution default-cli of goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare failed: A required class was missing while executing org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare: org.sonatype.plexus.components.cipher.PlexusCipher
    -----------------------------------------------------
    realm =    plugin>org.apache.maven.plugins:maven-release-plugin:2.3.2
    strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
    urls[0] = file:/opt/.../repository/org/apache/maven/plugins/maven-release-plugin/2.3.2/maven-release-plugin-2.3.2.jar
    urls[1] = file:/opt/.../repository/org/apache/maven/release/maven-release-manager/2.3.2/maven-release-manager-2.3.2.jar
...


    Number of foreign imports: 1
    import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

    -----------------------------------------------------

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:127)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
    Caused by: org.apache.maven.plugin.PluginContainerException: A required class was missing while executing org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare: org.sonatype.plexus.components.cipher.PlexusCipher
    -----------------------------------------------------
    realm =    plugin>org.apache.maven.plugins:maven-release-plugin:2.3.2
...

    Caused by: java.lang.ClassNotFoundException: org.sonatype.plexus.components.cipher.PlexusCipher
        at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:76)
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:38)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
        ... 169 more
    channel stopped
    Finished: FAILURE

what am I missing ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T08:46:20+00:00Added an answer on June 15, 2026 at 8:46 am

    Ideally you should not get such java dependency exceptions in a stable Maven version released to the world. If you still do, chances are

    1. Either this is a bug which is well documented and should be easy to find using search engines.
    2. If you can not arrive at such a place then its worthwhile to at least once do this : purge everything and start on a clean slate before you ask this on a QA site.

    In the above case, what helped me was option 2.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running a maven project using Jenkins. The project is using the checkstyle plugin
When using the Groovy Jenkins plugin (not the Groovy Post Build Plugin, which is
I'm using Jenkins to execute a Maven Build which includes an EJB integration test
I have tried using Jenkins with my Android project which I'm using Maven for.
Getting the following error under Jenkins. Hand builds on the same machine using Xcode
I'm using Jenkins and Bitbucket with the Mercurial plugin on windows. Every time I
I am using Jenkins installed on CentOS release 6.3 and Jenkins 1.474. I am
I am using Jenkins (Hudson) with the Grails plugin to do builds as I
I am using Jenkins to run a simple script which displays output on the
I am using Jenkins for Continous-Integration. I configured a job, which polls the scm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.