-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: 3.2.1
-
Fix Version/s: 3.4.0
-
Component/s: build-release
-
Labels:
mvn install -Dmaven.test.skip=true
gives
Failed to execute goal on project spark-gremlin: Could not resolve dependencies for project org.apache.tinkerpop:spark-gremlin:jar:3.2.2-SNAPSHOT: Could not find artifact org.apache.tinkerpop:hadoop-gremlin:jar:tests:3.2.2-SNAPSHOT in apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1] [ERROR]
The reason for this is that skipping tests also skips creating the test jar artefact for hadoop-gremlin.
https://issues.apache.org/jira/browse/MJAR-138
Really the prefferred way for creating test jars is to have them as a separate project:
https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html
- links to