coffeescript-maven-plugin

Very simple coffeescript maven plugin

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

com.github.wpic
Идентификатор

Идентификатор

coffeescript-maven-plugin
Последняя версия

Последняя версия

1.1
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

coffeescript-maven-plugin
Very simple coffeescript maven plugin
Ссылка на сайт

Ссылка на сайт

http://github.com/wpic/coffeescript-maven-plugin
Система контроля версий

Система контроля версий

http://github.com/wpic/coffeescript-maven-plugin

Скачать coffeescript-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>com.github.wpic</groupId>
    <artifactId>coffeescript-maven-plugin</artifactId>
    <version>1.1</version>
</plugin>

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 2.0
commons-io : commons-io jar 2.4
com.google.code.maven-play-plugin.com.github.yeungda.jcoffeescript : jcoffeescript jar 1.0

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.4

Модули Проекта

Данный проект не имеет модулей.

Very simple coffeescript maven plugin. It can merges and converts all the coffeescript files into a single file. This plugin use Nashorn engine for Java8 (much faster) also Java5+ fallback. So, use Java8 if you want to boost performance (at least 2 times faster).

Sample usage

<build>
  ...
  <plugins>
     ...
     <plugin>
        <groupId>com.github.wpic</groupId>
        <artifactId>coffeescript-maven-plugin</artifactId>
        <version>1.1</version>
        <configuration>
           <outputFile>${project.build.directory}/${project.artifactId}/js/all.js</outputFile>
        </configuration>
        <executions>
           <execution>
              <phase>compile</phase>
              <goals>
                 <goal>coffeescript</goal>
              </goals>
           </execution>
        </executions>
     </plugin>
     ...
  </plugins>
</build>

Use the last vesion

Snapshots are not available in maven repository, you can find them here.

Parameters

  • inputDir: Source directory contains coffeescript files. src/main/webapp by default.
  • outputDir: Destination directory to save. target/ by default.
  • outputFile: If you set this parameter, all the coffeescripts will merge into the single file (outputDir will be ignore)

History

v1.1

  • Fix throwing exception on compile failure

v1.1-SNAPSHOT

  • Boost performance (Use Nashorn support with Rihno fallback for old version of java)
  • Add filters (Include/Exclude)
  • Fix error handling and more bugs

v1.0

  • First release
com.github.wpic

WPIC Co

Версии библиотеки

Версия
1.1
1.0