Running the producer via maven (via bash)
This commit is contained in:
parent
04c57cc71f
commit
2ef0c8207a
3
sylvilagus/scala/bin/sylvilagus-ch02-hello-world-producer
Executable file
3
sylvilagus/scala/bin/sylvilagus-ch02-hello-world-producer
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd $(dirname $(dirname $0))
|
||||
mvn scala:run -Dlauncher=ch02-hello-world-producer -DaddArgs="$1"
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user