[ https://issues.apache.org/jira/browse/MEAR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17614443#comment-17614443 ]
Slawomir Jaranowski commented on MEAR-264: ------------------------------------------ You can put configuration of additional dependencies in profile. Also configuration for additional module can be done in profile. > Optional Modules > ---------------- > > Key: MEAR-264 > URL: https://issues.apache.org/jira/browse/MEAR-264 > Project: Maven EAR Plugin > Issue Type: New Feature > Reporter: Frank Cornelis > Priority: Major > > Right now a module its corresponding dependency must always be provided. > But sometimes you want to change the content of an EAR using a Maven profile > to include more or less modules. > It would be handy if you could add > <optional>true</optional> > to a module. If set to true, the maven-ear-plugin will not error in case the > corresponding dependency has not been declared. -- This message was sent by Atlassian Jira (v8.20.10#820010)