12 lines
395 B
Makefile
12 lines
395 B
Makefile
|
artifactId := $(shell cat pom.xml | grep artifactId | head -1 | cut -d\> -f2 | cut -d\< -f1)
|
||
|
version := $(shell cat pom.xml | grep version | grep -v '<?xml' | head -1 | cut -d\> -f2 | cut -d\< -f1)
|
||
|
|
||
|
plugin.oar: target/${artifactId}-${version}.jar
|
||
|
cp target/${artifactId}-${version}.jar plugin.oar
|
||
|
|
||
|
target/${artifactId}-${version}.jar: build
|
||
|
-@ echo -ne
|
||
|
|
||
|
build:
|
||
|
mvn clean compile test package
|