While installing maven project, I am getting DependencyConvergence error The Next CEO of Stack OverflowHow do I tell Maven to use the latest version of a dependency?Does a finally block always get executed in Java?How can I create an executable JAR with dependencies using Maven?How to get an enum value from a string value in Java?'Must Override a Superclass Method' Errors after importing a project into EclipseForce maven updateHow to add local jar files to a Maven project?What exactly is a Maven Snapshot and why do we need it?Maven Install on Mac OS XDealing with “Xerces hell” in Java/Maven?

Can this note be analyzed as a non-chord tone?

How can I make proper oatmeal cookies?

Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico

What difference does it make using sed with/without whitespaces?

How to calculate the two limits?

The Ultimate Number Sequence Puzzle

Does Germany produce more waste than the US?

Calculate the Mean mean of two numbers

What would be the main consequences for a country leaving the WTO?

What are the unusually-enlarged wing sections on this P-38 Lightning?

TikZ: How to fill area with a special pattern?

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?

Yu-Gi-Oh cards in Python 3

Airplane gently rocking its wings during whole flight

Is there an equivalent of cd - for cp or mv

What steps are necessary to read a Modern SSD in Medieval Europe?

how one can write a nice vector parser, something that does pgfvecparseA=B-C; D=E x F;

Is French Guiana a (hard) EU border?

Can I board the first leg of the flight without having final country's visa?

Do scriptures give a method to recognize a truly self-realized person/jivanmukta?

Reshaping json / reparing json inside shell script (remove trailing comma)

Towers in the ocean; How deep can they be built?

How to use ReplaceAll on an expression that contains a rule

Can you teleport closer to a creature you are Frightened of?



While installing maven project, I am getting DependencyConvergence error



The Next CEO of Stack OverflowHow do I tell Maven to use the latest version of a dependency?Does a finally block always get executed in Java?How can I create an executable JAR with dependencies using Maven?How to get an enum value from a string value in Java?'Must Override a Superclass Method' Errors after importing a project into EclipseForce maven updateHow to add local jar files to a Maven project?What exactly is a Maven Snapshot and why do we need it?Maven Install on Mac OS XDealing with “Xerces hell” in Java/Maven?










1















[WARNING] Rule 3: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for xml-apis:xml-apis:1.3.04 paths to
dependency are:
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-anim:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-css:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-ext:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-dom:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-gvt:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-svg-dom:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-svggen:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-com.cer.clinrpt.core:cr-core:6.0
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-com.clip.editor:cr-core:6.0
+-org.apache.xmlgraphics:batik-codec:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.common.procedural:common-procedural-jsap:1.0
+-org.hibernate:hibernate-entitymanager:3.4.0.GA
+-dom4j:dom4j:1.6.1
+-xml-apis:xml-apis:1.0.b2


While installing maven project on intellij, I am getting this error. How to
resolve this?










share|improve this question
























  • You have one dependency +-xml-apis:xml-apis:1.0.b2 in your tree which is not the same as xml-apis:xml-apis:1.3.04 and that's the reason for that failure...

    – khmarbaise
    Mar 8 at 11:50















1















[WARNING] Rule 3: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for xml-apis:xml-apis:1.3.04 paths to
dependency are:
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-anim:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-css:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-ext:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-dom:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-gvt:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-svg-dom:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-svggen:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-com.cer.clinrpt.core:cr-core:6.0
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-com.clip.editor:cr-core:6.0
+-org.apache.xmlgraphics:batik-codec:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.common.procedural:common-procedural-jsap:1.0
+-org.hibernate:hibernate-entitymanager:3.4.0.GA
+-dom4j:dom4j:1.6.1
+-xml-apis:xml-apis:1.0.b2


While installing maven project on intellij, I am getting this error. How to
resolve this?










share|improve this question
























  • You have one dependency +-xml-apis:xml-apis:1.0.b2 in your tree which is not the same as xml-apis:xml-apis:1.3.04 and that's the reason for that failure...

    – khmarbaise
    Mar 8 at 11:50













1












1








1








[WARNING] Rule 3: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for xml-apis:xml-apis:1.3.04 paths to
dependency are:
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-anim:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-css:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-ext:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-dom:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-gvt:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-svg-dom:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-svggen:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-com.cer.clinrpt.core:cr-core:6.0
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-com.clip.editor:cr-core:6.0
+-org.apache.xmlgraphics:batik-codec:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.common.procedural:common-procedural-jsap:1.0
+-org.hibernate:hibernate-entitymanager:3.4.0.GA
+-dom4j:dom4j:1.6.1
+-xml-apis:xml-apis:1.0.b2


While installing maven project on intellij, I am getting this error. How to
resolve this?










share|improve this question
















[WARNING] Rule 3: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for xml-apis:xml-apis:1.3.04 paths to
dependency are:
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-anim:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-css:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-org.apache.xmlgraphics:batik-ext:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-bridge:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-dom:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-gvt:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-svg-dom:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-org.apache.xmlgraphics:batik-svggen:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-org.apache.xmlgraphics:batik-transcoder:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-com.cer.clinrpt.core:cr-core:6.0
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-com.clip.editor:cr-core:6.0
+-org.apache.xmlgraphics:batik-codec:1.7
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.processor:string-converter:5.0
+-xml-apis:xml-apis:1.3.04
and
+-com.print.attend: printview: 1.2-SNAPSHOT
+-com.print.common.procedural:common-procedural-jsap:1.0
+-org.hibernate:hibernate-entitymanager:3.4.0.GA
+-dom4j:dom4j:1.6.1
+-xml-apis:xml-apis:1.0.b2


While installing maven project on intellij, I am getting this error. How to
resolve this?







java maven






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 7 at 18:34









JF Meier

9,70442969




9,70442969










asked Mar 7 at 18:27









SangeetSangeet

165




165












  • You have one dependency +-xml-apis:xml-apis:1.0.b2 in your tree which is not the same as xml-apis:xml-apis:1.3.04 and that's the reason for that failure...

    – khmarbaise
    Mar 8 at 11:50

















  • You have one dependency +-xml-apis:xml-apis:1.0.b2 in your tree which is not the same as xml-apis:xml-apis:1.3.04 and that's the reason for that failure...

    – khmarbaise
    Mar 8 at 11:50
















You have one dependency +-xml-apis:xml-apis:1.0.b2 in your tree which is not the same as xml-apis:xml-apis:1.3.04 and that's the reason for that failure...

– khmarbaise
Mar 8 at 11:50





You have one dependency +-xml-apis:xml-apis:1.0.b2 in your tree which is not the same as xml-apis:xml-apis:1.3.04 and that's the reason for that failure...

– khmarbaise
Mar 8 at 11:50












1 Answer
1






active

oldest

votes


















2














The DependencyConvergence rule checks whether the same dependency is found in different versions in the dependency tree.



If it finds different versions and no dependencyManagement entry is given, it will fail the build.



You can either



  • define a dependencyManagement entry that sets a version for xml-apis.

  • figure out why different versions came into the dependency tree and change the dependencies so that this does not happen.

  • deactivate the dependencyConvergence rule.





share|improve this answer























  • How to figure out the reason for different versions?

    – Sangeet
    Mar 7 at 19:31











  • All but one of your dependencies have xml-apis:xml-apis:1.3.04, but one has a different version. So maybe this one different version is an "error".

    – JF Meier
    Mar 7 at 19:43











  • Yes. So I was thinking to exclude this artifact (xml-apis:xml-apis:1.0.b2). But from where to exclude? I mean from which dependency, should I exclude?

    – Sangeet
    Mar 7 at 20:22












  • I guess from com.print.common.procedural:common-procedural-jsap:1.0.

    – JF Meier
    Mar 7 at 20:26











  • I have excluded xml-apis from com.print.common.procedural:common-procedural-jsap:1.0. This error is comming. I dont have any idea about this error. Rule 2: org.apache.maven.plugins.enforcer.ReactorModuleConvergence failed with message: Module parents have been found which could not be found in the reactor.

    – Sangeet
    Mar 8 at 6:15











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55050521%2fwhile-installing-maven-project-i-am-getting-dependencyconvergence-error%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














The DependencyConvergence rule checks whether the same dependency is found in different versions in the dependency tree.



If it finds different versions and no dependencyManagement entry is given, it will fail the build.



You can either



  • define a dependencyManagement entry that sets a version for xml-apis.

  • figure out why different versions came into the dependency tree and change the dependencies so that this does not happen.

  • deactivate the dependencyConvergence rule.





share|improve this answer























  • How to figure out the reason for different versions?

    – Sangeet
    Mar 7 at 19:31











  • All but one of your dependencies have xml-apis:xml-apis:1.3.04, but one has a different version. So maybe this one different version is an "error".

    – JF Meier
    Mar 7 at 19:43











  • Yes. So I was thinking to exclude this artifact (xml-apis:xml-apis:1.0.b2). But from where to exclude? I mean from which dependency, should I exclude?

    – Sangeet
    Mar 7 at 20:22












  • I guess from com.print.common.procedural:common-procedural-jsap:1.0.

    – JF Meier
    Mar 7 at 20:26











  • I have excluded xml-apis from com.print.common.procedural:common-procedural-jsap:1.0. This error is comming. I dont have any idea about this error. Rule 2: org.apache.maven.plugins.enforcer.ReactorModuleConvergence failed with message: Module parents have been found which could not be found in the reactor.

    – Sangeet
    Mar 8 at 6:15















2














The DependencyConvergence rule checks whether the same dependency is found in different versions in the dependency tree.



If it finds different versions and no dependencyManagement entry is given, it will fail the build.



You can either



  • define a dependencyManagement entry that sets a version for xml-apis.

  • figure out why different versions came into the dependency tree and change the dependencies so that this does not happen.

  • deactivate the dependencyConvergence rule.





share|improve this answer























  • How to figure out the reason for different versions?

    – Sangeet
    Mar 7 at 19:31











  • All but one of your dependencies have xml-apis:xml-apis:1.3.04, but one has a different version. So maybe this one different version is an "error".

    – JF Meier
    Mar 7 at 19:43











  • Yes. So I was thinking to exclude this artifact (xml-apis:xml-apis:1.0.b2). But from where to exclude? I mean from which dependency, should I exclude?

    – Sangeet
    Mar 7 at 20:22












  • I guess from com.print.common.procedural:common-procedural-jsap:1.0.

    – JF Meier
    Mar 7 at 20:26











  • I have excluded xml-apis from com.print.common.procedural:common-procedural-jsap:1.0. This error is comming. I dont have any idea about this error. Rule 2: org.apache.maven.plugins.enforcer.ReactorModuleConvergence failed with message: Module parents have been found which could not be found in the reactor.

    – Sangeet
    Mar 8 at 6:15













2












2








2







The DependencyConvergence rule checks whether the same dependency is found in different versions in the dependency tree.



If it finds different versions and no dependencyManagement entry is given, it will fail the build.



You can either



  • define a dependencyManagement entry that sets a version for xml-apis.

  • figure out why different versions came into the dependency tree and change the dependencies so that this does not happen.

  • deactivate the dependencyConvergence rule.





share|improve this answer













The DependencyConvergence rule checks whether the same dependency is found in different versions in the dependency tree.



If it finds different versions and no dependencyManagement entry is given, it will fail the build.



You can either



  • define a dependencyManagement entry that sets a version for xml-apis.

  • figure out why different versions came into the dependency tree and change the dependencies so that this does not happen.

  • deactivate the dependencyConvergence rule.






share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 7 at 18:36









JF MeierJF Meier

9,70442969




9,70442969












  • How to figure out the reason for different versions?

    – Sangeet
    Mar 7 at 19:31











  • All but one of your dependencies have xml-apis:xml-apis:1.3.04, but one has a different version. So maybe this one different version is an "error".

    – JF Meier
    Mar 7 at 19:43











  • Yes. So I was thinking to exclude this artifact (xml-apis:xml-apis:1.0.b2). But from where to exclude? I mean from which dependency, should I exclude?

    – Sangeet
    Mar 7 at 20:22












  • I guess from com.print.common.procedural:common-procedural-jsap:1.0.

    – JF Meier
    Mar 7 at 20:26











  • I have excluded xml-apis from com.print.common.procedural:common-procedural-jsap:1.0. This error is comming. I dont have any idea about this error. Rule 2: org.apache.maven.plugins.enforcer.ReactorModuleConvergence failed with message: Module parents have been found which could not be found in the reactor.

    – Sangeet
    Mar 8 at 6:15

















  • How to figure out the reason for different versions?

    – Sangeet
    Mar 7 at 19:31











  • All but one of your dependencies have xml-apis:xml-apis:1.3.04, but one has a different version. So maybe this one different version is an "error".

    – JF Meier
    Mar 7 at 19:43











  • Yes. So I was thinking to exclude this artifact (xml-apis:xml-apis:1.0.b2). But from where to exclude? I mean from which dependency, should I exclude?

    – Sangeet
    Mar 7 at 20:22












  • I guess from com.print.common.procedural:common-procedural-jsap:1.0.

    – JF Meier
    Mar 7 at 20:26











  • I have excluded xml-apis from com.print.common.procedural:common-procedural-jsap:1.0. This error is comming. I dont have any idea about this error. Rule 2: org.apache.maven.plugins.enforcer.ReactorModuleConvergence failed with message: Module parents have been found which could not be found in the reactor.

    – Sangeet
    Mar 8 at 6:15
















How to figure out the reason for different versions?

– Sangeet
Mar 7 at 19:31





How to figure out the reason for different versions?

– Sangeet
Mar 7 at 19:31













All but one of your dependencies have xml-apis:xml-apis:1.3.04, but one has a different version. So maybe this one different version is an "error".

– JF Meier
Mar 7 at 19:43





All but one of your dependencies have xml-apis:xml-apis:1.3.04, but one has a different version. So maybe this one different version is an "error".

– JF Meier
Mar 7 at 19:43













Yes. So I was thinking to exclude this artifact (xml-apis:xml-apis:1.0.b2). But from where to exclude? I mean from which dependency, should I exclude?

– Sangeet
Mar 7 at 20:22






Yes. So I was thinking to exclude this artifact (xml-apis:xml-apis:1.0.b2). But from where to exclude? I mean from which dependency, should I exclude?

– Sangeet
Mar 7 at 20:22














I guess from com.print.common.procedural:common-procedural-jsap:1.0.

– JF Meier
Mar 7 at 20:26





I guess from com.print.common.procedural:common-procedural-jsap:1.0.

– JF Meier
Mar 7 at 20:26













I have excluded xml-apis from com.print.common.procedural:common-procedural-jsap:1.0. This error is comming. I dont have any idea about this error. Rule 2: org.apache.maven.plugins.enforcer.ReactorModuleConvergence failed with message: Module parents have been found which could not be found in the reactor.

– Sangeet
Mar 8 at 6:15





I have excluded xml-apis from com.print.common.procedural:common-procedural-jsap:1.0. This error is comming. I dont have any idea about this error. Rule 2: org.apache.maven.plugins.enforcer.ReactorModuleConvergence failed with message: Module parents have been found which could not be found in the reactor.

– Sangeet
Mar 8 at 6:15



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55050521%2fwhile-installing-maven-project-i-am-getting-dependencyconvergence-error%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

1928 у кіно

Захаров Федір Захарович

Ель Греко