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 Bug Fix
    • Status: Closed Closed
    • Priority: Major 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
    • Similar issues:
      KULRICE-4459Set up CI environment to compile and run Rice 1.0.3 under Java 5
      KULRICE-14133Correct Maven dependencies to allow Rice to compile in Java 8
      KULRICE-13418AFTs rice sampleapp rice-tools-test dependency issue
      KULRICE-4593Rice wont startup under Java 5
      KULRICE-4223Change mvn compile plugin to target 1.6 java.
      KULRICE-4640CI 1.0.3 build is failing because of error in kew pom.xml file
      KULRICE-2775Review libraries in Rice poms and be sure that we have all non-compile time dependencies marked as "runtime"
      KULRICE-1914User lookup out of the box fails b/c our default configurations are not set properly (<param name="rice.user">true</param>)
      KULRICE-10505Fix Tomcat 7 jsp compilation errors in WorkgroupTab.jsp & RemoveReplaceDisplay.jsp
      KULRICE-3804Make 1.1.0 Java 1.6 compliant
    • 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

        Activity

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel