You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Grant McDonald (JIRA)" <ji...@apache.org> on 2006/07/02 09:39:51 UTC
[jira] Created: (SM-480) Transitive dependencies of dependent
projects not included in installer lib directory
Transitive dependencies of dependent projects not included in installer lib directory
-------------------------------------------------------------------------------------
Key: SM-480
URL: https://issues.apache.org/activemq/browse/SM-480
Project: ServiceMix
Type: Bug
Components: tooling
Versions: incubation
Environment: Ubuntu Linux 5.10, Windows XP SP2
Reporter: Grant McDonald
Whilst using servicemix I got a NoClassDefFound error from the servicemix-http service engine. It appears that the code in question was throwing a DecoderException which is defined in commons-codec which is a transitive dependency of commons-httpclient. This dependency was not included in the installer lib directory and is obviously quite critical to the running of httpclient.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (SM-480) Transitive dependencies of dependent
projects not included in installer lib directory
Posted by "Grant McDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-480?page=comments#action_36493 ]
Grant McDonald commented on SM-480:
-----------------------------------
This appears to be due to line 181 in GenerateComponentMojo.java in the jbi-maven-plugin project. At this point the includes are refiltered based on the JbiResolutionListener created for the project. This seems to eject some dependencies of subprojects.... needs more investigation.
> Transitive dependencies of dependent projects not included in installer lib directory
> -------------------------------------------------------------------------------------
>
> Key: SM-480
> URL: https://issues.apache.org/activemq/browse/SM-480
> Project: ServiceMix
> Type: Bug
> Components: tooling
> Versions: incubation
> Environment: Ubuntu Linux 5.10, Windows XP SP2
> Reporter: Grant McDonald
>
> Original Estimate: 2 days
> Remaining: 2 days
>
> Whilst using servicemix I got a NoClassDefFound error from the servicemix-http service engine. It appears that the code in question was throwing a DecoderException which is defined in commons-codec which is a transitive dependency of commons-httpclient. This dependency was not included in the installer lib directory and is obviously quite critical to the running of httpclient.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (SM-480) Transitive dependencies of dependent
projects not included in installer lib directory
Posted by "Philip Dodds (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-480?page=all ]
Philip Dodds resolved SM-480:
-----------------------------
Fix Version: incubation
Resolution: Fixed
The problem was the different in versions between the dependency management and the transitive dependency - have added a warning and will use the version from the transitive dependency for packaging.
> Transitive dependencies of dependent projects not included in installer lib directory
> -------------------------------------------------------------------------------------
>
> Key: SM-480
> URL: https://issues.apache.org/activemq/browse/SM-480
> Project: ServiceMix
> Type: Bug
> Components: tooling
> Versions: incubation
> Environment: Ubuntu Linux 5.10, Windows XP SP2
> Reporter: Grant McDonald
> Fix For: incubation
>
> Original Estimate: 2 days
> Remaining: 2 days
>
> Whilst using servicemix I got a NoClassDefFound error from the servicemix-http service engine. It appears that the code in question was throwing a DecoderException which is defined in commons-codec which is a transitive dependency of commons-httpclient. This dependency was not included in the installer lib directory and is obviously quite critical to the running of httpclient.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (SM-480) Transitive dependencies of dependent
projects not included in installer lib directory
Posted by "Grant McDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-480?page=comments#action_36494 ]
Grant McDonald commented on SM-480:
-----------------------------------
The same issue needs to be addressed in GenerateComponentDescriptorMojo.java as well since this uses the same method for determining dependencies. (line 197 is the culprit here).
> Transitive dependencies of dependent projects not included in installer lib directory
> -------------------------------------------------------------------------------------
>
> Key: SM-480
> URL: https://issues.apache.org/activemq/browse/SM-480
> Project: ServiceMix
> Type: Bug
> Components: tooling
> Versions: incubation
> Environment: Ubuntu Linux 5.10, Windows XP SP2
> Reporter: Grant McDonald
>
> Original Estimate: 2 days
> Remaining: 2 days
>
> Whilst using servicemix I got a NoClassDefFound error from the servicemix-http service engine. It appears that the code in question was throwing a DecoderException which is defined in commons-codec which is a transitive dependency of commons-httpclient. This dependency was not included in the installer lib directory and is obviously quite critical to the running of httpclient.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira