[
https://issues.apache.org/jira/browse/SCM-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962551#comment-17962551
]
ASF GitHub Bot commented on SCM-683:
------------------------------------
jira-importer opened a new issue, #891:
URL: https://github.com/apache/maven-scm/issues/891
**[Kristian
Schuhmacher](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kschuhmacher)**
opened
**[SCM-683](https://issues.apache.org/jira/browse/SCM-683?redirect=false)** and
commented
Hi,
I have tried to use Integrity plugin, and am having an issue with the date
when using the German Locale - it cannot be parsed.
This is the error:
******************************
[ERROR] [14:25:17.239] Failed to date string: 27.06.2012 MESZ
[DEBUG] [14:25:17.239] 26.06.2012 MESZ 1.1 Schuhmacher, Kristian
(kschuhmacher)
******************************
Here is part of an email from Cletus D'Souza who wrote the Integrity plugin
for Maven:
******************************
"However, I've not done any localization testing, so it is quite possible
that the code doesn't handle other locales (other than US). It would have been
easier to support multiple locales, if the Integrity API supported all the
commands that I have to execute for the Maven integration. Unfortunately, some
commands are executed using the CLI and then I parse the output. This is
probably one of the cases where parsing the CLI output for a date string in a
different locale does not work."
******************************
Although the build is completing successfully, because of these errors,
nothing actually happens, ie no data from Integrity is displayed to me when I
try to view this in my build manager (Sonar).
Kristian Schuhmacher
Amadeus Germany GmbH
---
**Affects:** 1.6
> Date issue with German Locale
> -----------------------------
>
> Key: SCM-683
> URL: https://issues.apache.org/jira/browse/SCM-683
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-provider-integrity
> Affects Versions: 1.6
> Environment: Windows XP SP3 German Locale
> Reporter: Kristian Schuhmacher
> Assignee: Robert Scholte
> Priority: Major
>
> Hi,
> I have tried to use Integrity plugin, and am having an issue with the date
> when using the German Locale - it cannot be parsed.
> This is the error:
> ******************************
> [ERROR] [14:25:17.239] Failed to date string: 27.06.2012 MESZ
> [DEBUG] [14:25:17.239] 26.06.2012 MESZ 1.1 Schuhmacher, Kristian
> (kschuhmacher)
> ******************************
> Here is part of an email from Cletus D'Souza who wrote the Integrity plugin
> for Maven:
> ******************************
> "However, I've not done any localization testing, so it is quite possible
> that the code doesn't handle other locales (other than US). It would have
> been easier to support multiple locales, if the Integrity API supported all
> the commands that I have to execute for the Maven integration. Unfortunately,
> some commands are executed using the CLI and then I parse the output. This is
> probably one of the cases where parsing the CLI output for a date string in a
> different locale does not work."
> ******************************
> Although the build is completing successfully, because of these errors,
> nothing actually happens, ie no data from Integrity is displayed to me when I
> try to view this in my build manager (Sonar).
> Kristian Schuhmacher
> Amadeus Germany GmbH
--
This message was sent by Atlassian Jira
(v8.20.10#820010)