[jira] Commented: (MRELEASE-297) release doesn't bump versions in properties to the next dev iteration
[ http://jira.codehaus.org/browse/MRELEASE-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215282#action_215282 ] Hans Beemsterboer commented on MRELEASE-297: I had the same problem without using version properties. It looks like the development versions get bumped up when you change method updateDomVersion as follows: {code:title=AbstractRewritePomsPhase.java|borderStyle=solid} if ( dependency != null ) { versionElement = dependency.getChild( "version", dependencyRoot.getNamespace() ); if ( versionElement != null ) { dependencyVersion = versionElement.getTextTrim(); if (mappedVersion != null && mappedVersion.endsWith("SNAPSHOT") ) { rewriteValue( versionElement, mappedVersion ); } } } {code} > release doesn't bump versions in properties to the next dev iteration > - > > Key: MRELEASE-297 > URL: http://jira.codehaus.org/browse/MRELEASE-297 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Components: prepare >Affects Versions: 2.0-beta-6, 2.0-beta-7 >Reporter: Brian Fox >Assignee: Maria Odea Ching > > Properties used as versions are correctly updated to the release version and > committed, but they are not bumped to the next snapshot after. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MJAVADOC-275) Creation of Javadoc attachments fails in multi-module project where modules have never been installed/deployed
[ http://jira.codehaus.org/browse/MJAVADOC-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208106#action_208106 ] Hans Beemsterboer commented on MJAVADOC-275: I had a similar issue, while running: mvn site. After explicitly running: mvn javadoc:javadoc, this issue didn't occur any more. > Creation of Javadoc attachments fails in multi-module project where modules > have never been installed/deployed > -- > > Key: MJAVADOC-275 > URL: http://jira.codehaus.org/browse/MJAVADOC-275 > Project: Maven 2.x Javadoc Plugin > Issue Type: Bug >Affects Versions: 2.6.1 >Reporter: Benjamin Bentmann >Priority: Critical > Attachments: MJAVADOC-275.zip > > > Running the commands > {noformat} > mvn clean > mvn verify > {noformat} > will fail on the attached demo project with > {noformat} > [INFO] The goal 'org.apache.maven.plugins:maven-javadoc-plugin:2.6.1:javadoc' > has not be previously called for the project: > 'org.apache.maven.its.javadoc:mod-b:jar:0.1'. > Trying to invoke it... > [ERROR] MavenInvocationException: Error when invoking Maven, consult the > invoker log file: > M:\MJAVADOC\mod-a\target\invoker\maven-javadoc-plugin625147587.txt > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] MavenReportException: Error while creating archive: > Error when invoking Maven, consult the invoker log file: > M:\MJAVADOC\mod-a\target\invoker\maven-javadoc-plugin625147587.txt > {noformat} > The command {{mvn clean verify}} as usually used during releases will also > fail, but starts working after repeated invocations. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (CONTINUUM-1230) org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest fails with cygwin
[ http://jira.codehaus.org/browse/CONTINUUM-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101765 ] Hans Beemsterboer edited comment on CONTINUUM-1230 at 7/10/07 5:13 AM: --- I have the same cygwin path issue with Maven 2.0.6: {noformat} D:\backup\olvUtil\trunk>mvn release:prepare [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO] [INFO] Building olvUtil [INFO]task-segment: [release:prepare] (aggregator-style) [INFO] [INFO] [release:prepare] [INFO] Verifying that there are no local modifications... [INFO] Executing: svn --non-interactive status [INFO] Working directory: D:\backup\olvUtil\trunk [INFO] Checking dependencies and plugins for snapshots ... What is the release version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.0: : What is SCM release tag or label for "olvUtil"? (nl.achmea.olv:olvUtil) olvUtil-1.0: : What is the new development version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.1-SNAPSHOT: : [INFO] Transforming 'olvUtil'... [INFO] Not generating release POMs [INFO] Executing goals 'clean verify'... [INFO] Executing: mvn clean verify --no-plugin-updates -P default-profile,snapshot,compiler,default-profile [INFO] Scanning for projects... [INFO] [INFO] Building olvUtil [INFO]task-segment: [clean, verify] [INFO] [INFO] [clean:clean] [INFO] Deleting directory D:\backup\olvUtil\trunk\target [INFO] Deleting directory D:\backup\olvUtil\trunk\target\classes [INFO] Deleting directory D:\backup\olvUtil\trunk\target\test-classes [INFO] Deleting directory D:\backup\olvUtil\trunk\target\site [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 4 source files to D:\backup\olvUtil\trunk\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: D:\backup\olvUtil\trunk\target\olvUtil-1.0.jar [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 3 seconds [INFO] Finished at: Tue Jul 10 12:02:15 CEST 2007 [INFO] Final Memory: 4M/9M [INFO] [INFO] Checking in modified POMs... [INFO] Executing: svn --non-interactive commit --file C:\DOCUME~1\AA062237\LOCALS~1\Temp\maven-scm-292709279.commit --ta rgets C:\DOCUME~1\AA062237\LOCALS~1\Temp\maven-scm-24844-targets [INFO] Working directory: D:\backup\olvUtil\trunk [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Unable to commit files Provider message: The svn command failed. Command output: svn: '/cygdrive/d/backup/olvUtil/trunk/D:/backup/olvUtil/trunk' is not a working copy svn: Can't open file '/cygdrive/d/backup/olvUtil/trunk/D:/backup/olvUtil/trunk/.svn/entries': No such file or directory [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 8 seconds [INFO] Finished at: Tue Jul 10 12:02:16 CEST 2007 [INFO] Final Memory: 4M/9M [INFO] {noformat} was: I have the same cygwin path issue with Maven 2.0.6: D:\backup\olvUtil\trunk>mvn release:prepare [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO] [INFO] Building olvUtil [INFO]task-segment: [release:prepare] (aggregator-style) [INFO] [INFO] [release:prepare] [INFO] Verifying that there are no local modifications... [INFO] Executing: svn --non-interactive status [INFO] Working directory: D:\backup\olvUtil\trunk [INFO] Checking dependencies and plugins for snapshots ... What is the release version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.0: : What is SCM release tag or label for "olvUtil"? (nl.achmea.olv:olvUtil) olvUt
[jira] Commented: (CONTINUUM-1230) org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest fails with cygwin
[ http://jira.codehaus.org/browse/CONTINUUM-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101765 ] Hans Beemsterboer commented on CONTINUUM-1230: -- I have the same cygwin path issue with Maven 2.0.6: D:\backup\olvUtil\trunk>mvn release:prepare [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO] [INFO] Building olvUtil [INFO]task-segment: [release:prepare] (aggregator-style) [INFO] [INFO] [release:prepare] [INFO] Verifying that there are no local modifications... [INFO] Executing: svn --non-interactive status [INFO] Working directory: D:\backup\olvUtil\trunk [INFO] Checking dependencies and plugins for snapshots ... What is the release version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.0: : What is SCM release tag or label for "olvUtil"? (nl.achmea.olv:olvUtil) olvUtil-1.0: : What is the new development version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.1-SNAPSHOT: : [INFO] Transforming 'olvUtil'... [INFO] Not generating release POMs [INFO] Executing goals 'clean verify'... [INFO] Executing: mvn clean verify --no-plugin-updates -P default-profile,snapshot,compiler,default-profile [INFO] Scanning for projects... [INFO] [INFO] Building olvUtil [INFO]task-segment: [clean, verify] [INFO] [INFO] [clean:clean] [INFO] Deleting directory D:\backup\olvUtil\trunk\target [INFO] Deleting directory D:\backup\olvUtil\trunk\target\classes [INFO] Deleting directory D:\backup\olvUtil\trunk\target\test-classes [INFO] Deleting directory D:\backup\olvUtil\trunk\target\site [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 4 source files to D:\backup\olvUtil\trunk\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: D:\backup\olvUtil\trunk\target\olvUtil-1.0.jar [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 3 seconds [INFO] Finished at: Tue Jul 10 12:02:15 CEST 2007 [INFO] Final Memory: 4M/9M [INFO] [INFO] Checking in modified POMs... [INFO] Executing: svn --non-interactive commit --file C:\DOCUME~1\AA062237\LOCALS~1\Temp\maven-scm-292709279.commit --ta rgets C:\DOCUME~1\AA062237\LOCALS~1\Temp\maven-scm-24844-targets [INFO] Working directory: D:\backup\olvUtil\trunk [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Unable to commit files Provider message: The svn command failed. Command output: svn: '/cygdrive/d/backup/olvUtil/trunk/D:/backup/olvUtil/trunk' is not a working copy svn: Can't open file '/cygdrive/d/backup/olvUtil/trunk/D:/backup/olvUtil/trunk/.svn/entries': No such file or directory [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 8 seconds [INFO] Finished at: Tue Jul 10 12:02:16 CEST 2007 [INFO] Final Memory: 4M/9M [INFO] > org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest fails > with cygwin > -- > > Key: CONTINUUM-1230 > URL: http://jira.codehaus.org/browse/CONTINUUM-1230 > Project: Continuum > Issue Type: Bug > Components: Release >Affects Versions: 1.1-alpha-1 > Environment: Windows XP >Reporter: Arnaud Heritier > Fix For: Future > > > Have a look at the path in svn commands > {code} > [ERROR] org.apache.maven.shared.release.scm.ReleaseScmCommandException: > Unable to commit files > Provider message: > The svn command failed. > Command output: > svn: > '/cygdrive/e/OSS/m2-trunks/continuum/continuum-release/target/test-classes/work-dir/e:/OSS/m2-trunks/continuum/continuum-release/target/test-classes/work-dir' > i
[jira] Issue Comment Edited: (CONTINUUM-1230) org.apache.maven.continuum.release.executors.ReleaseTaskExecutorTest fails with cygwin
[ http://jira.codehaus.org/browse/CONTINUUM-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101765 ] Hans Beemsterboer edited comment on CONTINUUM-1230 at 7/10/07 5:12 AM: --- I have the same cygwin path issue with Maven 2.0.6: D:\backup\olvUtil\trunk>mvn release:prepare [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO] [INFO] Building olvUtil [INFO]task-segment: [release:prepare] (aggregator-style) [INFO] [INFO] [release:prepare] [INFO] Verifying that there are no local modifications... [INFO] Executing: svn --non-interactive status [INFO] Working directory: D:\backup\olvUtil\trunk [INFO] Checking dependencies and plugins for snapshots ... What is the release version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.0: : What is SCM release tag or label for "olvUtil"? (nl.achmea.olv:olvUtil) olvUtil-1.0: : What is the new development version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.1-SNAPSHOT: : [INFO] Transforming 'olvUtil'... [INFO] Not generating release POMs [INFO] Executing goals 'clean verify'... [INFO] Executing: mvn clean verify --no-plugin-updates -P default-profile,snapshot,compiler,default-profile [INFO] Scanning for projects... [INFO] [INFO] Building olvUtil [INFO]task-segment: [clean, verify] [INFO] [INFO] [clean:clean] [INFO] Deleting directory D:\backup\olvUtil\trunk\target [INFO] Deleting directory D:\backup\olvUtil\trunk\target\classes [INFO] Deleting directory D:\backup\olvUtil\trunk\target\test-classes [INFO] Deleting directory D:\backup\olvUtil\trunk\target\site [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 4 source files to D:\backup\olvUtil\trunk\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] Building jar: D:\backup\olvUtil\trunk\target\olvUtil-1.0.jar [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 3 seconds [INFO] Finished at: Tue Jul 10 12:02:15 CEST 2007 [INFO] Final Memory: 4M/9M [INFO] [INFO] Checking in modified POMs... [INFO] Executing: svn --non-interactive commit --file C:\DOCUME~1\AA062237\LOCALS~1\Temp\maven-scm-292709279.commit --ta rgets C:\DOCUME~1\AA062237\LOCALS~1\Temp\maven-scm-24844-targets [INFO] Working directory: D:\backup\olvUtil\trunk [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Unable to commit files Provider message: The svn command failed. Command output: svn: '/cygdrive/d/backup/olvUtil/trunk/D:/backup/olvUtil/trunk' is not a working copy svn: Can't open file '/cygdrive/d/backup/olvUtil/trunk/D:/backup/olvUtil/trunk/.svn/entries': No such file or directory [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 8 seconds [INFO] Finished at: Tue Jul 10 12:02:16 CEST 2007 [INFO] Final Memory: 4M/9M [INFO] was: I have the same cygwin path issue with Maven 2.0.6: D:\backup\olvUtil\trunk>mvn release:prepare [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO] [INFO] Building olvUtil [INFO]task-segment: [release:prepare] (aggregator-style) [INFO] [INFO] [release:prepare] [INFO] Verifying that there are no local modifications... [INFO] Executing: svn --non-interactive status [INFO] Working directory: D:\backup\olvUtil\trunk [INFO] Checking dependencies and plugins for snapshots ... What is the release version for "olvUtil"? (nl.achmea.olv:olvUtil) 1.0: : What is SCM release tag or label for "olvUtil"? (nl.achmea.olv:olvUtil) olvUtil-1.0: : What is the n