[
https://jira.codehaus.org/browse/MEAR-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=348033#comment-348033
]
Karl-Heinz Marbaise commented on MEAR-189:
------------------------------------------
Can you please add a full output of the error message (may be best to attach
the logging output to the ticket) and it would be great if you have full
working example which shows the problem. As a start i have [created an example
project|https://github.com/khmarbaise/mear/tree/master/MEAR-189] which can be
used to start to discuss about that. Unfortunately i can't see something going
wrong with ear plugin:
with *no-version* it produces the following output:
{code}
.
??? ear-module
? ??? pom.xml
? ??? target
? ??? application.xml
? ??? ear-module-1.0
? ? ??? META-INF
? ? ? ??? application.xml
? ? ??? lib
? ? ? ??? commons-lang.jar
? ? ??? war-module.war
{code}
with *full* it produces the following:
{code}
.
??? ear-module
? ??? pom.xml
? ??? target
? ??? application.xml
? ??? ear-module-1.0
? ? ??? META-INF
? ? ? ??? application.xml
? ? ??? lib
? ? ? ??? commons-lang-commons-lang-2.5.jar
? ? ??? org-apache-maven-its-ear-skinnywars-war-module-1.0.war
{code}
> fileNameMapping set to no-version breaks skinnyWars feature
> -----------------------------------------------------------
>
> Key: MEAR-189
> URL: https://jira.codehaus.org/browse/MEAR-189
> Project: Maven Ear Plugin
> Issue Type: Bug
> Affects Versions: 2.7, 2.8, 2.9
> Reporter: David Hoffer
>
> I have my plugin configured as:
> <plugin>
> <artifactId>maven-ear-plugin</artifactId>
> <version>2.9</version>
> <configuration>
> <defaultJavaBundleDir>lib/</defaultJavaBundleDir>
> <skinnyWars>true</skinnyWars>
> <fileNameMapping>no-version</fileNameMapping>
> </configuration>
> </plugin>
> And the inclusion of <fileNameMapping>no-version</fileNameMapping> which I
> need, causes all the wars to fat.
> Is this a known bug? This is a major problem for me, is there any workaround?
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)