Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1157

maven-jbi-plugin creates wrong classpath entries in jbi.xml for SE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.2, 3.3
    • tooling
    • None
    • Patch Available

    Description

      When the m2 build is customized and a <finalname> is set (i.e. is different to ${artifactname}-${version}), the generated jbi.xml is wrong.

      I guess the problem is located in Line 207in GenerateComponentDescriptorMojo.java

      Should be something like project.getBuild().getFinalName()

      http://maven.apache.org/ref/current/maven-model/apidocs/org/apache/maven/model/BuildBase.html#getFinalName()
      http://maven.apache.org/ref/2.0.4/maven-project/apidocs/org/apache/maven/project/MavenProject.html#getBuild()

      Cheers,
      Tammo

      Attachments

        1. jbi-maven-patch.txt
          0.9 kB
          Tammo van Lessen

        Activity

          People

            Unassigned Unassigned
            vanto Tammo van Lessen
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: