Skip to content

Commit

Permalink
#738 remove the old grunt profile and enable it by default; it'll mak…
Browse files Browse the repository at this point in the history
…e things much simpler I think (as we really do require grunt to build stuff)
  • Loading branch information
jstrachan committed Nov 11, 2013
1 parent 083b9a5 commit 19ef61c
Showing 1 changed file with 38 additions and 51 deletions.
89 changes: 38 additions & 51 deletions hawtio-web/pom.xml
Expand Up @@ -429,6 +429,44 @@
</dependencies>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${exec-maven-plugin-version}</version>
<executions>
<execution>
<id>npm-install</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${npm-executable}</executable>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>typescript-compile</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${grunt-executable}</executable>
<arguments>
<argument>--webapp_outdir</argument>
<argument>${webapp-outdir}</argument>
<argument>--webapp_port</argument>
<argument>${jettyPort}</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>


<!--
<plugin>
<groupId>com.ppedregal.typescript</groupId>
Expand Down Expand Up @@ -600,57 +638,6 @@
</build>

<profiles>
<profile>
<id>grunt</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${exec-maven-plugin-version}</version>
<executions>
<execution>
<id>npm-install</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${npm-executable}</executable>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>typescript-compile</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${grunt-executable}</executable>
<arguments>
<argument>--webapp_outdir</argument>
<argument>${webapp-outdir}</argument>
<argument>--webapp_port</argument>
<argument>${jettyPort}</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>nogrunt</id>
</profile>

<profile>
<id>watch</id>
<build>
Expand Down

0 comments on commit 19ef61c

Please sign in to comment.