Hi.

Le jeu. 11 juil. 2024 à 15:40, Alex Herbert <alex.d.herb...@gmail.com> a écrit :
>
> Hi Gilles,
>
> On Thu, 11 Jul 2024 at 13:30, Gilles Sadowski <gillese...@gmail.com> wrote:
>
> >
> > [In the cloned directory.]
> > Default maven goal succeeds.
> >
> > >
> > > mvn site
> >
> > The above goal fails:
> >  [...]
> >
> >
> I see the same behaviour:
>
> mvn -DskipTests      # OK
> mvn -DskipTests site       # Fails on the core module
> mvn -DskipTests package site      # OK

Indeed, it works here too.

But the Revapi report for "commons-rng-sampling" is empty, while
"japicmp" is not (many "METHOD_ADDED_TO_PUBLIC_CLASS").
[Not a problem for the release of course, if we trust either one.]

>
> # Using install:
> mvn clean
> mvn -DskipTests install
> mvn -DskipTests site       # Still fails on the core module (there is a jar
> in target)
> mvn clean
> mvn -DskipTests site       # Fails on the client-api module
> mvn -DskipTests -Drevapi.skip site       # Fails on japicmp on the
> client-api module
>
> # Ignore revapi but ensure the target folder has a jar file
> mvn -DskipTests
> mvn -DskipTests -Drevapi.skip site       # OK

This works too, but then
$ mvn -DskipTests -Drevapi.skip site:stage
fails:
---CUT---
[ERROR] Failed to execute goal on project commons-rng-core: Could not
resolve dependencies for project
org.apache.commons:commons-rng-core:jar:1.6: Failure to find
org.apache.commons:commons-rng-client-api:jar:1.6 in
https://repo.maven.apache.org/maven2 was cached in the local
repository, resolution will not be reattempted until the update
interval of central has elapsed or updates are forced -> [Help 1]
---CUT---

I ended up executing:
$ mvn -DskipTests package site site:stage
to generate the site/reports.

Maybe this command should be noted in step (5) of the "Validating a
release candidate" check list.

Each report's page looks a bit odd in the locally generated site: contents
is center-aligned with the left menu bar, while it's fine (top-aligned) on the
online site.  Also the logo is on the left in the local site (on the
right on the
online site (maybe a symptom that some CSS is missing?).
[Not a big issue now that we are almost permanently connected to the Web.]

Gilles

> [...]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to