<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Edson,<br>
<br>
Some of your recent pom.xml changes might introduce a new issue.<br>
[Ignore this mail if it's still work in progress]<br>
<br>
What changes are an issue?<br>
=================<br>
<br>
Both<br>
droolsjbpm-knowledge/knowledge-api5/pom.xml<br>
droolsjbpm-knowledge/knowledge-api/pom.xml<br>
use the same GAV (groupId-artifactId).<br>
<br>
Why is that an issue?<br>
=============<br>
<br>
The jar artifact created by each pom can't live in the same maven
repo:<br>
<ul>
<li>Local maven repo: last one wins</li>
<li>Jenkins's local maven repo: last one wins (=> weird red
builds)</li>
<ul>
<li>Not yet relevant because knowledge-api5 isn't hooked into
the build yet<br>
</li>
</ul>
<li>Nexus deployment during release<br>
</li>
<ul>
<li>Nexus will refuse the deployment of the second one being
deployed.</li>
</ul>
</ul>
How can you fix it?<br>
============<br>
<br>
Not sure...<br>
<br>
One way that does not work well:<br>
<ol>
<li>Give knowledge-api5 it's own artifactId knowledge-api5</li>
<ul>
<li>Issue: knowledge-api5 shares classes with knowledge-api</li>
<ul>
<li>Can't exist in the same classpath</li>
</ul>
</ul>
<ul>
<li>Issue: knowledge-api5 does not maven conflict with
knowledge-api dependency, not even with older versions<br>
</li>
<ul>
<li>They end up in the same classpath anyway</li>
</ul>
</ul>
<ol>
<ul>
<li><a class="moz-txt-link-freetext" href="http://ge0ffrey.github.com/maven-dependency-puzzlers/maven-dependency-puzzlers-presentation/src/main/presentation/index.html#8.0">http://ge0ffrey.github.com/maven-dependency-puzzlers/maven-dependency-puzzlers-presentation/src/main/presentation/index.html#8.0</a></li>
</ul>
<ol>
<ul>
<li>Click right to see the effect.</li>
</ul>
</ol>
<ul>
<ul>
<li>Note: relocation trick probably doesn't work</li>
</ul>
</ul>
</ol>
</ol>
<br>
===<br>
<br>
Can you take a look at fixing it?<br>
(Let me know if you can't fix it in a timely manner.)<br>
<br>
With kind regards,<br>
Geoffrey<br>
<br>
</body>
</html>