Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-588

Commons modules should not have dependencies outside of commons

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0-incubating
    • parent-2
    • Build

    Description

      The commons module currently has dependencies on other modules, which makes it difficult or impossible to selectively compile different parts of stanbol using the second level maven pom.xml files. For example commons/pom.xml does not compile from scratch as it requires modules from enhancer/pom.xml, which requires different modules from commons/pom.xml.

      The stanbol parent reactor compiles things correctly as there aren't any circular dependencies between the actual modules, just between the second level pom.xml files.

      Hence this issue only affects people who try to compile commons on its own:

      To replicate the issue run:

      $ cd commons
      $ mvn clean install

      This command currently fails due to unresolved dependency on org.apache.stanbol.enhancer.servicesapi , which itself has a dependency on a module from commons that was not compiled using the mvn clean install, so even running mvn clean install in the enhancer directory first fails as commons is required.

      See email thread from mailing list for background:

      https://mail-archives.apache.org/mod_mbox/incubator-stanbol-dev/201203.mbox/%3CCAGYFOCQU8bV9HqdMrrHqa4dnJcKVsTYnNPQpwGT_2BKp8SHDPA@mail.gmail.com%3E

      https://mail-archives.apache.org/mod_mbox/incubator-stanbol-dev/201203.mbox/%3CCA+_sZ+gLuCc4_Ua1BNwAk8BMKi8QQv5g10XDtGjp3_Cwki1Z-g@mail.gmail.com%3E

      Attachments

        Issue Links

          Activity

            People

              rwesten Rupert Westenthaler
              ansell Peter Ansell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: