You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Bryn Cooke (JIRA)" <ji...@apache.org> on 2016/08/17 09:23:20 UTC
[jira] [Created] (TINKERPOP-1410) mvn install
-Dmaven.test.skip=true doesn't work on a clean machine
Bryn Cooke created TINKERPOP-1410:
-------------------------------------
Summary: mvn install -Dmaven.test.skip=true doesn't work on a clean machine
Key: TINKERPOP-1410
URL: https://issues.apache.org/jira/browse/TINKERPOP-1410
Project: TinkerPop
Issue Type: Bug
Components: build-release
Affects Versions: 3.2.1
Reporter: Bryn Cooke
{noformat}mvn install -Dmaven.test.skip=true{noformat}
gives
{noformat}
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] {noformat}
The reason for this is that skipping tests also skips creating the test jar artifact 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)