Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.1, 3.2
    • Component/s: tooling
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      When generating a JBI component in Maven, the plugin currently uses "$

      {project.artifactId}

      -$

      {project.version}

      .jar" when looking for the original packaged JAR. This causes problems when the plugin is running in a forked lifecycle that changes the artifact name, such as the Clover plugin (clover:instrument will fail with an exception).

      Attached is a patch (vs. servicemix-3.1) that modifies GenerateComponentMojo to use project.build.finalName instead. I'm not sure if this is the correct way to do it, but it works here.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        41d 22h 42m 1 Guillaume Nodet 02/May/07 14:59
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:46:19 EST 2010 [ 1290836779991 ]
        Hide
        Steve Kondik added a comment -

        This is also an issue with the other mojos (shared libraries, etc). I'll try to get a patch submitted this week.

        Show
        Steve Kondik added a comment - This is also an issue with the other mojos (shared libraries, etc). I'll try to get a patch submitted this week.
        Guillaume Nodet made changes -
        Assignee Guillaume Nodet [ gnt ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Show
        Guillaume Nodet added a comment - URL: http://svn.apache.org/viewvc?view=rev&rev=534463 URL: http://svn.apache.org/viewvc?view=rev&rev=534464
        Guillaume Nodet made changes -
        Field Original Value New Value
        Fix Version/s 3.1.1 [ 11811 ]
        Fix Version/s 3.2 [ 11810 ]
        Steve Kondik created issue -

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Steve Kondik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development