TypeScript Maven Plugin
JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
ppedregal Merge pull request #11 from apetrelli/master
Added support for sourcemap and sourceRoot parameters.
Latest commit 31dd2a0 Mar 13, 2016

README.md

TypeScript Maven Plugin

Maven plugin that integrates TypeScript compiler into maven builds

To use the plugin in maven you need to follow these steps:

  1. Add the following plugin repository to your pom.xml
    <pluginRepository>
      <id>typescript-maven-plugin</id>
      <url>https://raw.github.com/ppedregal/typescript-maven-plugin/master/repo</url>
    </pluginRepository>
  1. Add the following build plugin to your pom.xml
      <plugin>
        <groupId>com.ppedregal.typescript</groupId>
      	<artifactId>typescript-maven-plugin</artifactId>        
        <configuration>
        	<sourceDirectory>src/main/ts</sourceDirectory>
        	<targetDirectory>target/ts</targetDirectory>
        </configuration>        
      </plugin>

More documentation in the generated maven site here