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

Updated pom.xml to ignore compilation of tests. #6

Closed
wants to merge 2 commits into from

Conversation

bradserbu
Copy link

Added skipTests property to ignore compilation of SessionTest.java which was failing with the following error message:

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project SemantriaJavaSDK: No tests were executed! (Set -DfailIfNoTests=false to ignore this error.) -> [Help 1]

Tests can still be compiled and specified by using the command-line. See (http://maven.apache.org/surefire/maven-surefire-plugin/examples/skipping-test.html) for more information

Added skipTests property to ignore compilation of SessionTest.java which was failing with the following error message:

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project SemantriaJavaSDK: No tests were executed!  (Set -DfailIfNoTests=false to ignore this error.) -> [Help 1]

Tests can still be compiled and specified by using the command-line.  See (http://maven.apache.org/surefire/maven-surefire-plugin/examples/skipping-test.html) for more information
@bradserbu
Copy link
Author

Actually. The property should be:

true

The "skipTests" property doesn't work on all versions of maven.

"maven.test.skip" does...
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

Successfully merging this pull request may close these issues.

2 participants