Need guidance for running maven in Intellij

76 views
Skip to first unread message

Rahul Khinchi

unread,
May 22, 2021, 4:04:12 AM5/22/21
to checkstyle-devel
Hey, 
I am Rahul and  I am working on my first gsoc issue.
I resolved the solution but before it I need to run "mvn clean verify" but it is not working in my IntellIj.

Please check the same and Help!
Thank you,
Rahul khinchi 

Abhishek Kumar

unread,
May 22, 2021, 4:10:10 AM5/22/21
to checkstyle-devel
Hi Rahul,

It is bit unclear about what specific issue you are facing. Probably you may not have maven installed on your system, if it so you can install from https://maven.apache.org/install.html

It's always better to show logs of what issue is being dumped on the terminal.

Regards, Abhishek

Rahul Khinchi

unread,
May 22, 2021, 4:16:21 AM5/22/21
to checkstyle-devel
I downloaded Maven and also Installed it but whenever I run it in my Intellij Terminal, it says "mvn" command not found.

1 m more problem is in the picture.iNTELLIJ.png

John Patrick

unread,
May 22, 2021, 6:18:52 AM5/22/21
to Rahul Khinchi, checkstyle-devel
That screenshot is maven output, it saying you've not told maven what to do.

If I type "mvn mvn" then i get the same output as you posted.

Also maven is usually bundled with intellij, not sure if community version but i know it's in the ultimate version.

To make things also simpler projects and switch to using the Maven Wrapper https://github.com/takari/maven-wrapper which will be part of Maven v4 when it's released.

So people would then just need to do "mvnw.cmd" for windows or  "./mvnw" for all other operating systems.

John



--
You received this message because you are subscribed to the Google Groups "checkstyle-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to checkstyle-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/checkstyle-devel/234ad77c-d164-4342-9f70-c15fd15b9f0an%40googlegroups.com.

Rahul Khinchi

unread,
May 22, 2021, 6:40:29 AM5/22/21
to John Patrick, checkstyle-devel
Ok, thanks for the clarification. 
Reply all
Reply to author
Forward
0 new messages