I am using proguard with spring boot maven project but unable to build

I am using java 8 with spring boot 2.4 version. I have added the plugin for proguard and config file as well. it is perfectly obfuscating the war file when i am using it with sample project. But When i try to use it with my orignal project it gives me this error

Pom file structure is following

  <plugin>
                <groupId>com.github.wvengen</groupId>
                <artifactId>proguard-maven-plugin</artifactId>
                <version>2.3.1</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>proguard</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <proguardVersion>6.0.3</proguardVersion>
<!--                    <proguardVersion>7.3.2</proguardVersion>-->
                    <injar>${project.build.finalName}.war</injar>
                    <outjar>${project.build.finalName}.war</outjar>
                    <obfuscate>true</obfuscate>
                    <proguardInclude>${project.basedir}/proguard.cfg</proguardInclude>
                    <libs>
                                                <lib>${java.home}/lib/rt.jar</lib>
                                                <lib>${java.home}/lib/jce.jar</lib>
                                                <lib>${java.home}/lib/jsse.jar</lib>
                    </libs>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>net.sf.proguard</groupId>
                        <artifactId>proguard-base</artifactId>
                        <version>6.0.3</version>
                    </dependency>

                </dependencies>
<plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                        <configuration>
                            <mainClass>com.myApplication
                            </mainClass>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

But giving me this following error.

(Can’t process class [META-INF/versions/11/module-info.class] (Unsupported version number [55.0] (maximum 54.0, Java 10)))

can anyone help me on this.