Maven EJB Plugin
  1. Maven EJB Plugin
  2. MEJB-51

Classpath is wrong for projects using "FinalName" directive

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 2.2, 2.2.1, 2.3
    • Fix Version/s: None
    • Labels:
      None

      Description

      I have the following project layout (which is part of a big project, this pattern is used many times)

      A-ear -> A-ejb -> A-jar -> B-jar

      All these projects are built in the same reactor.

      A-ejb used automatic CLASSPATH generation in its pom-file.
      B-jar uses the FinalName directive to specify a final name to be used.

      In A-ear B-jar is correctly packaged with its final name.

      But in A-ejb the MANIFEST.MF file contains not the final name for B-jar, but the standard one (i.e. as if no FinalName would have been selected).

      This problem exists since version 2.2 of the plugin. Up to now we used 2.1, which works perfectly. I assume the new archiver (version 2.4) that has been introduced in 2.2 causes the problem.

        Activity

        Thomas Arand created issue -
        Hide
        Michael Osipov added a comment -

        Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

        Show
        Michael Osipov added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
        Michael Osipov made changes -
        Field Original Value New Value
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:46:33 UTC 2015 [ 1428227193041 ]
        Mark Thomas made changes -
        Workflow jira [ 12720188 ] Default workflow, editable Closed status [ 12751075 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 23:33:58 UTC 2015 [ 1428276838376 ]
        Mark Thomas made changes -
        Workflow jira [ 12957655 ] Default workflow, editable Closed status [ 12994989 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        1309d 10h 20m 1 Michael Osipov 25/Nov/14 14:49

          People

          • Assignee:
            Unassigned
            Reporter:
            Thomas Arand
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development