Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent a752b10 commit 6d48a0739f858ab93058f27743f01c8c861407c0 @timowest committed Feb 5, 2012
Showing with 12 additions and 2 deletions.
  1. +12 −2 README.md
View
@@ -1,11 +1,21 @@
**Scalagen - Java to Scala conversion**
-Add the following snippet to your Maven config to use Scalagen
+Scalagen provides direct Maven support via a plugin.
+
+You can use it directly via the command line like this
+
+ mvn com.mysema.scalagen:scalagen-maven-plugin:0.1.3:main -DtargetFolder=target/scala
+
+and for test sources
+
+ mvn com.mysema.scalagen:scalagen-maven-plugin:0.1.3:test -DtargetFolder=target/scala
+
+Here is the snippet for an explicit configuration in a POM:
<plugin>
<groupId>com.mysema.scalagen</groupId>
<artifactId>scalagen-maven-plugin</artifactId>
- <version>0.1.2</version>
+ <version>0.1.3</version>
</plugin>
To convert main sources run

0 comments on commit 6d48a07

Please sign in to comment.