Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17789

Upgrade rhino library to 1.7R5

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 7.3
    • Fix Version/s: None
    • Component/s: Style & CSS

      Description

      Needed for wro sass extension.

      Here the error trying to use sass resources:

      15:06:56,087 ERROR [ExceptionHandlingProcessorDecorator] Failed to process the resource: ro.isdc.wro.model.resource.Resource@3ab14215[CSS,nuxeo:sass_app.scss,true] using processor: org.nuxeo.theme.styling.wro.NxSassCssProcessor@26cd5f7. Reason: Bad language version: 180
      
      [INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @ nuxeo-theme-styling ---
      [INFO] org.nuxeo.theme:nuxeo-theme-styling:jar:7.4-SNAPSHOT
      [INFO] +- org.nuxeo.common:nuxeo-common:jar:7.4-SNAPSHOT:compile
      [INFO] |  +- xerces:xercesImpl:jar:2.11.0:compile
      [INFO] |  +- xml-apis:xml-apis:jar:1.4.01:compile
      [INFO] |  +- commons-io:commons-io:jar:2.4:compile
      [INFO] |  +- commons-lang:commons-lang:jar:2.6:compile
      [INFO] |  +- org.apache.commons:commons-lang3:jar:3.3.2:compile
      [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:compile
      [INFO] |  +- commons-codec:commons-codec:jar:1.9:compile
      [INFO] |  \- org.freemarker:freemarker:jar:2.3.23:compile
      [INFO] +- org.nuxeo.runtime:nuxeo-runtime:jar:7.4-SNAPSHOT:compile
      [INFO] |  +- javax.transaction:jta:jar:1.1:compile
      [INFO] |  +- com.codahale.metrics:metrics-core:jar:3.0.0:compile
      [INFO] |  \- org.osgi:org.osgi.core:jar:4.2.0:compile
      [INFO] +- org.nuxeo.ecm.core:nuxeo-core-api:jar:7.4-SNAPSHOT:compile
      [INFO] |  +- com.google.guava:guava:jar:18.0:compile
      [INFO] |  \- org.nuxeo.ecm.core:nuxeo-core-schema:jar:7.4-SNAPSHOT:compile
      [INFO] |     \- com.sun.xsom:xsom:jar:20140925:compile
      [INFO] |        \- relaxngDatatype:relaxngDatatype:jar:20020414:compile
      [INFO] +- org.nuxeo.ecm.platform:nuxeo-web-resources-api:jar:7.4-SNAPSHOT:compile
      [INFO] +- org.nuxeo.ecm.platform:nuxeo-web-resources-core:jar:7.4-SNAPSHOT:compile
      [INFO] |  \- org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
      [INFO] +- org.nuxeo.ecm.platform:nuxeo-web-resources-wro:jar:7.4-SNAPSHOT:compile
      [INFO] +- javax.servlet:javax.servlet-api:jar:3.0.1:provided
      [INFO] +- javax.inject:javax.inject:jar:1:compile
      [INFO] +- ro.isdc.wro4j:wro4j-core:jar:1.7.7:compile
      [INFO] |  \- org.slf4j:slf4j-api:jar:1.7.7:compile
      [INFO] +- ro.isdc.wro4j:wro4j-extensions:jar:1.7.7:compile
      [INFO] |  +- ro.isdc.wro4j:rhino:jar:1.7R5-20130223-1:compile
      [INFO] |  +- org.apache.commons:commons-exec:jar:1.1:compile
      [INFO] |  +- commons-pool:commons-pool:jar:1.6:compile
      [INFO] |  +- org.springframework:spring-web:jar:3.1.1.RELEASE:compile
      [INFO] |  |  +- aopalliance:aopalliance:jar:1.0:compile
      [INFO] |  |  +- org.springframework:spring-beans:jar:3.1.1.RELEASE:compile
      [INFO] |  |  +- org.springframework:spring-context:jar:3.1.1.RELEASE:compile
      [INFO] |  |  |  +- org.springframework:spring-aop:jar:3.1.1.RELEASE:compile
      [INFO] |  |  |  +- org.springframework:spring-expression:jar:3.1.1.RELEASE:compile
      [INFO] |  |  |  \- org.springframework:spring-asm:jar:3.1.1.RELEASE:compile
      [INFO] |  |  \- org.springframework:spring-core:jar:3.1.1.RELEASE:compile
      [INFO] |  +- com.google.code.gson:gson:jar:2.2.2:compile
      [INFO] |  +- com.google.javascript:closure-compiler:jar:v20140814:compile
      [INFO] |  |  +- com.google.javascript:closure-compiler-externs:jar:v20140814:compile
      [INFO] |  |  +- args4j:args4j:jar:2.0.26:compile
      [INFO] |  |  +- com.google.protobuf:protobuf-java:jar:2.5.0:compile
      [INFO] |  |  +- org.json:json:jar:20070829:compile
      [INFO] |  |  \- com.google.code.findbugs:jsr305:jar:1.3.9:compile
      [INFO] |  +- com.github.lltyk:dojo-shrinksafe:jar:1.7.2:compile
      [INFO] |  +- org.jruby:jruby-core:jar:1.7.14:compile
      [INFO] |  |  +- org.ow2.asm:asm-commons:jar:4.0:compile
      [INFO] |  |  |  \- org.ow2.asm:asm-tree:jar:4.0:compile
      [INFO] |  |  +- org.ow2.asm:asm-analysis:jar:4.0:compile
      [INFO] |  |  +- org.ow2.asm:asm-util:jar:4.0:compile
      [INFO] |  |  +- org.jruby.joni:joni:jar:2.1.1:compile
      [INFO] |  |  +- com.github.jnr:jnr-netdb:jar:1.1.2:compile
      [INFO] |  |  +- com.github.jnr:jnr-enxio:jar:0.4:compile
      [INFO] |  |  +- com.github.jnr:jnr-x86asm:jar:1.0.2:compile
      [INFO] |  |  +- com.github.jnr:jnr-unixsocket:jar:0.3:compile
      [INFO] |  |  +- com.github.jnr:jnr-posix:jar:3.0.3:compile
      [INFO] |  |  +- org.jruby.extras:bytelist:jar:1.0.11:compile
      [INFO] |  |  +- com.github.jnr:jnr-constants:jar:0.8.5:compile
      [INFO] |  |  +- org.jruby.jcodings:jcodings:jar:1.0.10:compile
      [INFO] |  |  +- com.github.jnr:jnr-ffi:jar:1.0.7:compile
      [INFO] |  |  +- com.github.jnr:jffi:jar:1.2.7:compile
      [INFO] |  |  +- com.github.jnr:jffi:jar:native:1.2.7:compile
      [INFO] |  |  +- org.yaml:snakeyaml:jar:1.13:compile
      [INFO] |  |  +- com.jcraft:jzlib:jar:1.1.2:compile
      [INFO] |  |  +- com.headius:invokebinder:jar:1.2:compile
      [INFO] |  |  +- com.martiansoftware:nailgun-server:jar:0.9.1:compile
      [INFO] |  |  +- org.jruby:yecht:jar:1.0:compile
      [INFO] |  |  +- joda-time:joda-time:jar:2.6:compile
      [INFO] |  |  \- com.headius:options:jar:1.2:compile
      [INFO] |  +- org.jruby:jruby-stdlib:jar:1.7.14:compile
      [INFO] |  +- nz.co.edmi:bourbon-gem-jar:jar:2.1.0:compile
      [INFO] |  |  \- me.n4u.sass:sass-gems:jar:3.1.19:compile (version selected from constraint [3.1.16,3.2))
      [INFO] |  +- com.github.sommeri:less4j:jar:1.8.2:compile
      [INFO] |  |  +- org.antlr:antlr-runtime:jar:3.1.3:compile
      [INFO] |  |  \- commons-beanutils:commons-beanutils:jar:1.9.2:compile
      [INFO] |  +- org.codehaus.gmaven.runtime:gmaven-runtime-1.7:jar:1.3:compile
      [INFO] |  |  +- org.codehaus.gmaven.feature:gmaven-feature-support:jar:1.3:compile
      [INFO] |  |  |  \- org.codehaus.gmaven.feature:gmaven-feature-api:jar:1.3:compile
      [INFO] |  |  +- org.codehaus.gmaven.runtime:gmaven-runtime-support:jar:1.3:compile
      [INFO] |  |  |  +- org.codehaus.gmaven.runtime:gmaven-runtime-api:jar:1.3:compile
      [INFO] |  |  |  +- org.sonatype.gshell:gshell-io:jar:2.0:compile
      [INFO] |  |  |  \- com.thoughtworks.qdox:qdox:jar:1.10:compile
      [INFO] |  |  +- org.codehaus.groovy:groovy-all:jar:2.4.0:compile
      [INFO] |  |  +- org.apache.ant:ant:jar:1.7.0:compile
      [INFO] |  |  |  \- org.apache.ant:ant-launcher:jar:1.7.0:compile
      [INFO] |  |  \- jline:jline:jar:0.9.94:compile
      [INFO] |  +- org.webjars:webjars-locator:jar:0.19:compile
      [INFO] |  |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.4.4:compile
      [INFO] |  |     +- com.fasterxml.jackson.core:jackson-annotations:jar:2.4.4:compile
      [INFO] |  |     \- com.fasterxml.jackson.core:jackson-core:jar:2.4.4:compile
      [INFO] |  +- org.webjars:jshint:jar:2.4.3:compile
      [INFO] |  +- org.webjars:less:jar:1.3.3:compile
      [INFO] |  +- org.webjars:emberjs:jar:1.5.0:compile
      [INFO] |  |  \- org.webjars:jquery:jar:1.10.2-1:compile
      [INFO] |  +- org.webjars:handlebars:jar:1.3.0:compile
      [INFO] |  +- org.webjars:coffee-script:jar:1.8.0:compile
      [INFO] |  +- org.webjars:jslint:jar:c657984cd7:compile
      [INFO] |  \- org.webjars:json2:jar:20110223:compile
      [INFO] +- org.mozilla:rhino:jar:1.7.7:compile
      [INFO] +- org.nuxeo.runtime:nuxeo-runtime-test:jar:7.4-SNAPSHOT:test
      [INFO] |  +- com.google.inject:guice:jar:3.0:test
      [INFO] |  +- org.nuxeo.runtime:nuxeo-runtime-osgi:jar:7.4-SNAPSHOT:test
      [INFO] |  +- org.nuxeo.runtime:nuxeo-runtime-management:jar:7.4-SNAPSHOT:test
      [INFO] |  |  +- org.javasimon:javasimon-jmx:jar:2.5.0:test
      [INFO] |  |  |  \- org.javasimon:javasimon-jdbc3:jar:2.5.0:test
      [INFO] |  |  +- com.thoughtworks.xstream:xstream:jar:1.4.6:test
      [INFO] |  |  \- xpp3:xpp3:jar:clean:1.1.4c:test
      [INFO] |  +- org.jmock:jmock:jar:2.5.1:test
      [INFO] |  |  \- org.hamcrest:hamcrest-library:jar:1.3:test
      [INFO] |  +- org.assertj:assertj-core:jar:1.6.1:test
      [INFO] |  +- org.mockito:mockito-core:jar:1.9.5:test
      [INFO] |  |  \- org.objenesis:objenesis:jar:1.0:test
      [INFO] |  +- org.nuxeo.runtime:nuxeo-runtime-jetty-adapter:jar:7.4-SNAPSHOT:test
      [INFO] |  |  +- org.mortbay.jetty:jetty-plus:jar:6.1.26:test
      [INFO] |  |  +- org.mortbay.jetty:jetty-annotations:jar:6.1.26:test
      [INFO] |  |  |  \- org.apache.geronimo.specs:geronimo-annotation_1.0_spec:jar:1.0:test
      [INFO] |  |  \- jotm:jotm:jar:2.0.10:test
      [INFO] |  |     +- jotm:jotm_jrmp_stubs:jar:2.0.10:test
      [INFO] |  |     +- org.objectweb.carol:carol:jar:2.0.5:test
      [INFO] |  |     \- howl:howl-logger:jar:0.1.11:test
      [INFO] |  +- org.mortbay.jetty:jetty:jar:6.1.26:test
      [INFO] |  +- org.mortbay.jetty:jetty-util:jar:6.1.26:test
      [INFO] |  +- org.mortbay.jetty:jsp-api-2.1:jar:6.1.6:test
      [INFO] |  |  \- org.mortbay.jetty:servlet-api-2.5:jar:6.1.6:test
      [INFO] |  +- org.mortbay.jetty:jsp-2.1:jar:6.1.6:test
      [INFO] |  |  +- org.eclipse.jdt:core:jar:3.1.1-NXP-4284:test
      [INFO] |  |  \- ant:ant:jar:1.6.5:test
      [INFO] |  +- org.hamcrest:hamcrest-core:jar:1.3:test
      [INFO] |  +- org.seleniumhq.selenium:selenium-api:jar:2.39.0:test
      [INFO] |  +- org.seleniumhq.selenium:selenium-support:jar:2.39.0:test
      [INFO] |  +- org.seleniumhq.selenium:selenium-firefox-driver:jar:2.39.0:test
      [INFO] |  |  \- org.seleniumhq.selenium:selenium-remote-driver:jar:2.39.0:test
      [INFO] |  |     \- cglib:cglib-nodep:jar:2.2:test
      [INFO] |  +- org.seleniumhq.selenium:selenium-ie-driver:jar:2.39.0:test
      [INFO] |  |  +- net.java.dev.jna:jna:jar:3.4.0:test
      [INFO] |  |  \- net.java.dev.jna:platform:jar:3.4.0:test
      [INFO] |  +- org.seleniumhq.selenium:selenium-chrome-driver:jar:2.39.0:test
      [INFO] |  +- org.seleniumhq.selenium:selenium-htmlunit-driver:jar:2.39.0:test
      [INFO] |  |  +- net.sourceforge.htmlunit:htmlunit:jar:2.8:test
      [INFO] |  |  |  +- xalan:xalan:jar:2.7.1:test
      [INFO] |  |  |  |  \- xalan:serializer:jar:2.7.1:test
      [INFO] |  |  |  +- org.apache.httpcomponents:httpmime:jar:4.3.3:test
      [INFO] |  |  |  +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.8:test
      [INFO] |  |  |  \- net.sourceforge.cssparser:cssparser:jar:0.9.5:test
      [INFO] |  |  |     \- org.w3c.css:sac:jar:1.3:test
      [INFO] |  |  \- org.apache.httpcomponents:httpclient:jar:4.3.3:test
      [INFO] |  |     \- org.apache.httpcomponents:httpcore:jar:4.3.3:test
      [INFO] |  +- org.concordion:concordion:jar:1.3.0:test
      [INFO] |  |  +- ognl:ognl:jar:2.7.2:test
      [INFO] |  |  \- xom:xom:jar:1.2.5:test
      [INFO] |  +- org.ow2.asm:asm:jar:5.0.3:compile
      [INFO] |  +- concurrent:concurrent:jar:1.3.4:test
      [INFO] |  \- org.nuxeo.runtime:nuxeo-runtime-jtajca:jar:7.4-SNAPSHOT:test
      [INFO] |     +- org.nuxeo.runtime:nuxeo-runtime-metrics:jar:7.4-SNAPSHOT:test
      [INFO] |     |  +- com.codahale.metrics:metrics-graphite:jar:3.0.0:test
      [INFO] |     |  +- com.codahale.metrics:metrics-log4j:jar:3.0.0:test
      [INFO] |     |  \- com.codahale.metrics:metrics-jvm:jar:3.0.0:test
      [INFO] |     +- javax.resource:connector-api:jar:1.5:test
      [INFO] |     +- org.apache.geronimo.components:geronimo-connector:jar:2.2.1-NX1:test
      [INFO] |     +- org.apache.geronimo.components:geronimo-transaction:jar:2.2.1:test
      [INFO] |     |  \- org.objectweb.howl:howl:jar:1.0.1-1:test
      [INFO] |     \- org.apache.xbean:xbean-naming:jar:3.9:test
      [INFO] +- org.nuxeo.ecm.core:nuxeo-core-test:jar:7.4-SNAPSHOT:test
      [INFO] |  +- org.nuxeo.runtime:nuxeo-runtime-reload:jar:7.4-SNAPSHOT:test
      [INFO] |  |  \- org.nuxeo.runtime:nuxeo-runtime-deploy:jar:7.4-SNAPSHOT:test
      [INFO] |  |     \- org.nuxeo.runtime:nuxeo-launcher-commons:jar:7.4-SNAPSHOT:test
      [INFO] |  |        \- org.nuxeo.connect:nuxeo-connect-client:jar:1.4.22:test
      [INFO] |  |           +- org.eclipse.equinox:org.eclipse.equinox.p2.cudf:jar:1.17-NX:test
      [INFO] |  |           |  +- org.sat4j:org.sat4j.pb:jar:2.3.1:test
      [INFO] |  |           |  +- org.sat4j:org.sat4j.core:jar:2.3.1:test
      [INFO] |  |           |  +- org.eclipse.core:org.eclipse.core.jobs:jar:3.5.0.v20100515:test
      [INFO] |  |           |  \- org.eclipse.equinox:org.eclipse.equinox.common:jar:3.6.0.v20100503:test
      [INFO] |  |           \- rhino:js:jar:1.7R1:test
      [INFO] |  +- org.nuxeo.runtime:nuxeo-runtime-datasource:jar:7.4-SNAPSHOT:test
      [INFO] |  |  +- org.apache.tomcat:tomcat-jdbc:jar:7.0.56:test
      [INFO] |  |  |  \- org.apache.tomcat:tomcat-juli:jar:7.0.56:test
      [INFO] |  |  \- org.tranql:tranql-connector:jar:1.8:test
      [INFO] |  +- org.nuxeo.ecm.core:nuxeo-core:jar:7.4-SNAPSHOT:test
      [INFO] |  |  \- org.nuxeo.ecm.core:nuxeo-core-query:jar:7.4-SNAPSHOT:test
      [INFO] |  |     \- cup:java-cup:jar:0.11a:test
      [INFO] |  +- org.nuxeo.ecm.core:nuxeo-core-event:jar:7.4-SNAPSHOT:test
      [INFO] |  |  \- org.quartz-scheduler:quartz:jar:1.8.6:test
      [INFO] |  +- org.nuxeo.ecm.core:nuxeo-core-convert:jar:7.4-SNAPSHOT:test
      [INFO] |  |  +- org.nuxeo.ecm.core:nuxeo-core-convert-api:jar:7.4-SNAPSHOT:test
      [INFO] |  |  \- org.nuxeo.ecm.core:nuxeo-core-mimetype:jar:7.4-SNAPSHOT:test
      [INFO] |  |     \- jmimemagic:jmimemagic:jar:0.1.2:test
      [INFO] |  |        \- oro:oro:jar:2.0.8:test
      [INFO] |  +- org.nuxeo.ecm.core:nuxeo-core-convert-plugins:jar:7.4-SNAPSHOT:test
      [INFO] |  |  +- org.apache.pdfbox:pdfbox:jar:1.8.6:test
      [INFO] |  |  +- org.apache.pdfbox:fontbox:jar:1.8.6:test
      [INFO] |  |  +- org.apache.pdfbox:jempbox:jar:1.8.6:test
      [INFO] |  |  +- com.ibm.icu:icu4j:jar:51.1:test
      [INFO] |  |  +- org.bouncycastle:bcmail-jdk15:jar:1.45:test
      [INFO] |  |  +- org.bouncycastle:bcprov-jdk15:jar:1.45:test
      [INFO] |  |  +- org.apache.poi:poi-scratchpad:jar:3.10-FINAL:compile
      [INFO] |  |  +- org.apache.poi:poi:jar:3.10-FINAL:compile
      [INFO] |  |  +- org.apache.poi:poi-ooxml:jar:3.10-FINAL:compile
      [INFO] |  |  |  +- org.apache.poi:poi-ooxml-schemas:jar:3.10-FINAL:runtime
      [INFO] |  |  |  \- dom4j:dom4j:jar:1.6.1:compile
      [INFO] |  |  +- net.sourceforge.nekohtml:nekohtml:jar:1.9.12:test
      [INFO] |  |  +- org.apache.xmlbeans:xmlbeans:jar:2.6.0:runtime
      [INFO] |  |  +- javax.mail:mail:jar:1.4.5:test
      [INFO] |  |  \- net.htmlparser.jericho:jericho-html:jar:3.2:test
      [INFO] |  +- org.nuxeo.ecm.core:nuxeo-core-storage:jar:7.4-SNAPSHOT:test
      [INFO] |  |  \- commons-httpclient:commons-httpclient:jar:3.1:test
      [INFO] |  +- org.nuxeo.ecm.core:nuxeo-core-storage-sql:jar:7.4-SNAPSHOT:test
      [INFO] |  |  \- net.sf.ehcache:ehcache-core:jar:2.5.2:test
      [INFO] |  +- org.nuxeo.ecm.core:nuxeo-core-storage-sql-ra:jar:7.4-SNAPSHOT:test
      [INFO] |  +- org.nuxeo.ecm.core:nuxeo-core-storage-sql-test:jar:7.4-SNAPSHOT:test
      [INFO] |  |  +- org.slf4j:slf4j-log4j12:jar:1.7.7:test
      [INFO] |  |  +- org.nuxeo.ecm.core:nuxeo-core-management:jar:7.4-SNAPSHOT:test
      [INFO] |  |  +- org.nuxeo.lib.core:nuxeo-core-storage-sql-extensions:jar:7.4-SNAPSHOT:test
      [INFO] |  |  +- com.h2database:h2:jar:1.4.177-NX01:provided
      [INFO] |  |  +- org.apache.lucene:lucene-core:jar:4.10.4:test
      [INFO] |  |  +- org.apache.lucene:lucene-queryparser:jar:4.10.4:test
      [INFO] |  |  |  +- org.apache.lucene:lucene-queries:jar:4.10.4:test
      [INFO] |  |  |  \- org.apache.lucene:lucene-sandbox:jar:4.10.4:test
      [INFO] |  |  +- org.apache.lucene:lucene-analyzers-common:jar:4.10.4:test
      [INFO] |  |  +- org.apache.derby:derby:jar:10.10.1.1:test
      [INFO] |  |  +- postgresql:postgresql:jar:9.2-1002.jdbc4:test
      [INFO] |  |  +- mysql:mysql-connector-java:jar:5.1.18:test
      [INFO] |  |  \- net.sourceforge.jtds:jtds:jar:1.3.0:test
      [INFO] |  +- org.nuxeo.ecm.core:nuxeo-core-storage-mem:jar:7.4-SNAPSHOT:test
      [INFO] |  |  \- org.nuxeo.ecm.core:nuxeo-core-storage-dbs:jar:7.4-SNAPSHOT:test
      [INFO] |  +- org.nuxeo.ecm.core:nuxeo-core-storage-mongodb:jar:7.4-SNAPSHOT:test
      [INFO] |  |  \- org.mongodb:mongo-java-driver:jar:2.12.1:test
      [INFO] |  +- org.javasimon:javasimon-core:jar:2.5.0:test
      [INFO] |  |  \- org.mvel:mvel2:jar:2.2.4.Final:test
      [INFO] |  \- dumbster:dumbster:jar:1.6:test
      [INFO] |     \- javax.activation:activation:jar:1.1:test
      [INFO] +- org.jmock:jmock-junit4:jar:2.5.1:test
      [INFO] +- commons-logging:commons-logging:jar:1.1:compile
      [INFO] +- log4j:log4j:jar:1.2.17:test
      [INFO] \- junit:junit:jar:4.11:test
      
      

      Current version is 1.7R1 (brought by nuxeo-connect-client) and wro4j needs 1.7R5. Indeed org.mozilla.javascript.Context.VERSION_1_7 is highest version supported while we need version 1.8.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: