Skip to content
Browse files

Merge remote-tracking branch 'origin/master'

  • Loading branch information...
2 parents 4551092 + 9bf94c7 commit f844ca495c6bccd19be4b3a401e40e72ba3d8f19 @sirrapa committed Dec 16, 2012
Showing with 41 additions and 43 deletions.
  1. +41 −43 README.md
View
84 README.md
@@ -12,50 +12,48 @@ Upload nodejs artifact to your own repository or use Sirrapa repository.
</pre>
##### Configure your pom file:
-<pre>
-<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>
- <configuration>
- <goal>compile</goal>
- <!-- Optional, the values are default -->
- <nodejsGroupId>org.nodejs</nodejsGroupId>
- <nodejsArtifactId>nodejs</nodejsArtifactId>
- <nodejsVersion>0.8.15</nodejsVersion>
- <nodejsClassifier>${os.family}</nodejsClassifier>
- <nodejsType>tar</nodejsType>
- <!-- Optional end -->
- <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>
-</pre>
+ <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>
+ <configuration>
+ <goal>compile</goal>
+ <!-- Optional, the values are default -->
+ <nodejsGroupId>org.nodejs</nodejsGroupId>
+ <nodejsArtifactId>nodejs</nodejsArtifactId>
+ <nodejsVersion>0.8.15</nodejsVersion>
+ <nodejsClassifier>${os.family}</nodejsClassifier>
+ <nodejsType>tar</nodejsType>
+ <!-- Optional end -->
+ <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>
##### Test it
<pre>
mvn nodejs:compile
-</pre>
+</pre>

0 comments on commit f844ca4

Please sign in to comment.
Something went wrong with that request. Please try again.