[
https://issues.apache.org/activemq/browse/SM-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40936
]
Chris Custine commented on SM-1170:
-----------------------------------
I am fairly certain that this is an issue with either the maven-artifact plugin
or the car-maven-plugin from Geronimo. Essentially, if either
geronimo-gbean-deployer or j2ee-server are resolved through the transitives of
one of the other project modules (like servicemix-service or deployer-service),
then the transitives of these are not recursed. I am able to defeat the issue
by moving the dependency declarations from the dependencies module to the
servicemix and deployer poms directly and this is all that is required to make
the servicemix module build every time. For some reason the deployer module
requires adding an exclusion of gbean-deployer and j2ee-server from the
dependencies of deployer-service and servicemix. This allows the local
declarations of those dependencies in the pom to be resolved instead of the
transitive versions which allows the build to succeed.
I know this explanation is hard to follow so I will attach my patches and let
other try the fix to see if it works for them. On my system the build succeeds
100%. I think someone who knows the car-maven plugin is going to have to look
further to see if there is a an underlying problem.
> Geronimo deployer and plugin build failures
> -------------------------------------------
>
> Key: SM-1170
> URL: https://issues.apache.org/activemq/browse/SM-1170
> Project: ServiceMix
> Issue Type: Bug
> Components: geronimo
> Affects Versions: 3.2.1, 3.3
> Reporter: Chris Custine
> Assignee: Kristian Koehler
> Attachments: gdeps.patch
>
>
> The Geronimo components won't build because of some strange transitive
> dependency problems in Geronimo poms. I think this has been happening since
> the update to Geronimo 2.0.1 from 1.2-beta. There are a couple of
> dependencies that need to be named explicitly to get the build to succeed
> consistently. [Discussion
> here|http://www.nabble.com/ServiceMix-3.2.1-build-failure-3A-Unable-to-resolve-dependency-org.apache.geronimo.configs-jee-specs--car-to14214625.html]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.