Running the producer via maven (via bash)

This commit is contained in:
Dan Buch 2012-11-15 23:14:13 -05:00
parent 04c57cc71f
commit 2ef0c8207a
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
#!/bin/bash
cd $(dirname $(dirname $0))
mvn scala:run -Dlauncher=ch02-hello-world-producer -DaddArgs="$1"

View File

@ -90,7 +90,7 @@
<configuration>
<launchers>
<launcher>
<id>sylvilagus-ch02-hello-world-producer</id>
<id>ch02-hello-world-producer</id>
<mainClass>com.meatballhat.sylvilagus.ch02.HelloWorldProducer</mainClass>
</launcher>
</launchers>