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

build-css goal fails with NPE

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0 GA1
    • Fix Version/s: None
    • Component/s: Plugins
    • Labels:
      None

      Description

      If you define some sass directories (splitted by commas) build will fail with NPE because of no "sass.dir." argument are defined.

      It is caused by following condition:

      if (getPortalMajorVersion() < PORTAL_VERSION_6_2) {
          args[i] = "sass.dir." + i + "=" + dirNames[i];
      }
      

      Example of plugin configuration:

      ...
      <configuration>
          <sassDirNames>/../../src/main/webapp/css/simulation,/../../src/main/webapp/css/search</sassDirNames>
      ...
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  3 years, 30 weeks, 6 days ago

                  Packages

                  Version Package