Introduction

This plugin uses Mozilla Rhino to execute the TypeScript compiler inside maven and create the compiled javascript files.

Usage

Include the plugin in your pom.xml to compile the TypeScript files

        <plugin>
                <groupId>com.ppedregal.typescript</groupId>
                <artifactId>typescript-maven-plugin</artifactId>        
                <version>0.0.1-SNAPSHOT</version>
        </plugin>

The tsc goal will be executed in the generate-sources lifecycle phase and will compile all .ts files found in the default input dir "src/main/ts" generated .js files will placed on "target/ts". Check goal documentation for more details on configuration.