• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

maven-ear-plugin bundleFileName don't change the name of the war i want to bundle with the ear

 
Ranch Hand
Posts: 604
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
im using the latest version of the maven-ear-plugin i like to bundle the test.war into my ear but the output is always :

test1-test21999.test-SNAPSHOT.war

which is always the default :

   outputFileNameMapping = @{groupId}@-@{artifactId}@-@{version}@@{dashClassifier?}@.@{extension}@

how do i force it to be:test.war

 

here is the log after running with -X:
please notice when it copy and ignoring the renaming


 
Sheriff
Posts: 22116
114
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You've put the configuration that sets the bundleFileName in a profile called myapp. Since you haven't specified when that profile will be active, it will only be activate if you explicitly activate it. Add -Pmyapp to your Maven arguments to activate it.
 
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic