forked from zendesk/maxwell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (20 loc) · 634 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
KAFKA_VERSION ?= 1.0.0
KAFKA_PROFILE = kafka-${KAFKA_VERSION}
export JAVA_TOOL_OPTIONS = -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
all: compile
test:
mvn -B test -P ${KAFKA_PROFILE}
compile:
mvn -B compile -P ${KAFKA_PROFILE}
clean:
mvn -B clean
depclean: clean
rm -f $(CLASSPATH)
package: depclean kafka-0.8.2.2 kafka-0.9.0.1 kafka-0.10.0.1 kafka-0.10.2.1 kafka-0.11.0.1 kafka-1.0.0 kafka-2.7.0
@# TODO: this is inefficient, we really just want to copy the jars...
mvn package -DskipTests=true
kafka-%:
mvn compile -P kafka-$(*)
FORCE:
docs: FORCE
mvn javadoc:javadoc