Skip to content

Commit

Permalink
Revert "mvn dependency:go-offline doesn't work"
Browse files Browse the repository at this point in the history
This reverts commit 3db3bfa.
  • Loading branch information
solsson committed Mar 20, 2019
1 parent 3db3bfa commit afdc389
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ ENV MAVEN_CONFIG=/root/.m2

WORKDIR /workspace
COPY pom.xml .
RUN mvn dependency:go-offline
RUN mvn dependency:tree
RUN mvn resources:resources
RUN mvn compiler:compile
RUN mvn surefire:test
RUN mvn jar:jar && rm target/quarkus-kafka-1.0-SNAPSHOT.jar
RUN mvn quarkus-maven-plugin:build || echo "OK, just caching dependencies"
COPY . .
RUN mvn -o package
RUN mvn package

WORKDIR /project
COPY target .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
import org.apache.kafka.clients.producer.RecordMetadata;
import org.apache.kafka.common.KafkaException;
import org.apache.kafka.common.errors.ProducerFencedException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class CopyByPoll implements Runnable {

Expand Down

0 comments on commit afdc389

Please sign in to comment.