release please?

23 views
Skip to first unread message

Stephanie Wang

unread,
Jun 9, 2020, 11:36:45 AM6/9/20
to mojohaus-dev
Hi -- is it possible for us to do a release at your earliest convenience? We are waiting for a bug fix.

Thanks,
Stephanie

Karl Heinz Marbaise

unread,
Jun 9, 2020, 5:28:15 PM6/9/20
to mojohaus-dev
Hi,

can you tell about which plugin we are talking?

Kind regards
Karl Heinz

Stephanie Wang

unread,
Jun 9, 2020, 5:38:55 PM6/9/20
to mojoha...@googlegroups.com
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.

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


--

Stephanie Wang

stephwang@google.com

Developer Programs Engineer

BigQuery, Java

Olivier Lamy

unread,
Jun 9, 2020, 7:47:46 PM6/9/20
to mojoha...@googlegroups.com

Stephanie Wang

unread,
Jun 9, 2020, 8:51:29 PM6/9/20
to mojoha...@googlegroups.com

Olivier Lamy

unread,
Jun 9, 2020, 9:25:47 PM6/9/20
to mojoha...@googlegroups.com
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[ERROR] * no-overwrite-3.6.2-before/pom.xml
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)

Olivier Lamy

unread,
Jun 9, 2020, 9:37:57 PM6/9/20
to mojoha...@googlegroups.com

Nuoyu Yang

unread,
Jun 10, 2020, 12:32:14 PM6/10/20
to mojoha...@googlegroups.com
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. 


Nuoyu Yang

unread,
Jun 10, 2020, 8:04:50 PM6/10/20
to mojoha...@googlegroups.com
I have fixed the problem and set a PR. Please check it out.

All the changes in this pr:
  1. Fix the problem of parsing the Maven version by "./mvnw -v", the version may be the third or fourth word of the result. 
  2. Fix the problem of parsing the Maven version in Windows. Instead of "./mvnw -v", we need to use "mvnw.cmd -v".
  3. Fix the problem that the existing flattened pom is different from the pom we want to create since the line separator in Windows is "\r\n" instead of "\n"

Nuoyu Yang

unread,
Jun 12, 2020, 10:52:43 AM6/12/20
to mojohaus-dev
Hi,

Is there any other problems which block the new version release of flatten-maven-plugin? 

Best,
Nuoyu

Olivier Lamy

unread,
Jun 12, 2020, 8:22:43 PM6/12/20
to mojoha...@googlegroups.com
I looked at my Friday morning trying to understand why site failed (bloody cobertura w\ java11 then GitHub changes failure) then it was Friday arvo very sunny and awesome waves so I have been to a surf!
I will do it this Saturday morning (waves are not really good :)) probably without the website 

Stephanie Wang

unread,
Jun 12, 2020, 10:21:50 PM6/12/20
to mojoha...@googlegroups.com
Thank you -- please keep us posted.

Reply all
Reply to author
Forward
0 new messages