[ 
https://issues.apache.org/jira/browse/TINKERPOP-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryn Cooke updated TINKERPOP-1410:
----------------------------------
    Description: 
{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

  was:
{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


> 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.4#6332)

Reply via email to