Reputation: 8374
I want to make a Maven meta-project; it won't contain any code, just a pom.xml. The purpose of the project is to have a place where I can declare some dependencies, and then use this project as a dependency somewhere else. How can I tell Maven not to generate a jar file?
Upvotes: 2
Views: 175
Reputation: 6519
Set the packaging to pom
<modelVersion>4.0.0</modelVersion>
<groupId>com.example.group</groupId>
<version>1.0.0-SNAPSHOT</version>
<artifactId>my-project</artifactId>
<packaging>pom</packaging>
Upvotes: 2