• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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

 
Ranch Hand
Posts: 620
1
  • 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


 
Marshal
Posts: 22448
121
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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic