Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to avoid running tests? #292

Closed
kirktrue opened this issue Sep 12, 2017 · 2 comments
Closed

Possible to avoid running tests? #292

kirktrue opened this issue Sep 12, 2017 · 2 comments
Assignees

Comments

@kirktrue
Copy link

When compiling/packaging using mvn, it is not possible to skip compiling and running the unit tests (via mvn package -Dmaven.test.skip=true) as attempts to do so yield the following:

[ERROR] Failed to execute goal on project ksql-cli: Could not resolve dependencies for project io.confluent.ksql:ksql-cli:jar:0.1-SNAPSHOT: Could not find artifact io.confluent.ksql:ksql-core:jar:tests:0.1-SNAPSHOT in confluent (http://packages.confluent.io/maven/) -> [Help 1]

It's a bit tedious to have to run the unit tests each time as they take a few minutes for each run.

Let me know if there's a way to get around having to sit through the test execution each time.

Thanks.

@hjafarpour
Copy link
Contributor

@kirktrue This works for me:

$ mvn clean install -DskipTests

Wanna try it and let me know if it works for you too.

@hjafarpour hjafarpour self-assigned this Sep 14, 2017
@kirktrue
Copy link
Author

Yes, mvn clean install -DskipTests (and mvn clean package -DskipTests) works for me. Subtle difference in the two commands :\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants