I find where the problem is: I used bash command "./mvnw -v" to get the
version of Maven in these two tests. It will return a string printed as
this:

/home/yangnuoyu/maven-projects/flatten-maven-plugin
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home:
/home/yangnuoyu/.m2/wrapper/dists/apache-maven-3.6.3-bin/lm9vem38rfmjij3jj0mk5bvnt/apache-maven-3.6.3
Java version: 1.8.0_251, vendor: Oracle Corporation, runtime:
/usr/java/jdk1.8.0_251/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.19.98-08076-g24ab33fb8e14", arch: "amd64",
family: "unix"

When I set a PR for these tests, the path in the first line was not part of
the result so the version was the third element when I splitted it. For
now, it seems like the path suddenly becomes a part of the string so the
version becomes the fourth element after splitting.

I will set another pull request soon to fix the problem.


On Tue, Jun 9, 2020 at 6:37 PM Olivier Lamy <oliver.l...@gmail.com> wrote:

> definitely failing see gh actions here
> https://github.com/mojohaus/flatten-maven-plugin/actions/runs/130457854
>
>
> On Wed, 10 Jun 2020 at 11:25, Olivier Lamy <oliver.l...@gmail.com> wrote:
>
>> not really dig into it but I get failures locally using maven 3.6.3
>> Using
>>
>> ./mvnw clean verify -Prun-its
>>
>> [ERROR] The following builds failed:
>> 1672
>> <https://github.com/olamy/flatten-maven-plugin/runs/756130392?check_suite_focus=true#step:5:1672>[ERROR]
>> * no-overwrite-3.6.2-before/pom.xml
>> 1673
>> <https://github.com/olamy/flatten-maven-plugin/runs/756130392?check_suite_focus=true#step:5:1673>[ERROR]
>> * no-overwrite-3.6.3-later/pom.xml
>>
>> Log
>>
>> Running post-build script:
>> /Users/olamy/dev/sources/open-sources/mojohaus/flatten-maven-plugin/target/it/no-overwrite-3.6.3-later/verify.groovy
>>
>> java.lang.NumberFormatException: For input string: "Maven"
>>
>>         at
>> java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>>
>>         at java.base/java.lang.Integer.parseInt(Integer.java:652)
>>
>>         at java.base/java.lang.Integer.valueOf(Integer.java:983)
>>
>>
>> And
>>
>>
>> Running post-build script:
>> /Users/olamy/dev/sources/open-sources/mojohaus/flatten-maven-plugin/target/it/no-overwrite-3.6.2-before/verify.groovy
>>
>> java.lang.NumberFormatException: For input string: "Maven"
>>
>>         at
>> java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>>
>>         at java.base/java.lang.Integer.parseInt(Integer.java:652)
>>
>>         at java.base/java.lang.Integer.valueOf(Integer.java:983)
>>
>> On Wed, 10 Jun 2020 at 10:51, 'Stephanie Wang' via mojohaus-dev <
>> mojohaus-dev@googlegroups.com> wrote:
>>
>>> thank you!
>>>
>>> On Tue, Jun 9, 2020 at 7:47 PM Olivier Lamy <oliver.l...@gmail.com>
>>> wrote:
>>>
>>>> I can look at this now
>>>>
>>>> On Wed, 10 Jun 2020 at 07:38, 'Stephanie Wang' via mojohaus-dev <
>>>> mojohaus-dev@googlegroups.com> wrote:
>>>>
>>>>> Hi Karl -- the flatten-maven-plugin please. We're waiting on
>>>>> https://github.com/mojohaus/flatten-maven-plugin/pull/155 to be
>>>>> rolled out specifically so we can continue adoption across GCP Java 
>>>>> clients.
>>>>>
>>>>> On Tue, Jun 9, 2020 at 5:28 PM Karl Heinz Marbaise <goo...@soebes.de>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> can you tell about which plugin we are talking?
>>>>>>
>>>>>> Kind regards
>>>>>> Karl Heinz
>>>>>>
>>>>>> On Tuesday, June 9, 2020 at 5:36:45 PM UTC+2, Stephanie Wang wrote:
>>>>>>>
>>>>>>> Hi -- is it possible for us to do a release at your earliest
>>>>>>> convenience? We are waiting for a bug fix.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Stephanie
>>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "mojohaus-dev" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to mojohaus-dev+unsubscr...@googlegroups.com.
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/mojohaus-dev/d19a435d-8227-4a72-a256-ce5151866a4do%40googlegroups.com
>>>>>> <https://groups.google.com/d/msgid/mojohaus-dev/d19a435d-8227-4a72-a256-ce5151866a4do%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Stephanie Wang*
>>>>>
>>>>> stephw...@google.com
>>>>>
>>>>> Developer Programs Engineer
>>>>>
>>>>> BigQuery, Java
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "mojohaus-dev" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to mojohaus-dev+unsubscr...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/mojohaus-dev/CAFzfq_69sJpGF_HYQSjmzL458Nmx5rRKvEBQ4kNdXXkHe8NzKw%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/mojohaus-dev/CAFzfq_69sJpGF_HYQSjmzL458Nmx5rRKvEBQ4kNdXXkHe8NzKw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>
>>>>
>>>> --
>>>> Olivier Lamy
>>>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "mojohaus-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to mojohaus-dev+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/mojohaus-dev/CAPoyBqRrdCnHO-rTqm3P8cHcD8puvEdS5uw7A-KYtAKmxYTrDw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/mojohaus-dev/CAPoyBqRrdCnHO-rTqm3P8cHcD8puvEdS5uw7A-KYtAKmxYTrDw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> --
>>>
>>> *Stephanie Wang*
>>>
>>> stephw...@google.com
>>>
>>> Developer Programs Engineer
>>>
>>> BigQuery, Java
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "mojohaus-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to mojohaus-dev+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/mojohaus-dev/CAFzfq_7QJ3bLwyJ2j4MtdyZMJQpQ3NXb4eqNm6SU4%2BfHa%2B3KvA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/mojohaus-dev/CAFzfq_7QJ3bLwyJ2j4MtdyZMJQpQ3NXb4eqNm6SU4%2BfHa%2B3KvA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> Olivier Lamy
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> --
> You received this message because you are subscribed to the Google Groups
> "mojohaus-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mojohaus-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mojohaus-dev/CAPoyBqS%2BDXR%3D%2BwC4-orYS-Uzk11oru33f_A6tFdOEtWZ1b%2B9yQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/mojohaus-dev/CAPoyBqS%2BDXR%3D%2BwC4-orYS-Uzk11oru33f_A6tFdOEtWZ1b%2B9yQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojohaus-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojohaus-dev/CAE5nLRC5ifLrCJCumK7XxWP2sXb9kNxBVoAkn8_DXxkR3bBsfA%40mail.gmail.com.

Reply via email to