Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-4457

rice 1.0.3 fails to compile with java 5 b/c of missing dependency

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: KC Release 3.0, 1.0.3
    • Fix Version/s: KC Release 3.0, 1.0.3
    • Component/s: Development
    • Labels:
      None
    • Rice Module:
      Rice Core
    • Application Requirement:
      KC
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      Our hudson job still uses java 5. It cannot compile rice 1.0.3 because the api module does not list the geronimo-ws-metadata_2.0_spec-1.1.2.jar as a dependency. These jars are included in java 6 so java 6 can compile rice just fine. BTW. This jar is coming from cxf-rt-frontend-jaxws.jar and is not a problem for rice 1.1 b/c it is targeting java 6.

      see hudson output below....

      Started by user aakers
      [workspace] $ /bin/sh -xe /opt/hudson/temp/hudson2470091983275810399.sh
      + /opt/kc/scripts/appdeploy kr dba
      At revision 602.
      At revision 14239.
      [INFO] Scanning for projects...
      [INFO] Reactor build order:
      [INFO] Kuali Rice
      [INFO] Kuali Rice API
      [INFO] Kuali Rice Implementation
      [INFO] Kuali Rice Web
      [INFO] ksb
      [INFO] kcb
      [INFO] kns
      [INFO] kim
      [INFO] kew
      [INFO] ken
      WAGON_VERSION: 1.0-beta-2
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Kuali Rice
      [INFO] task-segment: [clean, package]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean

      {execution: default-clean}

      ]
      [INFO] [buildnumber:create

      {execution: default}

      ]
      [INFO] Storing buildNumber: 2010/08/20-11:25:45 at timestamp: 1282317945563
      [INFO] Executing: /bin/sh -c cd /opt/kc/deploy/1.0.3-KC-03 && svn --non-interactive info
      [INFO] Working directory: /opt/kc/deploy/1.0.3-KC-03
      [INFO] Storing buildScmBranch: tags/1.0.3-KC-03
      [INFO] [site:attach-descriptor

      {execution: default-attach-descriptor}

      ]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Kuali Rice API
      [INFO] task-segment: [clean, package]
      [INFO] ------------------------------------------------------------------------
      [INFO] [clean:clean

      {execution: default-clean}

      ]
      [INFO] Deleting directory /opt/kc/deploy/1.0.3-KC-03/api/target
      [INFO] [buildnumber:create

      {execution: default}

      ]
      [INFO] Storing buildNumber: 2010/08/20-11:25:47 at timestamp: 1282317947975
      [INFO] Executing: /bin/sh -c cd /opt/kc/deploy/1.0.3-KC-03/api && svn --non-interactive info
      [INFO] Working directory: /opt/kc/deploy/1.0.3-KC-03/api
      [INFO] Storing buildScmBranch: tags/1.0.3-KC-03/api
      [INFO] [jaxb-schemagen:generate

      {execution: default}

      ]
      [INFO] srcdir: /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice
      [INFO] destdir: /opt/kc/deploy/1.0.3-KC-03/api/target/schema
      [INFO] include: core/xml/
      [INFO] include: kim/xml/
      [INFO] include: core/jaxb/SqlDateAdapter.java
      [INFO] include: core/jaxb/AdapterAttributeSetToHashMap.java
      [INFO] include: kim/bo/types/dto/AttributeSet.java
      [INFO] jaxb-schemagen classpath addition: /home/tomcat/.m2/repository/javax/xml/bind/jaxb-api/2.2/jaxb-api-2.2.jar
      [INFO] jaxb-schemagen classpath addition: /home/tomcat/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar
      [INFO] jaxb-schemagen classpath addition: /home/tomcat/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
      [INFO] jaxb-schemagen classpath addition: /home/tomcat/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar
      [INFO] jaxb-schemagen classpath addition: /home/tomcat/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar
      [INFO] core/jaxb/AdapterAttributeSetToHashMap.java added as core/jaxb/AdapterAttributeSetToHashMap.class doesn't exist.
      [INFO] core/jaxb/SqlDateAdapter.java added as core/jaxb/SqlDateAdapter.class doesn't exist.
      [INFO] core/xml/CoreNamespaceConstants.java added as core/xml/CoreNamespaceConstants.class doesn't exist.
      [INFO] core/xml/dto/AttributeEntry.java added as core/xml/dto/AttributeEntry.class doesn't exist.
      [INFO] core/xml/dto/AttributeSetList.java added as core/xml/dto/AttributeSetList.class doesn't exist.
      [INFO] core/xml/dto/DataXmlDto.java added as core/xml/dto/DataXmlDto.class doesn't exist.
      [INFO] kim/bo/types/dto/AttributeSet.java added as kim/bo/types/dto/AttributeSet.class doesn't exist.
      [INFO] kim/xml/GroupMembershipXmlDto.java added as kim/xml/GroupMembershipXmlDto.class doesn't exist.
      [INFO] kim/xml/GroupXmlDto.java added as kim/xml/GroupXmlDto.class doesn't exist.
      [INFO] kim/xml/KimNamespaceConstants.java added as kim/xml/KimNamespaceConstants.class doesn't exist.
      [INFO] Generating schema from 10 source files
      [INFO] Compilation arguments:
      '-d'
      '/opt/kc/deploy/1.0.3-KC-03/api/target/schema'
      '-classpath'
      '/opt/kc/deploy/1.0.3-KC-03/api/target/schema:/home/tomcat/.m2/repository/javax/xml/bind/jaxb-api/2.2/jaxb-api-2.2.jar:/home/tomcat/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar:/home/tomcat/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/home/tomcat/.m2/repository/commons-logging/commons-logging/1.1/commons-logging-1.1.jar:/home/tomcat/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar:/opt/java/maven/boot/classworlds-1.1.jar'
      '-sourcepath'
      '/opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice'
      '-g:none'
      '-nocompile'

      The ' characters around the executable and arguments are
      not part of the command.

      [INFO] Files to be compiled:
      /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice/core/jaxb/AdapterAttributeSetToHashMap.java
      /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice/core/jaxb/SqlDateAdapter.java
      /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice/core/xml/CoreNamespaceConstants.java
      /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice/core/xml/dto/AttributeEntry.java
      /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice/core/xml/dto/AttributeSetList.java
      /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice/core/xml/dto/DataXmlDto.java
      /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice/kim/bo/types/dto/AttributeSet.java
      /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice/kim/xml/GroupMembershipXmlDto.java
      /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice/kim/xml/GroupXmlDto.java
      /opt/kc/deploy/1.0.3-KC-03/api/src/main/java/org/kuali/rice/kim/xml/KimNamespaceConstants.java

      Note: Writing /opt/kc/deploy/1.0.3-KC-03/schema1.xsd
      Note: Writing /opt/kc/deploy/1.0.3-KC-03/schema2.xsd
      Note: Writing /opt/kc/deploy/1.0.3-KC-03/schema3.xsd
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /opt/kc/deploy/1.0.3-KC-03/api/src/main/resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 269 source files to /opt/kc/deploy/1.0.3-KC-03/api/target/classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure

        Attachments

          Activity

          tschneeb Travis Schneeberger created issue -
          ewestfal Eric Westfall made changes -
          Field Original Value New Value
          Assignee Travis Schneeberger [ tschneeb ] Eric Westfall [ ewestfal ]
          ewestfal Eric Westfall made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          jcoltrin Jessica Coltrin (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 85802 ] Copy of custom for rice [ 212134 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow Copy of custom for rice [ 212134 ] custom [ 221882 ]
          spatterson Shem Patterson (Inactive) made changes -
          Workflow custom [ 221882 ] Rice Workflow [ 231630 ]

            People

            • Assignee:
              ewestfal Eric Westfall
              Reporter:
              tschneeb Travis Schneeberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: