Re: [Resteasy-users] Broken Build

2013-10-23 Thread Anthony Whitford
Bingo!  Yes, I downloaded and installed the Java Cryptography Extension (JCE) 
Unlimited Strength Jurisdiction Policy Files 7 and now the build works.

I suggest adding that crucial tidbit to the README.

Now...  I'm running into the next issue building the Example: OAuth module.  
It is unable to download the artifact:


http://repository.jboss.org/maven2/org/jboss/security/jboss-security-spi/2.0.4/jboss-security-spi-2.0.4.pom

I suspect that a bad repository entry lingers in the pom because the 
http://repository.jboss.org/maven2/ has been deprecated; it should reference 
something like:  
https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/security/jboss-security-spi/2.0.4/

Confirmed...  See search results:

https://github.com/resteasy/Resteasy/search?q=%3Curl%3Ehttp%3A%2F%2Frepository.jboss.org%2Fmaven2%3C%2Furl%3Etype=Code

Instances that should be tweaked:
 * 
https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-provider/pom.xml#L17
 * 
https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-catalina-authenticator/authenticator/pom.xml#L17
 * 
https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-catalina-authenticator/oauth/pom.xml#L20
 * 
https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth/pom.xml#L20
 * 
https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-push-messaging-openid/push-messaging/pom.xml#L21
 * 
https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-push-messaging/pom.xml#L20
 * 
https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-push-messaging-openid/openid/pom.xml#L21
* 
https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/war-tests/jsapi-servlet-test/pom.xml#L15

I suspect that these old repository entries just simply need to be removed from 
the pom.xml files.  (BTW, these settings should really be centralized at the 
top so that you don't repeat in various modules.)


On Oct 22, 2013, at 9:51 PM, Bill Burke bbu...@redhat.com wrote:

 Maybe a JDK encryption problem?  Do you need to upgrade to full JDK crypto?
 
 On 10/23/2013 12:13 AM, Anthony Whitford wrote:
 I retrieved a fresh Clone and see that the original issue has been
 resolved, but am now running into an issue with the Crypto module:
 
 Failed tests:
 testEncryptedInput(org.jboss.resteasy.test.security.smime.IntegrationTest):
 expected:204 but was:500
 
 testEncryptedSignedInput(org.jboss.resteasy.test.security.smime.IntegrationTest):
 expected:204 but was:500
 
 Tests in error:
   testBody(org.jboss.resteasy.test.security.smime.EnvelopedTest): key
 invalid in message.
 
 testFromPythonGenerated(org.jboss.resteasy.test.security.smime.EnvelopedTest):
 key invalid in message.
 
 testFromPythonGenerated2(org.jboss.resteasy.test.security.smime.EnvelopedTest):
 key invalid in message.
 
 testEncryptedOutput2(org.jboss.resteasy.test.security.smime.IntegrationTest):
 org.bouncycastle.cms.CMSException: key invalid in message.
 
 testEncryptedSignedOutput(org.jboss.resteasy.test.security.smime.IntegrationTest):
 org.bouncycastle.cms.CMSException: key invalid in message.
 
 Tests run: 77, Failures: 2, Errors: 5, Skipped: 0
 
 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] RESTEasy JAX-RS ... SUCCESS [1.017s]
 [INFO] Embedded Servlet Container  SUCCESS [6.367s]
 [INFO] JAX-RS Core API ... SUCCESS [3.753s]
 [INFO] RESTEasy JAX-RS Test Data . SUCCESS [2.763s]
 [INFO] RESTEasy JAX-RS Implementation  SUCCESS [56.316s]
 [INFO] RESTEasy JAX-RS Client  SUCCESS [2.279s]
 [INFO] RESTEasy JAX-RS Client/Server Testsuite ... SUCCESS [31.325s]
 [INFO] Resteasy JAXB Provider  SUCCESS [10.398s]
 [INFO] Resteasy Jettison Provider  SUCCESS [5.119s]
 [INFO] Resteasy FastInfoSet Provider . SUCCESS [0.753s]
 [INFO] Test All JAXB providers ... SUCCESS [7.083s]
 [INFO] Resteasy Jackson Provider . SUCCESS [4.071s]
 [INFO] Resteasy Jackson Provider . SUCCESS [4.084s]
 [INFO] Resteasy JSON-P EE7 Provider .. SUCCESS [2.021s]
 [INFO] Test Jackson and JAXB Coexistence . SUCCESS [2.445s]
 [INFO] Resteasy Atom Provider  SUCCESS [3.384s]
 [INFO] Resteasy Multipart Provider 

Re: [Resteasy-users] Sloppy Pull Requests == Broken Builds

2013-10-23 Thread Matthias Wessendorf
Hi,

if you like, here is a PR to enable travis based builds:

https://github.com/resteasy/Resteasy/pull/400

Pretty simple, as a start - can be improved

-M


On Wed, Oct 23, 2013 at 2:54 AM, Bill Burke bbu...@redhat.com wrote:

 Two PRs from two different contributors broke the build.  Please do a
 full build before you commit!  Each person who has broken the build owes
 me 1 beer per minute I wasted cleaning up after your mess...sloppy,
 sloppy...

 I know we should have an integrated GIT/Jenkins CI build, but I just
 don't have time to set it up or maintain it.  Besides, its more fun to
 bully people into buying me beers.

 Bill

 --
 Bill Burke
 JBoss, a division of Red Hat
 http://bill.burkecentral.com


 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
 from
 the latest Intel processors and coprocessors. See abstracts and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk
 ___
 Resteasy-users mailing list
 Resteasy-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/resteasy-users




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users