I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=460959.

Basically, you should update to the latest maven-ear-plugin version (2.10
as we speak)

On Wed, Feb 25, 2015 at 1:52 PM, Fred Bricon <[email protected]> wrote:

> Please open a ticket at [1] with a sample project reproducing the error.
>
> As a workaround, either use <fileNameMapping>no-version</fileNameMapping> [2]
> or specifically set the jarModule's bundleFileName  in
>  maven-ear-plugin>configuration>modules [3][4]
>
> [1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2E-WTP
>
> [2]
> https://maven.apache.org/plugins/maven-ear-plugin/examples/customize-file-name-mapping.html
>
> [3]
> https://maven.apache.org/plugins/maven-ear-plugin/examples/customizing-a-module-filename.html
> [4]
> https://maven.apache.org/plugins/maven-ear-plugin/modules.html#jarModule
>
> HIH
>
> Fred
>
>
>
> On Wed, Feb 25, 2015 at 12:35 PM, Clemens von Musil <[email protected]>
> wrote:
>
>> Hi,
>>
>> I have a pom building an ear. This ear contains an ejb module that comes
>> as snapshot dependency (foo.jar) from my nexus.
>>
>> If I build this ear with eclipse and m2r 1.5.0, the resulting ear has a
>> structural defect:
>> The application.xml references foo-1.0.0-SNAPSHOT while the packaged jar
>> file is named foo-1.0.0-20150224.122722-2.jar.
>>
>> The projects deployment assemby shows this filename change as well.
>>
>> This ear cannot be deployed.
>>
>> What can I do to build a clean ear with m2e?
>>
>> Thanks a lot,
>> Clemens
>>
>> --
>>
>> Clemens von Musil - [email protected]
>> Telefon: +49 (0)211-63 55 56-85
>> Telefax: +49 (0)211-63 55 55-22
>>
>> sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
>> HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
>> Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391
>>
>> www.sipgate.de - www.sipgate.at - www.sipgate.co.uk
>>
>> _______________________________________________
>> m2e-users mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>
>
>
>
> --
> "Have you tried turning it off and on again" - The IT Crowd
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to