[infinispan-issues] [JBoss JIRA] (ISPN-2709) Lib dir in distribution archive does not contain the proper versions for some dependencies

Adrian Nistor (JIRA) jira-events at lists.jboss.org
Mon Jan 14 12:12:21 EST 2013


     [ https://issues.jboss.org/browse/ISPN-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Nistor updated ISPN-2709:
--------------------------------

    Attachment: actual.txt
                should_be.txt


The files contain the actual list of libs from the distro and the expected list (set of all jars referenced in all runtime-classpath.txt files).
                
> Lib dir in distribution archive does not contain the proper versions for some dependencies 
> -------------------------------------------------------------------------------------------
>
>                 Key: ISPN-2709
>                 URL: https://issues.jboss.org/browse/ISPN-2709
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 5.2.0.CR1
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>             Fix For: 5.2.0.Final
>
>         Attachments: actual.txt, should_be.txt
>
>
> Not all the jars referenced by runtime-classpath.txt files of modules are actually present in the lib dir. In some cases the jar is present but not the needed version. Some of the jars are there but are not actually used.
> It all happens because the set of dependencies for runtime-classpath.txt is computed for each individual module while the lib dir in the distro is created by assembly plugin after 'merging' the dependencies of all modules which means that only the highest version will be included. Also, maven dependency plugin is known to miss some dependencies.
> To avoid the version problem we could define globally a single version for each of these dependencies in parent pom dependencyManagement and also explicitly add the dependency in the respective modules.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list