Uploaded image for project: 'PUBLIC - Liferay Maven'
  1. PUBLIC - Liferay Maven
  2. MAVEN-96

NPE while building maven theme

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 GA1
    • Fix Version/s: 6.2.0 GA1, 6.1.X
    • Component/s: Plugins
    • Labels:
      None

      Description

      Since 6.2.0-b2 (and still in 6.2.0-b3) the build of a Liferay theme with Maven fails with a NullPointerException. See LPS-39418 for a stacktrace.

      The problem is that the SassToCssBuilder looks for a "saas.docroot.dir" argument on the command line, but the SassToCssBuilderMojo just specifies "sass.dir" and no doroot.

      Besides the typo ("saas" instead of "sass"), either the Mojo should specifiy the docroot or the SassToCssBuilder should use a default one.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mika.koivisto Mika Koivisto
              Reporter:
              starrunner Tobias Liefke
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 40 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.0 GA1
                  6.1.X