Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

307
Views
Spring boot override suffix of war file name

I'm trying to define a war name to correspond custom naming convention. Currently, 2 war files are generated: app-name.war and app-name-boot.war However, I want to override the -boot suffix, e.g. the war to be named app-name-executable.war I've tried to define it this way

<finalName>${artifactId}-executable</finalName>

But then the app-name-executable-boot is generated. So how can I override the boot suffix for runnable war?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I personally used this code block:

<build>
        <finalName>lebab-executable</finalName>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
</build>

The output was two files inside target:

  • lebab-executable.war and

  • lebab-executable.war.original

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!