Permalink
Browse files

added forgotten files

  • Loading branch information...
1 parent 8e24411 commit 17165ec82203c5c47a651c18b641a4972fb414bd @sirrapa committed Dec 13, 2012
View
@@ -3,15 +3,15 @@ nodejs-maven-plugin
A maven plugin that executes nodejs commands
-How to install:
+##How to install:
-Repository
+### Repository
Upload nodejs artifact to your own repository or use Sirrapa repository.
-Configure Sirrapa repository
-<pre>
+##### Configure Sirrapa repository
<pre>
+</pre>
-Configure your pom file:
+##### Configure your pom file:
<pre>
<project>
<modelVersion>4.0.0</modelVersion>
@@ -53,9 +53,9 @@ Configure your pom file:
</plugins>
</build>
</project>
-<pre>
+</pre>
-Test it
+##### Test it
<pre>
mvn nodejs:compile
-<pre>
+</pre>
@@ -0,0 +1,34 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>sample</groupId>
+ <artifactId>maven-sample</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>Sample pom</name>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.sirrapa.maven.plugins</groupId>
+ <artifactId>nodejs-maven-plugin</artifactId>
+ <version>0.8.15-001-SNAPSHOT</version>
+ <configuration>
+ <modules>
+ <module>
+ <name>jshint.js</name>
+ <arguments>
+ <argument>--node foo bar</argument>
+ </arguments>
+ </module>
+ <module>
+ <name>r.js</name>
+ <arguments>
+ <argument>--o out.js</argument>
+ </arguments>
+ </module>
+ </modules>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Oops, something went wrong.

0 comments on commit 17165ec

Please sign in to comment.