I am doing repackaging in spring I have encountered an error : Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.7.RELEASE:repackage (repackage) on project pet-clinic-data: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.1.7.RELEASE:repackage failed: Unable to find main class.
Even though I have used true
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
<conifguration>
<skip>true</skip>
</conifguration>
</execution>
</executions>
</plugin>
</plugins>
</build>
and the pom is set. As I don't have any main class, how to resolve this error
ALready tried .m2/repository deleted all files and clean code again