Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-124062

Bundle modules' versions differ from BOM

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.3.1 CE GA2
    • Fix Version/s: None
    • Component/s: Dev Tools > Workspace
    • Labels:
      None

      Description

      I am currently migrating to use Liferay' BOMs, coming from spring dependency management.

      I noticed that if one is checking the pom files, they would see that modules that are installed in the following directories present a minor difference from the BOM.

      • /tomcat/lib/ext
      • /tomcat/webapps/ROOT/WEB-INF/lib

      Example: https://repo1.maven.org/maven2/com/liferay/portal/release.portal.bom/7.3.1/release.portal.bom-7.3.1.pom

      Normally, 0.0.1 is the difference, but it makes me wonder why to use the patch part of the version in the pom file if the difference is not important...

      It also makes me think why all other modules are correctly presented in the same listing. Maybe this 0.0.1 difference is just for 7.3 ga2, and others might have bigger differences.

      It seems like we can get a way with ugly "compileOnly" dependencies. Maybe I am wrong, but most are not compile only type dependencies, not at all. This is a pretty ugly usage if the intent is just to relax some rules for an OSGi runtime. CompileOnly does not map to "provided" in maven, and it seems it is being used in the same way...

      Anyway, the pom files are not aligned with the bundles.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            victorlima02 Victor de Lima Soares
            Participants of an Issue:
            Recent user:
            Victor de Lima Soares
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              1 year, 4 days ago

                Packages

                Version Package