Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 1.03 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.03 KB

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