Skip to content

Instantly share code, notes, and snippets.

@fcamblor
Created April 8, 2014 09:34
Show Gist options
  • Save fcamblor/10104501 to your computer and use it in GitHub Desktop.
Save fcamblor/10104501 to your computer and use it in GitHub Desktop.
qzui release:perform fail due to hardcoded dependency path between srv & ui
fcamblor@lacoste ~/Documents/projects/qzui/srv
$> mvn release:prepare release:perform
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for quartz-ui:quartz-ui:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 122, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building quartz-ui 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-release-plugin:2.5:prepare (default-cli) @ quartz-ui ---
[INFO] Verifying that there are no local modifications...
[INFO] ignoring changes on: **/pom.xml.backup, **/release.properties, **/pom.xml.branch, **/pom.xml.next, **/pom.xml.releaseBackup, **/pom.xml.tag
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git rev-parse --show-toplevel
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git status --porcelain .
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[WARNING] Ignoring unrecognized line: ?? srv/release.properties
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "quartz-ui"? (quartz-ui:quartz-ui) 1.0: : 0.0.1-testfcr
What is SCM release tag or label for "quartz-ui"? (quartz-ui:quartz-ui) quartz-ui-0.0.1-testfcr: :
What is the new development version for "quartz-ui"? (quartz-ui:quartz-ui) 0.0.2-testfcr-SNAPSHOT: : 1.0-SNAPSHOT
[INFO] Transforming 'quartz-ui'...
[INFO] Not generating release POMs
[INFO] Executing goals 'clean verify'...
[WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
[INFO] [INFO] Scanning for projects...
[INFO] [WARNING]
[INFO] [WARNING] Some problems were encountered while building the effective model for quartz-ui:quartz-ui:war:0.0.1-testfcr
[INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 122, column 21
[INFO] [WARNING]
[INFO] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[INFO] [WARNING]
[INFO] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[INFO] [WARNING]
[INFO] [INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building quartz-ui 0.0.1-testfcr
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO]
[INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ quartz-ui ---
[INFO] [INFO] Deleting /Users/fcamblor/Documents/projects/qzui/srv/target
[INFO] [INFO]
[INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ quartz-ui ---
[INFO] [debug] execute contextualize
[INFO] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] [INFO] Copying 4 resources
[INFO] [INFO]
[INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ quartz-ui ---
[INFO] [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] [INFO] Compiling 10 source files to /Users/fcamblor/Documents/projects/qzui/srv/target/classes
[INFO] [INFO]
[INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ quartz-ui ---
[INFO] [debug] execute contextualize
[INFO] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] [INFO] Copying 0 resource
[INFO] [INFO]
[INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ quartz-ui ---
[INFO] [INFO] No sources to compile
[INFO] [INFO]
[INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ quartz-ui ---
[INFO] [INFO] Surefire report directory: /Users/fcamblor/Documents/projects/qzui/srv/target/surefire-reports
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results :
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] [INFO]
[INFO] [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ quartz-ui ---
[INFO] [INFO] Packaging webapp
[INFO] [INFO] Assembling webapp [quartz-ui] in [/Users/fcamblor/Documents/projects/qzui/srv/target/quartz-ui-0.0.1-testfcr]
[INFO] [INFO] Processing war project
[INFO] [INFO] Copying webapp webResources [/Users/fcamblor/Documents/projects/qzui/srv/../ui/dist] to [/Users/fcamblor/Documents/projects/qzui/srv/target/quartz-ui-0.0.1-testfcr]
[INFO] [INFO] Copying webapp resources [/Users/fcamblor/Documents/projects/qzui/srv/src/main/webapp]
[INFO] [INFO] Webapp assembled in [487 msecs]
[INFO] [INFO] Building war: /Users/fcamblor/Documents/projects/qzui/srv/target/quartz-ui-0.0.1-testfcr.war
[INFO] [INFO] WEB-INF/web.xml already added, skipping
[INFO] [INFO]
[INFO] [INFO] --- restx-maven-plugin:0.1:archive (restx-archive) @ quartz-ui ---
[INFO] Downloading: http://repo.4sh.fr/artifactory/libs/io/restx/restx-build/0.32-SNAPSHOT/maven-metadata.xml
[INFO] 1180/319 B
[INFO]
[INFO] Downloaded: http://repo.4sh.fr/artifactory/libs/io/restx/restx-build/0.32-SNAPSHOT/maven-metadata.xml (2 KB at 2.1 KB/sec)
[INFO] Downloading: http://repo.4sh.fr/artifactory/libs/io/restx/restx-parent/0.32-SNAPSHOT/maven-metadata.xml
[INFO] 595/286 B
[INFO]
[INFO] Downloaded: http://repo.4sh.fr/artifactory/libs/io/restx/restx-parent/0.32-SNAPSHOT/maven-metadata.xml (595 B at 1.7 KB/sec)
[INFO] Downloading: http://repo.4sh.fr/artifactory/libs/io/restx/restx-core/0.32-SNAPSHOT/maven-metadata.xml
[INFO] 1191/325 B
[INFO]
[INFO] Downloaded: http://repo.4sh.fr/artifactory/libs/io/restx/restx-core/0.32-SNAPSHOT/maven-metadata.xml (2 KB at 3.5 KB/sec)
[INFO] Downloading: http://repo.4sh.fr/artifactory/libs/io/restx/restx-factory/0.32-SNAPSHOT/maven-metadata.xml
[INFO] 1194/325 B
[INFO]
[INFO] Downloaded: http://repo.4sh.fr/artifactory/libs/io/restx/restx-factory/0.32-SNAPSHOT/maven-metadata.xml (2 KB at 3.4 KB/sec)
[INFO] Downloading: http://repo.4sh.fr/artifactory/libs/io/restx/restx-common/0.32-SNAPSHOT/maven-metadata.xml
[INFO] 1193/326 B
[INFO]
[INFO] Downloaded: http://repo.4sh.fr/artifactory/libs/io/restx/restx-common/0.32-SNAPSHOT/maven-metadata.xml (2 KB at 3.5 KB/sec)
[INFO] Downloading: http://repo.4sh.fr/artifactory/libs/io/restx/restx-classloader/0.32-SNAPSHOT/maven-metadata.xml
[INFO] 1198/329 B
[INFO]
[INFO] Downloaded: http://repo.4sh.fr/artifactory/libs/io/restx/restx-classloader/0.32-SNAPSHOT/maven-metadata.xml (2 KB at 3.4 KB/sec)
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 8.709s
[INFO] [INFO] Finished at: Tue Apr 08 11:28:06 CEST 2014
[INFO] [INFO] Final Memory: 20M/363M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git add -- pom.xml
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git rev-parse --show-toplevel
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git status --porcelain .
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[WARNING] Ignoring unrecognized line: ?? srv/pom.xml.releaseBackup
[WARNING] Ignoring unrecognized line: ?? srv/release.properties
[INFO] Tagging release with the label quartz-ui-0.0.1-testfcr...
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git tag -F /var/folders/wx/dyrnz_js37302lx5yftxb8jw0000gn/T/maven-scm-1055077966.commit quartz-ui-0.0.1-testfcr
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git push git@github.com:fcamblor/qzui.git refs/tags/quartz-ui-0.0.1-testfcr
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git ls-files
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[INFO] Transforming 'quartz-ui'...
[INFO] Not removing release POMs
[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git add -- pom.xml
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git rev-parse --show-toplevel
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv && git status --porcelain .
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv
[WARNING] Ignoring unrecognized line: ?? srv/pom.xml.releaseBackup
[WARNING] Ignoring unrecognized line: ?? srv/release.properties
[INFO] Release preparation complete.
[INFO]
[INFO] --- maven-release-plugin:2.5:perform (default-cli) @ quartz-ui ---
[INFO] Checking out the project to perform the release ...
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv/target && git clone --branch quartz-ui-0.0.1-testfcr git@github.com:fcamblor/qzui.git /Users/fcamblor/Documents/projects/qzui/srv/target/checkout
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv/target
[INFO] Executing: /bin/sh -c cd /var/folders/wx/dyrnz_js37302lx5yftxb8jw0000gn/T/ && git ls-remote git@github.com:fcamblor/qzui.git
[INFO] Working directory: /var/folders/wx/dyrnz_js37302lx5yftxb8jw0000gn/T
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv/target/checkout && git fetch git@github.com:fcamblor/qzui.git
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv/target/checkout
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv/target/checkout && git checkout quartz-ui-0.0.1-testfcr
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv/target/checkout
[INFO] Executing: /bin/sh -c cd /Users/fcamblor/Documents/projects/qzui/srv/target/checkout && git ls-files
[INFO] Working directory: /Users/fcamblor/Documents/projects/qzui/srv/target/checkout
[INFO] Invoking perform goals in directory /Users/fcamblor/Documents/projects/qzui/srv/target/checkout/srv
[INFO] Executing goals 'deploy'...
[WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
[INFO] [INFO] Scanning for projects...
[INFO] [WARNING]
[INFO] [WARNING] Some problems were encountered while building the effective model for quartz-ui:quartz-ui:war:1.0-SNAPSHOT
[INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing.
[INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing.
[INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 122, column 21
[INFO] [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing.
[INFO] [WARNING]
[INFO] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[INFO] [WARNING]
[INFO] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[INFO] [WARNING]
[INFO] [INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Building quartz-ui 1.0-SNAPSHOT
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://repo.4sh.fr/artifactory/libs/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml
[INFO] 692/250 B
[INFO]
[INFO] Downloaded: http://repo.4sh.fr/artifactory/libs/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml (692 B at 0.3 KB/sec)
[INFO] Downloading: http://repo.4sh.fr/artifactory/libs/org/apache/maven/plugins/maven-javadoc-plugin/maven-metadata.xml
[INFO] 782/259 B
[INFO]
[INFO] Downloaded: http://repo.4sh.fr/artifactory/libs/org/apache/maven/plugins/maven-javadoc-plugin/maven-metadata.xml (782 B at 0.6 KB/sec)
[INFO] Downloading: http://repo.4sh.fr/artifactory/libs/org/apache/maven/plugins/maven-javadoc-plugin/2.9.1/maven-javadoc-plugin-2.9.1.pom
[INFO]
[INFO] Downloaded: http://repo.4sh.fr/artifactory/libs/org/apache/maven/plugins/maven-javadoc-plugin/2.9.1/maven-javadoc-plugin-2.9.1.pom (0 B at 0.0 KB/sec)
[INFO] Downloading: http://repo.4sh.fr/artifactory/libs/org/apache/maven/plugins/maven-javadoc-plugin/2.9.1/maven-javadoc-plugin-2.9.1.jar
[INFO]
[INFO] Downloaded: http://repo.4sh.fr/artifactory/libs/org/apache/maven/plugins/maven-javadoc-plugin/2.9.1/maven-javadoc-plugin-2.9.1.jar (0 B at 0.0 KB/sec)
[INFO] [INFO]
[INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ quartz-ui ---
[INFO] [debug] execute contextualize
[INFO] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] [INFO] Copying 4 resources
[INFO] [INFO]
[INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ quartz-ui ---
[INFO] [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] [INFO] Compiling 10 source files to /Users/fcamblor/Documents/projects/qzui/srv/target/checkout/srv/target/classes
[INFO] [INFO]
[INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ quartz-ui ---
[INFO] [debug] execute contextualize
[INFO] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] [INFO] skip non existing resourceDirectory /Users/fcamblor/Documents/projects/qzui/srv/target/checkout/srv/src/test/resources
[INFO] [INFO]
[INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ quartz-ui ---
[INFO] [INFO] No sources to compile
[INFO] [INFO]
[INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ quartz-ui ---
[INFO] [INFO] No tests to run.
[INFO] [INFO] Surefire report directory: /Users/fcamblor/Documents/projects/qzui/srv/target/checkout/srv/target/surefire-reports
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO]
[INFO] Results :
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] [INFO]
[INFO] [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ quartz-ui ---
[INFO] [INFO] Packaging webapp
[INFO] [INFO] Assembling webapp [quartz-ui] in [/Users/fcamblor/Documents/projects/qzui/srv/target/checkout/srv/target/quartz-ui-1.0-SNAPSHOT]
[INFO] [INFO] Processing war project
[INFO] [INFO] Copying webapp webResources [/Users/fcamblor/Documents/projects/qzui/srv/target/checkout/srv/../ui/dist] to [/Users/fcamblor/Documents/projects/qzui/srv/target/checkout/srv/target/quartz-ui-1.0-SNAPSHOT]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 9.660s
[INFO] [INFO] Finished at: Tue Apr 08 11:28:27 CEST 2014
[INFO] [INFO] Final Memory: 20M/229M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project quartz-ui: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: basedir /Users/fcamblor/Documents/projects/qzui/srv/target/checkout/srv/../ui/dist does not exist -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.674s
[INFO] Finished at: Tue Apr 08 11:28:27 CEST 2014
[INFO] Final Memory: 10M/226M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:perform (default-cli) on project quartz-ui: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment