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

    • 7.3.x
    • 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

            lawrence.lee Lawrence Lee
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Kiyoshi Lee Kiyoshi Lee
            Lawrence Lee Lawrence Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 9 weeks, 6 days ago

              Packages

                Version Package
                7.2.10.2 DXP SP2
                7.3.X