remove jar created by default in maven
I am using maven assembly plugin. in my pom.xml, pakaging type: jar and i dont use maven jar plugin. Whenever i run mvn clean package, it create 2 jar files: one is from maven assembly, another one is created by default (due to packaging type =jar). I want to keep only the jar file created by assembly plugin only. How to do that? You may have your reasons but I doubt that it is a good solution to skip the default jar being built and deployed. Anyhow here is how you can disable the default jar being built. <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.3<