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

Compile failed on rest-builder project under liferay 73 since it contains release.portal.api

    Details

    • Branch Version/s:
      7.3.x
    • Backported to Branch:
      Committed

      Description

      Steps to reproduct:

      1. blade init -v dxp-7.2-sp2
      2. blade create -t rest-builder test
      3. gw build in -api/-impl project, notice build failure
      4. once we delete release.portal.api in build.gradle, it can build successful
      compileOnly group: "com.liferay.portal", name: "release.portal.api"

      error message after Step 3:

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':modules:test:test-api:jar'.
        > Could not resolve all files for configuration ':modules:test:test-api:compileClasspath'.
        > Could not find com.liferay.portal:release.portal.api:.
        Required by:
        project :modules:test:test-api

        Attachments

          Activity

            People

            Assignee:
            lawrence.lee Lawrence Lee
            Reporter:
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Engineering Assignee:
            Lawrence Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              21 weeks, 6 days ago

                Packages

                Version Package
                7.2.10.2 DXP SP2
                7.3.X