Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2530

Build failure on Mac....

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0, 3.0.0, 2.3.4
    • None
    • None

    Description

      Currently, the build fails on the Mac with Java 6. Honestly, I have no idea why it works on the other platforms.

      On the Mac, the karaf-maven-plugin pulls in plexus-utils 1.5.10, but the plexus-io and archiver that it pulls in requires 3.0 or newer. Just updating the version for the plugin fixes it:

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      diff --git a/tooling/karaf-maven-plugin/pom.xml b/tooling/karaf-maven-plugin/pom.xml
      index 079a13e..99f162f 100644
      --- a/tooling/karaf-maven-plugin/pom.xml
      +++ b/tooling/karaf-maven-plugin/pom.xml
      @@ -83,7 +83,7 @@
               <dependency>
                   <groupId>org.codehaus.plexus</groupId>
                   <artifactId>plexus-utils</artifactId>
      -            <version>1.5.10</version>
      +            <version>3.0</version>
               </dependency>
               <dependency>
                   <groupId>org.apache.felix</groupId>
      

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            dkulp Daniel Kulp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: