Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74316

Maven clean does not delete .css files generated by cssbuilder

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Dev Tools
    • Labels:
      None

      Description

      When running "mvn clean", .css files generated by the cssbuilder do not get cleaned.

      A workaround is to add the Apache "maven-clean-plugin", like this:

       

      <plugin>
      <artifactId>maven-clean-plugin</artifactId>
      <version>3.0.0</version>
      <configuration>
      <filesets>
      <fileset>
      <directory>src/main/resources/META-INF/resources/css</directory>
      <includes>
      <include>**/*.css</include>
      </includes>
      <followSymlinks>false</followSymlinks>
      </fileset>
      </filesets>
      </configuration>
      </plugin>
      

      This plugin will clean the .css files when "mvn clean" is run, as shown in the example

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            christopher.boyd Christopher Boyd (Inactive)
            Participants of an Issue:
            Recent user:
            Christopher Boyd (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              4 years, 15 weeks, 4 days ago

                Packages

                Version Package