I am using two profiles: development and production.
Development should be active on default; production should be used when I am releasing.
In my pom.xml I
This is a very old post but I came across this issue quite recently. The releaseProfile only worked for me when I set the releaseProfiles to profile called release. Any other profile gives same error.
Sample code:
org.apache.maven.plugins
maven-release-plugin
2.5.3
@{project.artifactId}-@{project.version}
true
release
true
release
${scm-base}/tags/${project.artifactId}-${project.version}