You need to run "mvn install" to get the build to work properly
locally. This is due to some overlapping Maven hackery to bundle Java
9+ code back into the Java 8 code.

On Mon, Dec 20, 2021 at 4:00 PM Dan Kegel <[email protected]> wrote:
>
> I guess this is expected, but on my 2nd machine, I couldn't build the
> release branch because it couldn't find 2.17.1-SNAPSHOT stuff:
>
> [ERROR] Failed to execute goal on project log4j-1.2-api: Could not
> resolve dependencies for project
> org.apache.logging.log4j:log4j-1.2-api:jar:2.17.1-SNAPSHOT:
> org.apache.logging.log4j:log4j-core:jar:tests:2.17.1-SNAPSHOT was not
> found in https://repository.apache.org/snapshots during a previous
> attempt.
>
> After I locally reverted
> https://github.com/apache/logging-log4j2/commit/461dbf25944317de2e689bf6ab2eeb932f143bd4,
> it built ok.
>
> *shrug*
> - Dan

Reply via email to