Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-374

Respect 'build.finalName' when compiling using the maven-compile-plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4-incubating
    • Backlog
    • Maven Plugins
    • None

    Description

      Usually a compiler uses

      {finalName}

      .

      {packaging-extension}

      for the artifact to be produced into target-directory.

      NPanday should rather override the finalName (configurable) using project.getBuild().setFinalName() as long as it has not been set to anything else but the default.
      If a user chooses the name himself, NPanday should respect that wish.

      Example: I'm creating a Console-App with a nice ArtifactId (HelloNPanday.Console), but I want it to be named 'hello-npanday.exe' in my target folder.

      Of course, when deployed, the default Name will be applied.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lcorneliussen Lars Corneliussen
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: