Hello,
From the last version on "main"
Following the building instruction :
https://github.com/keycloak/keycloak/blob/main/docs/building.mdTo build only the server run:
mvn -Pdistribution -pl distribution/server-dist -am -Dmaven.test.skip clean install
But it doesn't works for me resulting in :
[ERROR] [ERROR] Could not find the selected project in the reactor: distribution/server-dist @
[ERROR] Could not find the selected project in the reactor: distribution/server-dist -> [Help 1]
org.apache.maven.MavenExecutionException: Could not find the selected project in the reactor: distribution/server-dist
at org.apache.maven.graph.DefaultGraphBuilder.trimSelectedProjects (DefaultGraphBuilder.java:172)
at org.apache.maven.graph.DefaultGraphBuilder.reactorDependencyGraph (DefaultGraphBuilder.java:124)
at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.java:84)
at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
Run on :
- Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
- JDK 11 and also tried with JDK 19