Skip to content

Tag: maven

Can I force Maven to package a jar despite compilation errors?

So I run maven package to build my dependencies into a jar. However, I need Maven to ignore any compilation errors and package the jar regardless. How would this be accomplished? My pom.xml is as follows: Searching through SO only showed me how to ignore compilation errors from unit testing. I simply want my …

How to install man page for Maven on linux?

I am using linux(mint mate), and installed maven by download & unzip & config the environment, I could use the mvn command. I want to have man mvn, not just mvn -help, any tip? @Update: To make the question clear, there is no man page for mvn, because I install maven by unzip, so I want to install man…

java.lang.NoClassDefFoundError with Intellij And Maven

I am working with Maven 3.0.5 and Intellij 14.0.2 and Maven is not copying the required Jars in my project’s calsspath so I am copying it manually and trying to exccute the main class of my project it is throwing me following error: I know its very common and found a bunch of solutions at StackOverflow …