[ https://jira.codehaus.org/browse/MRELEASE-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=303815#comment-303815 ]
Carsten Behring commented on MRELEASE-654: ------------------------------------------ As a workaround, I get a different behavior when I copy a pom.xml into the current directory. So it seems that maven does something with the "current project" (= project in current directory), instead of only working on the "checked out" sources in target/checkout. > Release:perform fails on releasing a tag from an empty directory > ---------------------------------------------------------------- > > Key: MRELEASE-654 > URL: https://jira.codehaus.org/browse/MRELEASE-654 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Components: perform > Affects Versions: 2.1 > Environment: Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100) > Java version: 1.6.0_22, vendor: Sun Microsystems Inc. > OS name: "linux", version: "2.6.35-25-generic", arch: "amd64", family: "unix" > Reporter: Giacomo Boccardo > > If we release our project from the same directory when we executed the > release:prepare the perform phase completes successfully, while performing a > release from a tag (in an empty directory) we have the following stack trace: > {noformat} > $ mvn release:perform -Dtag=unilet-base-5.3.13 > -DconnectionUrl=scm:svn:https://srvdevel.unimatica.lan/svn/unilet -X > Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100) > Java version: 1.6.0_22, vendor: Sun Microsystems Inc. > Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "2.6.35-25-generic", arch: "amd64", family: "unix" > [INFO] Error stacktraces are turned on. > [DEBUG] Reading global settings from /usr/local/app/maven/conf/settings.xml > [DEBUG] Reading user settings from /home/gboccardo/.m2/settings.xml > [DEBUG] Using local repository at /home/gboccardo/.m2/repository > [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for > /home/gboccardo/.m2/repository > [INFO] Scanning for projects... > [DEBUG] Extension realms for project org.apache.maven:standalone-pom:pom:1: > (none) > [DEBUG] Looking up lifecyle mappings for packaging pom from > ClassRealm[plexus.core, parent: null] > [DEBUG] Resolving plugin prefix release from [org.apache.maven.plugins, > org.codehaus.mojo] > [DEBUG] Resolved plugin prefix release to > org.apache.maven.plugins:maven-release-plugin from POM > org.apache.maven:standalone-pom:pom:1 > [DEBUG] === REACTOR BUILD PLAN > ================================================ > [DEBUG] Project: org.apache.maven:standalone-pom:pom:1 > [DEBUG] Tasks: [release:perform] > [DEBUG] Style: Aggregating > [DEBUG] > ======================================================================= > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Maven Stub Project (No POM) 1 > [INFO] > ------------------------------------------------------------------------ > [DEBUG] Resolving plugin prefix release from [org.apache.maven.plugins, > org.codehaus.mojo] > [DEBUG] Resolved plugin prefix release to > org.apache.maven.plugins:maven-release-plugin from POM > org.apache.maven:standalone-pom:pom:1 > [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-test, > integration-test, post-integration-test, verify, install, deploy] > [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] > [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] > [DEBUG] === PROJECT BUILD PLAN > ================================================ > [DEBUG] Project: org.apache.maven:standalone-pom:1 > [DEBUG] Dependencies (collect): [] > [DEBUG] Dependencies (resolve): [] > [DEBUG] Repositories (dependencies): [unimatica-m2-snapshot-repository > (http://coderepository.unimatica.lan/dev2/maven2-snapshot, releases=true, > snapshots=true, managed=false), unimatica-m2-coderepository > (http://coderepository.unimatica.lan/dev2/maven2, releases=true, > snapshots=true, managed=false), central (http://repo1.maven.org/maven2, > releases=true, snapshots=false, managed=false)] > [DEBUG] Repositories (plugins) : [central (http://repo1.maven.org/maven2, > releases=true, snapshots=false, managed=false)] > [DEBUG] > ----------------------------------------------------------------------- > [DEBUG] Goal: > org.apache.maven.plugins:maven-release-plugin:2.0:perform (default-cli) > [DEBUG] Style: Aggregating > [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?> > <configuration> > <arguments>${arguments}</arguments> > <basedir>${basedir}</basedir> > <connectionUrl>${connectionUrl}</connectionUrl> > <goals>${goals}</goals> > <javaHome default-value="${java.home}"/> > <localCheckout default-value="false">${localCheckout}</localCheckout> > <localRepoDirectory default-value="${maven.repo.local}"/> > <mavenExecutorId > default-value="invoker">${mavenExecutorId}</mavenExecutorId> > <mavenHome default-value="${maven.home}"/> > <password>${password}</password> > <pomFileName>${pomFileName}</pomFileName> > <project>${project}</project> > <reactorProjects>${reactorProjects}</reactorProjects> > <releaseProfiles>${releaseProfiles}</releaseProfiles> > <scmCommentPrefix default-value="[maven-release-plugin] > ">${scmCommentPrefix}</scmCommentPrefix> > <settings>${settings}</settings> > <tag>${tag}</tag> > <tagBase>${tagBase}</tagBase> > <useReleaseProfile > default-value="true">${useReleaseProfile}</useReleaseProfile> > <username>${username}</username> > <workingDirectory > default-value="${project.build.directory}/checkout">${workingDirectory}</workingDirectory> > </configuration> > [DEBUG] > ======================================================================= > [INFO] > [INFO] --- maven-release-plugin:2.0:perform (default-cli) @ standalone-pom --- > [DEBUG] org.apache.maven.plugins:maven-release-plugin:jar:2.0: > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.9:compile > [DEBUG] org.apache.maven.release:maven-release-manager:jar:2.0:compile > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile > [DEBUG] junit:junit:jar:3.8.1:compile > [DEBUG] > org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6:compile > [DEBUG] org.apache.maven:maven-artifact:jar:2.0.9:compile > [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.9:compile > [DEBUG] org.apache.maven.shared:maven-invoker:jar:2.0.9:compile > [DEBUG] commons-lang:commons-lang:jar:2.4:compile > [DEBUG] commons-cli:commons-cli:jar:1.0:compile > [DEBUG] commons-logging:commons-logging:jar:1.0:compile > [DEBUG] > org.apache.maven.scm:maven-scm-providers-standard:pom:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-accurev:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.3:runtime > [DEBUG] regexp:regexp:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-cvsjava:jar:1.3:runtime > [DEBUG] org.netbeans.lib:cvsclient:jar:20060125:runtime > [DEBUG] ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-gitexe:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-git-commons:jar:1.3:runtime > [DEBUG] org.apache.maven.scm:maven-scm-provider-hg:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-perforce:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-starteam:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-synergy:jar:1.3:runtime > [DEBUG] org.apache.maven.scm:maven-scm-provider-vss:jar:1.3:runtime > [DEBUG] org.apache.maven.scm:maven-scm-provider-tfs:jar:1.3:runtime > [DEBUG] org.apache.maven.scm:maven-scm-manager-plexus:jar:1.3:runtime > [DEBUG] > org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.3:compile > [DEBUG] jaxen:jaxen:jar:1.1-beta-8:runtime > [DEBUG] jdom:jdom:jar:1.0:runtime > [DEBUG] org.apache.maven:maven-model:jar:2.0.9:compile > [DEBUG] org.apache.maven:maven-core:jar:2.0.9:compile > [DEBUG] > org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9:compile > [DEBUG] org.apache.maven.reporting:maven-reporting-api:jar:2.0.9:compile > [DEBUG] > org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10:compile > [DEBUG] org.apache.maven:maven-profile:jar:2.0.9:compile > [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0.9:compile > [DEBUG] org.apache.maven:maven-error-diagnostics:jar:2.0.9:compile > [DEBUG] org.apache.maven:maven-plugin-descriptor:jar:2.0.9:compile > [DEBUG] org.apache.maven:maven-monitor:jar:2.0.9:compile > [DEBUG] classworlds:classworlds:jar:1.1:compile > [DEBUG] org.apache.maven:maven-project:jar:2.0.9:compile > [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.0.9:compile > [DEBUG] org.apache.maven:maven-settings:jar:2.0.9:compile > [DEBUG] org.apache.maven.scm:maven-scm-api:jar:1.3:compile > [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.6:compile > [DEBUG] org.jdom:jdom:jar:1.1:compile > [DEBUG] Created new class realm maven.api > [DEBUG] Importing foreign packages into class realm maven.api > [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core > [DEBUG] Imported: org.sonatype.aether.transfer < plexus.core > [DEBUG] Imported: org.apache.maven.exception < plexus.core > [DEBUG] Imported: org.sonatype.aether.metadata < plexus.core > [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core > [DEBUG] Imported: org.sonatype.aether.collection < plexus.core > [DEBUG] Imported: org.sonatype.aether.version < plexus.core > [DEBUG] Imported: org.apache.maven.monitor < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core > [DEBUG] Imported: org.apache.maven.repository < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core > [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core > [DEBUG] Imported: org.apache.maven.profiles < plexus.core > [DEBUG] Imported: org.sonatype.aether.repository < plexus.core > [DEBUG] Imported: org.apache.maven.classrealm < plexus.core > [DEBUG] Imported: org.apache.maven.execution < plexus.core > [DEBUG] Imported: org.sonatype.aether.artifact < plexus.core > [DEBUG] Imported: org.sonatype.aether.spi < plexus.core > [DEBUG] Imported: org.apache.maven.reporting < plexus.core > [DEBUG] Imported: org.apache.maven.usability < plexus.core > [DEBUG] Imported: org.codehaus.plexus.container < plexus.core > [DEBUG] Imported: org.codehaus.plexus.component < plexus.core > [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < > plexus.core > [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core > [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core > [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core > [DEBUG] Imported: org.sonatype.aether.graph < plexus.core > [DEBUG] Imported: org.sonatype.aether.* < plexus.core > [DEBUG] Imported: org.apache.maven.settings < plexus.core > [DEBUG] Imported: org.codehaus.classworlds < plexus.core > [DEBUG] Imported: org.sonatype.aether.impl < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core > [DEBUG] Imported: org.apache.maven.toolchain < plexus.core > [DEBUG] Imported: org.sonatype.aether.deployment < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core > [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException > < plexus.core > [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < > plexus.core > [DEBUG] Imported: org.apache.maven.configuration < plexus.core > [DEBUG] Imported: org.apache.maven.cli < plexus.core > [DEBUG] Imported: org.sonatype.aether.installation < plexus.core > [DEBUG] Imported: org.codehaus.plexus.context < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core > [DEBUG] Imported: org.apache.maven.project < plexus.core > [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core > [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core > [DEBUG] Imported: org.apache.maven.artifact < plexus.core > [DEBUG] Imported: org.apache.maven.model < plexus.core > [DEBUG] Imported: org.apache.maven.* < plexus.core > [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core > [DEBUG] Imported: org.sonatype.aether.resolution < plexus.core > [DEBUG] Imported: org.apache.maven.plugin < plexus.core > [DEBUG] Imported: org.codehaus.plexus.* < plexus.core > [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core > [DEBUG] Populating class realm maven.api > [DEBUG] Created new class realm > plugin>org.apache.maven.plugins:maven-release-plugin:2.0 > [DEBUG] Importing foreign packages into class realm > plugin>org.apache.maven.plugins:maven-release-plugin:2.0 > [DEBUG] Imported: < maven.api > [DEBUG] Populating class realm > plugin>org.apache.maven.plugins:maven-release-plugin:2.0 > [DEBUG] Included: org.apache.maven.plugins:maven-release-plugin:jar:2.0 > [DEBUG] Included: org.apache.maven.release:maven-release-manager:jar:2.0 > [DEBUG] Included: junit:junit:jar:3.8.1 > [DEBUG] Included: > org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6 > [DEBUG] Included: org.apache.maven.shared:maven-invoker:jar:2.0.9 > [DEBUG] Included: commons-lang:commons-lang:jar:2.4 > [DEBUG] Included: commons-cli:commons-cli:jar:1.0 > [DEBUG] Included: commons-logging:commons-logging:jar:1.0 > [DEBUG] Included: org.apache.maven.scm:maven-scm-providers-standard:pom:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-accurev:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.3 > [DEBUG] Included: regexp:regexp:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.3 > [DEBUG] Included: > org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-cvsjava:jar:1.3 > [DEBUG] Included: org.netbeans.lib:cvsclient:jar:20060125 > [DEBUG] Included: ch.ethz.ganymed:ganymed-ssh2:jar:build210 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-gitexe:jar:1.3 > [DEBUG] Included: > org.apache.maven.scm:maven-scm-provider-git-commons:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-hg:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-perforce:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-starteam:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-synergy:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-vss:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-provider-tfs:jar:1.3 > [DEBUG] Included: org.apache.maven.scm:maven-scm-manager-plexus:jar:1.3 > [DEBUG] Included: > org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.3 > [DEBUG] Included: jaxen:jaxen:jar:1.1-beta-8 > [DEBUG] Included: jdom:jdom:jar:1.0 > [DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.9 > [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-10 > [DEBUG] Included: org.apache.maven.scm:maven-scm-api:jar:1.3 > [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:1.5.6 > [DEBUG] Included: org.jdom:jdom:jar:1.1 > [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0.9 > [DEBUG] Excluded: > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9 > [DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.0.9 > [DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.9 > [DEBUG] Excluded: org.apache.maven:maven-model:jar:2.0.9 > [DEBUG] Excluded: org.apache.maven:maven-core:jar:2.0.9 > [DEBUG] Excluded: > org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.9 > [DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.0.9 > [DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.9 > [DEBUG] Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.9 > [DEBUG] Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.9 > [DEBUG] Excluded: org.apache.maven:maven-monitor:jar:2.0.9 > [DEBUG] Excluded: classworlds:classworlds:jar:1.1 > [DEBUG] Excluded: org.apache.maven:maven-project:jar:2.0.9 > [DEBUG] Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.9 > [DEBUG] Excluded: org.apache.maven:maven-settings:jar:2.0.9 > [DEBUG] Configuring mojo > org.apache.maven.plugins:maven-release-plugin:2.0:perform from plugin realm > ClassRealm[plugin>org.apache.maven.plugins:maven-release-plugin:2.0, parent: > sun.misc.Launcher$AppClassLoader@5acac268] > [DEBUG] Configuring mojo > 'org.apache.maven.plugins:maven-release-plugin:2.0:perform' with basic > configurator --> > [DEBUG] (s) basedir = /tmp > [DEBUG] (f) connectionUrl = > scm:svn:https://srvdevel.unimatica.lan/svn/unilet > [DEBUG] (f) javaHome = /usr/lib/jvm/java-6-sun-1.6.0.22/jre > [DEBUG] (f) localCheckout = false > [DEBUG] (f) mavenExecutorId = invoker > [DEBUG] (f) mavenHome = /usr/local/app/maven > [DEBUG] (f) project = MavenProject: org.apache.maven:standalone-pom:1 @ > [DEBUG] (f) reactorProjects = [MavenProject: > org.apache.maven:standalone-pom:1 @ ] > [DEBUG] (f) scmCommentPrefix = [maven-release-plugin] > [DEBUG] (f) settings = org.apache.maven.execution.SettingsAdapter@4f536eec > [DEBUG] (f) tag = unilet-base-5.3.13 > [DEBUG] (f) useReleaseProfile = true > [DEBUG] (f) workingDirectory = /tmp/${project.basedir}/target/checkout > [DEBUG] -- end configuration -- > [16:01:40]<-----------------------------------------------------------------/tmp------------------------------------------------------------------>[15/02/11] > [INFO] Checking out the project to perform the release ... > [INFO] Executing: /bin/sh -c cd /tmp/${project.basedir}/target && svn > --non-interactive checkout > https://srvdevel.unimatica.lan/svn/unilet/tags/unilet-base-5.3.13 > '/tmp/${project.basedir}/target/checkout' > [INFO] Working directory: /tmp/${project.basedir}/target > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1.134s > [INFO] Finished at: Tue Feb 15 16:01:40 CET 2011 > [INFO] Final Memory: 7M/154M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-release-plugin:2.0:perform (default-cli) on > project standalone-pom: Execution default-cli of goal > org.apache.maven.plugins:maven-release-plugin:2.0:perform failed. > NullPointerException -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-release-plugin:2.0:perform (default-cli) > on project standalone-pom: Execution default-cli of goal > org.apache.maven.plugins:maven-release-plugin:2.0:perform failed. > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-cli of goal org.apache.maven.plugins:maven-release-plugin:2.0:perform > failed. > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:116) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > ... 19 more > Caused by: java.lang.NullPointerException > at > org.apache.maven.shared.release.util.ReleaseUtil.getCommonBasedir(ReleaseUtil.java:188) > at > org.apache.maven.shared.release.util.ReleaseUtil.getCommonBasedir(ReleaseUtil.java:177) > at > org.apache.maven.shared.release.phase.CheckoutProjectFromScm.execute(CheckoutProjectFromScm.java:157) > at > org.apache.maven.shared.release.DefaultReleaseManager.perform(DefaultReleaseManager.java:343) > at > org.apache.maven.shared.release.DefaultReleaseManager.perform(DefaultReleaseManager.java:289) > at > org.apache.maven.shared.release.DefaultReleaseManager.perform(DefaultReleaseManager.java:269) > at > org.apache.maven.plugins.release.PerformReleaseMojo.execute(PerformReleaseMojo.java:131) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) > ... 20 more > [ERROR] > [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/PluginExecutionException > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira