I meant to reply to list.

-------- Forwarded Message --------
Subject: Re: [Resteasy-developers] Maven build fails for 3.0.10.Final tag and master branch
Date:   Mon, 11 May 2015 13:04:04 -0400
From:   Ron Sigal <rsi...@redhat.com>
To:     Konstantin Gribov <gros...@gmail.com>



Hi Konstantin,

In your version of TestSecureProcessing, do you see

   void doMaxAttributesFails() throws Exception
   {
      DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
      System.out.println("dbf.getClass(): " + dbf.getClass());
if ("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl".equals(dbf.getClass().getName()))
      {
System.out.println("Testing with Red Hat version of Xerces, skipping max attributes test");
         return;
      }

If I remember correctly, the JDK version of Xerces has a max attribute property, and the Red Hat version of Xerces does not. Note that the "redhat-xerces" profile in resteasy-jaxrs will use the Red Hat version. By default, the version in the JDK should get used. Could you try to figure out which version is being used when you run the tests?

Thanks,
Ron

Could you show me the
On 03/26/2015 06:21 PM, Konstantin Gribov wrote:
Hi, Ron.

It builds fine now (after merging my PR https://github.com/resteasy/Resteasy/pull/624) on both openjdk7 and oracle jdk7. But I'm still building it without tests because current master (eda61d9824652ee3cc16983ae8de1d08b1397a31) still fails on performing tests on "RESTEasy JAX-RS Implementation":

Failed tests:
  TestIIOImageProvider.testPostJPEGIMage:81
TestSecureProcessing.testSecurityTrueDTDsTrueExpansionFalse:291->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityTrueDTDsTrueExpansionTrue:298->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityDefaultDTDsDefaultExpansionDefault:116->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityDefaultDTDsDefaultExpansionFalse:123->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityDefaultDTDsDefaultExpansionTrue:130->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityDefaultDTDsFalseExpansionDefault:137->doTestFailsFailsPassesFails:317->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityDefaultDTDsFalseExpansionFalse:144->doTestFailsFailsPassesFails:317->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityDefaultDTDsFalseExpansionTrue:151->doTestFailsFailsPassesPasses:325->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityDefaultDTDsTrueExpansionDefault:158->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityDefaultDTDsTrueExpansionFalse:165->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityDefaultDTDsTrueExpansionTrue:172->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityTrueDTDsDefaultExpansionDefault:242->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityTrueDTDsDefaultExpansionFalse:249->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityTrueDTDsDefaultExpansionTrue:256->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityTrueDTDsFalseExpansionDefault:263->doTestFailsFailsPassesFails:317->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityTrueDTDsFalseExpansionFalse:270->doTestFailsFailsPassesFails:317->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityTrueDTDsFalseExpansionTrue:277->doTestFailsFailsPassesPasses:325->doMaxAttributesFails:391 null TestSecureProcessing.testSecurityTrueDTDsTrueExpansionDefault:284->doTestSkipFailsFailsSkip:304->doMaxAttributesFails:391 null

--
Best regards,
Konstantin Gribov

сб, 14 марта 2015 г. в 6:38, Ron Sigal <rsi...@redhat.com <mailto:rsi...@redhat.com>>:

    Hi Konstantin,

    It builds for me. Which JDK are you using?

    -Ron


    On 02/11/2015 11:02 AM, Konstantin Gribov wrote:
    Hi, folks.

    Currently `mvn clean install` invocation fails even with
    `-DskipTests=true`.

    Build fails because maven can't find
    `javax.enterprise.inject.spi.Extension` when building
    `org/jboss/resteasy/plugins/validation/GeneralValidatorImpl.java`
    in *Resteasy Validator Provider BV 1.1*

    When building with tests turned on it fails earlier, on running
    tests in restesy-jaxrs module.

    Related logs (with and without tests run) can be found at [1].

    [1]: https://gist.github.com/grossws/a6f6395c1337f61e43cd

-- Best regards,
    Konstantin Gribov


    
------------------------------------------------------------------------------
    Dive into the World of Parallel Programming. The Go Parallel Website,
    sponsored by Intel and developed in partnership with Slashdot Media, is your
    hub for all things parallel software development, from weekly thought
    leadership blogs to news, videos, case studies, tutorials and more. Take a
    look and join the conversation now.http://goparallel.sourceforge.net/


    _______________________________________________
    Resteasy-developers mailing list
    resteasy-develop...@lists.sourceforge.net  
<mailto:resteasy-develop...@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/resteasy-developers

    
------------------------------------------------------------------------------
    Dive into the World of Parallel Programming The Go Parallel
    Website, sponsored
    by Intel and developed in partnership with Slashdot Media, is your
    hub for all
    things parallel software development, from weekly thought
    leadership blogs to
    news, videos, case studies, tutorials and more. Take a look and
    join the
    conversation now.
    
http://goparallel.sourceforge.net/_______________________________________________
    Resteasy-developers mailing list
    resteasy-develop...@lists.sourceforge.net
    <mailto:resteasy-develop...@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/resteasy-developers




------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to