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

jbi-maven-plugin fails on build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3
    • 3.3
    • tooling
    • None

    Description

      when trying to build the plugin it complains:

      [INFO] ------------------------------------------------------------------------
      [INFO] Building ServiceMix :: Maven2 JBI Plugin
      [INFO] task-segment: [clean, install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean]
      [INFO] Deleting directory /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target
      [INFO] [plugin:descriptor]
      [WARNING]

      Goal prefix is specified as: 'jbi'. Maven currently expects it to be 'jbi'.

      [INFO] Using 2 extractors.
      [INFO] Applying extractor for language: java
      [INFO] Extractor for language: java found 13 mojo descriptors.
      [INFO] Applying extractor for language: bsh
      [INFO] Extractor for language: bsh found 0 mojo descriptors.
      [INFO] [resources:resources]
      [INFO] Using platform encoding (UTF-8 actually) to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO] [compiler:compile]
      [INFO] Compiling 27 source files to /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/target/classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure

      /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GenerateServiceAssemblyDescriptorMojo.java:[366,41] read(java.io.Reader) in org.apache.maven.model.io.xpp3.MavenXpp3Reader cannot be applied to (java.io.FileReader,boolean)

      /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[80,65] cannot find symbol
      symbol : method filterTrail(org.apache.maven.artifact.resolver.filter.ArtifactFilter)
      location: class org.apache.maven.artifact.resolver.ResolutionNode

      /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[84,32] cannot find symbol
      symbol : method isChildOfRootNode()
      location: class org.apache.maven.artifact.resolver.ResolutionNode

      /mnt/development/Java/projects/asf/maven-plugins-pom/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/GraphArtifactCollector.java:[141,70] cannot find symbol
      symbol : method isChildOfRootNode()
      location: class org.apache.maven.artifact.resolver.ResolutionNode

      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 15 seconds
      [INFO] Finished at: Mon Aug 04 14:24:09 CEST 2008
      [INFO] Final Memory: 27M/105M
      [INFO] ------------------------------------------------------------------------

      Attachments

        1. patch.diff
          0.6 kB
          Lars Heinemann

        Activity

          People

            ffang Freeman Yue Fang
            lhe Lars Heinemann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: