Howdy,

Wow, there are a lot of moving parts.... release plugin, site (within
release?)...

Do you use any 3rd party extension maybe? (unsure what build cache is in
the realm of Maven 3.8.x, that works for you).

But my first guess is a change in aggregator behaviour (pre 3.9.0 it was
building ALL, in 3.9.0 it builds only what is aggregated).

Ideally we'd really need a reproducer, and possibly some logs/outputs of
what is actually happening here...

If possible, and allowed, you can send me privately a ZIP of logs, and will
handle it discreetly.

Thanks
T



On Wed, Feb 22, 2023 at 4:27 PM Jeremy Landis <jeremylan...@hotmail.com>
wrote:

> I don't have a sharable example at the moment to show but hope enough
> information here can spot the issue from one I just ran.  If any details
> missing, I can quickly apply more info.
>
> On multi module build, this is the steps.
>
> mvn release:clean -> ok
> mvn release:prepare -> ok
> mvn release:perform -> fails
>
> Failure is that it tries to run the maven-site-plugin at what seems the
> immediate start of the process.  These phases run...
>
> 1/3 -> perform:verify-completed-prepare-phases
> 2/3 -> perform:checkout-project-from-scm
> 3/3 -> perform:run-perform-goals
>
> First goal ran 'deploy site-deploy'
>
> Gets a warning: This build will only read from the build cache, since the
> clean lifecycle is not part of the build invocation.
>
> That seems suspect given its just checked it out so how can it use build
> cache there?  I did try a subsequent mvn clean release:perform which got
> through that, threw lots of enforcer errors for missing parts, then back to
> trying to run the site and same failure.
>
> The failure is that it didn't even build the product.  So site plugin gets
> error that the artifacts for the release version don't exist.
>
> All maven release plugin settings involved otherwise
>
> - addSchema set to false
> - arguments -Daether.checksums.algorithms=SHA-512,SHA-256,SHA-1, MD5
> - autoVersionSubmodules set to true
> - release profiles as release | sign
>
> Our release profile simply does this
>
> - skip versions plugin
> - skip dependency check plugin
> - skip license plugin
> - skip site deploy (strange that its doing site-deploy when we told it not
> to).  Executions on site are attach-descriptor, site, and jar.  We do not
> deploy to a site but we do release the jar of the site content.
> - javadocs run as goal jar, test-jar (with a skip on earlier general runs
> we do for checking)
> - jar plugin we run test-jar
> - source plugin we run jar-no-fork and test-jar-no-fork
>
> Our sign profile
>
> - Runs sign goal of gpg plugin
>
> Versions involved
>
> - site 3.12.1
> - release plugin version 3.0.0-M7
>
> All our plugins are up to date as of 12/21/2022.
>
> I know having a real life one to test with would be easier and I can work
> on getting one together for that purpose but hoping its something obvious
> that rings some bells as to why the behaviour is that way.
>
> Thanks,
>
> Jeremy Landis
>
>
> -----Original Message-----
> From: Jeremy Landis <jeremylan...@hotmail.com>
> Sent: Monday, February 20, 2023 11:32 AM
> To: Maven Developers List <dev@maven.apache.org>
> Subject: Re: [HEADS UP] Maven Release 3.9.1 coming soon
>
> Not yet.  I'll work on getting that together.  For now we easily enough
> drop back to 3.8.7 in those cases as we exclusively use the maven wrapper.
> So it has not been super critical for us yet.
>
> Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for Android<
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2FAAb9ysg&data=05%7C01%7C%7C837778bb457f4545139b08db1360021c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638125075294386839%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FQBCk13PtoUsObKw6L2O4ocrWqjjzdb0kKWMpHdU54M%3D&reserved=0
> >
> ________________________________
> From: Tamás Cservenák <ta...@cservenak.net>
> Sent: Monday, February 20, 2023 11:24:58 AM
> To: Maven Developers List <dev@maven.apache.org>
> Subject: Re: [HEADS UP] Maven Release 3.9.1 coming soon
>
> Jeremy,
>
> Any specifics about the problems you face? And ideally a reproducer?
>
> Thanks
> T
>
> On Mon, Feb 20, 2023, 17:21 Jeremy Landis <jeremylan...@hotmail.com>
> wrote:
>
> > We have been unable to release multi module builds with maven 3 9.0.
> > It seems the site has major problems trying to resolve the build
> artifacts.
> > Has this been reported yet or do any of the resolver items fix that?
> > Single module releases using identical configuration release fine.
> >
> > Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for
> > Android<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F
> > %2Faka.ms%2FAAb9ysg&data=05%7C01%7C%7C837778bb457f4545139b08db1360021c
> > %7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638125075294386839%7CUnk
> > nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWw
> > iLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FQBCk13PtoUsObKw6L2O4ocrWqjjzd
> > b0kKWMpHdU54M%3D&reserved=0>
> > ________________________________
> > From: Elliotte Rusty Harold <elh...@ibiblio.org>
> > Sent: Monday, February 20, 2023 9:52:44 AM
> > To: Maven Developers List <dev@maven.apache.org>
> > Subject: Re: [HEADS UP] Maven Release 3.9.1 coming soon
> >
> > IMHO MNG-7700 and MNG-7701 are blockers. MNG-7704 is not a blocker.
> > MNG-7703 I'm not sure of, but probably not.
> >
> > On Mon, Feb 20, 2023 at 12:05 PM Michael Osipov <micha...@apache.org>
> > wrote:
> > >
> > > Am 2023-02-20 um 12:40 schrieb Tamás Cservenák:
> > > > Howdy,
> > > >
> > > > The release of Maven 3.9.1, if nothing unexpected comes up, is to
> > happen
> > > > around next week (most of the issues will be fixed once resolver
> > > > upped
> > to
> > > > newly released 1.9.5):
> > > >
> > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissue
> > s.apache.org%2Fjira%2Fissues%2F%3Fjql%3Dproject%2520%253D%2520MNG%2520
> > AND%2520fixVersion%2520%253D%25203.9.1&data=05%7C01%7C%7C837778bb457f4
> > 545139b08db1360021c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C63812
> > 5075294386839%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu
> > MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sPUF4zeBsSM4K
> > Y4mS3pa17bbvi6AtFMoKZIheb7Ngpg%3D&reserved=0
> > > >
> > > > Notable fixes
> > > > - The 10% slowness is gone (introduced with 3.9.0)
> > > > - The endless loops with webjars is fixed (long time existing
> > > > issue)
> > > > - The IAEx with sha1-like (hex) versions is fixed (long time
> > > > existing
> > issue)
> > >
> > > This release would be incomplete:
> > >
> > > * This must be fixed:
> > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissue
> > s.apache.org%2Fjira%2Fbrowse%2FMNG-7679&data=05%7C01%7C%7C837778bb457f
> > 4545139b08db1360021c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C6381
> > 25075294386839%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l
> > uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jskDY4aC8k0U
> > LFtCYmfTLagy9FVxiUSNoVZ62tdT1i4%3D&reserved=0
> > > * These two need to be discussed whether some action is needed:
> > > **
> > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissue
> > s.apache.org%2Fjira%2Fbrowse%2FMNG-7700&data=05%7C01%7C%7C837778bb457f
> > 4545139b08db1360021c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C6381
> > 25075294386839%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l
> > uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=unjbDFuKBrZE
> > azJZXnw0Ttq%2FxpKZNjLjLJHjkyuUbfI%3D&reserved=0
> > > **
> > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissue
> > s.apache.org%2Fjira%2Fbrowse%2FMNG-7701&data=05%7C01%7C%7C837778bb457f
> > 4545139b08db1360021c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C6381
> > 25075294386839%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l
> > uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=68QR2cIpXPuI
> > PLD%2BpSsTvrU3BfOKD2N4bgtro6Ag9Fk%3D&reserved=0
> > >
> > > M
> > >
> >
> >
> > --
> > Elliotte Rusty Harold
> > elh...@ibiblio.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For
> > additional commands, e-mail: dev-h...@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to