Re: Failing CI builds (was: Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki])

2023-10-19 Thread Arturo Bernal
Hi Juan Pablo,

I apologize for the confusion earlier. Upon further review, I realized that
the job is actually working fine. The issue was on my end; I made the PR
before the fix for the jobs was implemented. That's why I thought there was
a problem.

Thank you for your prompt response and advice. I appreciate your help.

Best regards,

Arturo


On Wed, Oct 18, 2023 at 11:55 PM Juan Pablo Santos Rodríguez <
[email protected]> wrote:

> Hi,
>
> Do you have the failing build at hand? Last build on master [#1] shows it
> finished ok, whereas the invalid file causing the issue [#2] looks ok on
> Nexus.
>
> If the issue is happening on your machine, perhaps that file is malformed
> on your .m2? In that case, deleting it there should be enough to fix the
> issue.
>
>
> Best regards,
> juan pablo
>
>
> [#1]
>
> https://ci-builds.apache.org/job/JSPWiki/job/ci/job/master/lastSuccessfulBuild/
> [#2
> 
> ]
>
> https://repository.apache.org/content/repositories/snapshots/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata.xml
>
> El mié, 18 oct 2023, 23:08, Arturo Bernal  escribió:
>
> > Hi JP, I just checked, and it seems the issue is still occurring.
> >
> > Could you please advise on what I might be doing wrong or what I should
> be
> > looking for?"
> >
> > Kind regards
> >
> > Arturo
> >
> >
> > On Sat, Oct 14, 2023 at 6:57 PM Arturo Bernal 
> wrote:
> >
> > > Tank you JP
> > >
> > > Arturo
> > >
> > >
> > > On Sat, Oct 14, 2023 at 3:47 PM Juan Pablo Santos Rodríguez <
> > > [email protected]> wrote:
> > >
> > >> Hi,
> > >>
> > >> Issue is fixed now, associated Jira had been resolved.
> > >>
> > >>
> > >> Cheers,
> > >> juan pablo
> > >>
> > >> El mié, 11 oct 2023, 10:31, Juan Pablo Santos Rodríguez <
> > >> [email protected]> escribió:
> > >>
> > >> > Hi,
> > >> >
> > >> > yup, noticed a couple of days ago, seems a malformed maven metadata
> > >> > file has been
> > >> > uploaded to the snapshots repository, making impossible to deploy a
> > >> > specific module. As
> > >> > our ci build automatically deploys snapshots, we're stucked there.
> > >> >
> > >> > Contacted infra a couple of days back about this [#1], but no
> answers
> > >> > yet; also opened
> > >> > a jira ticket today ([#2]) to track this.
> > >> >
> > >> >
> > >> > best regards,
> > >> > juan pablo
> > >> >
> > >> > [#1]
> https://lists.apache.org/thread/7w1gmzcr2xhgttssl0s83pv80h1szql8
> > >> > (needs asf login)
> > >> > [#2] https://issues.apache.org/jira/browse/INFRA-25078 (needs asf
> > >> login)
> > >> >
> > >> > On Wed, Oct 11, 2023 at 1:36 AM Murray Altheim <
> [email protected]>
> > >> > wrote:
> > >> > >
> > >> > > To be clear, in XML, comments are permitted in the XML Prolog
> > >> (Production
> > >> > > 22 in the XML spec) and the doctypedecl (Production 28), but I
> think
> > >> the
> > >> > > POM parser barfs on them.
> > >> > >
> > >> > > On 11/10/23 12:24, Murray Altheim wrote:
> > >> > > > Hi Arturo,
> > >> > > >
> > >> > > > Does there happen to be an XML comment between the 
> > >> declaration
> > >> > > > and the  start tag? That's what the error message
> > suggests.
> > >> > > >
> > >> > > > Cheers,
> > >> > > >
> > >> > > > Murray
> > >> > > >
> > >> > > > On 11/10/23 05:44, arturobernalg (via GitHub) wrote:
> > >> > > >>
> > >> > > >> arturobernalg commented on PR #312:
> > >> > > >> URL:
> > >> > https://github.com/apache/jspwiki/pull/312#issuecomment-1755833207
> > >> > > >>
> > >> > > >> @juanpablo-santos
> > >> > > >> I'm encountering the following error while when the CI is
> > >> running:
> > >> > > >> ```[ERROR] Failed to execute goal
> > >> > org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy
> > >> (default-deploy)
> > >> > on project jspwiki-wikipages-en: Failed to update metadata
> > >> > > >>
> > >> org.apache.jspwiki.wikipages:jspwiki-wikipages-en/maven-metadata.xml:
> > >> > Could not parse metadata
> > >> >
> > >>
> >
> /home/jenkins/.m2/repository/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata-apache.snapshots.https.xml:
> > >> > in epilog non
> > >> > > >> whitespace content is not allowed but got t (position: END_TAG
> > seen
> > >> > ...\nt... @12:2) -> [Help 1]
> > >> > > >> ```
> > >> > > >> This isn't the first time I've encountered this issue; I
> > faced
> > >> > the same error in another PR as well. Do you have any insights into
> > what
> > >> > might be causing it?"
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> ...
> > >> > > Murray Altheim 
> >  = =
> > >> > ===
> > >> > > http://www.altheim.com/murray/
> > >>  ===
> > >> > ===
> > >> > >
> >  =
> > >> =
> > >> > ===
> > >> > >  In the evening
> > >> > >  The rice leaves in the garden
> > >> > >  Rustle in the autumn wind
> > >> > >  That blows through my reed hut.
> > >> > > --

Re: Failing CI builds (was: Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki])

2023-10-18 Thread Juan Pablo Santos Rodríguez
Hi,

Do you have the failing build at hand? Last build on master [#1] shows it
finished ok, whereas the invalid file causing the issue [#2] looks ok on
Nexus.

If the issue is happening on your machine, perhaps that file is malformed
on your .m2? In that case, deleting it there should be enough to fix the
issue.


Best regards,
juan pablo


[#1]
https://ci-builds.apache.org/job/JSPWiki/job/ci/job/master/lastSuccessfulBuild/
[#2]
https://repository.apache.org/content/repositories/snapshots/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata.xml

El mié, 18 oct 2023, 23:08, Arturo Bernal  escribió:

> Hi JP, I just checked, and it seems the issue is still occurring.
>
> Could you please advise on what I might be doing wrong or what I should be
> looking for?"
>
> Kind regards
>
> Arturo
>
>
> On Sat, Oct 14, 2023 at 6:57 PM Arturo Bernal  wrote:
>
> > Tank you JP
> >
> > Arturo
> >
> >
> > On Sat, Oct 14, 2023 at 3:47 PM Juan Pablo Santos Rodríguez <
> > [email protected]> wrote:
> >
> >> Hi,
> >>
> >> Issue is fixed now, associated Jira had been resolved.
> >>
> >>
> >> Cheers,
> >> juan pablo
> >>
> >> El mié, 11 oct 2023, 10:31, Juan Pablo Santos Rodríguez <
> >> [email protected]> escribió:
> >>
> >> > Hi,
> >> >
> >> > yup, noticed a couple of days ago, seems a malformed maven metadata
> >> > file has been
> >> > uploaded to the snapshots repository, making impossible to deploy a
> >> > specific module. As
> >> > our ci build automatically deploys snapshots, we're stucked there.
> >> >
> >> > Contacted infra a couple of days back about this [#1], but no answers
> >> > yet; also opened
> >> > a jira ticket today ([#2]) to track this.
> >> >
> >> >
> >> > best regards,
> >> > juan pablo
> >> >
> >> > [#1] https://lists.apache.org/thread/7w1gmzcr2xhgttssl0s83pv80h1szql8
> >> > (needs asf login)
> >> > [#2] https://issues.apache.org/jira/browse/INFRA-25078 (needs asf
> >> login)
> >> >
> >> > On Wed, Oct 11, 2023 at 1:36 AM Murray Altheim 
> >> > wrote:
> >> > >
> >> > > To be clear, in XML, comments are permitted in the XML Prolog
> >> (Production
> >> > > 22 in the XML spec) and the doctypedecl (Production 28), but I think
> >> the
> >> > > POM parser barfs on them.
> >> > >
> >> > > On 11/10/23 12:24, Murray Altheim wrote:
> >> > > > Hi Arturo,
> >> > > >
> >> > > > Does there happen to be an XML comment between the 
> >> declaration
> >> > > > and the  start tag? That's what the error message
> suggests.
> >> > > >
> >> > > > Cheers,
> >> > > >
> >> > > > Murray
> >> > > >
> >> > > > On 11/10/23 05:44, arturobernalg (via GitHub) wrote:
> >> > > >>
> >> > > >> arturobernalg commented on PR #312:
> >> > > >> URL:
> >> > https://github.com/apache/jspwiki/pull/312#issuecomment-1755833207
> >> > > >>
> >> > > >> @juanpablo-santos
> >> > > >> I'm encountering the following error while when the CI is
> >> running:
> >> > > >> ```[ERROR] Failed to execute goal
> >> > org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy
> >> (default-deploy)
> >> > on project jspwiki-wikipages-en: Failed to update metadata
> >> > > >>
> >> org.apache.jspwiki.wikipages:jspwiki-wikipages-en/maven-metadata.xml:
> >> > Could not parse metadata
> >> >
> >>
> /home/jenkins/.m2/repository/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata-apache.snapshots.https.xml:
> >> > in epilog non
> >> > > >> whitespace content is not allowed but got t (position: END_TAG
> seen
> >> > ...\nt... @12:2) -> [Help 1]
> >> > > >> ```
> >> > > >> This isn't the first time I've encountered this issue; I
> faced
> >> > the same error in another PR as well. Do you have any insights into
> what
> >> > might be causing it?"
> >> > >
> >> > >
> >> >
> >>
> ...
> >> > > Murray Altheim 
>  = =
> >> > ===
> >> > > http://www.altheim.com/murray/
> >>  ===
> >> > ===
> >> > >
>  =
> >> =
> >> > ===
> >> > >  In the evening
> >> > >  The rice leaves in the garden
> >> > >  Rustle in the autumn wind
> >> > >  That blows through my reed hut.
> >> > > -- Minamoto no Tsunenobu
> >> > >
> >> >
> >>
> >
>


Re: Failing CI builds (was: Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki])

2023-10-18 Thread Arturo Bernal
Hi JP, I just checked, and it seems the issue is still occurring.

Could you please advise on what I might be doing wrong or what I should be
looking for?"

Kind regards

Arturo


On Sat, Oct 14, 2023 at 6:57 PM Arturo Bernal  wrote:

> Tank you JP
>
> Arturo
>
>
> On Sat, Oct 14, 2023 at 3:47 PM Juan Pablo Santos Rodríguez <
> [email protected]> wrote:
>
>> Hi,
>>
>> Issue is fixed now, associated Jira had been resolved.
>>
>>
>> Cheers,
>> juan pablo
>>
>> El mié, 11 oct 2023, 10:31, Juan Pablo Santos Rodríguez <
>> [email protected]> escribió:
>>
>> > Hi,
>> >
>> > yup, noticed a couple of days ago, seems a malformed maven metadata
>> > file has been
>> > uploaded to the snapshots repository, making impossible to deploy a
>> > specific module. As
>> > our ci build automatically deploys snapshots, we're stucked there.
>> >
>> > Contacted infra a couple of days back about this [#1], but no answers
>> > yet; also opened
>> > a jira ticket today ([#2]) to track this.
>> >
>> >
>> > best regards,
>> > juan pablo
>> >
>> > [#1] https://lists.apache.org/thread/7w1gmzcr2xhgttssl0s83pv80h1szql8
>> > (needs asf login)
>> > [#2] https://issues.apache.org/jira/browse/INFRA-25078 (needs asf
>> login)
>> >
>> > On Wed, Oct 11, 2023 at 1:36 AM Murray Altheim 
>> > wrote:
>> > >
>> > > To be clear, in XML, comments are permitted in the XML Prolog
>> (Production
>> > > 22 in the XML spec) and the doctypedecl (Production 28), but I think
>> the
>> > > POM parser barfs on them.
>> > >
>> > > On 11/10/23 12:24, Murray Altheim wrote:
>> > > > Hi Arturo,
>> > > >
>> > > > Does there happen to be an XML comment between the 
>> declaration
>> > > > and the  start tag? That's what the error message suggests.
>> > > >
>> > > > Cheers,
>> > > >
>> > > > Murray
>> > > >
>> > > > On 11/10/23 05:44, arturobernalg (via GitHub) wrote:
>> > > >>
>> > > >> arturobernalg commented on PR #312:
>> > > >> URL:
>> > https://github.com/apache/jspwiki/pull/312#issuecomment-1755833207
>> > > >>
>> > > >> @juanpablo-santos
>> > > >> I'm encountering the following error while when the CI is
>> running:
>> > > >> ```[ERROR] Failed to execute goal
>> > org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy
>> (default-deploy)
>> > on project jspwiki-wikipages-en: Failed to update metadata
>> > > >>
>> org.apache.jspwiki.wikipages:jspwiki-wikipages-en/maven-metadata.xml:
>> > Could not parse metadata
>> >
>> /home/jenkins/.m2/repository/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata-apache.snapshots.https.xml:
>> > in epilog non
>> > > >> whitespace content is not allowed but got t (position: END_TAG seen
>> > ...\nt... @12:2) -> [Help 1]
>> > > >> ```
>> > > >> This isn't the first time I've encountered this issue; I faced
>> > the same error in another PR as well. Do you have any insights into what
>> > might be causing it?"
>> > >
>> > >
>> >
>> ...
>> > > Murray Altheim= =
>> > ===
>> > > http://www.altheim.com/murray/
>>  ===
>> > ===
>> > > =
>> =
>> > ===
>> > >  In the evening
>> > >  The rice leaves in the garden
>> > >  Rustle in the autumn wind
>> > >  That blows through my reed hut.
>> > > -- Minamoto no Tsunenobu
>> > >
>> >
>>
>


Re: Failing CI builds (was: Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki])

2023-10-14 Thread Arturo Bernal
Tank you JP

Arturo


On Sat, Oct 14, 2023 at 3:47 PM Juan Pablo Santos Rodríguez <
[email protected]> wrote:

> Hi,
>
> Issue is fixed now, associated Jira had been resolved.
>
>
> Cheers,
> juan pablo
>
> El mié, 11 oct 2023, 10:31, Juan Pablo Santos Rodríguez <
> [email protected]> escribió:
>
> > Hi,
> >
> > yup, noticed a couple of days ago, seems a malformed maven metadata
> > file has been
> > uploaded to the snapshots repository, making impossible to deploy a
> > specific module. As
> > our ci build automatically deploys snapshots, we're stucked there.
> >
> > Contacted infra a couple of days back about this [#1], but no answers
> > yet; also opened
> > a jira ticket today ([#2]) to track this.
> >
> >
> > best regards,
> > juan pablo
> >
> > [#1] https://lists.apache.org/thread/7w1gmzcr2xhgttssl0s83pv80h1szql8
> > (needs asf login)
> > [#2] https://issues.apache.org/jira/browse/INFRA-25078 (needs asf login)
> >
> > On Wed, Oct 11, 2023 at 1:36 AM Murray Altheim 
> > wrote:
> > >
> > > To be clear, in XML, comments are permitted in the XML Prolog
> (Production
> > > 22 in the XML spec) and the doctypedecl (Production 28), but I think
> the
> > > POM parser barfs on them.
> > >
> > > On 11/10/23 12:24, Murray Altheim wrote:
> > > > Hi Arturo,
> > > >
> > > > Does there happen to be an XML comment between the  declaration
> > > > and the  start tag? That's what the error message suggests.
> > > >
> > > > Cheers,
> > > >
> > > > Murray
> > > >
> > > > On 11/10/23 05:44, arturobernalg (via GitHub) wrote:
> > > >>
> > > >> arturobernalg commented on PR #312:
> > > >> URL:
> > https://github.com/apache/jspwiki/pull/312#issuecomment-1755833207
> > > >>
> > > >> @juanpablo-santos
> > > >> I'm encountering the following error while when the CI is
> running:
> > > >> ```[ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy
> (default-deploy)
> > on project jspwiki-wikipages-en: Failed to update metadata
> > > >>
> org.apache.jspwiki.wikipages:jspwiki-wikipages-en/maven-metadata.xml:
> > Could not parse metadata
> >
> /home/jenkins/.m2/repository/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata-apache.snapshots.https.xml:
> > in epilog non
> > > >> whitespace content is not allowed but got t (position: END_TAG seen
> > ...\nt... @12:2) -> [Help 1]
> > > >> ```
> > > >> This isn't the first time I've encountered this issue; I faced
> > the same error in another PR as well. Do you have any insights into what
> > might be causing it?"
> > >
> > >
> >
> ...
> > > Murray Altheim= =
> > ===
> > > http://www.altheim.com/murray/ ===
> > ===
> > > = =
> > ===
> > >  In the evening
> > >  The rice leaves in the garden
> > >  Rustle in the autumn wind
> > >  That blows through my reed hut.
> > > -- Minamoto no Tsunenobu
> > >
> >
>


Re: Failing CI builds (was: Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki])

2023-10-14 Thread Juan Pablo Santos Rodríguez
Hi,

Issue is fixed now, associated Jira had been resolved.


Cheers,
juan pablo

El mié, 11 oct 2023, 10:31, Juan Pablo Santos Rodríguez <
[email protected]> escribió:

> Hi,
>
> yup, noticed a couple of days ago, seems a malformed maven metadata
> file has been
> uploaded to the snapshots repository, making impossible to deploy a
> specific module. As
> our ci build automatically deploys snapshots, we're stucked there.
>
> Contacted infra a couple of days back about this [#1], but no answers
> yet; also opened
> a jira ticket today ([#2]) to track this.
>
>
> best regards,
> juan pablo
>
> [#1] https://lists.apache.org/thread/7w1gmzcr2xhgttssl0s83pv80h1szql8
> (needs asf login)
> [#2] https://issues.apache.org/jira/browse/INFRA-25078 (needs asf login)
>
> On Wed, Oct 11, 2023 at 1:36 AM Murray Altheim 
> wrote:
> >
> > To be clear, in XML, comments are permitted in the XML Prolog (Production
> > 22 in the XML spec) and the doctypedecl (Production 28), but I think the
> > POM parser barfs on them.
> >
> > On 11/10/23 12:24, Murray Altheim wrote:
> > > Hi Arturo,
> > >
> > > Does there happen to be an XML comment between the  declaration
> > > and the  start tag? That's what the error message suggests.
> > >
> > > Cheers,
> > >
> > > Murray
> > >
> > > On 11/10/23 05:44, arturobernalg (via GitHub) wrote:
> > >>
> > >> arturobernalg commented on PR #312:
> > >> URL:
> https://github.com/apache/jspwiki/pull/312#issuecomment-1755833207
> > >>
> > >> @juanpablo-santos
> > >> I'm encountering the following error while when the CI is running:
> > >> ```[ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy)
> on project jspwiki-wikipages-en: Failed to update metadata
> > >> org.apache.jspwiki.wikipages:jspwiki-wikipages-en/maven-metadata.xml:
> Could not parse metadata
> /home/jenkins/.m2/repository/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata-apache.snapshots.https.xml:
> in epilog non
> > >> whitespace content is not allowed but got t (position: END_TAG seen
> ...\nt... @12:2) -> [Help 1]
> > >> ```
> > >> This isn't the first time I've encountered this issue; I faced
> the same error in another PR as well. Do you have any insights into what
> might be causing it?"
> >
> >
> ...
> > Murray Altheim= =
> ===
> > http://www.altheim.com/murray/ ===
> ===
> > = =
> ===
> >  In the evening
> >  The rice leaves in the garden
> >  Rustle in the autumn wind
> >  That blows through my reed hut.
> > -- Minamoto no Tsunenobu
> >
>


Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki]

2023-10-11 Thread via GitHub


arturobernalg merged PR #312:
URL: https://github.com/apache/jspwiki/pull/312


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Failing CI builds (was: Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki])

2023-10-11 Thread Juan Pablo Santos Rodríguez
Hi,

yup, noticed a couple of days ago, seems a malformed maven metadata
file has been
uploaded to the snapshots repository, making impossible to deploy a
specific module. As
our ci build automatically deploys snapshots, we're stucked there.

Contacted infra a couple of days back about this [#1], but no answers
yet; also opened
a jira ticket today ([#2]) to track this.


best regards,
juan pablo

[#1] https://lists.apache.org/thread/7w1gmzcr2xhgttssl0s83pv80h1szql8
(needs asf login)
[#2] https://issues.apache.org/jira/browse/INFRA-25078 (needs asf login)

On Wed, Oct 11, 2023 at 1:36 AM Murray Altheim  wrote:
>
> To be clear, in XML, comments are permitted in the XML Prolog (Production
> 22 in the XML spec) and the doctypedecl (Production 28), but I think the
> POM parser barfs on them.
>
> On 11/10/23 12:24, Murray Altheim wrote:
> > Hi Arturo,
> >
> > Does there happen to be an XML comment between the  declaration
> > and the  start tag? That's what the error message suggests.
> >
> > Cheers,
> >
> > Murray
> >
> > On 11/10/23 05:44, arturobernalg (via GitHub) wrote:
> >>
> >> arturobernalg commented on PR #312:
> >> URL: https://github.com/apache/jspwiki/pull/312#issuecomment-1755833207
> >>
> >> @juanpablo-santos
> >> I'm encountering the following error while when the CI is running:
> >> ```[ERROR] Failed to execute goal 
> >> org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) 
> >> on project jspwiki-wikipages-en: Failed to update metadata
> >> org.apache.jspwiki.wikipages:jspwiki-wikipages-en/maven-metadata.xml: 
> >> Could not parse metadata 
> >> /home/jenkins/.m2/repository/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata-apache.snapshots.https.xml:
> >>  in epilog non
> >> whitespace content is not allowed but got t (position: END_TAG seen 
> >> ...\nt... @12:2) -> [Help 1]
> >> ```
> >> This isn't the first time I've encountered this issue; I faced the 
> >> same error in another PR as well. Do you have any insights into what might 
> >> be causing it?"
>
> ...
> Murray Altheim= =  ===
> http://www.altheim.com/murray/ ===  ===
> = =  ===
>  In the evening
>  The rice leaves in the garden
>  Rustle in the autumn wind
>  That blows through my reed hut.
> -- Minamoto no Tsunenobu
>


Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki]

2023-10-10 Thread Murray Altheim

To be clear, in XML, comments are permitted in the XML Prolog (Production
22 in the XML spec) and the doctypedecl (Production 28), but I think the
POM parser barfs on them.

On 11/10/23 12:24, Murray Altheim wrote:

Hi Arturo,

Does there happen to be an XML comment between the  declaration
and the  start tag? That's what the error message suggests.

Cheers,

Murray

On 11/10/23 05:44, arturobernalg (via GitHub) wrote:


arturobernalg commented on PR #312:
URL: https://github.com/apache/jspwiki/pull/312#issuecomment-1755833207

    @juanpablo-santos
    I'm encountering the following error while when the CI is running:
    ```[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project jspwiki-wikipages-en: Failed to update metadata 
org.apache.jspwiki.wikipages:jspwiki-wikipages-en/maven-metadata.xml: Could not parse metadata /home/jenkins/.m2/repository/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata-apache.snapshots.https.xml: in epilog non 
whitespace content is not allowed but got t (position: END_TAG seen ...\nt... @12:2) -> [Help 1]

    ```
    This isn't the first time I've encountered this issue; I faced the same error in 
another PR as well. Do you have any insights into what might be causing it?"


...
Murray Altheim= =  ===
http://www.altheim.com/murray/ ===  ===
   = =  ===
In the evening
The rice leaves in the garden
Rustle in the autumn wind
That blows through my reed hut.
   -- Minamoto no Tsunenobu



Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki]

2023-10-10 Thread Murray Altheim

Hi Arturo,

Does there happen to be an XML comment between the  declaration
and the  start tag? That's what the error message suggests.

Cheers,

Murray

On 11/10/23 05:44, arturobernalg (via GitHub) wrote:


arturobernalg commented on PR #312:
URL: https://github.com/apache/jspwiki/pull/312#issuecomment-1755833207

@juanpablo-santos
I'm encountering the following error while when the CI is running:
```[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project 
jspwiki-wikipages-en: Failed to update metadata 
org.apache.jspwiki.wikipages:jspwiki-wikipages-en/maven-metadata.xml: Could not parse 
metadata 
/home/jenkins/.m2/repository/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata-apache.snapshots.https.xml:
 in epilog non whitespace content is not allowed but got t (position: END_TAG seen 
...\nt... @12:2) -> [Help 1]
```
This isn't the first time I've encountered this issue; I faced the same error in 
another PR as well. Do you have any insights into what might be causing it?"




--

...
Murray Altheim= =  ===
http://www.altheim.com/murray/ ===  ===
   = =  ===
In the evening
The rice leaves in the garden
Rustle in the autumn wind
That blows through my reed hut.
   -- Minamoto no Tsunenobu



Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki]

2023-10-10 Thread via GitHub


arturobernalg commented on PR #312:
URL: https://github.com/apache/jspwiki/pull/312#issuecomment-1755833207

   @juanpablo-santos 
   I'm encountering the following error while when the CI is running: 
   ```[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on 
project jspwiki-wikipages-en: Failed to update metadata 
org.apache.jspwiki.wikipages:jspwiki-wikipages-en/maven-metadata.xml: Could not 
parse metadata 
/home/jenkins/.m2/repository/org/apache/jspwiki/wikipages/jspwiki-wikipages-en/maven-metadata-apache.snapshots.https.xml:
 in epilog non whitespace content is not allowed but got t (position: END_TAG 
seen ...\nt... @12:2) -> [Help 1]
   ```
   This isn't the first time I've encountered this issue; I faced the same 
error in another PR as well. Do you have any insights into what might be 
causing it?"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages [jspwiki]

2023-10-10 Thread via GitHub


arturobernalg commented on PR #312:
URL: https://github.com/apache/jspwiki/pull/312#issuecomment-1755804657

   > Hi, lgtm!
   > 
   > agree on the ordering of the properties, should be done on a separate PR, 
probably renaming them according to where they are being used; right now they 
are ordered (more or less) following JSPs order.
   > 
   > cheers, juan pablo
   > 
   > p.s.: If it helps, we also have a 
[mini-guide](https://jspwiki-wiki.apache.org/Wiki.jsp?page=HowToI18n) stating 
the steps needed to locate missing i18n entries and the [translation 
status](https://jspwiki.apache.org/development/i18n.html) page, which is built 
with every commit.
   
   Hi @juanpablo-santos 
   
   Thank you for the tip. In this case i use a custom python 
   
   `def read_properties(file_path):
   properties = set()
   with open(file_path, 'r', encoding='ISO-8859-1') as f:
   for line in f:
   line = line.strip()
   if "=" not in line or line.startswith("#"):
   continue
   key = line.split("=", 1)[0].strip()
   properties.add(key)
   return properties
   
   
   file1_path = "PATH"  # Replace with your actual file path
   file2_path = "PATH2"  # Replace with your actual file path
   
   file1_properties = read_properties(file1_path)
   file2_properties = read_properties(file2_path)
   
   missing_in_file1 = file2_properties - file1_properties
   missing_in_file2 = file1_properties - file2_properties
   
   print("Properties missing in File 1:")
   for prop in missing_in_file1:
   print(prop)
   
   print("\nProperties missing in File 2:")
   for prop in missing_in_file2:
   print(prop)
   `
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



[PR] JSPWIKI-925 - Add Missing i18n Literals for Multiple Languages (jspwiki)

2023-10-08 Thread via GitHub


arturobernalg opened a new pull request, #312:
URL: https://github.com/apache/jspwiki/pull/312

   Description:
   
   This pull request addresses the missing i18n literals as outlined in 
[JSPWIKI-925](https://issues.apache.org/jira/browse/JSPWIKI-925). Missing 
entries have been added for various languages to their respective properties 
files.
   Languages Updated:
   
   German (de)
   Finnish (fi)
   French (fr)
   Italian (it)
   Dutch (nl)
   Brazilian Portuguese (pt_BR)
   Russian (ru)
   Simplified Chinese (zh_CN)
   
   Note on Ordering:
   
   The added literals are not in alphabetical order within the properties 
files. If alphabetical ordering is desired, this can be addressed in a separate 
ticket. In my opinion, that would be the appropriate course of action.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]