And just as an afterthought...

This is clear example of "good outcome" of plugin warning, see this issue:
https://github.com/jacoco/jacoco/issues/1435

If these would NOT be shown by default to users, I assume this issue would
never be reported either.


T

On Mon, Jun 26, 2023 at 12:47 PM Tamás Cservenák <ta...@cservenak.net>
wrote:

> Howdy,
>
> created https://issues.apache.org/jira/browse/MNG-7826
> as it seems that:
> * jacoco 0.8.10 is "bad" in this respect (FTR is fixed but not yet
> released, see JIRA issue),
> * validation report by Maven 3.9.2 is correct,
> * while Maven 3.9.3 misses to report it
>
> This is not a deal-breaker, but seems we ended up on the other end of the
> horse now, at least regarding plugin validation :(
>
> On Sun, Jun 25, 2023 at 12:10 PM Karl Heinz Marbaise <khmarba...@gmx.de>
> wrote:
>
>> Hi,
>>
>> difference between Maven 3.9.2, getting the following output: (mvn clean
>> verify):
>>
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time:  2.397 s
>> [INFO] Finished at: 2023-06-25T11:48:38+02:00
>> [INFO]
>> ------------------------------------------------------------------------
>> [WARNING]
>> [WARNING] Plugin validation issues were detected in 2 plugin(s)
>> [WARNING]
>> [WARNING]  * org.jacoco:jacoco-maven-plugin:0.8.10
>> [WARNING]  * org.apache.maven.plugins:maven-site-plugin:3.12.1
>> [WARNING]
>> [WARNING] For more or less details, use 'maven.plugin.validation'
>> property with one of the values (case insensitive): [BRIEF, DEFAULT,
>> VERBOSE]
>> [WARNING]
>>
>> This is a good conclusion at the end of the build.
>>
>> Now using Maven 3.9.3:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time:  2.321 s
>> [INFO] Finished at: 2023-06-25T11:49:01+02:00
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> Not even the smallest hint.
>>
>> If I change the calling for Maven 3.9.3: (mvn clean verify
>> -Dmaven.plugin.validation=VERBOSE):
>>
>>
>> [INFO]
>> [INFO] --- jacoco:0.8.10:report (default) @ jdk21 ---
>> [INFO] Skipping JaCoCo execution due to missing execution data file.
>> [WARNING]
>> [WARNING] Plugin [INTERNAL, EXTERNAL] validation issues were detected in
>> following plugin(s)
>> [WARNING]
>> [WARNING]  * org.apache.maven.plugins:maven-site-plugin:3.12.1
>> [WARNING]   Declared at location(s):
>> [WARNING]    * com.soebes.smpp:smpp:6.0.3
>> (/Users/khm/.m2/repository/com/soebes/smpp/smpp/6.0.3/smpp-6.0.3.pom) @
>> line 580
>> [WARNING]   Plugin EXTERNAL issue(s):
>> [WARNING]    * Plugin depends on the deprecated Maven 2.x compatibility
>> layer, which will be not supported in Maven 4.x
>> [WARNING]   Mojo EXTERNAL issue(s):
>> [WARNING]    * Mojo site:attach-descriptor
>> (org.apache.maven.plugins.site.descriptor.SiteDescriptorAttachMojo)
>> [WARNING]      - Parameter 'localRepository' uses deprecated parameter
>> expression '${localRepository}': ArtifactRepository type is deprecated
>> and its use in Mojos should be avoided.
>> [WARNING]
>> [WARNING]
>> [WARNING] Fix reported issues by adjusting plugin configuration or by
>> upgrading above listed plugins. If no upgrade available, please notify
>> plugin maintainers about reported issues.
>> [WARNING] For more or less details, use 'maven.plugin.validation'
>> property with one of the values (case insensitive): [NONE, INLINE,
>> SUMMARY, BRIEF, VERBOSE]
>> [WARNING]
>>
>>
>> The interesting part here is that the jacoco-maven-plugin is NOT
>> reported at all for Maven 3.9.3.
>>
>> Does that mean the jacoco-maven-plugin is ok or not? Or was the
>> reporting in Maven 3.9.2 wrong?
>>
>>
>>  From my point of view the difference in behaviour is confusing...
>>
>>
>> +1 from me
>>
>> Kind regards
>> Karl Heinz Marbaise
>>
>> On 23.06.23 15:33, Tamás Cservenák wrote:
>> > Howdy,
>> >
>> > We solved 22 issues:
>> >
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316922&version=12353255
>> >
>> > There are still a couple of issues left in JIRA:
>> >
>> https://issues.apache.org/jira/issues/?jql=project%20%3D%20MNG%20AND%20resolution%20%3D%20Unresolved
>> >
>> > Staging repo:
>> > https://repository.apache.org/content/repositories/maven-1968/
>> >
>> > Dev dist directory:
>> > https://dist.apache.org/repos/dist/dev/maven/maven-3/3.9.3/
>> >
>> > Source release checksums:
>> > apache-maven-3.9.3-src.zip sha512:
>> >
>> a56a9e47e70ba8e3e83ff627b76a712c7b5bda59245d23bcbc541b2358b859f699d4916b7e715c45a5c336676b8b2ab0ab472dffc045ae4db635b21f7ddcc0c2
>> > apache-maven-3.9.3-src.tar.gz sha512:
>> >
>> 5511b20c36fd09a8ba7260bfa78d29bb683a04828c56e93d176768eb61cb07ab91f29db745460ce9784c84561f359497158f4c800142716d3e590ac2c333e8fb
>> >
>> > Binary release checksums:
>> > apache-maven-3.9.3-bin.zip sha512:
>> >
>> fba80f4bb0429052d558959b1bfbc99984f8cb8ff59a53baae0a0874b71a2601e2805c5e557b7b59d81716a0b4b35d1b2eeccb566c40b23cc575331a4984ef6c
>> > apache-maven-3.9.3-bin.tar.gz sha512:
>> >
>> 400fc5b6d000c158d5ee7937543faa06b6bda8408caa2444a9c947c21472fde0f0b64ac452b8cec8855d528c0335522ed5b6c8f77085811c7e29e1bedbb5daa2
>> >
>> > Staged site:
>> > https://maven.apache.org/ref/3-LATEST/
>> >
>> > Draft for release notes:
>> > https://github.com/apache/maven-site/pull/424
>> >
>> > Guide to testing staged releases:
>> > http://maven.apache.org/guides/development/guide-testing-releases.html
>> >
>> > Vote open for 72h
>> >
>> > [ ] +1
>> > [ ] +0
>> > [ ] -1
>> >
>>
>>

Reply via email to