Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1410

mvn install -Dmaven.test.skip=true doesn't work on a clean machine

    Details

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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spmallette stephen mallette
                Reporter:
                bryncooke Bryn Cooke
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: