Our pom.xml has multiple executions inside the maven-jar-plugin with the intention of creating three separate jar files. What is the means to invoke mvn and build the three jars?
Presently
mvn compile jar:jar
still creates only a single jar.
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<executions>
<execution>
<id>UDFCommon</id>
<goals><goal>jar</goal></goals>
<phase>package</phase>
<configuration>
<forceCreation>true</forceCreation>
<classifier>UDFCommon</classifier>
<includes>
<include>**/pafcommon/*</include>
</includes>
</configuration>
</execution>
<execution>
<id>UDFOne</id>
<goals><goal>jar</goal></goals>
<phase>package</phase>
<configuration>
<classifier>UDFOne</classifier>
<includes>
<include>**/dqm/*</include>
</includes>
</configuration>
</execution>
<execution>
<id>UDFTwo</id>
<goals><goal>jar</goal></goals>
<phase>package</phase>
<configuration>
<classifier>UDFTwo</classifier>
<includes>
<include>**/ciview/*</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>