eclipse - Can't compile style.scss with sass-maven-plugin -


i use sass-maven-plugin compile sass template style.scss css style.css. have added plugin pom.xml build.plugins descriped here. pom.xml looks this:

<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"   xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">   <modelversion>4.0.0</modelversion>    <groupid>com.company.web</groupid>   <artifactid>scss</artifactid>   <version>1.0-snapshot</version>   <packaging>jar</packaging>    <name>scss</name>   <url>http://maven.apache.org</url>    <dependencies>     <dependency>       <groupid>javax.servlet</groupid>       <artifactid>servlet-api</artifactid>       <version>2.4</version>       <scope>provided</scope>     </dependency>     <dependency>       <groupid>javax.servlet.jsp</groupid>       <artifactid>jsp-api</artifactid>       <version>2.1</version>       <scope>provided</scope>     </dependency>    </dependencies>    <build>      <plugins>       <plugin>         <groupid>org.apache.maven.plugins</groupid>         <artifactid>maven-compiler-plugin</artifactid>         <version>2.0.2</version>         <configuration>           <source>1.4</source>           <target>1.4</target>         </configuration>       </plugin>  <!--       use plugin goals in pom or parent pom -->       <plugin>         <groupid>org.jasig.maven</groupid>         <artifactid>sass-maven-plugin</artifactid>         <version>1.1.0</version>       </plugin>      </plugins>     <pluginmanagement>       <plugins>         <plugin>           <groupid>org.apache.tomcat.maven</groupid>           <artifactid>tomcat6-maven-plugin</artifactid>           <version>2.1</version>         </plugin>          <plugin>           <groupid>org.apache.tomcat.maven</groupid>           <artifactid>tomcat7-maven-plugin</artifactid>           <version>2.1</version>         </plugin>        </plugins>      </pluginmanagement>    </build>   </project> 

i run project eclipse (right mouseclick on project -> run -> run configuration -> , give goals : sass:update-stylesheets

eclipse prints following error:

[error] failed execute goal org.jasig.maven:sass-maven-plugin:1.1.0:update-stylesheets (default-cli) on project scss: parameters 'resources' goal org.jasig.maven:sass-maven-plugin:1.1.0:update-stylesheets missing or invalid 

what did wrong?

you need add configuration plugin tell files compile , put compiled files.

see resources in http://developer.jasig.org/projects/sass-maven-plugin/1.1.1/update-stylesheets-mojo.html


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -