'Multiple output jar files for intellij pom.xml file

Is it possible to build 2 of the same jar files but in separate directories in intellij? enter image description here

As you can see in lines 41 and 42 I have the outputFile locations set to 2 different locations, however it only builds the jar file in the last outputFile. Is it possible to build in 2 different directories?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source