[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 11:43:22 EST 2013


Adrian Nistor created ISPN-2709:
-----------------------------------

             Summary: 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


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