You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Prachi Shirish Khadke (JIRA)" <ji...@apache.org> on 2017/02/07 19:02:42 UTC

[jira] [Comment Edited] (TINKERPOP-1410) mvn install -Dmaven.test.skip=true doesn't work on a clean machine

    [ https://issues.apache.org/jira/browse/TINKERPOP-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15856557#comment-15856557 ] 

Prachi Shirish Khadke edited comment on TINKERPOP-1410 at 2/7/17 7:02 PM:
--------------------------------------------------------------------------

[~spmallette] I am getting this error

`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`

while running `mvn deploy` to upload TinkerPop to Artifactory. I already ran `mvn clean install` successfully. Shouldn't the test jar get used?


was (Author: psk):
[~spmallette] I am getting this error

`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`

while running `mvn deploy` to upload TinkerPop to Artifactory.

> 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 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)