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

Failed to init a liferay maven workspace using latest blade SNAPSHOT 202106141423

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: master
    • Component/s: blade-cli
    • Labels:
      None

      Description

      testing using https://repository.liferay.com/nexus/content/repositories/liferay-public-snapshots/com/liferay/blade/com.liferay.blade.cli/4.0.9-SNAPSHOT/com.liferay.blade.cli-4.0.9-20210614.142240-7.jar

      • blade init -b maven -v 7.3

      Error stack:
      Invalid syntax for version: portal-7.3-ga7
      java.lang.IllegalArgumentException: Invalid syntax for version: portal-7.3-ga7
      at aQute.bnd.version.Version.<init>(Version.java:52)
      at com.liferay.project.templates.internal.ProjectGenerator._isInVersionRange(ProjectGenerator.java:202)
      at com.liferay.project.templates.internal.ProjectGenerator.generateProject(ProjectGenerator.java:74)
      at com.liferay.project.templates.ProjectTemplates.<init>(ProjectTemplates.java:364)
      at com.liferay.project.templates.ProjectTemplates.<init>(ProjectTemplates.java:312)
      at com.liferay.blade.cli.command.InitCommand.execute(InitCommand.java:277)
      at com.liferay.blade.extensions.maven.profile.InitCommandMaven.execute(InitCommandMaven.java:39)
      at com.liferay.blade.cli.BladeCLI._runCommand(BladeCLI.java:1343)
      at com.liferay.blade.cli.BladeCLI.runCommand(BladeCLI.java:666)
      at com.liferay.blade.cli.BladeCLI.run(BladeCLI.java:506)
      at com.liferay.blade.cli.BladeCLI.main(BladeCLI.java:135)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  master