You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Hammant (JIRA)" <ji...@codehaus.org> on 2011/01/12 23:04:57 UTC

[jira] Created: (MNG-4970) DefaultArtifactVersioning.getNextIntegerToken() in maven-artifact-plugin causes lots of IllegalArgumentException on startup

DefaultArtifactVersioning.getNextIntegerToken() in maven-artifact-plugin causes lots of IllegalArgumentException on startup
---------------------------------------------------------------------------------------------------------------------------

                 Key: MNG-4970
                 URL: http://jira.codehaus.org/browse/MNG-4970
             Project: Maven 2 & 3
          Issue Type: Improvement
          Components: Bootstrap & Build
    Affects Versions: 2.2.1
            Reporter: Paul Hammant


This is because it calls Integer.parseInt().  Of course it catches that, but I'm trying to debug in IDEA other causes of IllegalArgumentException in my app, and your zillion throw/catch/consume is not helping me.

Perhaps you could do a string.charAt(i).isDigit() mechanism instead please ?

-- 
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] Updated: (MNG-4970) DefaultArtifactVersion.getNextIntegerToken() in maven-artifact causes lots of IllegalArgumentException on startup

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-4970:
-----------------------------------

    Summary: DefaultArtifactVersion.getNextIntegerToken() in maven-artifact causes lots of IllegalArgumentException on startup  (was: DefaultArtifactVersioning.getNextIntegerToken() in maven-artifact-plugin causes lots of IllegalArgumentException on startup)

> DefaultArtifactVersion.getNextIntegerToken() in maven-artifact causes lots of IllegalArgumentException on startup
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4970
>                 URL: http://jira.codehaus.org/browse/MNG-4970
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.2.1
>            Reporter: Paul Hammant
>
> This is because it calls Integer.parseInt().  Of course it catches that, but I'm trying to debug in IDEA other causes of IllegalArgumentException in my app, and your zillion throw/catch/consume is not helping me.
> Perhaps you could do a string.charAt(i).isDigit() mechanism instead please ?

-- 
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] Closed: (MNG-4970) DefaultArtifactVersion.getNextIntegerToken() in maven-artifact causes lots of IllegalArgumentException on startup

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-4970.
----------------------------------

    Resolution: Won't Fix
      Assignee: Benjamin Bentmann

Neither is another 2.x release planned nor do I see this including non-functional changes like this so I suggest you switch to Maven 3.x.

> DefaultArtifactVersion.getNextIntegerToken() in maven-artifact causes lots of IllegalArgumentException on startup
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4970
>                 URL: http://jira.codehaus.org/browse/MNG-4970
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.2.1
>            Reporter: Paul Hammant
>            Assignee: Benjamin Bentmann
>
> This is because it calls Integer.parseInt().  Of course it catches that, but I'm trying to debug in IDEA other causes of IllegalArgumentException in my app, and your zillion throw/catch/consume is not helping me.
> Perhaps you could do a string.charAt(i).isDigit() mechanism instead please ?

-- 
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] Updated: (MNG-4970) DefaultArtifactVersioning.getNextIntegerToken() in maven-artifact-plugin causes lots of IllegalArgumentException on startup

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-4970:
-----------------------------------

    Component/s:     (was: Bootstrap & Build)
                 Artifacts and Repositories

> DefaultArtifactVersioning.getNextIntegerToken() in maven-artifact-plugin causes lots of IllegalArgumentException on startup
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4970
>                 URL: http://jira.codehaus.org/browse/MNG-4970
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.2.1
>            Reporter: Paul Hammant
>
> This is because it calls Integer.parseInt().  Of course it catches that, but I'm trying to debug in IDEA other causes of IllegalArgumentException in my app, and your zillion throw/catch/consume is not helping me.
> Perhaps you could do a string.charAt(i).isDigit() mechanism instead please ?

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