[jira] Created: (MOJO-1451) Unable to use buildnumber with javasvn provider with subversion 1.6 working copy

View: New views
5 Messages — Rating Filter:   Alert me  

[jira] Created: (MOJO-1451) Unable to use buildnumber with javasvn provider with subversion 1.6 working copy

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Unable to use buildnumber with javasvn provider with subversion 1.6 working copy
--------------------------------------------------------------------------------

                 Key: MOJO-1451
                 URL: http://jira.codehaus.org/browse/MOJO-1451
             Project: Mojo
          Issue Type: Bug
          Components: buildnumber
    Affects Versions: buildnumber-maven-plugin-1.0-beta-3
            Reporter: Baptiste MATHUS


When you try to run mvn -N validate on working that was retrieved with svn1.6 client, buildnumber won't read it with javasvn provider configured.
I guess this is due to the svnkit dependency 1.2.3 that should be upgraded to svnkit 1.3.1 to support <=1.6 subversion working copies.

---
Moreover, the message is incorrect : it displays "svn: '/some/path\project' is not a working copy".

But you can have a better idea of the real problem when you add -e to the mvn command:
[INFO] Cannot get the revision information from the scm repository :
Exception while executing SCM command.

svn: '/some/path/project' is not a working copy
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot get the revision information from the scm repository :
Exception while executing SCM command.
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
        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:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository :
Exception while executing SCM command.
        at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:604)
        at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:414)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
        ... 16 more
Caused by: org.apache.maven.scm.ScmException: Exception while executing SCM command.
        at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
        at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmProvider.java:354)
        at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.info(AbstractSvnScmProvider.java:375)
        at org.codehaus.mojo.build.CreateMojo.info(CreateMojo.java:625)
        at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:577)
        ... 19 more
Caused by: org.apache.maven.scm.ScmException: svn: '/some/path/project' is not a working copy
        at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:108)
        at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeInfoCommand(SvnJavaInfoCommand.java:75)
        at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeCommand(SvnJavaInfoCommand.java:52)
        at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
        ... 23 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: '/some/path/project' is not a working copy
        at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
        at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:296)
        at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:275)
        at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3033)
        at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2277)
        at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2653)
        at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:92)
        ... 26 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Thu Nov 05 14:05:02 CET 2009
[INFO] Final Memory: 17M/30M
[INFO] ------------------------------------------------------------------------


--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MOJO-1451) Unable to use buildnumber with javasvn provider with subversion 1.6 working copy

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MOJO-1451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197340#action_197340 ]

Olivier Lamy commented on MOJO-1451:
------------------------------------

can you try with current trunk ?
svnkit version has been upgraded.

> Unable to use buildnumber with javasvn provider with subversion 1.6 working copy
> --------------------------------------------------------------------------------
>
>                 Key: MOJO-1451
>                 URL: http://jira.codehaus.org/browse/MOJO-1451
>             Project: Mojo
>          Issue Type: Bug
>          Components: buildnumber
>    Affects Versions: buildnumber-maven-plugin-1.0-beta-3
>            Reporter: Baptiste MATHUS
>
> When you try to run mvn -N validate on working that was retrieved with svn1.6 client, buildnumber won't read it with javasvn provider configured.
> I guess this is due to the svnkit dependency 1.2.3 that should be upgraded to svnkit 1.3.1 to support <=1.6 subversion working copies.
> ---
> Moreover, the message is incorrect : it displays "svn: '/some/path\project' is not a working copy".
> But you can have a better idea of the real problem when you add -e to the mvn command:
> [INFO] Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
> svn: '/some/path/project' is not a working copy
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
>         at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:604)
>         at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:414)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         ... 16 more
> Caused by: org.apache.maven.scm.ScmException: Exception while executing SCM command.
>         at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
>         at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmProvider.java:354)
>         at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.info(AbstractSvnScmProvider.java:375)
>         at org.codehaus.mojo.build.CreateMojo.info(CreateMojo.java:625)
>         at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:577)
>         ... 19 more
> Caused by: org.apache.maven.scm.ScmException: svn: '/some/path/project' is not a working copy
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:108)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeInfoCommand(SvnJavaInfoCommand.java:75)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeCommand(SvnJavaInfoCommand.java:52)
>         at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
>         ... 23 more
> Caused by: org.tmatesoft.svn.core.SVNException: svn: '/some/path/project' is not a working copy
>         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
>         at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:296)
>         at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:275)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3033)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2277)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2653)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:92)
>         ... 26 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Thu Nov 05 14:05:02 CET 2009
> [INFO] Final Memory: 17M/30M
> [INFO] ------------------------------------------------------------------------

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MOJO-1451) Unable to use buildnumber with javasvn provider with subversion 1.6 working copy

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MOJO-1451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197342#action_197342 ]

Baptiste MATHUS commented on MOJO-1451:
---------------------------------------

Yes, it works fine. Sorry for the noise.
I also found it the log that my issue seems to be a dup, although I did a search but couldn't find it.

I'll close the issue.

Thanks, Olivier.

> Unable to use buildnumber with javasvn provider with subversion 1.6 working copy
> --------------------------------------------------------------------------------
>
>                 Key: MOJO-1451
>                 URL: http://jira.codehaus.org/browse/MOJO-1451
>             Project: Mojo
>          Issue Type: Bug
>          Components: buildnumber
>    Affects Versions: buildnumber-maven-plugin-1.0-beta-3
>            Reporter: Baptiste MATHUS
>
> When you try to run mvn -N validate on working that was retrieved with svn1.6 client, buildnumber won't read it with javasvn provider configured.
> I guess this is due to the svnkit dependency 1.2.3 that should be upgraded to svnkit 1.3.1 to support <=1.6 subversion working copies.
> ---
> Moreover, the message is incorrect : it displays "svn: '/some/path\project' is not a working copy".
> But you can have a better idea of the real problem when you add -e to the mvn command:
> [INFO] Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
> svn: '/some/path/project' is not a working copy
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
>         at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:604)
>         at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:414)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         ... 16 more
> Caused by: org.apache.maven.scm.ScmException: Exception while executing SCM command.
>         at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
>         at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmProvider.java:354)
>         at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.info(AbstractSvnScmProvider.java:375)
>         at org.codehaus.mojo.build.CreateMojo.info(CreateMojo.java:625)
>         at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:577)
>         ... 19 more
> Caused by: org.apache.maven.scm.ScmException: svn: '/some/path/project' is not a working copy
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:108)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeInfoCommand(SvnJavaInfoCommand.java:75)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeCommand(SvnJavaInfoCommand.java:52)
>         at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
>         ... 23 more
> Caused by: org.tmatesoft.svn.core.SVNException: svn: '/some/path/project' is not a working copy
>         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
>         at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:296)
>         at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:275)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3033)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2277)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2653)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:92)
>         ... 26 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Thu Nov 05 14:05:02 CET 2009
> [INFO] Final Memory: 17M/30M
> [INFO] ------------------------------------------------------------------------

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MOJO-1451) Unable to use buildnumber with javasvn provider with subversion 1.6 working copy

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MOJO-1451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197344#action_197344 ]

Baptiste MATHUS commented on MOJO-1451:
---------------------------------------

Well, I was about to close this issue as a duplicate of MOJO-1414, but I noticed that this one was close as WONTFIX.
As after compiling and installing the 1.0.4-SNAPSHOT locally, it works on my machine, I don't understand this sentence ?!

> Unable to use buildnumber with javasvn provider with subversion 1.6 working copy
> --------------------------------------------------------------------------------
>
>                 Key: MOJO-1451
>                 URL: http://jira.codehaus.org/browse/MOJO-1451
>             Project: Mojo
>          Issue Type: Bug
>          Components: buildnumber
>    Affects Versions: buildnumber-maven-plugin-1.0-beta-3
>            Reporter: Baptiste MATHUS
>
> When you try to run mvn -N validate on working that was retrieved with svn1.6 client, buildnumber won't read it with javasvn provider configured.
> I guess this is due to the svnkit dependency 1.2.3 that should be upgraded to svnkit 1.3.1 to support <=1.6 subversion working copies.
> ---
> Moreover, the message is incorrect : it displays "svn: '/some/path\project' is not a working copy".
> But you can have a better idea of the real problem when you add -e to the mvn command:
> [INFO] Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
> svn: '/some/path/project' is not a working copy
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
>         at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:604)
>         at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:414)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         ... 16 more
> Caused by: org.apache.maven.scm.ScmException: Exception while executing SCM command.
>         at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
>         at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmProvider.java:354)
>         at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.info(AbstractSvnScmProvider.java:375)
>         at org.codehaus.mojo.build.CreateMojo.info(CreateMojo.java:625)
>         at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:577)
>         ... 19 more
> Caused by: org.apache.maven.scm.ScmException: svn: '/some/path/project' is not a working copy
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:108)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeInfoCommand(SvnJavaInfoCommand.java:75)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeCommand(SvnJavaInfoCommand.java:52)
>         at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
>         ... 23 more
> Caused by: org.tmatesoft.svn.core.SVNException: svn: '/some/path/project' is not a working copy
>         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
>         at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:296)
>         at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:275)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3033)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2277)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2653)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:92)
>         ... 26 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Thu Nov 05 14:05:02 CET 2009
> [INFO] Final Memory: 17M/30M
> [INFO] ------------------------------------------------------------------------

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Issue Comment Edited: (MOJO-1451) Unable to use buildnumber with javasvn provider with subversion 1.6 working copy

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MOJO-1451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197344#action_197344 ]

Baptiste MATHUS edited comment on MOJO-1451 at 11/5/09 7:31 AM:
----------------------------------------------------------------

Well, I was about to close this issue as a duplicate of MOJO-1414, but I noticed that this one was closed as WONTFIX.
But after compiling and installing the 1.0.4-SNAPSHOT locally, as it works on my machine, I don't understand this sentence ?!

      was (Author: batmat):
    Well, I was about to close this issue as a duplicate of MOJO-1414, but I noticed that this one was close as WONTFIX.
As after compiling and installing the 1.0.4-SNAPSHOT locally, it works on my machine, I don't understand this sentence ?!
 

> Unable to use buildnumber with javasvn provider with subversion 1.6 working copy
> --------------------------------------------------------------------------------
>
>                 Key: MOJO-1451
>                 URL: http://jira.codehaus.org/browse/MOJO-1451
>             Project: Mojo
>          Issue Type: Bug
>          Components: buildnumber
>    Affects Versions: buildnumber-maven-plugin-1.0-beta-3
>            Reporter: Baptiste MATHUS
>
> When you try to run mvn -N validate on working that was retrieved with svn1.6 client, buildnumber won't read it with javasvn provider configured.
> I guess this is due to the svnkit dependency 1.2.3 that should be upgraded to svnkit 1.3.1 to support <=1.6 subversion working copies.
> ---
> Moreover, the message is incorrect : it displays "svn: '/some/path\project' is not a working copy".
> But you can have a better idea of the real problem when you add -e to the mvn command:
> [INFO] Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
> svn: '/some/path/project' is not a working copy
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository :
> Exception while executing SCM command.
>         at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:604)
>         at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:414)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         ... 16 more
> Caused by: org.apache.maven.scm.ScmException: Exception while executing SCM command.
>         at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
>         at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmProvider.java:354)
>         at org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.info(AbstractSvnScmProvider.java:375)
>         at org.codehaus.mojo.build.CreateMojo.info(CreateMojo.java:625)
>         at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:577)
>         ... 19 more
> Caused by: org.apache.maven.scm.ScmException: svn: '/some/path/project' is not a working copy
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:108)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeInfoCommand(SvnJavaInfoCommand.java:75)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeCommand(SvnJavaInfoCommand.java:52)
>         at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
>         ... 23 more
> Caused by: org.tmatesoft.svn.core.SVNException: svn: '/some/path/project' is not a working copy
>         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
>         at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:296)
>         at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:275)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3033)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2277)
>         at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2653)
>         at org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:92)
>         ... 26 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Thu Nov 05 14:05:02 CET 2009
> [INFO] Final Memory: 17M/30M
> [INFO] ------------------------------------------------------------------------

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email