You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "dion gillard (JIRA)" <ji...@codehaus.org> on 2007/07/05 01:25:13 UTC

[jira] Created: (MPSCM-97) scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException

scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException
---------------------------------------------------------------------------

                 Key: MPSCM-97
                 URL: http://jira.codehaus.org/browse/MPSCM-97
             Project: Maven 1.x SCM Plugin
          Issue Type: Bug
    Affects Versions: 1.6.1
         Environment: Windows XP, Subversion, Maven 1.1 release
            Reporter: dion gillard
            Priority: Critical


Here's the output:

[echo] Updating from SCM
[INFO] Executing: svn --username ** --password ** --non-interactive update
Executing: svn --username ** --password ** --non-interactive update
[INFO] Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
-------------------------------------------------------------------------------
>> Unable to obtain goal [updateAll]
>> Unable to obtain goal [scm:update]
>> org/apache/regexp/RESyntaxException
-------------------------------------------------------------------------------
BUILD FAILED
-------------------------------------------------------------------------------
Total time : 33 seconds
Finished at : Wednesday, 4 July 2007 08:18:43 PM
Final Memory : 13M/59M
-------------------------------------------------------------------------------

Adding jakarta-regexp-1.4.jar to the dependencies of the scm 1.6.1 project.xml seems to fix the issue.

-- 
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: (MPSCM-97) scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException

Posted by "dion gillard (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSCM-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101662 ] 

dion gillard edited comment on MPSCM-97 at 7/8/07 8:57 PM:
-----------------------------------------------------------

The provided snapshot has:

    <dependency>
      <groupId>regexp</groupId>
      <artifactId>regexp</artifactId>
      <version>1.3</version>
    </dependency>

This does not work.

I will try again using 1.4, as in my original statement.

It looks like we also had an scm plugin dependency on a project. I'll test the 1.4 scenario and if that works, try the SNAPSHOT as provided again.


 was:
The provided snapshot has:

    <dependency>
      <groupId>regexp</groupId>
      <artifactId>regexp</artifactId>
      <version>1.3</version>
    </dependency>

This does not work.

I will try again using 1.4, as in my original statement.

> scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException
> ---------------------------------------------------------------------------
>
>                 Key: MPSCM-97
>                 URL: http://jira.codehaus.org/browse/MPSCM-97
>             Project: Maven 1.x SCM Plugin
>          Issue Type: Bug
>    Affects Versions: 1.6.1
>         Environment: Windows XP, Subversion, Maven 1.1 release
>            Reporter: dion gillard
>            Assignee: Lukas Theussl
>            Priority: Critical
>
> Here's the output:
> [echo] Updating from SCM
> [INFO] Executing: svn --username ** --password ** --non-interactive update
> Executing: svn --username ** --password ** --non-interactive update
> [INFO] Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> -------------------------------------------------------------------------------
> >> Unable to obtain goal [updateAll]
> >> Unable to obtain goal [scm:update]
> >> org/apache/regexp/RESyntaxException
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time : 33 seconds
> Finished at : Wednesday, 4 July 2007 08:18:43 PM
> Final Memory : 13M/59M
> -------------------------------------------------------------------------------
> Adding jakarta-regexp-1.4.jar to the dependencies of the scm 1.6.1 project.xml seems to fix the issue.

-- 
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: (MPSCM-97) scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSCM-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101302 ] 

Lukas Theussl commented on MPSCM-97:
------------------------------------

Ok, I could reproduce: it only happens when there are remote changes to update. I deployed a snapshot, can you test:

maven plugin:download -Dmaven.repo.remote=http://people.apache.org/repo/m1-snapshot-repository/,http://repo1.maven.org/maven -DgroupId=maven -DartifactId=maven-scm-plugin -Dversion=1.6.2-SNAPSHOT


> scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException
> ---------------------------------------------------------------------------
>
>                 Key: MPSCM-97
>                 URL: http://jira.codehaus.org/browse/MPSCM-97
>             Project: Maven 1.x SCM Plugin
>          Issue Type: Bug
>    Affects Versions: 1.6.1
>         Environment: Windows XP, Subversion, Maven 1.1 release
>            Reporter: dion gillard
>            Assignee: Lukas Theussl
>            Priority: Critical
>
> Here's the output:
> [echo] Updating from SCM
> [INFO] Executing: svn --username ** --password ** --non-interactive update
> Executing: svn --username ** --password ** --non-interactive update
> [INFO] Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> -------------------------------------------------------------------------------
> >> Unable to obtain goal [updateAll]
> >> Unable to obtain goal [scm:update]
> >> org/apache/regexp/RESyntaxException
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time : 33 seconds
> Finished at : Wednesday, 4 July 2007 08:18:43 PM
> Final Memory : 13M/59M
> -------------------------------------------------------------------------------
> Adding jakarta-regexp-1.4.jar to the dependencies of the scm 1.6.1 project.xml seems to fix the issue.

-- 
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: (MPSCM-97) scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException

Posted by "dion gillard (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSCM-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101335 ] 

dion gillard commented on MPSCM-97:
-----------------------------------

Thanks Lukas,

I'll give it a go tomorrow morning, i.e. 10 hours from now.

> scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException
> ---------------------------------------------------------------------------
>
>                 Key: MPSCM-97
>                 URL: http://jira.codehaus.org/browse/MPSCM-97
>             Project: Maven 1.x SCM Plugin
>          Issue Type: Bug
>    Affects Versions: 1.6.1
>         Environment: Windows XP, Subversion, Maven 1.1 release
>            Reporter: dion gillard
>            Assignee: Lukas Theussl
>            Priority: Critical
>
> Here's the output:
> [echo] Updating from SCM
> [INFO] Executing: svn --username ** --password ** --non-interactive update
> Executing: svn --username ** --password ** --non-interactive update
> [INFO] Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> -------------------------------------------------------------------------------
> >> Unable to obtain goal [updateAll]
> >> Unable to obtain goal [scm:update]
> >> org/apache/regexp/RESyntaxException
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time : 33 seconds
> Finished at : Wednesday, 4 July 2007 08:18:43 PM
> Final Memory : 13M/59M
> -------------------------------------------------------------------------------
> Adding jakarta-regexp-1.4.jar to the dependencies of the scm 1.6.1 project.xml seems to fix the issue.

-- 
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: (MPSCM-97) scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException

Posted by "dion gillard (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSCM-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101676 ] 

dion gillard commented on MPSCM-97:
-----------------------------------

Will re-check if 1.3 is working ok for me.

v1.4 is jakarta-regexp-1.4.jar and is found in http://repo1.maven.org/maven/jakarta-regexp/jars/ 

> scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException
> ---------------------------------------------------------------------------
>
>                 Key: MPSCM-97
>                 URL: http://jira.codehaus.org/browse/MPSCM-97
>             Project: Maven 1.x SCM Plugin
>          Issue Type: Bug
>    Affects Versions: 1.6.1
>         Environment: Windows XP, Subversion, Maven 1.1 release
>            Reporter: dion gillard
>            Assignee: Lukas Theussl
>            Priority: Critical
>
> Here's the output:
> [echo] Updating from SCM
> [INFO] Executing: svn --username ** --password ** --non-interactive update
> Executing: svn --username ** --password ** --non-interactive update
> [INFO] Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> -------------------------------------------------------------------------------
> >> Unable to obtain goal [updateAll]
> >> Unable to obtain goal [scm:update]
> >> org/apache/regexp/RESyntaxException
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time : 33 seconds
> Finished at : Wednesday, 4 July 2007 08:18:43 PM
> Final Memory : 13M/59M
> -------------------------------------------------------------------------------
> Adding jakarta-regexp-1.4.jar to the dependencies of the scm 1.6.1 project.xml seems to fix the issue.

-- 
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: (MPSCM-97) scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException

Posted by "dion gillard (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSCM-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101662 ] 

dion gillard commented on MPSCM-97:
-----------------------------------

The provided snapshot has:

    <dependency>
      <groupId>regexp</groupId>
      <artifactId>regexp</artifactId>
      <version>1.3</version>
    </dependency>

This does not work.

I will try again using 1.4, as in my original statement.

> scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException
> ---------------------------------------------------------------------------
>
>                 Key: MPSCM-97
>                 URL: http://jira.codehaus.org/browse/MPSCM-97
>             Project: Maven 1.x SCM Plugin
>          Issue Type: Bug
>    Affects Versions: 1.6.1
>         Environment: Windows XP, Subversion, Maven 1.1 release
>            Reporter: dion gillard
>            Assignee: Lukas Theussl
>            Priority: Critical
>
> Here's the output:
> [echo] Updating from SCM
> [INFO] Executing: svn --username ** --password ** --non-interactive update
> Executing: svn --username ** --password ** --non-interactive update
> [INFO] Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> -------------------------------------------------------------------------------
> >> Unable to obtain goal [updateAll]
> >> Unable to obtain goal [scm:update]
> >> org/apache/regexp/RESyntaxException
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time : 33 seconds
> Finished at : Wednesday, 4 July 2007 08:18:43 PM
> Final Memory : 13M/59M
> -------------------------------------------------------------------------------
> Adding jakarta-regexp-1.4.jar to the dependencies of the scm 1.6.1 project.xml seems to fix the issue.

-- 
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: (MPSCM-97) scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSCM-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101291 ] 

Lukas Theussl commented on MPSCM-97:
------------------------------------

Can you provide more information? Under which circumstances does this happen? I can't reproduce.

> scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException
> ---------------------------------------------------------------------------
>
>                 Key: MPSCM-97
>                 URL: http://jira.codehaus.org/browse/MPSCM-97
>             Project: Maven 1.x SCM Plugin
>          Issue Type: Bug
>    Affects Versions: 1.6.1
>         Environment: Windows XP, Subversion, Maven 1.1 release
>            Reporter: dion gillard
>            Priority: Critical
>
> Here's the output:
> [echo] Updating from SCM
> [INFO] Executing: svn --username ** --password ** --non-interactive update
> Executing: svn --username ** --password ** --non-interactive update
> [INFO] Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> -------------------------------------------------------------------------------
> >> Unable to obtain goal [updateAll]
> >> Unable to obtain goal [scm:update]
> >> org/apache/regexp/RESyntaxException
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time : 33 seconds
> Finished at : Wednesday, 4 July 2007 08:18:43 PM
> Final Memory : 13M/59M
> -------------------------------------------------------------------------------
> Adding jakarta-regexp-1.4.jar to the dependencies of the scm 1.6.1 project.xml seems to fix the issue.

-- 
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: (MPSCM-97) scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSCM-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101673 ] 

Lukas Theussl commented on MPSCM-97:
------------------------------------

v 1.3 of regexp is the one used by maven-scm-provider-svnexe. Also I don't see v 1.4 in central ( http://repo1.maven.org/maven/regexp/jars/ ) nor in the m2 repo ( http://repo1.maven.org/maven2/regexp/regexp/ )...

Why doesn't it work for you? It fixed the problem for me...

> scm:update fails with NoClassDefFound on Jakarta-Regexp's RESyntaxException
> ---------------------------------------------------------------------------
>
>                 Key: MPSCM-97
>                 URL: http://jira.codehaus.org/browse/MPSCM-97
>             Project: Maven 1.x SCM Plugin
>          Issue Type: Bug
>    Affects Versions: 1.6.1
>         Environment: Windows XP, Subversion, Maven 1.1 release
>            Reporter: dion gillard
>            Assignee: Lukas Theussl
>            Priority: Critical
>
> Here's the output:
> [echo] Updating from SCM
> [INFO] Executing: svn --username ** --password ** --non-interactive update
> Executing: svn --username ** --password ** --non-interactive update
> [INFO] Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> Working directory: D:\CruiseControl\deployment\checkouts\Deployment\..\InterfacesEJB
> -------------------------------------------------------------------------------
> >> Unable to obtain goal [updateAll]
> >> Unable to obtain goal [scm:update]
> >> org/apache/regexp/RESyntaxException
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time : 33 seconds
> Finished at : Wednesday, 4 July 2007 08:18:43 PM
> Final Memory : 13M/59M
> -------------------------------------------------------------------------------
> Adding jakarta-regexp-1.4.jar to the dependencies of the scm 1.6.1 project.xml seems to fix the issue.

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