Problem in deploying custom authenticator using maven

I am trying to clean and build a maven project and I am getting the following error.


My pom file is as follows:

<?xml version="1.0" encoding="UTF-8"?>

<parent>
    <artifactId>keycloak-extension-playground</artifactId>
    <groupId>com.github.thomasdarimont.keycloak</groupId>
  
    <version>1.0.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>auth-dynamic-idp-redirector-extension</artifactId>

<dependencies>
    <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <optional>true</optional>
    </dependency>

    <dependency>
        <groupId>com.google.auto.service</groupId>
        <artifactId>auto-service</artifactId>
        <optional>true</optional>
    </dependency>

    <dependency>
        <groupId>org.keycloak</groupId>
        <artifactId>keycloak-server-spi</artifactId>
        <version>${keycloak.version}</version>
        <scope>provided</scope>
    </dependency>

    <dependency>
        <groupId>org.keycloak</groupId>
        <artifactId>keycloak-server-spi-private</artifactId>
        <version>${keycloak.version}</version>
        <scope>provided</scope>
    </dependency>

    <dependency>
        <groupId>org.keycloak</groupId>
        <artifactId>keycloak-services</artifactId>
        <version>${keycloak.version}</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <configuration>
                <archive>
                    <!-- This is required since we need to add the jboss module references
                        to the resulting jar -->
                    <manifestEntries>
                        <!-- Adding explicit dependencies to avoid class-loading issues at runtime -->
                        <Dependencies>
                            <![CDATA[org.keycloak.keycloak-common,org.keycloak.keycloak-core,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,org.apache.httpcomponents,org.keycloak.keycloak-services,org.jboss.logging,javax.api,javax.jms.api,javax.transaction.api,com.fasterxml.jackson.core.jackson-core,com.fasterxml.jackson.core.jackson-annotations,com.fasterxml.jackson.core.jackson-databind]]></Dependencies>
                    </manifestEntries>
                </archive>
            </configuration>
        </plugin>
    </plugins>
</build>

This is more of a Maven question than a Keycloak question. If you are trying to build this (GitHub - thomasdarimont/keycloak-extension-playground: Simple project environment for creating custom Keycloak extensions), outside of the subdirectory, it can’t find the parent pom because it’s not installed in your local .m2 repository or in maven central. The path you have looks like the Keycloak path, rather than to the parent pom. You might try rewriting the pom without the parent part.