Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-20367

How to configure Maven project to use separate output folders in Eclipse

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Invalid
    • None
    • None
    • None
    • WinXP, Eclipse 3.5, m2eclipse plugin 0.0.9.200912160759
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      I've followed the instructions at http://m2eclipse.sonatype.org/project-faq.html#8.
      When I
      Rightclick Eclipse project.
      Choose Run As Maven build...
      Enter "install" as the target.
      Enter "eclipse" as the profile.
      Select skipTests
      and then run that configuration,
      I can see sources are compiled in target-eclipse\classes.
      However the jar/war/ear files are still being generated to the target directory. E.g.:
      [INFO] [jar:jar]
      [INFO] Building jar: C:\projects\x\y\modules\backend\target\y-backend-1.0.jar
      I would have expected the jar/war/ears to also be generated underneath target-eclipse.

      Is this a bug ? Is there a workaround ?

      Thanks,
      EDH

              Unassigned Unassigned
              907f308701d8 Edwin Dhondt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: