Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

312
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda