[
http://jira.codehaus.org/browse/MEAR-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149032#action_149032
]
Kem Elbrader commented on MEAR-92:
----------------------------------
Something to consider is that when using createEarFile = false the install
phase will break. With
[ERROR]The following mojo encountered an error while executing:
[ERROR]Group-Id: org.apache.maven.plugins
[ERROR]Artifact-Id: maven-install-plugin
[ERROR]Version: 2.2
[ERROR]Mojo: install
[ERROR]brought in via: packaging: ear
[ERROR]While building project:
[ERROR]Group-Id: {groupid}
[ERROR]Artifact-Id: {artifactid}
[ERROR]Version: {version}
[ERROR]From file: {fromfile}
[ERROR]Reason: The packaging for this project did not assign a file to the
build artifact
> Add createEarFile property
> --------------------------
>
> Key: MEAR-92
> URL: http://jira.codehaus.org/browse/MEAR-92
> Project: Maven 2.x Ear Plugin
> Issue Type: New Feature
> Affects Versions: 2.3.2
> Reporter: Kem Elbrader
> Attachments: EarMojo.java, EarMojo.patch
>
>
> When directory deploying an ear project often a majority of the time is spent
> unnecessarily building the ear archive i.e. "Building jar: ...". Since it
> isn't needed during development it'd be nice if the ear plugin could be
> configured to stop short of actually building the archive file.
> The attahced patch adds a createEarFile property to the EarMojo class to
> control whether to create the .ear file archive or not.
> All changes in this patch are in the EarMojo.java file which is also attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira