Uploaded image for project: 'PUBLIC - Liferay BLADE'
  1. PUBLIC - Liferay BLADE
  2. BLADE-623

CompileOnly's in build.gradle do not include version

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: No Longer Reproducible
    • Affects Version/s: master, 7.3
    • Fix Version/s: None
    • Component/s: blade-cli
    • Labels:
      None

      Description

      Reproducing Steps

      1. Use Blade 4.0.6.202012230541
      2. Execute the command blade create -t form-field -v 7.3 form-field-test.
      3. Check the build.gradle.
        Expected: The lines starting with compileOnly include group, name, and version-
        Observed: The lines starting with compileOnly only include a group and name, but are missing the version.
      4. Try compiling
        Expected: Compilation finishes successfully.
        Observed: Compilation fails due to some dependencies being unreachable
        * What went wrong:
        A problem occurred configuring project ':modules:form-field-test'.
        > Could not resolve all dependencies for configuration ':modules:form-field-test:jsCompile'.
           > Could not find com.liferay:com.liferay.dynamic.data.mapping.form.field.type:.
             Searched in the following locations:
                 https://repo1.maven.org/maven2/com/liferay/com.liferay.dynamic.data.mapping.form.field.type//com.liferay.dynamic.data.mapping.form.field.type-.pom
                 https://repo1.maven.org/maven2/com/liferay/com.liferay.dynamic.data.mapping.form.field.type//com.liferay.dynamic.data.mapping.form.field.type-.jar
                 https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.dynamic.data.mapping.form.field.type//com.liferay.dynamic.data.mapping.form.field.type-.pom
                 https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.dynamic.data.mapping.form.field.type//com.liferay.dynamic.data.mapping.form.field.type-.jar
             Required by:
                 liferay-utilities.modules:form-field-test:1.0.0
        * Try:
        Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
        

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            ricardo.couso Ricardo Couso
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package