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