Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2126

kie-docs,kie-workbench-webapp: missing jackson dependency classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.5.0.Final
    • None
    • None
    • None

      Build for kie-docs fails to compile due missing "jackson" classes from dependencies

      [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ kie-docs-code ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 1 source file to /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/target/test-classes
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[22,28] package org.codehaus.jackson does not exist
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[23,32] package org.codehaus.jackson.map does not exist
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[24,32] package org.codehaus.jackson.map does not exist
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,49] cannot find symbol
        symbol:   class JsonGenerationException
        location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,74] cannot find symbol
        symbol:   class JsonMappingException
        location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,56] cannot find symbol
        symbol:   class JsonGenerationException
        location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,81] cannot find symbol
        symbol:   class JsonMappingException
        location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,58] cannot find symbol
        symbol:   class JsonGenerationException
        location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,83] cannot find symbol
        symbol:   class JsonMappingException
        location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [INFO] 9 errors 
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] KIE :: Documentation ............................... SUCCESS [  1.616 s]
      [INFO] KIE :: Documentation :: Example Code ............... FAILURE [  1.368 s]
      [INFO] KIE :: Documentation Guides ........................ SKIPPED
      [INFO] KIE :: Documentation :: Drools ..................... SKIPPED
      [INFO] KIE :: Documentation :: jBPM ....................... SKIPPED
      [INFO] KIE :: Documentation :: OptaPlanner Workbench and Execution Server SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3.777 s
      [INFO] Finished at: 2017-11-13T14:45:00+01:00
      [INFO] Final Memory: 77M/990M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:testCompile (default-testCompile) on project kie-docs-code: Compilation failure: Compilation failure: 
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[22,28] package org.codehaus.jackson does not exist
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[23,32] package org.codehaus.jackson.map does not exist
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[24,32] package org.codehaus.jackson.map does not exist
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,49] cannot find symbol
      [ERROR]   symbol:   class JsonGenerationException
      [ERROR]   location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[37,74] cannot find symbol
      [ERROR]   symbol:   class JsonMappingException
      [ERROR]   location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,56] cannot find symbol
      [ERROR]   symbol:   class JsonGenerationException
      [ERROR]   location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[64,81] cannot find symbol
      [ERROR]   symbol:   class JsonMappingException
      [ERROR]   location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,58] cannot find symbol
      [ERROR]   symbol:   class JsonGenerationException
      [ERROR]   location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] /home/mnovotny/projects/git/KIEGROUP/kie-docs/code/src/test/java/org/guvnor/rest/backend/documentation/GuvnorSerializationExamplesTest.java:[92,83] cannot find symbol
      [ERROR]   symbol:   class JsonMappingException
      [ERROR]   location: class org.guvnor.rest.backend.documentation.GuvnorSerializationExamplesTest
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :kie-docs-code
      

              mnovotny@redhat.com Marek Novotny
              mnovotny@redhat.com Marek Novotny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: