Uploaded image for project: 'JBoss Enterprise Spec APIs'
  1. JBoss Enterprise Spec APIs
  2. JBEE-103

Add support for JDK 7 APIs

XMLWordPrintable

      Currently it's not possible to build this project (jboss-jstl-api_1.2_spec-1.0.2.Final tag) with JDK7:

      [goldmann@localhost spec]$ rpmbuild -ba jboss-jstl-1.2-api.spec 
      Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5sVgvP
      + umask 022
      + cd /home/goldmann/rpmbuild/BUILD
      + LANG=C
      + export LANG
      + unset DISPLAY
      + cd /home/goldmann/rpmbuild/BUILD
      + rm -rf jboss-jstl-1.2-api-1.0.2.Final
      + /usr/bin/xz -dc /home/goldmann/rpmbuild/SOURCES/jboss-jstl-1.2-api-1.0.2.Final.tar.xz
      + /bin/tar -xf -
      + STATUS=0
      + '[' 0 -ne 0 ']'
      + cd jboss-jstl-1.2-api-1.0.2.Final
      + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
      + exit 0
      Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pAIj5a
      + umask 022
      + cd /home/goldmann/rpmbuild/BUILD
      + cd jboss-jstl-1.2-api-1.0.2.Final
      + LANG=C
      + export LANG
      + unset DISPLAY
      + mvn-rpmbuild install javadoc:aggregate
      /usr/lib/jvm/java
      [INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss JSTL 1.2 API 1.0.2.Final
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java-version) @ jboss-jstl-api_1.2_spec ---
      [INFO] 
      [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven-version) @ jboss-jstl-api_1.2_spec ---
      [INFO] 
      [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jboss-jstl-api_1.2_spec ---
      [debug] execute contextualize
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 19 resources
      [INFO] 
      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jboss-jstl-api_1.2_spec ---
      [INFO] Compiling 244 source files to /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/target/classes
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] bootstrap class path not set in conjunction with -source 1.6
      /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[74,27] [deprecation] ExpressionEvaluator in javax.servlet.jsp.el has been deprecated
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[75,27] [deprecation] VariableResolver in javax.servlet.jsp.el has been deprecated
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java:[75,7] error: DataSourceWrapper is not abstract and does not override abstract method getParentLogger() in CommonDataSource
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[341,26] [deprecation] getVariableResolver() in JspContext has been deprecated
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[340,29] [deprecation] getExpressionEvaluator() in JspContext has been deprecated
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[340,9] [deprecation] ExpressionEvaluator in javax.servlet.jsp.el has been deprecated
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[341,9] [deprecation] VariableResolver in javax.servlet.jsp.el has been deprecated
      [INFO] 7 errors 
      [INFO] -------------------------------------------------------------
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Skipping JBoss JSTL 1.2 API
      [INFO] This project has been banned from the build due to previous failures.
      [INFO] ------------------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 10.833s
      [INFO] Finished at: Wed Jan 25 07:16:08 EST 2012
      [INFO] Final Memory: 19M/154M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project jboss-jstl-api_1.2_spec: Compilation failure: Compilation failure:
      [ERROR] bootstrap class path not set in conjunction with -source 1.6
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[74,27] [deprecation] ExpressionEvaluator in javax.servlet.jsp.el has been deprecated
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[75,27] [deprecation] VariableResolver in javax.servlet.jsp.el has been deprecated
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java:[75,7] error: DataSourceWrapper is not abstract and does not override abstract method getParentLogger() in CommonDataSource
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[341,26] [deprecation] getVariableResolver() in JspContext has been deprecated
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[340,29] [deprecation] getExpressionEvaluator() in JspContext has been deprecated
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[340,9] [deprecation] ExpressionEvaluator in javax.servlet.jsp.el has been deprecated
      [ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[341,9] [deprecation] VariableResolver in javax.servlet.jsp.el has been deprecated
      [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: Bad exit status from /var/tmp/rpm-tmp.pAIj5a (%build)
      

              pgier@redhat.com Paul Gier (Inactive)
              rhn-engineering-mgoldman Marek Goldmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: