Not able to build custom checkstyle repo.

49 views
Skip to first unread message

Rahul Pal

unread,
Nov 21, 2022, 9:34:51 AM11/21/22
to checkstyle
Hi All,
I am trying to create a external repo using the checkstyle dependency . My sample code is present in  https://github.com/rahulpal75/rahul-checkstyle/tree/main . But when i am using this dependency into a multi-module project by following https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html  . The above repo is not getting build. And getting error like Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.5.12:repackage failed: Unable to find main class.

Could someone please help me on how can i create a dependency so i can reuse that checkstyle jar by pom dependency. Any help would be greatly appreciated.

[Note]: Please ignore the package structure , as that is for demonstration purpose.

Thanks,
Rahul

Rahul Pal

unread,
Nov 28, 2022, 12:57:45 PM11/28/22
to checkstyle
HI Team,
Anyone can help on this . This is kind of urgent one and any help will be appreciated .

Rahul Pal

unread,
Jul 6, 2023, 1:06:21 AM7/6/23
to checkstyle
HI Team,
Anyone can please help on this.

Roman Ivanov

unread,
Jul 10, 2023, 3:00:34 PM7/10/23
to Rahul Pal, checkstyle
Hi, 

>Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.5.12:repackage failed: Unable to find main class.

You need to ask this question in maven mail list or stack overflow.


--
You received this message because you are subscribed to the Google Groups "checkstyle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to checkstyle+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/checkstyle/013cad37-e4e4-43c7-97d4-c463ed1348dfn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages