Deployment Assembly -> Advanced -> Archive Name …. Gets Reset!

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #609523 Reply

    Tony Herstell

    I think I found the “annoying” bug where the Archive name keeps “re-setting”
    The DeploymentAssembly setting
    Archive Name

    gets reset when you do a maven update.

    This is a sly and big timewaster and you end up with two deployments and this can REALLY confuse you as you keep running agaist the old one (as the new one has the some-project-0.0.1-SNAPSHOT.war added)…

    I may not have found it; but…. looks like it…

    • This topic was modified 5 years, 3 months ago by Tony Herstell.
    #609536 Reply



    Maven>Update Project has the option Update project configuration from pom.xml. If set, it will, well, update the project configuration, including the archive name. Unfortunately, there is no way to change the default for that option.

    So the choices are to either ensure this option is unset, every time you do a project update, or to alter the pom, to get the archive name you want. For the latter, you can either change the artifact ID and/or version, or make use of the <finalName> tag in the build section of the pom. For example,


    will set the archive name to just the project name (specified in the name field of the pom). Or you can specify a fixed name for the archive.

    Please let us know if this helps.

    #609609 Reply

    Tony Herstell

    Slapped it in here… thx…

    #609632 Reply



    That’s great news. Thanks for getting back to us.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Deployment Assembly -> Advanced -> Archive Name …. Gets Reset!

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in