Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11523

Avoid downloading a nuxeo distribution and starting a test server when building nuxeo without tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.0-HF16, 5.7-SNAPSHOT
    • Fix Version/s: 5.6.0-HF18, 5.7.1
    • Component/s: None
    • Tags:
    • Backlog priority:
      500

      Description

      When building nuxeo code using "mvn clean install -DskipTests=true", a nuxeo distribution is downloaded for automation-test module, is there any way to avoid that?

      See excerpt:

      [INFO] Building Nuxeo Automation Tests
      [INFO]    task-segment: [clean, install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean {execution: default-clean}]
      [INFO] Deleting /home/anahide/workspaces/nuxeogit/nuxeo-features/nuxeo-automation/nuxeo-automation-test/target
      [INFO] [buildnumber:create {execution: default}]
      [INFO] Storing buildNumber: 20130513-172343 at timestamp: 1368458623945
      [INFO] [incremental-build:incremental-build {execution: default}]
      [INFO] Verifying module descriptor ...
      [INFO] Pom descriptor modification detected.
      [INFO] Deleting /home/anahide/workspaces/nuxeogit/nuxeo-features/nuxeo-automation/nuxeo-automation-test/target
      [INFO] [resources:copy-resources {execution: copy-readme}]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 0 resource
      [INFO] [resources:copy-resources {execution: copy-readme-parent}]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 0 resource
      [INFO] [jacoco:prepare-agent {execution: default}]
      [INFO] it.failsafe.argLine set to -javaagent:/home/anahide/.m2/repository/org/jacoco/org.jacoco.agent/0.6.1.201212231917/org.jacoco.agent-0.6.1.201212231917-runtime.jar=destfile=/tmp/jacoco-it.dump,append=true
      [INFO] [resources:resources {execution: default-resources}]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 1 resource
      [INFO] [compiler:compile {execution: default-compile}]
      [INFO] Compiling 4 source files to /home/anahide/workspaces/nuxeogit/nuxeo-features/nuxeo-automation/nuxeo-automation-test/target/classes
      [INFO] [resources:testResources {execution: default-testResources}]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 4 resources
      [INFO] [compiler:testCompile {execution: default-testCompile}]
      [INFO] Compiling 21 source files to /home/anahide/workspaces/nuxeogit/nuxeo-features/nuxeo-automation/nuxeo-automation-test/target/test-classes
      [INFO] [surefire:test {execution: default-test}]
      [INFO] Tests are skipped.
      [INFO] [jar:jar {execution: default-jar}]
      [INFO] Building jar: /home/anahide/workspaces/nuxeogit/nuxeo-features/nuxeo-automation/nuxeo-automation-test/target/nuxeo-automation-test-5.7-SNAPSHOT.jar
      [INFO] [build-helper:remove-project-artifact {execution: remove-old-installers}]
      [INFO] /home/anahide/.m2/repository/org/nuxeo/ecm/automation/nuxeo-automation-test/5.7-SNAPSHOT removed.
      [INFO] [nuxeo-distribution-tools:build {execution: start-tomcat}]
          [unzip] [INFO] Resolving org.nuxeo:nuxeo-ftest:zip:1.7.5-SNAPSHOT:compile ...
          [unzip] [INFO] snapshot org.nuxeo:nuxeo-ftest:1.7.5-SNAPSHOT: checking for updates from public-snapshot
      Downloading: http://maven.nuxeo.org/nexus/content/groups/public-snapshot/org/nuxeo/nuxeo-ftest/1.7.5-SNAPSHOT/nuxeo-ftest-1.7.5-20130422.154519-3.zip
      12K downloaded  (nuxeo-ftest-1.7.5-20130422.154519-3.zip)
          [unzip] Expanding: /home/anahide/.m2/repository/org/nuxeo/nuxeo-ftest/1.7.5-SNAPSHOT/nuxeo-ftest-1.7.5-SNAPSHOT.zip into /home/anahide/workspaces/nuxeogit/nuxeo-features/nuxeo-automation/nuxeo-automation-test/target
      
      _init:
      
      cleanup-db:
      
      prepare-db:
      
      prepare-tomcat:
           [echo] Prepare Tomcat...
          [unzip] [INFO] Resolving org.nuxeo:nuxeo-ftest:zip:1.7.5-SNAPSHOT:compile ...
          [unzip] Expanding: /home/anahide/.m2/repository/org/nuxeo/nuxeo-ftest/1.7.5-SNAPSHOT/nuxeo-ftest-1.7.5-SNAPSHOT.zip into /home/anahide/workspaces/nuxeogit/nuxeo-features/nuxeo-automation/nuxeo-automation-test/target
      
      prepare-server:
          [unzip] [INFO] Resolving org.nuxeo:nuxeo-ftest:zip:1.7.5-SNAPSHOT:compile ...
          [unzip] Expanding: /home/anahide/.m2/repository/org/nuxeo/nuxeo-ftest/1.7.5-SNAPSHOT/nuxeo-ftest-1.7.5-SNAPSHOT.zip into /home/anahide/workspaces/nuxeogit/nuxeo-features/nuxeo-automation/nuxeo-automation-test/target
      
      download:
          [unzip] [INFO] Resolving org.nuxeo.ecm.distribution:nuxeo-distribution-tomcat:zip:nuxeo-cap:5.7-I20130415_0116:compile ...
      Downloading: http://maven.nuxeo.org/nexus/content/groups/public/org/nuxeo/ecm/distribution/nuxeo-distribution-tomcat/5.7-I20130415_0116/nuxeo-distribution-tomcat-5.7-I20130415_0116-nuxeo-cap.zip
      186725K downloaded  (nuxeo-distribution-tomcat-5.7-I20130415_0116-nuxeo-cap.zip)
          [unzip] Expanding: /home/anahide/.m2/repository/org/nuxeo/ecm/distribution/nuxeo-distribution-tomcat/5.7-I20130415_0116/nuxeo-distribution-tomcat-5.7-I20130415_0116-nuxeo-cap.zip into /home/anahide/workspaces/nuxeogit/nuxeo-features/nuxeo-automation/nuxeo-automation-test/target/tomcat
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified