Could not find the selected project in the reactor: distribution/server-dist

483 views
Skip to first unread message

Axel

unread,
Jan 5, 2023, 7:39:02 AM1/5/23
to Keycloak Dev
Hello,

From the last version on "main"

Following the building instruction :

https://github.com/keycloak/keycloak/blob/main/docs/building.md

To 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


Nagarjun Repala

unread,
Feb 11, 2023, 3:18:31 AM2/11/23
to Keycloak Dev
I'm also facing same issue

Nagarjun Repala

unread,
Feb 11, 2023, 3:23:36 AM2/11/23
to Keycloak Dev
distribution/server-dist is not getting created after mvn clean install, is there any change?
Reply all
Reply to author
Forward
0 new messages