tomee git commit: Update MP Geronimo Config to 1.2.
Repository: tomee Updated Branches: refs/heads/master 55ded3eb2 -> a88c10cb0 Update MP Geronimo Config to 1.2. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/a88c10cb Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/a88c10cb Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/a88c10cb Branch: refs/heads/master Commit: a88c10cb0ddbf92f8ae66af064c1ef1459e778bf Parents: 55ded3e Author: Roberto Cortez Authored: Tue Sep 11 16:45:36 2018 +0100 Committer: Roberto Cortez Committed: Mon Oct 1 10:58:34 2018 +0100 -- pom.xml | 3 ++- tck/microprofile-tck/config/pom.xml | 4 2 files changed, 2 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/a88c10cb/pom.xml -- diff --git a/pom.xml b/pom.xml index 606c1f8..700a50a 100644 --- a/pom.xml +++ b/pom.xml @@ -195,7 +195,8 @@ 1.3 1.2 -1.1 + +1.2 1.0 ${project.version} 1.0 http://git-wip-us.apache.org/repos/asf/tomee/blob/a88c10cb/tck/microprofile-tck/config/pom.xml -- diff --git a/tck/microprofile-tck/config/pom.xml b/tck/microprofile-tck/config/pom.xml index c96d6fa..e8bdafc 100644 --- a/tck/microprofile-tck/config/pom.xml +++ b/tck/microprofile-tck/config/pom.xml @@ -38,10 +38,6 @@ org.eclipse.microprofile.config:microprofile-config-tck - - - org.eclipse.microprofile.config.tck.ClassConverterTest -
[2/2] tomee git commit: TOMEE-2239 add try-catch block back but add a final if statement
TOMEE-2239 add try-catch block back but add a final if statement Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/f003c900 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/f003c900 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/f003c900 Branch: refs/heads/master Commit: f003c900ef859ccdef3a06604ef1550d3305912b Parents: 600901a Author: Thiago Veronezi Authored: Thu Sep 20 09:43:46 2018 -0400 Committer: Roberto Cortez Committed: Mon Oct 1 11:16:47 2018 +0100 -- .../apache/tomee/microprofile/jwt/MPJWTFilter.java | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/f003c900/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java -- diff --git a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java index 27b4c57..78f059e 100644 --- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java +++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java @@ -68,7 +68,22 @@ public class MPJWTFilter implements Filter { final HttpServletRequest httpServletRequest = (HttpServletRequest) request; // now wrap the httpServletRequest and override the principal so CXF can propagate into the SecurityContext -chain.doFilter(new MPJWTServletRequestWrapper(httpServletRequest, authContextInfo.get()), response); +try { +chain.doFilter(new MPJWTServletRequestWrapper(httpServletRequest, authContextInfo.get()), response); + +} catch (final Exception e) { +// this is an alternative to the @Provider bellow which requires registration on the fly +// or users to add it into their webapp for scanning or into the Application itself +if (MPJWTException.class.isInstance(e)) { +final MPJWTException jwtException = MPJWTException.class.cast(e); + HttpServletResponse.class.cast(response).sendError(jwtException.getStatus(), jwtException.getMessage()); +} else if (MPJWTException.class.isInstance(e.getCause())) { +final MPJWTException jwtException = MPJWTException.class.cast(e.getCause()); + HttpServletResponse.class.cast(response).sendError(jwtException.getStatus(), jwtException.getMessage()); +} else { +throw e; +} +} } @Override
[1/2] tomee git commit: TOMEE-2239 removing the try-catch block
Repository: tomee Updated Branches: refs/heads/master a88c10cb0 -> f003c900e TOMEE-2239 removing the try-catch block Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/600901a8 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/600901a8 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/600901a8 Branch: refs/heads/master Commit: 600901a840ef91f7379ebe1615b336cbf7231e80 Parents: a88c10c Author: Thiago Veronezi Authored: Wed Sep 19 18:15:04 2018 -0400 Committer: Roberto Cortez Committed: Mon Oct 1 11:11:48 2018 +0100 -- .../tomee/microprofile/jwt/MPJWTFilter.java | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/600901a8/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java -- diff --git a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java index d35fb93..27b4c57 100644 --- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java +++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java @@ -68,24 +68,7 @@ public class MPJWTFilter implements Filter { final HttpServletRequest httpServletRequest = (HttpServletRequest) request; // now wrap the httpServletRequest and override the principal so CXF can propagate into the SecurityContext -try { -chain.doFilter(new MPJWTServletRequestWrapper(httpServletRequest, authContextInfo.get()), response); - -} catch (final Exception e) { -// this is an alternative to the @Provider bellow which requires registration on the fly -// or users to add it into their webapp for scanning or into the Application itself -if (MPJWTException.class.isInstance(e)) { -final MPJWTException jwtException = MPJWTException.class.cast(e); - HttpServletResponse.class.cast(response).sendError(jwtException.getStatus(), jwtException.getMessage()); -} - -if (MPJWTException.class.isInstance(e.getCause())) { -final MPJWTException jwtException = MPJWTException.class.cast(e.getCause()); - HttpServletResponse.class.cast(response).sendError(jwtException.getStatus(), jwtException.getMessage()); -} - -} - +chain.doFilter(new MPJWTServletRequestWrapper(httpServletRequest, authContextInfo.get()), response); } @Override
[1/3] tomee git commit: TOMEE-2239 removing the try-catch block
Repository: tomee Updated Branches: refs/heads/tomee-7.1.x 08a88a02a -> a32354b9d TOMEE-2239 removing the try-catch block Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/1bf79631 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/1bf79631 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/1bf79631 Branch: refs/heads/tomee-7.1.x Commit: 1bf79631b212372997dec2ce274eef631f049582 Parents: 08a88a0 Author: Thiago Veronezi Authored: Wed Sep 19 18:15:04 2018 -0400 Committer: Roberto Cortez Committed: Mon Oct 1 11:32:14 2018 +0100 -- .../tomee/microprofile/jwt/MPJWTFilter.java | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/1bf79631/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java -- diff --git a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java index d35fb93..27b4c57 100644 --- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java +++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java @@ -68,24 +68,7 @@ public class MPJWTFilter implements Filter { final HttpServletRequest httpServletRequest = (HttpServletRequest) request; // now wrap the httpServletRequest and override the principal so CXF can propagate into the SecurityContext -try { -chain.doFilter(new MPJWTServletRequestWrapper(httpServletRequest, authContextInfo.get()), response); - -} catch (final Exception e) { -// this is an alternative to the @Provider bellow which requires registration on the fly -// or users to add it into their webapp for scanning or into the Application itself -if (MPJWTException.class.isInstance(e)) { -final MPJWTException jwtException = MPJWTException.class.cast(e); - HttpServletResponse.class.cast(response).sendError(jwtException.getStatus(), jwtException.getMessage()); -} - -if (MPJWTException.class.isInstance(e.getCause())) { -final MPJWTException jwtException = MPJWTException.class.cast(e.getCause()); - HttpServletResponse.class.cast(response).sendError(jwtException.getStatus(), jwtException.getMessage()); -} - -} - +chain.doFilter(new MPJWTServletRequestWrapper(httpServletRequest, authContextInfo.get()), response); } @Override
[2/3] tomee git commit: TOMEE-2239 add try-catch block back but add a final if statement
TOMEE-2239 add try-catch block back but add a final if statement Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/cb747b09 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/cb747b09 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/cb747b09 Branch: refs/heads/tomee-7.1.x Commit: cb747b0912c7a54866430b56743378d1640ca0b0 Parents: 1bf7963 Author: Thiago Veronezi Authored: Thu Sep 20 09:43:46 2018 -0400 Committer: Roberto Cortez Committed: Mon Oct 1 11:33:03 2018 +0100 -- .../apache/tomee/microprofile/jwt/MPJWTFilter.java | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/cb747b09/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java -- diff --git a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java index 27b4c57..78f059e 100644 --- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java +++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java @@ -68,7 +68,22 @@ public class MPJWTFilter implements Filter { final HttpServletRequest httpServletRequest = (HttpServletRequest) request; // now wrap the httpServletRequest and override the principal so CXF can propagate into the SecurityContext -chain.doFilter(new MPJWTServletRequestWrapper(httpServletRequest, authContextInfo.get()), response); +try { +chain.doFilter(new MPJWTServletRequestWrapper(httpServletRequest, authContextInfo.get()), response); + +} catch (final Exception e) { +// this is an alternative to the @Provider bellow which requires registration on the fly +// or users to add it into their webapp for scanning or into the Application itself +if (MPJWTException.class.isInstance(e)) { +final MPJWTException jwtException = MPJWTException.class.cast(e); + HttpServletResponse.class.cast(response).sendError(jwtException.getStatus(), jwtException.getMessage()); +} else if (MPJWTException.class.isInstance(e.getCause())) { +final MPJWTException jwtException = MPJWTException.class.cast(e.getCause()); + HttpServletResponse.class.cast(response).sendError(jwtException.getStatus(), jwtException.getMessage()); +} else { +throw e; +} +} } @Override
[3/3] tomee git commit: Updated projects still using 7.1.0 to 7.1.1.
Updated projects still using 7.1.0 to 7.1.1. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/a32354b9 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/a32354b9 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/a32354b9 Branch: refs/heads/tomee-7.1.x Commit: a32354b9d84d8412af72d1ca42e0d10aab4d60b7 Parents: cb747b0 Author: Roberto Cortez Authored: Mon Oct 1 12:03:42 2018 +0100 Committer: Roberto Cortez Committed: Mon Oct 1 12:03:42 2018 +0100 -- arquillian/arquillian-tomee-tests/pom.xml | 30 ++-- examples/applet/pom.xml | 6 ++-- examples/arquillian-jpa/pom.xml | 2 +- .../bean-validation-design-by-contract/pom.xml | 2 +- .../WebApp1/pom.xml | 2 +- .../WebApp2/pom.xml | 2 +- examples/bval-evaluation-redeployment/pom.xml | 8 +++--- .../bval-evaluation-redeployment/runner/pom.xml | 4 +-- examples/cdi-realm/pom.xml | 2 +- examples/change-jaxws-url/pom.xml | 4 +-- .../moviefun/DeployInWebAppsDirectoryTest.java | 2 +- examples/connector-ear/pom.xml | 2 +- examples/connector-war/pom.xml | 2 +- examples/datasource-ciphered-password/pom.xml | 2 +- examples/datasource-definition/pom.xml | 2 +- examples/datasource-versioning/pom.xml | 2 +- examples/deltaspike-fullstack/pom.xml | 2 +- examples/dynamic-datasource-routing/pom.xml | 2 +- examples/mbean-auto-registration/pom.xml| 2 +- examples/moviefun-rest/pom.xml | 2 +- examples/moviefun/pom.xml | 2 +- examples/mtom/pom.xml | 2 +- examples/multi-jpa-provider-testing/pom.xml | 4 +-- examples/multiple-arquillian-adapters/pom.xml | 2 +- examples/multiple-tomee-arquillian/pom.xml | 2 +- examples/pojo-webservice/pom.xml| 4 +-- examples/polling-parent/pom.xml | 2 +- examples/projectstage-demo/pom.xml | 2 +- examples/quartz-app/pom.xml | 2 +- examples/resources-declared-in-webapp/pom.xml | 4 +-- examples/resources-jmx-example/pom.xml | 2 +- examples/rest-example-with-application/pom.xml | 4 +-- examples/rest-example/pom.xml | 4 +-- examples/rest-on-ejb/pom.xml| 4 +-- examples/simple-cmp2/pom.xml| 6 ++-- .../moviefun/DeployInWebAppsDirectoryTest.java | 2 +- pom.xml | 2 +- tck/microprofile-tck/health/pom.xml | 2 +- tomee/tomee-deb/pom.xml | 2 +- 39 files changed, 68 insertions(+), 68 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/a32354b9/arquillian/arquillian-tomee-tests/pom.xml -- diff --git a/arquillian/arquillian-tomee-tests/pom.xml b/arquillian/arquillian-tomee-tests/pom.xml index e111d75..310fbf8 100644 --- a/arquillian/arquillian-tomee-tests/pom.xml +++ b/arquillian/arquillian-tomee-tests/pom.xml @@ -161,7 +161,7 @@ ${maven.test.skip} -javaagent:${settings.localRepository}/org/apache/tomee/openejb-javaagent/${project.version}/openejb-javaagent-${project.version}.jar -7.1.0 +7.1.1-SNAPSHOT tomee-embedded tomee-embedded @@ -260,7 +260,7 @@ ${skip.remote.webprofile} true -7.1.0 +7.1.1-SNAPSHOT webprofile tomee-remote tomee-remote @@ -277,7 +277,7 @@ ${skip.embedded} -javaagent:${settings.localRepository}/org/apache/tomee/openejb-javaagent/${project.version}/openejb-javaagent-${project.version}.jar -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=768M -7.1.0 +7.1.1-SNAPSHOT tomee-embedded tomee-embedded @@ -293,7 +293,7 @@ ${skip.remote.plume} true -7.1.0 +7.1.1-SNAPSHOT plume tomee-remote tomee-remote @@ -313,7 +313,7 @@ ${skip.remote.plus} true -7.1.0 +7.1.1-SNAPSHOT plus tomee-remote
[1/2] tomee git commit: Moved examples project version to match parent project.
Repository: tomee Updated Branches: refs/heads/master f003c900e -> 1abc5237f http://git-wip-us.apache.org/repos/asf/tomee/blob/1abc5237/examples/simple-ear/moviefun-functional-tests/pom.xml -- diff --git a/examples/simple-ear/moviefun-functional-tests/pom.xml b/examples/simple-ear/moviefun-functional-tests/pom.xml index 4bbf3d8..ff4e805 100644 --- a/examples/simple-ear/moviefun-functional-tests/pom.xml +++ b/examples/simple-ear/moviefun-functional-tests/pom.xml @@ -24,7 +24,7 @@ org.superbiz moviefun-ear-parent -1.1.0-SNAPSHOT +8.0.0-SNAPSHOT 4.0.0 moviefun-functional-test http://git-wip-us.apache.org/repos/asf/tomee/blob/1abc5237/examples/simple-ear/moviefun-webapp/pom.xml -- diff --git a/examples/simple-ear/moviefun-webapp/pom.xml b/examples/simple-ear/moviefun-webapp/pom.xml index cb03986..de60169 100644 --- a/examples/simple-ear/moviefun-webapp/pom.xml +++ b/examples/simple-ear/moviefun-webapp/pom.xml @@ -22,7 +22,7 @@ org.superbiz moviefun-ear-parent -1.1.0-SNAPSHOT +8.0.0-SNAPSHOT moviefun-webapp war http://git-wip-us.apache.org/repos/asf/tomee/blob/1abc5237/examples/simple-ear/pom.xml -- diff --git a/examples/simple-ear/pom.xml b/examples/simple-ear/pom.xml index bcd0596..b0228ae 100644 --- a/examples/simple-ear/pom.xml +++ b/examples/simple-ear/pom.xml @@ -25,7 +25,7 @@ 4.0.0 org.superbiz moviefun-ear-parent - 1.1.0-SNAPSHOT + 8.0.0-SNAPSHOT pom OpenEJB :: Examples :: Simple EAR http://git-wip-us.apache.org/repos/asf/tomee/blob/1abc5237/examples/simple-mdb-and-cdi/pom.xml -- diff --git a/examples/simple-mdb-and-cdi/pom.xml b/examples/simple-mdb-and-cdi/pom.xml index 4741474..c6f12b6 100644 --- a/examples/simple-mdb-and-cdi/pom.xml +++ b/examples/simple-mdb-and-cdi/pom.xml @@ -25,7 +25,7 @@ org.superbiz simple-mdb-and-cdi jar - 1.1.0-SNAPSHOT + 8.0.0-SNAPSHOT OpenEJB :: Examples :: Simple MDB With a CDI Injection UTF-8 http://git-wip-us.apache.org/repos/asf/tomee/blob/1abc5237/examples/simple-mdb-with-descriptor/pom.xml -- diff --git a/examples/simple-mdb-with-descriptor/pom.xml b/examples/simple-mdb-with-descriptor/pom.xml index 1104278..ac69ad5 100644 --- a/examples/simple-mdb-with-descriptor/pom.xml +++ b/examples/simple-mdb-with-descriptor/pom.xml @@ -25,7 +25,7 @@ org.superbiz simple-mdb-with-descriptor jar - 1.1.0-SNAPSHOT + 8.0.0-SNAPSHOT OpenEJB :: Examples :: Simple MDB Using Deployment Descriptor Example UTF-8 http://git-wip-us.apache.org/repos/asf/tomee/blob/1abc5237/examples/simple-mdb/pom.xml -- diff --git a/examples/simple-mdb/pom.xml b/examples/simple-mdb/pom.xml index 1fd9493..91e3c79 100644 --- a/examples/simple-mdb/pom.xml +++ b/examples/simple-mdb/pom.xml @@ -25,7 +25,7 @@ org.superbiz simple-mdb jar - 1.1.0-SNAPSHOT + 8.0.0-SNAPSHOT OpenEJB :: Examples :: Simple MDB Example UTF-8 http://git-wip-us.apache.org/repos/asf/tomee/blob/1abc5237/examples/simple-remote-tomcatusers/pom.xml -- diff --git a/examples/simple-remote-tomcatusers/pom.xml b/examples/simple-remote-tomcatusers/pom.xml index fda230a..c4a4542 100644 --- a/examples/simple-remote-tomcatusers/pom.xml +++ b/examples/simple-remote-tomcatusers/pom.xml @@ -26,7 +26,7 @@ org.superbiz simple-remote-tomcatusers jar - 1.1.0-SNAPSHOT + 8.0.0-SNAPSHOT OpenEJB :: Examples :: Simple Remote tomcat-users.xml http://git-wip-us.apache.org/repos/asf/tomee/blob/1abc5237/examples/simple-rest/pom.xml -- diff --git a/examples/simple-rest/pom.xml b/examples/simple-rest/pom.xml index 40b5ff9..e26a004 100644 --- a/examples/simple-rest/pom.xml +++ b/examples/simple-rest/pom.xml @@ -22,7 +22,7 @@ org.superbiz simple-rest - 1.1.0-SNAPSHOT + 8.0.0-SNAPSHOT OpenEJB :: Examples :: Simple REST http://git-wip-us.apache.org/repos/asf/tomee/blob/1abc5237/examples/simple-singleton/pom.xml -- diff --git a/examples/simple-singleton/pom.xml b/examples/simple-singleton/pom.xml index 7d83dbc..716b5db 100644 --- a/examples/simple-singleton/pom.xml +++ b/examples/simple-singleton/pom.xml @@ -25,7 +25,7 @@ org.superbiz simple-singleton jar - 1.1.0-SNAPSHOT + 8.0.0-SNAPSHOT OpenEJB :: Examples :: Simple Singleton http://git-wip-us.apache.org/repos/asf/tomee/blob/1abc5237/examples/simple-stateful-callbacks/pom.xml --
[2/2] tomee git commit: Moved examples project version to match parent project.
Moved examples project version to match parent project. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/1abc5237 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/1abc5237 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/1abc5237 Branch: refs/heads/master Commit: 1abc5237f377c9f493b4dd0e325023bdfbcba578 Parents: f003c90 Author: Roberto Cortez Authored: Tue Oct 2 00:59:24 2018 +0100 Committer: Roberto Cortez Committed: Tue Oct 2 00:59:24 2018 +0100 -- examples/access-timeout-meta/pom.xml | 2 +- examples/access-timeout/pom.xml | 2 +- examples/alternate-descriptors/pom.xml | 2 +- examples/applet/pom.xml | 2 +- examples/application-composer/pom.xml| 2 +- examples/applicationcomposer-jaxws-cdi/pom.xml | 2 +- examples/applicationexception/pom.xml| 2 +- examples/arquillian-jpa/pom.xml | 2 +- examples/async-methods/pom.xml | 2 +- examples/async-postconstruct/pom.xml | 2 +- examples/bean-validation-design-by-contract/pom.xml | 2 +- examples/bval-evaluation-redeployment/WebApp1/pom.xml| 2 +- examples/bval-evaluation-redeployment/WebApp2/pom.xml| 2 +- examples/bval-evaluation-redeployment/pom.xml| 4 ++-- examples/bval-evaluation-redeployment/runner/pom.xml | 2 +- examples/cdi-alternative-and-stereotypes/pom.xml | 2 +- examples/cdi-application-scope/pom.xml | 2 +- examples/cdi-basic/pom.xml | 2 +- examples/cdi-ejbcontext-jaas/pom.xml | 2 +- examples/cdi-events/pom.xml | 2 +- examples/cdi-interceptors/pom.xml| 2 +- examples/cdi-produces-disposes/pom.xml | 2 +- examples/cdi-produces-field/pom.xml | 2 +- examples/cdi-realm/pom.xml | 2 +- examples/cdi-request-scope/pom.xml | 2 +- examples/cdi-session-scope/pom.xml | 2 +- examples/change-jaxws-url/pom.xml| 2 +- examples/client-resource-lookup-preview/pom.xml | 2 +- examples/component-interfaces/pom.xml| 2 +- examples/connector-ear-sample/moviefun-ear/pom.xml | 2 +- examples/cucumber-jvm/pom.xml| 2 +- examples/custom-injection/pom.xml| 2 +- examples/datasource-ciphered-password/pom.xml| 2 +- examples/datasource-definition/pom.xml | 2 +- examples/datasource-versioning/pom.xml | 2 +- examples/decorators/pom.xml | 2 +- examples/deltaspike-configproperty/pom.xml | 2 +- examples/deltaspike-exception-handling/pom.xml | 2 +- examples/deltaspike-fullstack/pom.xml| 2 +- examples/deltaspike-i18n/pom.xml | 2 +- examples/dynamic-dao-implementation/pom.xml | 2 +- examples/dynamic-datasource-routing/pom.xml | 2 +- examples/dynamic-implementation/pom.xml | 2 +- examples/dynamic-proxy-to-access-mbean/pom.xml | 2 +- examples/ear-testing/business-logic/pom.xml | 2 +- examples/ear-testing/business-model/pom.xml | 2 +- examples/ear-testing/pom.xml | 2 +- examples/ejb-examples/pom.xml| 2 +- examples/ejb-webservice/pom.xml | 2 +- examples/groovy-cdi/pom.xml | 2 +- examples/groovy-jpa/pom.xml | 2 +- examples/groovy-spock/pom.xml| 2 +- examples/helloworld-weblogic/pom.xml | 2 +- examples/injection-of-connectionfactory/pom.xml | 2 +- examples/injection-of-datasource/pom.xml | 2 +- examples/injection-of-ejbs/pom.xml | 2 +- examples/injection-of-entitymanager/pom.xml | 2 +- examples/injection-of-env-entry/pom.xml | 2 +- examples/interceptors/pom.xml| 2 +- examples/javamail/pom.xml| 2 +- examples/jpa-eclipselink/pom.xml | 2 +- examples/jpa-enumerated/pom.xml | 2 +- examples/jpa-hibernate/pom.xml | 2 +- examples/jsf-cdi-and-ejb/pom.xml | 2 +- examples/jsf-managedBean-and-ejb/pom.xml | 2 +- examples/lookup-of-ejbs-with-descriptor/pom.xml | 2 +- examples/lookup-of-ejbs/pom.xml | 2 +- examples/mbean-auto-registra
tomee git commit: Removed optional JWT EE integration tests, since implementation is not complete.
Repository: tomee Updated Branches: refs/heads/master 1abc5237f -> 57084e952 Removed optional JWT EE integration tests, since implementation is not complete. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/57084e95 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/57084e95 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/57084e95 Branch: refs/heads/master Commit: 57084e952dce12fd81064372273022b047fd4272 Parents: 1abc523 Author: Roberto Cortez Authored: Tue Oct 2 10:59:35 2018 +0100 Committer: Roberto Cortez Committed: Tue Oct 2 10:59:35 2018 +0100 -- .../jwt/src/test/resources/dev.xml | 32 1 file changed, 32 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/57084e95/tck/microprofile-tck/jwt/src/test/resources/dev.xml -- diff --git a/tck/microprofile-tck/jwt/src/test/resources/dev.xml b/tck/microprofile-tck/jwt/src/test/resources/dev.xml index 00741d1..4c9bd04 100644 --- a/tck/microprofile-tck/jwt/src/test/resources/dev.xml +++ b/tck/microprofile-tck/jwt/src/test/resources/dev.xml @@ -58,36 +58,4 @@ --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
tomee git commit: ServletContext not accessible during JAX-RS app deployment.
Repository: tomee Updated Branches: refs/heads/master 569da988b -> 426e0c14f ServletContext not accessible during JAX-RS app deployment. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/426e0c14 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/426e0c14 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/426e0c14 Branch: refs/heads/master Commit: 426e0c14fede5ee5907e43e1c46e2fd51c904412 Parents: 569da98 Author: Roberto Cortez Authored: Thu Oct 4 00:39:32 2018 +0100 Committer: Roberto Cortez Committed: Thu Oct 4 00:39:59 2018 +0100 -- .../java/org/apache/tomee/catalina/TomcatWebAppBuilder.java | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/426e0c14/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java -- diff --git a/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java b/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java index 3b69aa5..127283f 100644 --- a/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java +++ b/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java @@ -1767,8 +1767,13 @@ public class TomcatWebAppBuilder implements WebAppBuilder, ContextListener, Pare // required for Pojo Web Services because when Assembler creates the application // the CoreContainerSystem does not contain the WebContext // see also the start method getContainerSystem().addWebDeployment(webContext); -for (final WebAppInfo webApp : contextInfo.appInfo.webApps) { -SystemInstance.get().fireEvent(new AfterApplicationCreated(contextInfo.appInfo, webApp)); +try { +servletContextHandler.getContexts().put(classLoader, standardContext.getServletContext()); +for (final WebAppInfo webApp : contextInfo.appInfo.webApps) { +SystemInstance.get().fireEvent(new AfterApplicationCreated(contextInfo.appInfo, webApp)); +} +} finally { +servletContextHandler.getContexts().remove(classLoader); } thread.setContextClassLoader(originalLoader);
tomee git commit: Added tests to ServletContext not accessible during JAX-RS app deployment.
Repository: tomee Updated Branches: refs/heads/master 426e0c14f -> ea13f63f2 Added tests to ServletContext not accessible during JAX-RS app deployment. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/ea13f63f Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/ea13f63f Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/ea13f63f Branch: refs/heads/master Commit: ea13f63f21d7f06388e2c54d70120a5a98e4c65f Parents: 426e0c1 Author: Roberto Cortez Authored: Fri Oct 5 23:26:39 2018 +0100 Committer: Roberto Cortez Committed: Fri Oct 5 23:26:39 2018 +0100 -- .../embedded/ServletContextInjectionTest.java | 230 +++ 1 file changed, 230 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/ea13f63f/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/ServletContextInjectionTest.java -- diff --git a/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/ServletContextInjectionTest.java b/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/ServletContextInjectionTest.java new file mode 100644 index 000..a60c7f1 --- /dev/null +++ b/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/ServletContextInjectionTest.java @@ -0,0 +1,230 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.tomee.embedded; + +import org.apache.openejb.loader.Files; +import org.apache.openejb.loader.IO; +import org.apache.openejb.loader.JarLocation; +import org.apache.openejb.util.NetworkUtil; +import org.junit.Assert; +import org.junit.Test; + +import javax.enterprise.context.ApplicationScoped; +import javax.enterprise.inject.Instance; +import javax.enterprise.inject.spi.CDI; +import javax.inject.Inject; +import javax.servlet.ServletContext; +import javax.ws.rs.GET; +import javax.ws.rs.Path; +import javax.ws.rs.container.ContainerRequestContext; +import javax.ws.rs.container.ContainerRequestFilter; +import javax.ws.rs.core.Application; +import javax.ws.rs.core.Context; +import javax.ws.rs.core.Response; +import javax.ws.rs.ext.Provider; +import java.io.BufferedInputStream; +import java.io.BufferedOutputStream; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; +import java.util.HashMap; +import java.util.Map; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +public class ServletContextInjectionTest { +@Provider +@ApplicationScoped +public static class Filter implements ContainerRequestFilter { +@Override +public void filter(final ContainerRequestContext requestContext) throws IOException { + +} + +@Context +public void setApplication(final Application application) { +final Instance loader = CDI.current().select(Loader.class); +if (!loader.isUnsatisfied()) { +loader.iterator().next().useServletContext(); +} +} +} + +@ApplicationScoped +public static class Loader { +@Inject +private ServletContext servletContext; + +public void useServletContext() { +servletContext.getResourceAsStream("/null"); +} +} + +@Path("path") +public static class Resource { +@GET +public Response get() { +return Response.ok("ok").build(); +} +} + +@Test +public void testWebApp() { +try { +final Container container = new Container( +new Configuration() +.http(NetworkUtil.getNextAvailablePort()) +.property("openejb.container.additional.exclude", "org.apache.tomee.embedded.") +.property("openejb.additional.include", "tomee-")) + .deployPathsAsWebapp(JarLocation.jarLocation(Reso
tomee git commit: Fixed test.
Repository: tomee Updated Branches: refs/heads/master ea13f63f2 -> f11150f99 Fixed test. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/f11150f9 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/f11150f9 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/f11150f9 Branch: refs/heads/master Commit: f11150f998172ed294fa35572aa87884d8fd6625 Parents: ea13f63 Author: Roberto Cortez Authored: Mon Oct 8 00:08:23 2018 +0100 Committer: Roberto Cortez Committed: Mon Oct 8 00:08:23 2018 +0100 -- .../tomee/embedded/ServletContextInjectionTest.java | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/f11150f9/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/ServletContextInjectionTest.java -- diff --git a/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/ServletContextInjectionTest.java b/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/ServletContextInjectionTest.java index a60c7f1..0b7f124 100644 --- a/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/ServletContextInjectionTest.java +++ b/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/ServletContextInjectionTest.java @@ -89,8 +89,9 @@ public class ServletContextInjectionTest { @Test public void testWebApp() { +Container container = null; try { -final Container container = new Container( +container = new Container( new Configuration() .http(NetworkUtil.getNextAvailablePort()) .property("openejb.container.additional.exclude", "org.apache.tomee.embedded.") @@ -100,6 +101,9 @@ public class ServletContextInjectionTest { assertEquals("ok", IO.slurp( new URL("http://localhost:"; + container.getConfiguration().getHttpPort() + "/api/path"))); } catch (final Exception e) { +if (container != null) { +container.close(); +} Assert.fail(); } } @@ -125,8 +129,9 @@ public class ServletContextInjectionTest { contents.put("webapp.war", webapp); final File file = jarArchive(ear, contents); +Container container = null; try { -final Container container = new Container( +container = new Container( new Configuration() .http(NetworkUtil.getNextAvailablePort()) .property("openejb.container.additional.exclude", "org.apache.tomee.embedded.") @@ -139,8 +144,11 @@ public class ServletContextInjectionTest { assertEquals("ok", IO.slurp( new URL("http://localhost:"; + container.getConfiguration().getHttpPort() + "/webapp/path"))); } catch (final Exception e) { -e.printStackTrace(); Assert.fail(); +} finally { +if (container != null) { +container.close(); +} } }
tomee git commit: Fixed pom.
Repository: tomee Updated Branches: refs/heads/master 652420e41 -> 99824e0c6 Fixed pom. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/99824e0c Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/99824e0c Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/99824e0c Branch: refs/heads/master Commit: 99824e0c64679c0db2d437fdcda5df0ef633b85b Parents: 652420e Author: Roberto Cortez Authored: Tue Oct 9 00:02:24 2018 +0100 Committer: Roberto Cortez Committed: Tue Oct 9 00:02:24 2018 +0100 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/99824e0c/pom.xml -- diff --git a/pom.xml b/pom.xml index 38bee69..747602b 100644 --- a/pom.xml +++ b/pom.xml @@ -132,7 +132,7 @@ 2.0.0 1.2.6 -9.0.12/tomcat.version> +9.0.12 3.2.6 2.10.3
tomee git commit: ServletContext not accessible during JAX-RS app deployment only for the current webapp.
Repository: tomee Updated Branches: refs/heads/master 99824e0c6 -> 795fa40bc ServletContext not accessible during JAX-RS app deployment only for the current webapp. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/795fa40b Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/795fa40b Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/795fa40b Branch: refs/heads/master Commit: 795fa40bc76581a1a923805527a780e02c9bf91f Parents: 99824e0 Author: Roberto Cortez Authored: Tue Oct 9 17:00:24 2018 +0100 Committer: Roberto Cortez Committed: Tue Oct 9 17:00:24 2018 +0100 -- .../java/org/apache/tomee/catalina/TomcatWebAppBuilder.java | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/795fa40b/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java -- diff --git a/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java b/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java index 127283f..123c8ea 100644 --- a/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java +++ b/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/TomcatWebAppBuilder.java @@ -1769,8 +1769,13 @@ public class TomcatWebAppBuilder implements WebAppBuilder, ContextListener, Pare // see also the start method getContainerSystem().addWebDeployment(webContext); try { servletContextHandler.getContexts().put(classLoader, standardContext.getServletContext()); -for (final WebAppInfo webApp : contextInfo.appInfo.webApps) { -SystemInstance.get().fireEvent(new AfterApplicationCreated(contextInfo.appInfo, webApp)); + +for (final WebAppInfo webAppInfo : contextInfo.appInfo.webApps) { +final String wId = getId(webAppInfo.host, webAppInfo.contextRoot, contextInfo.version); +if (id.equals(wId)) { +SystemInstance.get().fireEvent(new AfterApplicationCreated(contextInfo.appInfo, webAppInfo)); +break; +} } } finally { servletContextHandler.getContexts().remove(classLoader);
tomee git commit: myfaces 2.3.2 https://issues.apache.org/jira/browse/TOMEE-2236
Repository: tomee Updated Branches: refs/heads/master 795fa40bc -> eb3e5badb myfaces 2.3.2 https://issues.apache.org/jira/browse/TOMEE-2236 Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/eb3e5bad Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/eb3e5bad Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/eb3e5bad Branch: refs/heads/master Commit: eb3e5badb741f35936d796b21eccdef6d134bb11 Parents: 795fa40 Author: Vicente Rossello Authored: Tue Oct 9 23:47:03 2018 +0200 Committer: Vicente Rossello Committed: Tue Oct 9 23:47:03 2018 +0200 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/eb3e5bad/pom.xml -- diff --git a/pom.xml b/pom.xml index 747602b..80482f1 100644 --- a/pom.xml +++ b/pom.xml @@ -175,7 +175,7 @@ 3.1.4 1.1 1.9.0-alpha-2 -2.3.1 +2.3.2 2.3.3 1.7.21 1.2.17
svn commit: r1843641 - /tomee/javaee-api/trunk/pom.xml
Author: radcortez Date: Fri Oct 12 10:36:42 2018 New Revision: 1843641 URL: http://svn.apache.org/viewvc?rev=1843641&view=rev Log: Moved geronimo-validation_2.0_spec to stable version. Modified: tomee/javaee-api/trunk/pom.xml Modified: tomee/javaee-api/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomee/javaee-api/trunk/pom.xml?rev=1843641&r1=1843640&r2=1843641&view=diff == --- tomee/javaee-api/trunk/pom.xml (original) +++ tomee/javaee-api/trunk/pom.xml Fri Oct 12 10:36:42 2018 @@ -55,7 +55,7 @@ 1.2 1.1.3 1.0 - 1.0-SNAPSHOT + 1.0 1.1 1.2 1.1
svn commit: r1843642 - /tomee/javaee-api/trunk/pom.xml
Author: radcortez Date: Fri Oct 12 10:44:25 2018 New Revision: 1843642 URL: http://svn.apache.org/viewvc?rev=1843642&view=rev Log: Moved to apache-parent 21. Modified: tomee/javaee-api/trunk/pom.xml Modified: tomee/javaee-api/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomee/javaee-api/trunk/pom.xml?rev=1843642&r1=1843641&r2=1843642&view=diff == --- tomee/javaee-api/trunk/pom.xml (original) +++ tomee/javaee-api/trunk/pom.xml Fri Oct 12 10:44:25 2018 @@ -22,7 +22,7 @@ org.apache apache -18 +21 @@ -31,7 +31,7 @@ 8.0-SNAPSHOT jar - TomEE :: JavaEE 8 Full API - Work in Progress! + TomEE :: JavaEE 8 Full API scm:svn:http://svn.apache.org/repos/asf/tomee/javaee-api/trunk
svn commit: r1843647 - /tomee/javaee-api/trunk/src/main/java/org/apache/openejb/javaee/api/activator/org/apache/openejb/javaee/api/locator/ProviderLocator.java
Author: radcortez Date: Fri Oct 12 11:02:30 2018 New Revision: 1843647 URL: http://svn.apache.org/viewvc?rev=1843647&view=rev Log: Fixed javadoc issues to release. Modified: tomee/javaee-api/trunk/src/main/java/org/apache/openejb/javaee/api/activator/org/apache/openejb/javaee/api/locator/ProviderLocator.java Modified: tomee/javaee-api/trunk/src/main/java/org/apache/openejb/javaee/api/activator/org/apache/openejb/javaee/api/locator/ProviderLocator.java URL: http://svn.apache.org/viewvc/tomee/javaee-api/trunk/src/main/java/org/apache/openejb/javaee/api/activator/org/apache/openejb/javaee/api/locator/ProviderLocator.java?rev=1843647&r1=1843646&r2=1843647&view=diff == --- tomee/javaee-api/trunk/src/main/java/org/apache/openejb/javaee/api/activator/org/apache/openejb/javaee/api/locator/ProviderLocator.java (original) +++ tomee/javaee-api/trunk/src/main/java/org/apache/openejb/javaee/api/activator/org/apache/openejb/javaee/api/locator/ProviderLocator.java Fri Oct 12 11:02:30 2018 @@ -80,6 +80,7 @@ public class ProviderLocator { * the search order. * * @param className The name of the target class. + * @param contextClass The context class to retrive the classloader. * * @return The loaded class. * @exception ClassNotFoundException @@ -94,6 +95,7 @@ public class ProviderLocator { * with support for OSGi registry lookups. * * @param className The name of the target class. + * @param contextClass The context class to retrive the classloader. * @param loaderAn optional class loader. * * @return The loaded class @@ -155,8 +157,8 @@ public class ProviderLocator { * * @return The located class, or null if no matching services * can be found. - * @exception Exception Thrown for any classloading exceptions thrown - * trying to load the class. + * @exception ClassNotFoundException Thrown for any classloading exceptions thrown + * trying to load the class. */ static public Class getServiceClass(final String iface, final Class contextClass, final ClassLoader loader) throws ClassNotFoundException { return locateServiceClass(iface, contextClass, loader);
svn commit: r1843649 - /tomee/javaee-api/tags/javaee-api-8.0/
Author: radcortez Date: Fri Oct 12 11:03:21 2018 New Revision: 1843649 URL: http://svn.apache.org/viewvc?rev=1843649&view=rev Log: [maven-release-plugin] copy for tag javaee-api-8.0 Added: tomee/javaee-api/tags/javaee-api-8.0/ - copied from r1843648, tomee/javaee-api/trunk/
svn commit: r1843650 - /tomee/javaee-api/trunk/pom.xml
Author: radcortez Date: Fri Oct 12 11:03:23 2018 New Revision: 1843650 URL: http://svn.apache.org/viewvc?rev=1843650&view=rev Log: [maven-release-plugin] prepare for next development iteration Modified: tomee/javaee-api/trunk/pom.xml Modified: tomee/javaee-api/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomee/javaee-api/trunk/pom.xml?rev=1843650&r1=1843649&r2=1843650&view=diff == --- tomee/javaee-api/trunk/pom.xml (original) +++ tomee/javaee-api/trunk/pom.xml Fri Oct 12 11:03:23 2018 @@ -28,15 +28,15 @@ org.apache.tomee javaee-api - 8.0 + 8.0-1-SNAPSHOT jar TomEE :: JavaEE 8 Full API - scm:svn:http://svn.apache.org/repos/asf/tomee/javaee-api/tags/javaee-api-8.0 - scm:svn:https://svn.apache.org/repos/asf/tomee/javaee-api/tags/javaee-api-8.0 - http://svn.apache.org/viewvc/tomee/javaee-api/tags/javaee-api-8.0 + scm:svn:http://svn.apache.org/repos/asf/tomee/javaee-api/trunk + scm:svn:https://svn.apache.org/repos/asf/tomee/javaee-api/trunk +http://svn.apache.org/viewvc/tomee/javaee-api/trunk
svn commit: r1843648 - /tomee/javaee-api/trunk/pom.xml
Author: radcortez Date: Fri Oct 12 11:03:07 2018 New Revision: 1843648 URL: http://svn.apache.org/viewvc?rev=1843648&view=rev Log: [maven-release-plugin] prepare release javaee-api-8.0 Modified: tomee/javaee-api/trunk/pom.xml Modified: tomee/javaee-api/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomee/javaee-api/trunk/pom.xml?rev=1843648&r1=1843647&r2=1843648&view=diff == --- tomee/javaee-api/trunk/pom.xml (original) +++ tomee/javaee-api/trunk/pom.xml Fri Oct 12 11:03:07 2018 @@ -28,15 +28,15 @@ org.apache.tomee javaee-api - 8.0-SNAPSHOT + 8.0 jar TomEE :: JavaEE 8 Full API - scm:svn:http://svn.apache.org/repos/asf/tomee/javaee-api/trunk - scm:svn:https://svn.apache.org/repos/asf/tomee/javaee-api/trunk -http://svn.apache.org/viewvc/tomee/javaee-api/trunk + scm:svn:http://svn.apache.org/repos/asf/tomee/javaee-api/tags/javaee-api-8.0 + scm:svn:https://svn.apache.org/repos/asf/tomee/javaee-api/tags/javaee-api-8.0 + http://svn.apache.org/viewvc/tomee/javaee-api/tags/javaee-api-8.0
svn commit: r1843673 - /tomee/deps/branches/bval-2/
Author: radcortez Date: Fri Oct 12 14:47:39 2018 New Revision: 1843673 URL: http://svn.apache.org/viewvc?rev=1843673&view=rev Log: Created structure for bval-2 Added: tomee/deps/branches/bval-2/
svn commit: r1843674 [21/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/groups/implicit/ImplicitGroupingTest.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/groups/implicit/ImplicitGroupingTest.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/groups/implicit/ImplicitGroupingTest.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/groups/implicit/ImplicitGroupingTest.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr.groups.implicit; + +import junit.framework.TestCase; +import org.apache.bval.jsr.ApacheValidatorFactory; +import org.apache.bval.jsr.util.TestUtils; + +import javax.validation.ConstraintViolation; +import javax.validation.Validator; +import java.util.Set; + +/** + * Description: test spec chapter 3.4.4. Implicit grouping + */ +public class ImplicitGroupingTest extends TestCase { +private Validator validator; + +@Override +protected void setUp() { +validator = ApacheValidatorFactory.getDefault().getValidator(); +} + +public void testValidateImplicitGrouping() { +Order order = new Order(); +// When an Order object is validated on the Default group, ... +Set> violations = validator.validate(order); +assertNotNull(TestUtils.getViolation(violations, "creationDate")); +assertNotNull(TestUtils.getViolation(violations, "lastUpdate")); +assertNotNull(TestUtils.getViolation(violations, "lastModifier")); +assertNotNull(TestUtils.getViolation(violations, "lastReader")); +assertNotNull(TestUtils.getViolation(violations, "orderNumber")); +assertEquals(5, violations.size()); + +// When an Order object is validated on the Auditable group, ... + +/* Only the constraints present on Auditable (and any of its super interfaces) + and belonging to the Default group are validated + when the group Auditable is requested. */ +violations = validator.validate(order, Auditable.class); +assertEquals("Implicit grouping not correctly implemented", 4, violations.size()); +assertNotNull(TestUtils.getViolation(violations, "creationDate")); +assertNotNull(TestUtils.getViolation(violations, "lastUpdate")); +assertNotNull(TestUtils.getViolation(violations, "lastModifier")); +assertNotNull(TestUtils.getViolation(violations, "lastReader")); +} +} Added: tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/groups/implicit/Order.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/groups/implicit/Order.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/groups/implicit/Order.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/groups/implicit/Order.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,80 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr.groups.implicit; + +import javax.validation.constraints.NotNull; +import javax.validation.constraints.Size; + +/** +
svn commit: r1843674 [2/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bval
Added: tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/CUSIP.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/CUSIP.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/CUSIP.java (added) +++ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/CUSIP.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,55 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.extras.constraints.checkdigit; + +import javax.validation.Constraint; +import javax.validation.Payload; +import java.lang.annotation.Documented; +import java.lang.annotation.Retention; +import java.lang.annotation.Target; + +import static java.lang.annotation.ElementType.ANNOTATION_TYPE; +import static java.lang.annotation.ElementType.CONSTRUCTOR; +import static java.lang.annotation.ElementType.FIELD; +import static java.lang.annotation.ElementType.METHOD; +import static java.lang.annotation.ElementType.PARAMETER; +import static java.lang.annotation.RetentionPolicy.RUNTIME; + +/** + * + * -- + * TODO - This class is NOT part of the bean_validation spec and might disappear + * as soon as a final version of the specification contains a similar functionality. + * -- + * + * Description: annotation to validate as CUSIP + */ +@Documented +@Constraint(validatedBy = CUSIPValidator.class) +@Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER }) +@Retention(RUNTIME) +public @interface CUSIP { + +Class[] groups() default {}; + +String message() default "{org.apache.bval.extras.constraints.checkdigit.CUSIP.message}"; + +Class[] payload() default {}; + +} Added: tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/CUSIPValidator.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/CUSIPValidator.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/CUSIPValidator.java (added) +++ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/CUSIPValidator.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,80 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.extras.constraints.checkdigit; + +import static java.lang.Character.getNumericValue; + +/** + * Modulus 10 CUSIP (North American Securities) + * Check Digit calculation/validation. + * + * CUSIP Numbers are 9 character alphanumeric codes used + * to identify North American Securities. + * + * Check digit calculation uses the Modulus 10 Double Add Double technique + * with every second digit being weighted by 2. Alphabetic characters are + * converted to numbers by their position in the alphabet starting with A being 10. + * Weighted numbers greater than ten are treated as two separate numbers. + * + * + * + * See http://en.wikipedia.org/wiki/CUSIP";>Wikipedia - CUSIP + * for more details. + */ +public final class CUSIPValidator extends ModulusValidator { + +/**
svn commit: r1843674 [18/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/constraints/ZipCodeCityCoherenceValidator.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/constraints/ZipCodeCityCoherenceValidator.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/constraints/ZipCodeCityCoherenceValidator.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/constraints/ZipCodeCityCoherenceValidator.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,53 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.constraints; + +import org.apache.bval.jsr.example.ZipCodeCityCarrier; + +import javax.validation.ConstraintValidator; +import javax.validation.ConstraintValidatorContext; + +/** + * Description: Class not implemented! simple dummy implemenation for tests only! + * User: roman.stumm + * Date: 01.04.2008 + * Time: 11:45:22 + */ +public class ZipCodeCityCoherenceValidator implements ConstraintValidator { +@Override +public void initialize(ZipCodeCityCoherence constraintAnnotation) { +} + +@Override +public boolean isValid(ZipCodeCityCarrier adr, ConstraintValidatorContext context) { +boolean r = true; +if ("error".equals(adr.getZipCode())) { +context.disableDefaultConstraintViolation(); +context.buildConstraintViolationWithTemplate("zipcode not OK").addConstraintViolation(); +r = false; +} +if ("error".equals(adr.getCity())) { +context.disableDefaultConstraintViolation(); +context.buildConstraintViolationWithTemplate("city not OK").addPropertyNode("city") +.addConstraintViolation(); +r = false; +} +return r; +} +} Added: tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/BeanDescriptorTest.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/BeanDescriptorTest.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/BeanDescriptorTest.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/BeanDescriptorTest.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,213 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr; + +import static java.lang.annotation.ElementType.FIELD; +import static java.lang.annotation.ElementType.METHOD; +import static java.lang.annotation.ElementType.TYPE; +import static java.lang.annotation.RetentionPolicy.RUNTIME; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.lang.annotation.Documented; +import java.lang.annotation.Retention; +import java.lang.annotation.Target; +import java.util.Set; + +import javax.validation.Constraint; +import javax.validation.Payload; +import javax.validation.constraints.NotNull; +import javax.validation.groups.Default; +import javax.validation.metadata.BeanDescriptor; +import javax.validation.metadata.ConstraintDescriptor; +import javax.validation.metadata.ElementDescriptor; +import javax.validation.metadata.ElementDescriptor.ConstraintFinder;
svn commit: r1843674 [1/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bval
Author: radcortez Date: Fri Oct 12 15:00:48 2018 New Revision: 1843674 URL: http://svn.apache.org/viewvc?rev=1843674&view=rev Log: Added bval2 from git hash 57300f3. Added: tomee/deps/branches/bval-2/.gitignore tomee/deps/branches/bval-2/CHANGES.txt tomee/deps/branches/bval-2/LICENSE tomee/deps/branches/bval-2/NOTICE tomee/deps/branches/bval-2/README.txt tomee/deps/branches/bval-2/RELEASE-NOTES.adoc tomee/deps/branches/bval-2/bundle/ tomee/deps/branches/bval-2/bundle/pom.xml tomee/deps/branches/bval-2/bundle/src/ tomee/deps/branches/bval-2/bundle/src/main/ tomee/deps/branches/bval-2/bundle/src/main/appended-resources/ tomee/deps/branches/bval-2/bundle/src/main/appended-resources/META-INF/ tomee/deps/branches/bval-2/bundle/src/main/appended-resources/META-INF/NOTICE.vm tomee/deps/branches/bval-2/bval-extras/ tomee/deps/branches/bval-2/bval-extras/pom.xml tomee/deps/branches/bval-2/bval-extras/src/ tomee/deps/branches/bval-2/bval-extras/src/main/ tomee/deps/branches/bval-2/bval-extras/src/main/java/ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/ABANumber.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/ABANumberValidator.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/CUSIP.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/CUSIPValidator.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/EAN13.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/EAN13Validator.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/IBAN.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/IBANValidator.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/ISBN10.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/ISBN10Validator.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/Luhn.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/LuhnValidator.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/ModulusValidator.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/Sedol.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/SedolValidator.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/Verhoeff.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/VerhoeffValidator.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/package-info.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/creditcard/ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/creditcard/AmericanExpress.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/creditcard/Diners.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/creditcard/Discover.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/creditcard/Mastercard.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/creditcard/Visa.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/creditcard/package-info.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/file/ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/file/Directory.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/file/DirectoryValidator.java tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/
svn commit: r1843674 [5/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bval
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/constraints/MinValidatorForNumber.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/constraints/MinValidatorForNumber.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/constraints/MinValidatorForNumber.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/constraints/MinValidatorForNumber.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.constraints; + +import javax.validation.ConstraintValidator; +import javax.validation.ConstraintValidatorContext; +import javax.validation.constraints.Min; +import java.math.BigDecimal; +import java.math.BigInteger; + +/** + * Description: validate that number-value of passed object is >= min-value + */ +public class MinValidatorForNumber implements ConstraintValidator { + +private long minValue; + +@Override +public void initialize(Min annotation) { +this.minValue = annotation.value(); +} + +@Override +public boolean isValid(Number value, ConstraintValidatorContext context) { +if (value == null) { +return true; +} +if (value instanceof BigDecimal) { +return ((BigDecimal) value).compareTo(BigDecimal.valueOf(minValue)) >= 0; +} +if (value instanceof BigInteger) { +return ((BigInteger) value).compareTo(BigInteger.valueOf(minValue)) >= 0; +} +return value.longValue() >= minValue; +} +} Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/constraints/MinValidatorForString.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/constraints/MinValidatorForString.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/constraints/MinValidatorForString.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/constraints/MinValidatorForString.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.constraints; + +import javax.validation.ConstraintValidator; +import javax.validation.ConstraintValidatorContext; +import javax.validation.constraints.Min; +import java.math.BigDecimal; + +/** + * Check that the String being validated represents a number, and has a value + * more than or equal to the minimum value specified. + */ +public class MinValidatorForString implements ConstraintValidator { + +private long minValue; + +@Override +public void initialize(Min annotation) { +this.minValue = annotation.value(); +} + +@Override +public boolean isValid(String value, ConstraintValidatorContext context) { +if (value == null) { +return true; +} +try { +return new BigDecimal(value).compareTo(BigDecimal.valueOf(minValue)) >= 0; +} catch (NumberFormatException nfe) { +return false; +} +} +} Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/constraints/NotBlankValidator.java
svn commit: r1843674 [3/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bval
Added: tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/net/DomainValidator.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/net/DomainValidator.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/net/DomainValidator.java (added) +++ tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/net/DomainValidator.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,456 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.extras.constraints.net; + +import javax.validation.ConstraintValidator; +import javax.validation.ConstraintValidatorContext; +import java.util.Set; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +import java.util.Arrays; +import java.util.HashSet; + +/** + * Domain name validation routines. + * + * + * This validator provides methods for validating Internet domain names + * and top-level domains. + * + * + * Domain names are evaluated according + * to the standards http://www.ietf.org/rfc/rfc1034.txt";>RFC1034, + * section 3, and http://www.ietf.org/rfc/rfc1123.txt";>RFC1123, + * section 2.1. No accomodation is provided for the specialized needs of + * other applications; if the domain name has been URL-encoded, for example, + * validation will fail even though the equivalent plaintext version of the + * same name would have passed. + * + * + * + * Validation is also provided for top-level domains (TLDs) as defined and + * maintained by the Internet Assigned Numbers Authority (IANA): + * + * + * + * {@link #isValidInfrastructureTld} - validates infrastructure TLDs + * (.arpa, etc.) + * {@link #isValidGenericTld} - validates generic TLDs + * (.com, .org, etc.) + * {@link #isValidCountryCodeTld} - validates country code TLDs + * (.us, .uk, .cn, etc.) + * + * + * + * (NOTE: This class does not provide IP address lookup for domain names or + * methods to ensure that a given domain name matches a specific IP; see + * {@link java.net.InetAddress} for that functionality.) + * + */ +public class DomainValidator implements ConstraintValidator { + +private boolean allowLocal; + +// Regular expression strings for hostnames (derived from RFC2396 and RFC 1123) +private static final Pattern DOMAIN_LABEL = Pattern.compile("\\p{Alnum}(?>[\\p{Alnum}-]*\\p{Alnum})*"); + +private static final Pattern DOMAIN_NAME_REGEX = +Pattern.compile("^(?:" + DOMAIN_LABEL.pattern() + "\\.)+(\\p{Alpha}{2,})$"); + +/** + * {@inheritDoc} + */ +@Override +public boolean isValid(CharSequence domain, ConstraintValidatorContext context) { +Matcher matcher = DOMAIN_NAME_REGEX.matcher(domain); +if (matcher.matches()) { +domain = matcher.group(1); +return isValidTld(domain.toString()); +} +return allowLocal && DOMAIN_LABEL.matcher(domain).matches(); +} + +/** + * Returns true if the specified String matches any + * IANA-defined top-level domain. Leading dots are ignored if present. + * The search is case-sensitive. + * + * @param tld the parameter to check for TLD status + * @return true if the parameter is a TLD + */ +boolean isValidTld(String tld) { +if (allowLocal && isValidLocalTld(tld)) { +return true; +} + +tld = chompLeadingDot(tld).toLowerCase(); +return isValidInfrastructureTld(tld) || isValidGenericTld(tld) || isValidCountryCodeTld(tld); +} + +/** + * Returns true if the specified String matches any + * IANA-defined infrastructure top-level domain. Leading dots are + * ignored if present. The search is case-sensitive. + * + * @param iTld the parameter to check for infrastructure TLD status + * @return true if the parameter is an infrastructure TLD + */ +static boolean isValidInfrastructureTld(String iTld) { +return INFRASTRUCTURE_TLDS.contains(iTld); +}
svn commit: r1843674 [22/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-tck/src/test/resources/arquillian.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-tck/src/test/resources/arquillian.xml?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-tck/src/test/resources/arquillian.xml (added) +++ tomee/deps/branches/bval-2/bval-tck/src/test/resources/arquillian.xml Fri Oct 12 15:00:48 2018 @@ -0,0 +1,28 @@ + + +http://www.w3.org/2001/XMLSchema-instance"; +xsi:schemaLocation="http://jboss.org/schema/arquillian + http://jboss.org/schema/arquillian/arquillian_1_0.xsd";> + + + true + META-INF/services/javax.validation.spi.ValidationProvider + + + Added: tomee/deps/branches/bval-2/bval-tck/work-tests-suite.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-tck/work-tests-suite.xml?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-tck/work-tests-suite.xml (added) +++ tomee/deps/branches/bval-2/bval-tck/work-tests-suite.xml Fri Oct 12 15:00:48 2018 @@ -0,0 +1,31 @@ +http://testng.org/testng-1.0.dtd"; > + + + + + + + + + + + Added: tomee/deps/branches/bval-2/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/pom.xml?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/pom.xml (added) +++ tomee/deps/branches/bval-2/pom.xml Fri Oct 12 15:00:48 2018 @@ -0,0 +1,690 @@ + + + +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> + +4.0.0 + + +org.apache +apache +21 + + + +org.apache.bval +bval-parent +Apache BVal :: bval-parent (Parent POM) +pom +2.0.0-SNAPSHOT + +Apache BVal parent pom + + + sftp://people.apache.org/home/${user.name}/public_html/bval/${project.version}/staging-site +2.0 +DYNAMIC + + +2010 + +http://bval.apache.org/ + + + scm:git:http://git-wip-us.apache.org/repos/asf/bval + scm:git:https://git-wip-us.apache.org/repos/asf/bval +http://git-wip-us.apache.org/repos/asf/bval + + + + +BVal User List +user-subscr...@bval.apache.org +user-unsubscr...@bval.apache.org +mailto:u...@bval.apache.org + http://mail-archives.apache.org/mod_mbox/bval-user/ + + + +BVal Developer List +dev-subscr...@bval.apache.org +dev-unsubscr...@bval.apache.org +mailto:d...@bval.apache.org + http://mail-archives.apache.org/mod_mbox/bval-dev/ + + + +BVal Commits List +commits-subscr...@bval.apache.org +commits-unsubscr...@bval.apache.org +mailto:comm...@bval.apache.org + http://mail-archives.apache.org/mod_mbox/bval-commits/ + + + + +https://issues.apache.org/jira/browse/BVAL + + + + +allee8285 +Albert Lee +allee8...@apache.org + +PMC Member + + + +carlosvara +Carlos Vara +carlosv...@apache.org + +PMC Member + + + +djencks +David Jencks +djen...@apache.org +IBM + +PMC Member + + + +dwoods +Donald Woods +dwo...@apache.org +IBM + +PMC Member + + + +gpetracek +Gerhard Petracek +gpetra...@apache.org +IRIAN Solutions GmbH + +PMC Member + + + +jrbauer +Jeremy Bauer +jrba...@apache.org +IBM + +PMC Member + + + +kevan +Kevan Miller +ke...@apache.org +IBM + +PMC Member + + + +lresende +Luciano Resende +lrese...@apache.org +IBM + +PMC Member + + + +struberg +Mark Struberg +strub...@apache.org + +PMC Member + + + +mbenson +Matt Benson +mben...@apache.org + +PMC Chair + + + +
svn commit: r1843674 [4/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bval
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/cdi/BValExtension.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/cdi/BValExtension.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/cdi/BValExtension.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/cdi/BValExtension.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,291 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.cdi; + +import java.lang.reflect.Modifier; +import java.lang.reflect.Type; +import java.util.Collection; +import java.util.Collections; +import java.util.Set; +import java.util.logging.Level; +import java.util.logging.Logger; + +import javax.enterprise.context.spi.CreationalContext; +import javax.enterprise.event.Observes; +import javax.enterprise.inject.spi.AfterBeanDiscovery; +import javax.enterprise.inject.spi.AnnotatedCallable; +import javax.enterprise.inject.spi.AnnotatedType; +import javax.enterprise.inject.spi.Bean; +import javax.enterprise.inject.spi.BeanManager; +import javax.enterprise.inject.spi.BeforeBeanDiscovery; +import javax.enterprise.inject.spi.CDI; +import javax.enterprise.inject.spi.Extension; +import javax.enterprise.inject.spi.InjectionTarget; +import javax.enterprise.inject.spi.ProcessAnnotatedType; +import javax.enterprise.inject.spi.ProcessBean; +import javax.validation.BootstrapConfiguration; +import javax.validation.Configuration; +import javax.validation.Validation; +import javax.validation.ValidationException; +import javax.validation.Validator; +import javax.validation.ValidatorFactory; +import javax.validation.executable.ExecutableType; +import javax.validation.executable.ValidateOnExecution; +import javax.validation.metadata.BeanDescriptor; +import javax.validation.metadata.MethodType; + +import org.apache.bval.jsr.ConfigurationImpl; +import org.apache.bval.jsr.util.ExecutableTypes; +import org.apache.bval.util.Lazy; +import org.apache.bval.util.Validate; + +/** + * CDI {@link Extension} for Apache BVal setup. + */ +public class BValExtension implements Extension { +private static final Logger LOGGER = Logger.getLogger(BValExtension.class.getName()); + +private static final AnnotatedTypeFilter DEFAULT_ANNOTATED_TYPE_FILTER = +annotatedType -> !annotatedType.getJavaClass().getName().startsWith("org.apache.bval."); + +private static AnnotatedTypeFilter annotatedTypeFilter = DEFAULT_ANNOTATED_TYPE_FILTER; + +public static void setAnnotatedTypeFilter(AnnotatedTypeFilter annotatedTypeFilter) { +BValExtension.annotatedTypeFilter = Validate.notNull(annotatedTypeFilter); +} + +private boolean validatorFound = Boolean.getBoolean("bval.in-container"); +private boolean validatorFactoryFound = Boolean.getBoolean("bval.in-container"); + +private final Configuration config; +private Lazy factory; +private Lazy validator; + +private Set globalExecutableTypes; +private boolean isExecutableValidationEnabled; + +public BValExtension() { // read the config, could be done in a quicker way but this let us get defaults without duplicating code +config = Validation.byDefaultProvider().configure(); +try { +final BootstrapConfiguration bootstrap = config.getBootstrapConfiguration(); +globalExecutableTypes = + ExecutableTypes.interpret(bootstrap.getDefaultValidatedExecutableTypes()); + +isExecutableValidationEnabled = bootstrap.isExecutableValidationEnabled(); + +} catch (final Exception e) { // custom providers can throw an exception +LOGGER.log(Level.SEVERE, e.getMessage(), e); + +globalExecutableTypes = Collections.emptySet(); +isExecutableValidationEnabled = false; +} +} + +// lazily to get a small luck to have CDI in place +private void ensureFactoryValidator() { +if (validator != null) { +return; +} +if (config instanceof ConfigurationImpl) { +// ignore par
svn commit: r1843674 [20/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/example/Library.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/example/Library.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/example/Library.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/example/Library.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,72 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr.example; + +import javax.validation.Valid; +import javax.validation.constraints.NotNull; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * Description: + */ +public class Library { +@NotNull +private String libraryName; +@Valid +private final Map taggedBooks = new HashMap(); + +private Person[] persons; + +public String getLibraryName() { +return libraryName; +} + +public void setLibraryName(String libraryName) { +this.libraryName = libraryName; +} + +public Map getTaggedBooks() { +return taggedBooks; +} + +public Person[] getPersons() { +return persons; +} + +public void setPersons(Person[] persons) { +this.persons = persons; +} + +@Valid +public List getEmployees() { +if (persons == null) +return Collections.emptyList(); + +ArrayList emps = new ArrayList(persons.length); +for (Person each : persons) { +if (each instanceof Employee) +emps.add((Employee) each); +} +return emps; +} +} Added: tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/example/MaxTestEntity.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/example/MaxTestEntity.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/example/MaxTestEntity.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/example/MaxTestEntity.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,70 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr.example; + +import javax.validation.constraints.Max; +import java.math.BigDecimal; + +/** + * Description: + */ +public class MaxTestEntity { +@Max(100) +private String text; +private String property; + +@Max(300) +private long longValue; + +private BigDecimal decimalValue; + +public String getText() { +return text; +} + +@Max(200) +public String getProperty() { +return property; +} + +public long getLongValue() { +return longValue; +} + +@Max(400) +public BigDecimal getDecimalValue() { +return decimalValue; +} + +public void setText(String text) { +this.text = text; +} + +public void setProperty(String property) { +this.property = property; +} + +public void setLongValue(long longValue) { +this.longValue = longValue; +} + +public void setDecimalValue(BigDecimal decimalValue) { +
svn commit: r1843674 [19/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/Jsr303Test.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/Jsr303Test.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/Jsr303Test.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/test/java/org/apache/bval/jsr/Jsr303Test.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,224 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertSame; +import static org.junit.Assert.assertTrue; + +import java.math.BigDecimal; +import java.util.Arrays; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Set; + +import javax.validation.ConstraintValidator; +import javax.validation.ConstraintViolation; +import javax.validation.UnexpectedTypeException; +import javax.validation.constraints.Max; +import javax.validation.metadata.BeanDescriptor; +import javax.validation.metadata.ConstraintDescriptor; +import javax.validation.metadata.ElementDescriptor; +import javax.validation.metadata.PropertyDescriptor; + +import org.apache.bval.constraints.SizeValidator; +import org.apache.bval.jsr.example.Address; +import org.apache.bval.jsr.example.Book; +import org.apache.bval.jsr.example.Engine; +import org.apache.bval.jsr.example.IllustratedBook; +import org.apache.bval.jsr.example.MaxTestEntity; +import org.apache.bval.jsr.example.NoValidatorTestEntity; +import org.apache.bval.jsr.example.Second; +import org.apache.bval.jsr.example.SizeTestEntity; +import org.apache.bval.jsr.util.TestUtils; +import org.junit.Ignore; +import org.junit.Rule; +import org.junit.Test; +import org.junit.rules.ExpectedException; + +/** + * Description: + */ +public class Jsr303Test extends ValidationTestBase { +@Rule +public ExpectedException thrown = ExpectedException.none(); + +@Test +public void testPropertyDescriptorHasConstraints() { +BeanDescriptor cons = validator.getConstraintsForClass(Book.class); +assertTrue(cons.getConstraintsForProperty("author").hasConstraints()); +assertTrue(cons.getConstraintsForProperty("title").hasConstraints()); + assertTrue(cons.getConstraintsForProperty("uselessField").hasConstraints()); +// cons.getConstraintsForProperty("unconstraintField") == null without +// Introspector +// cons.getConstraintsForProperty("unconstraintField") != null with +// Introspector +assertTrue(cons.getConstraintsForProperty("unconstraintField") == null +|| !cons.getConstraintsForProperty("unconstraintField").hasConstraints()); +assertNull(cons.getConstraintsForProperty("unknownField")); +} + +@Test +public void testValidateValue() { +assertTrue(validator.validateValue(Book.class, "subtitle", "123456789098765432").isEmpty()); +assertFalse(validator.validateValue(Book.class, "subtitle", + "123456789098765432123412345678909876543212341234564567890987654321234", Second.class).isEmpty()); +// tests for issue 22: validation of a field without any constraints +assertTrue(validator.validateValue(Book.class, "unconstraintField", 4).isEmpty()); +} + +@Test(expected = IllegalArgumentException.class) +public void testUnknownProperty() { +// tests for issue 22: validation of unknown field cause +// ValidationException +validator.validateValue(Book.class, "unknownProperty", 4); +} + +@Test(expected = IllegalArgumentException.class) +@Ignore +public void testValidateNonCascadedRealNestedProperty() { +validator.validateValue(IllustratedBook.class, "illustrator.firstName", "Edgar"); +} + +@Test +public void testMetadataAPI_Book() { +assertNotNull(validator.getConstraintsForClass(Book.class)); +// not necessary for im
svn commit: r1843674 [7/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bval
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/ValidatorImpl.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/ValidatorImpl.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/ValidatorImpl.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/ValidatorImpl.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,141 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr; + +import java.lang.reflect.Constructor; +import java.lang.reflect.Method; +import java.lang.reflect.Modifier; +import java.util.Set; + +import javax.validation.ConstraintViolation; +import javax.validation.ValidationException; +import javax.validation.executable.ExecutableValidator; +import javax.validation.metadata.BeanDescriptor; + +import org.apache.bval.jsr.job.ValidationJobFactory; +import org.apache.bval.util.Validate; +import org.apache.bval.util.reflection.Reflection; + +public class ValidatorImpl implements CascadingPropertyValidator, ExecutableValidator { + +private final ApacheFactoryContext validatorContext; +private final ValidationJobFactory validationJobFactory; + +ValidatorImpl(ApacheFactoryContext validatorContext) { +super(); +this.validatorContext = Validate.notNull(validatorContext, "validatorContext"); +this.validationJobFactory = new ValidationJobFactory(validatorContext); +} + +@Override +public BeanDescriptor getConstraintsForClass(Class clazz) { +return validatorContext.getDescriptorManager().getBeanDescriptor(clazz); +} + +@Override +public Set> validate(T object, Class... groups) { +return validationJobFactory.validateBean(object, groups).getResults(); +} + +@Override +public Set> validateProperty(T object, String propertyName, boolean cascade, +Class... groups) { +return validationJobFactory.validateProperty(object, propertyName, groups).cascade(cascade).getResults(); +} + +@Override +public Set> validateValue(Class beanType, String propertyName, Object value, +boolean cascade, Class... groups) { +return validationJobFactory.validateValue(beanType, propertyName, value, groups).cascade(cascade).getResults(); +} + +@Override +public ExecutableValidator forExecutables() { +return this; +} + +@Override +public Set> validateParameters(T object, Method method, Object[] parameterValues, +Class... groups) { +return validationJobFactory.validateParameters(object, method, parameterValues, groups).getResults(); +} + +@Override +public Set> validateReturnValue(T object, Method method, Object returnValue, +Class... groups) { +return validationJobFactory.validateReturnValue(object, method, returnValue, groups).getResults(); +} + +@Override +public Set> validateConstructorParameters(Constructor constructor, +Object[] parameterValues, Class... groups) { +return validationJobFactory. validateConstructorParameters(constructor, parameterValues, groups) +.getResults(); +} + +@Override +public Set> validateConstructorReturnValue(Constructor constructor, +T createdObject, Class... groups) { +return validationJobFactory. validateConstructorReturnValue(constructor, createdObject, groups).getResults(); +} + +@Override +public T unwrap(Class type) { +// FIXME 2011-03-27 jw: +// This code is unsecure. +// It should allow only a fixed set of classes. +// Can't fix this because don't know which classes this method should support. + +if (type.isAssignableFrom(getClass())) { +@SuppressWarnings("unchecked") +final T result = (T) this; +return result; +} +if (!(type.isInterface() || Modifier.isAbstract(type.getModifiers( { +return newInstance(type); +} +try { +final Class cls
svn commit: r1843674 [9/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bval
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidateProperty.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidateProperty.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidateProperty.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidateProperty.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,565 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr.job; + +import java.lang.reflect.Array; +import java.lang.reflect.Type; +import java.lang.reflect.TypeVariable; +import java.util.Arrays; +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; +import java.util.function.BiConsumer; +import java.util.function.Consumer; + +import javax.validation.ConstraintViolation; +import javax.validation.ValidationException; +import javax.validation.metadata.BeanDescriptor; +import javax.validation.metadata.CascadableDescriptor; +import javax.validation.metadata.ContainerDescriptor; +import javax.validation.metadata.ContainerElementTypeDescriptor; +import javax.validation.metadata.ElementDescriptor; +import javax.validation.metadata.PropertyDescriptor; +import javax.validation.valueextraction.ValueExtractor; +import javax.validation.valueextraction.ValueExtractor.ValueReceiver; + +import org.apache.bval.jsr.ApacheFactoryContext; +import org.apache.bval.jsr.ConstraintViolationImpl; +import org.apache.bval.jsr.GraphContext; +import org.apache.bval.jsr.descriptor.BeanD; +import org.apache.bval.jsr.descriptor.CascadableContainerD; +import org.apache.bval.jsr.descriptor.ComposedD; +import org.apache.bval.jsr.descriptor.ConstraintD; +import org.apache.bval.jsr.descriptor.ContainerElementTypeD; +import org.apache.bval.jsr.descriptor.DescriptorManager; +import org.apache.bval.jsr.descriptor.ElementD; +import org.apache.bval.jsr.descriptor.PropertyD; +import org.apache.bval.jsr.groups.GroupStrategy; +import org.apache.bval.jsr.metadata.ContainerElementKey; +import org.apache.bval.jsr.util.PathImpl; +import org.apache.bval.jsr.util.PathNavigation; +import org.apache.bval.util.Exceptions; +import org.apache.bval.util.ObjectWrapper; +import org.apache.bval.util.StringUtils; +import org.apache.bval.util.Validate; +import org.apache.bval.util.reflection.TypeUtils; + +public final class ValidateProperty extends ValidationJob { + +interface Strategy { +T getRootBean(); + +PathNavigation.Callback callback(PathImpl.Builder pathBuilder, FindDescriptor findDescriptor, +ObjectWrapper reachable); + +ValidateProperty.Frame frame(ValidateProperty job, PathImpl path); +} + +static class ForBeanProperty implements Strategy { +final ApacheFactoryContext validatorContext; +final T rootBean; +final GraphContext rootContext; +final ObjectWrapper leafContext; +final ObjectWrapper value; + +ForBeanProperty(ApacheFactoryContext validatorContext, T bean) { +super(); +this.validatorContext = validatorContext; +this.rootBean = bean; +this.rootContext = new GraphContext(validatorContext, PathImpl.create(), bean); +this.leafContext = new ObjectWrapper<>(rootContext); +this.value = new ObjectWrapper<>(bean); +} + +@Override +public T getRootBean() { +return rootBean; +} + +@Override +public PathNavigation.Callback callback(PathImpl.Builder pathBuilder, FindDescriptor findDescriptor, +ObjectWrapper reachable) { +return new WalkGraph(validatorContext, rootBean.getClass(), pathBuilder, findDescriptor, value, reachable, +(p, v) -> leafContext.accept(p.isRootPath() ? rootContext : rootContext.child(p, v))); +} + +@Override +public ValidateProperty.Frame frame(ValidateProperty job, PathImpl path) { +if (job.descriptor inst
svn commit: r1843674 [14/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/xml/AnnotationProxy.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/xml/AnnotationProxy.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/xml/AnnotationProxy.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/xml/AnnotationProxy.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,169 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.bval.jsr.xml; + +import java.io.Serializable; +import java.lang.annotation.Annotation; +import java.lang.reflect.InvocationHandler; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; +import java.util.Arrays; +import java.util.SortedMap; +import java.util.TreeMap; +import java.util.stream.Collectors; + +import javax.validation.Valid; + +import org.apache.bval.jsr.metadata.Signature; +import org.apache.bval.util.Exceptions; +import org.apache.bval.util.ObjectUtils; +import org.apache.bval.util.StringUtils; +import org.apache.bval.util.reflection.Reflection; + +/** + * Description: + * InvocationHandler implementation of Annotation that pretends it is a "real" source code annotation. + * + */ +class AnnotationProxy implements Annotation, InvocationHandler, Serializable { + +/** Serialization version */ +private static final long serialVersionUID = 1L; + +private Signature EQUALS = new Signature("equals", Object.class); + +private final Class annotationType; +private final SortedMap values; + +/** + * Create a new AnnotationProxy instance. + * + * @param + * @param descriptor + */ + AnnotationProxy(AnnotationProxyBuilder descriptor) { +this.annotationType = descriptor.getType(); +values = new TreeMap<>(); +int processedValuesFromDescriptor = 0; +for (final Method m : descriptor.getMethods()) { +if (descriptor.contains(m.getName())) { +values.put(m.getName(), descriptor.getValue(m.getName())); +processedValuesFromDescriptor++; +} else { +if (m.getDefaultValue() == null) { +Exceptions.raise(IllegalArgumentException::new, "No value provided for %s", m.getName()); +} +values.put(m.getName(), m.getDefaultValue()); +} +} +Exceptions.raiseUnless(processedValuesFromDescriptor == descriptor.size() || Valid.class.equals(annotationType), +IllegalArgumentException::new, "Trying to instantiate %s with unknown parameters.", +f -> f.args(annotationType.getName())); +} + +/** + * {@inheritDoc} + */ +@Override +public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { +if (values.containsKey(method.getName())) { +return values.get(method.getName()); +} +if (EQUALS.equals(Signature.of(method))) { +return equalTo(args[0]); +} +return method.invoke(this, args); +} + +/** + * {@inheritDoc} + */ +@Override +public Class annotationType() { +return annotationType; +} + +/** + * {@inheritDoc} + */ +@Override +public String toString() { +return values.entrySet().stream() +.map(e -> String.format("%s=%s", e.getKey(), StringUtils.valueOf(e.getValue( +.collect(Collectors.joining(", ", String.format("@%s(", annotationType().getName()), ")")); +} + +@Override +public int hashCode() { +return values.entrySet().stream().mapToInt(e -> { +return (127 * e.getKey().hashCode()) ^ ObjectUtils.hashCode(e.getValue()); +}).sum(); +} + +private boolean equalTo(Object obj) { +if (obj == this) { +return true; +} +if (obj instanceof Annotation) { +final Annotation other = (Annotation) obj; +return other.annotationType().equals(annotati
svn commit: r1843674 [6/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bval
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/CascadingPropertyValidator.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/CascadingPropertyValidator.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/CascadingPropertyValidator.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/CascadingPropertyValidator.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,122 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.bval.jsr; + +import javax.validation.ConstraintViolation; +import javax.validation.Valid; +import javax.validation.ValidationException; +import javax.validation.Validator; + +import java.util.Set; + +/** + * Per the bean validation spec, {@link Valid} is not honored by the + * {@link #validateProperty(Object, String, Class...)} and + * {@link #validateValue(Class, String, Object, Class...)} methods. The + * {@link CascadingPropertyValidator} interface thus defines a {@link Validator} that + * provides corresponding methods that may honor {@link Valid}. + * It should be noted that {@link Validator#validateProperty(Object, String, Class...)} + * and {@link Validator#validateValue(Class, String, Object, Class...)} are assumed + * semantically equivalent to calling the {@link CascadingPropertyValidator}-defined + * methods with {@code cascade == false}. + * + * @version $Rev: 993539 $ $Date: 2010-09-07 16:27:50 -0500 (Tue, 07 Sep 2010) $ + */ +public interface CascadingPropertyValidator extends Validator { + +/** + * {@inheritDoc} Validates all constraints placed on the property of {@code object} named {@code propertyName}. + * + * @param object object to validate + * @param propertyName property to validate (i.e. field and getter constraints). Nested + * properties may be referenced (e.g. prop[2].subpropA.subpropB) + * @param groups group or list of groups targeted for validation (default to + * {@link javax.validation.groups.Default}) + * @return constraint violations or an empty {@link Set} if none + * @throws IllegalArgumentException if {@code object} is {@code null}, if {@code propertyName null}, + * empty or not a valid object property or if {@code null} is + * passed to the varargs {@code groups} + * @throws ValidationException if a non recoverable error happens during the validation process + */ +@Override +default Set> validateProperty(T object, String propertyName, Class... groups) { +return validateProperty(object, propertyName, false, groups); +} + +/** + * Validates all constraints placed on the property of {@code object} named {@code propertyName}. + * + * @param object object to validate + * @param propertyName property to validate (i.e. field and getter constraints). Nested + * properties may be referenced (e.g. prop[2].subpropA.subpropB) + * @param cascade whether to cascade along {@link Valid} properties + * @param groups group or list of groups targeted for validation (default to + * {@link javax.validation.groups.Default}) + * @return constraint violations or an empty {@link Set} if none + * @throws IllegalArgumentException if {@code object} is {@code null}, if {@code propertyName null}, + * empty or not a valid object property or if {@code null} is + * passed to the varargs {@code groups} + * @throws ValidationException if a non recoverable error happens during the validation process + */ + Set> validateProperty(T object, String propertyName, boolean cascade, +Class... groups); + +/** + * {@inheritDoc} Validates all constraints placed on the property named {@code propertyName} of the class + * {@code beanType} would the proper
svn commit: r1843674 [11/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/metadata/Meta.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/metadata/Meta.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/metadata/Meta.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/metadata/Meta.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,363 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr.metadata; + +import java.lang.annotation.ElementType; +import java.lang.reflect.AnnotatedElement; +import java.lang.reflect.AnnotatedType; +import java.lang.reflect.Constructor; +import java.lang.reflect.Executable; +import java.lang.reflect.Field; +import java.lang.reflect.Member; +import java.lang.reflect.Method; +import java.lang.reflect.Parameter; +import java.lang.reflect.ParameterizedType; +import java.lang.reflect.Type; +import java.lang.reflect.TypeVariable; +import java.util.Map; +import java.util.Objects; + +import org.apache.bval.util.EmulatedAnnotatedType; +import org.apache.bval.util.Lazy; +import org.apache.bval.util.Validate; +import org.apache.bval.util.reflection.TypeUtils; + +/** + * Validation class model. + * + * @param + */ +public abstract class Meta { + +public static class ForClass extends Meta> { +private final AnnotatedType annotatedType; + +public ForClass(Class host) { +super(host, ElementType.TYPE); +this.annotatedType = EmulatedAnnotatedType.wrap(host); +} + +@Override +public final Class getDeclaringClass() { +return getHost(); +} + +@Override +public Type getType() { +return getHost(); +} + +@Override +public AnnotatedType getAnnotatedType() { +return annotatedType; +} + +@Override +public String getName() { +return getHost().getName(); +} + +@Override +public Meta getParent() { +return null; +} +} + +public static abstract class ForMember extends Meta { +@SuppressWarnings({ "rawtypes", "unchecked" }) +private final Lazy>> parent = new Lazy<>(() -> new Meta.ForClass(getDeclaringClass())); + +protected ForMember(M host, ElementType elementType) { +super(host, elementType); +} + +@Override +public Class getDeclaringClass() { +return getHost().getDeclaringClass(); +} + +@Override +public Meta> getParent() { +return parent.get(); +} +} + +public static class ForField extends ForMember { + +public ForField(Field host) { +super(host, ElementType.FIELD); +} + +@Override +public Type getType() { +return getHost().getGenericType(); +} + +@Override +public AnnotatedType getAnnotatedType() { +return getHost().getAnnotatedType(); +} + +@Override +public String getName() { +return getHost().getName(); +} +} + +public static abstract class ForExecutable extends ForMember { + +protected ForExecutable(E host, ElementType elementType) { +super(host, elementType); +} + +@Override +public AnnotatedType getAnnotatedType() { +return getHost().getAnnotatedReturnType(); +} +} + +public static class ForConstructor extends ForExecutable> { + +public ForConstructor(Constructor host) { +super(host, ElementType.CONSTRUCTOR); +} + +@Override +public Type getType() { +return getHost().getDeclaringClass(); +} + +@Override +public String getName() { +return getHost().getDeclaringClass().getSimpleName(); +} +} + +public static class ForMethod extends ForExecutable { + +public ForMethod(Method host) { +super(host, Elem
svn commit: r1843674 [16/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/util/reflection/TypeUtils.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/util/reflection/TypeUtils.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/util/reflection/TypeUtils.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/util/reflection/TypeUtils.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,1557 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.bval.util.reflection; + +import java.lang.reflect.Array; +import java.lang.reflect.GenericArrayType; +import java.lang.reflect.ParameterizedType; +import java.lang.reflect.Type; +import java.lang.reflect.TypeVariable; +import java.lang.reflect.WildcardType; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Set; +import java.util.stream.Stream; + +import org.apache.bval.util.ObjectUtils; +import org.apache.bval.util.Validate; + +/** + * Taken from commons-lang3. + * + * Utility methods focusing on type inspection, particularly with regard to + * generics. + * + * @since 1.1.2 + */ +public class TypeUtils { + +/** + * {@link WildcardType} builder. + */ +public static class WildcardTypeBuilder { +/** + * Constructor + */ +private WildcardTypeBuilder() { +} + +private Type[] upperBounds; +private Type[] lowerBounds; + +/** + * Specify upper bounds of the wildcard type to build. + * @param bounds to set + * @return {@code this} + */ +public WildcardTypeBuilder withUpperBounds(final Type... bounds) { +this.upperBounds = bounds; +return this; +} + +/** + * Specify lower bounds of the wildcard type to build. + * @param bounds to set + * @return {@code this} + */ +public WildcardTypeBuilder withLowerBounds(final Type... bounds) { +this.lowerBounds = bounds; +return this; +} + +/** + * {@inheritDoc} + */ +public WildcardType build() { +return new WildcardTypeImpl(upperBounds, lowerBounds); +} +} + +/** + * ParameterizedType implementation class. + */ +private static final class ParameterizedTypeImpl implements ParameterizedType { +private final Class raw; +private final Type useOwner; +private final Type[] typeArguments; + +/** + * Constructor + * @param raw type + * @param useOwner owner type to use, if any + * @param typeArguments formal type arguments + */ +private ParameterizedTypeImpl(final Class raw, final Type useOwner, final Type[] typeArguments) { +this.raw = raw; +this.useOwner = useOwner; +this.typeArguments = typeArguments.clone(); +} + +/** + * {@inheritDoc} + */ +@Override +public Type getRawType() { +return raw; +} + +/** + * {@inheritDoc} + */ +@Override +public Type getOwnerType() { +return useOwner; +} + +/** + * {@inheritDoc} + */ +@Override +public Type[] getActualTypeArguments() { +return typeArguments.clone(); +} + +/** + * {@inheritDoc} + */ +@Override +public String toString() { +return TypeUtils.toString(this); +} + +/** + * {@inheritDoc} + */ +@Override +public boolean equals(final Object obj) { +return obj == this || obj instanceof ParameterizedType && TypeUtils.equals(this, ((ParameterizedType) obj)); +} + +/** + * {@inheritDoc} + */ +@Override +public int hashCode(
svn commit: r1843674 [8/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bval
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/descriptor/ReturnValueD.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/descriptor/ReturnValueD.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/descriptor/ReturnValueD.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/descriptor/ReturnValueD.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,36 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr.descriptor; + +import java.lang.reflect.Executable; + +import javax.validation.metadata.ReturnValueDescriptor; + +public class ReturnValueD, E extends Executable> extends CascadableContainerD +implements ReturnValueDescriptor { + +ReturnValueD(MetadataReader.ForContainer reader, P parent) { +super(reader, parent); +} + +@Override +public Class getElementClass() { +return parent.getElementClass(); +} +} Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/descriptor/package-info.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/descriptor/package-info.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/descriptor/package-info.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/descriptor/package-info.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/** + * This package houses the implementations and related classes for BV element descriptors, using the {@code D} suffix to + * succinctly denote implementations of {@code *Descriptor}. + */ +package org.apache.bval.jsr.descriptor; \ No newline at end of file Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/groups/Group.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/groups/Group.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/groups/Group.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/groups/Group.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,189 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package
svn commit: r1843674 [15/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/util/Exceptions.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/util/Exceptions.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/util/Exceptions.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/util/Exceptions.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,182 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.bval.util; + +import java.lang.reflect.InvocationTargetException; +import java.util.function.BiFunction; +import java.util.function.Consumer; +import java.util.function.Function; +import java.util.function.Supplier; +import java.util.stream.Stream; + +/** + * Utility class for sundry {@link Exception}-related tasks. + */ +public class Exceptions { +/** + * Callback interface that collects format arguments in conditional raise* method variants. + * @see Exceptions#raiseIf(boolean, Function, String, Consumer) + * @see Exceptions#raiseIf(boolean, BiFunction, Throwable, String, Consumer) + * @see Exceptions#raiseUnless(boolean, Function, String, Consumer) + * @see Exceptions#raiseUnless(boolean, BiFunction, Throwable, String, Consumer) + */ +@FunctionalInterface +public interface FormatArgs { +void args(Object... args); +} + +public static E create(Function fn, String format, +Object... args) { +return create(fn, () -> String.format(format, args)); +} + +public static E create( +BiFunction fn, C cause, String format, Object... args) { +return create(fn, cause, () -> String.format(format, args)); +} + +public static E create(Function fn, Supplier message) { +return elideStackTrace(fn.apply(message.get())); +} + +public static E create( +BiFunction fn, C cause, Supplier message) { +return elideStackTrace(fn.apply(message.get(), cause)); +} + +public static R raise(Function fn, String format, +Object... args) throws E { +throw create(fn, format, args); +} + +public static void raiseIf(boolean condition, Function fn, +String format, Object... args) throws E { +if (condition) { +raise(fn, format, args); +} +} + +public static void raiseUnless(boolean condition, Function fn, +String format, Object... args) throws E { +raiseIf(!condition, fn, format, args); +} + +public static R raise(Function fn, Supplier message) +throws E { +throw create(fn, message); +} + +public static void raiseIf(boolean condition, Function fn, +String format, Consumer argsProvider) throws E { +if (condition) { +raise(fn, message(format,argsProvider)); +} +} + +public static void raiseIf(boolean condition, Function fn, +Supplier message) throws E { +if (condition) { +raise(fn, message); +} +} + +public static void raiseUnless(boolean condition, Function fn, +String format, Consumer argsProvider) throws E { +raiseIf(!condition, fn, format, argsProvider); +} + +public static void raiseUnless(boolean condition, Function fn, +Supplier message) throws E { +raiseIf(!condition, fn, message); +} + +public static R raise( +BiFunction fn, C cause, String format, Object... args) throws E { +throw create(fn, cause, format, args); +} + +public static void raiseIf(boolean condition, +BiFunction fn, C cause, String format, Object... args) throws E { +if (condition) { +raise(fn, cause, format, args); +} +} + +public static void raiseUnless(boolean condition, +BiFunction fn, C cause, String format, Object... args) throws E { +raiseIf(!condition, fn, cause, format, args); +} + +public static R raise( +BiFunction fn, C cause, Supplier message) throws E { +throw c
svn commit: r1843674 [12/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/resolver/CachingRelevant.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/resolver/CachingRelevant.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/resolver/CachingRelevant.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/resolver/CachingRelevant.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,33 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr.resolver; + +import javax.validation.TraversableResolver; + +/** + * Description: indicator interface to let the implementation choose + * whether results of traversable resolver should be cached. + */ +public interface CachingRelevant { +/** + * Learn whether the results of the {@link TraversableResolver} should be cached. + * @return boolean + */ +boolean needsCaching(); +} Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/resolver/CachingTraversableResolver.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/resolver/CachingTraversableResolver.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/resolver/CachingTraversableResolver.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/resolver/CachingTraversableResolver.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,181 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with this + * work for additional information regarding copyright ownership. The ASF + * licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package org.apache.bval.jsr.resolver; + +import javax.validation.Path; +import javax.validation.TraversableResolver; +import java.lang.annotation.ElementType; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** + * Cache results of a delegated traversable resovler to optimize calls + * It works only for a single validate* call and should not be used if + * the TraversableResolver is accessed concurrently + * + * Date: 25.11.2009 + * Time: 13:56:18 + * + * @author Roman Stumm (based on the code of Emmanuel Bernard) + */ +public class CachingTraversableResolver implements TraversableResolver, CachingRelevant { +private TraversableResolver delegate; +private Map cache = new HashMap<>(); + +/** + * Convenience method to check whether caching is necessary on a given {@link TraversableResolver}. + * @param resolver to check + * @return true when a CachingTraversableResolver is to be used during validation + */ +public static boolean needsCaching(TraversableResolver resolver) { +// caching, if we do not know exactly +return !(resolver instanceof CachingRelevant) || ((CachingRelevant) resolver).needsCaching(); +} + +/** + * Create a new CachingTraversableResolver instance. + * @param delegate + */ +public CachingTraversableResolver(TraversableResolver delegate) { +this.delegate = delegate; +} + +/** + * If necessary, return a caching wrapper for the specified {@link TraversableResolver}. + * @param traversableResolver + * @return {@link TraversableResolver} + * @see #needsCaching(TraversableResolver) + */ +
svn commit: r1843674 [13/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/util/NodeImpl.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/util/NodeImpl.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/util/NodeImpl.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/util/NodeImpl.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,543 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.bval.jsr.util; + +import static java.util.Comparator.comparing; +import static java.util.Comparator.naturalOrder; +import static java.util.Comparator.nullsFirst; + +import java.io.Serializable; +import java.util.Comparator; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import java.util.function.Consumer; +import java.util.function.Function; + +import javax.validation.ElementKind; +import javax.validation.Path; +import javax.validation.Path.BeanNode; +import javax.validation.Path.ConstructorNode; +import javax.validation.Path.ContainerElementNode; +import javax.validation.Path.MethodNode; +import javax.validation.Path.Node; +import javax.validation.Path.ParameterNode; +import javax.validation.Path.PropertyNode; + +import org.apache.bval.util.Comparators; +import org.apache.bval.util.Exceptions; + +public abstract class NodeImpl implements Path.Node, Serializable { +private static final long serialVersionUID = 1L; + +/** + * Comparator for any path {@link Node}. For iterable nodes with no, or {@code null}, key and index values + * the left operand is always treated as less than the right. + */ +public static final Comparator NODE_COMPARATOR = +nullsFirst(comparing(Node::getName, nullsFirst(naturalOrder())).thenComparing(NodeImpl::compareIterability) +.thenComparing(NodeImpl::compareSpecificNodeInfo)); + +private static final Comparator NODE_EQUALITY_COMPARATOR = +nullsFirst(comparing(Node::getName, nullsFirst(naturalOrder())) +.thenComparing((o1, o2) -> NodeImpl.compareIterability(o1, o2, false)) +.thenComparing(NodeImpl::compareSpecificNodeInfo)); + +private static final Comparator> CLASS_COMPARATOR = Comparator.nullsFirst( +Comparator., Boolean> comparing(Class::isPrimitive).reversed().thenComparing(Class::getName)); + +@SuppressWarnings({ "unchecked", "rawtypes" }) +private static final Comparator KEY_COMPARATOR = nullsFirst(((Comparator) (quid, quo) -> { +if (quid instanceof Comparable && quo instanceof Comparable) { +try { +return Comparator. naturalOrder().compare((Comparable) quid, (Comparable) quo); +} catch (Exception e) { +// apparently not mutually comparable +} +} +if (quid instanceof Class && quo instanceof Class) { +return CLASS_COMPARATOR.compare((Class) quid, (Class) quo); +} +return 0; +}).thenComparing((Function) Objects::toString)); + +private static final char INDEX_OPEN = '['; +private static final char INDEX_CLOSE = ']'; + +private static Optional optional(Class type, Object o) { +return Optional.ofNullable(o).filter(type::isInstance).map(type::cast); +} + +/** + * Append a Node to the specified StringBuilder. + * + * @param node + * @param to + * @return to + */ +public static StringBuilder appendNode(Node node, StringBuilder to) { +if (node.isInIterable()) { +to.append(INDEX_OPEN); +if (node.getIndex() != null) { +to.append(node.getIndex()); +} else if (node.getKey() != null) { +to.append(node.getKey()); +} +to.append(INDEX_CLOSE); +} +if (node.getName() != null) { +if (to.length() > 0) { +to.append(PathImpl.PROPERTY_PATH_SEPARATOR); +} +to.append(node.getName()); +} +return to; +
svn commit: r1843674 [17/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/xjb/binding-customization.xjb URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/xjb/binding-customization.xjb?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/xjb/binding-customization.xjb (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/xjb/binding-customization.xjb Fri Oct 12 15:00:48 2018 @@ -0,0 +1,38 @@ + + +http://java.sun.com/xml/ns/jaxb"; + xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc";> + + + + + + + + + + + + + + + Added: tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-1.0.xsd URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-1.0.xsd?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-1.0.xsd (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-1.0.xsd Fri Oct 12 15:00:48 2018 @@ -0,0 +1,45 @@ + + +http://jboss.org/xml/ns/javax/validation/configuration"; + xmlns:xs="http://www.w3.org/2001/XMLSchema"; + version="1.0"> +http://jboss.org/xml/ns/javax/validation/configuration"/> + + + + + + + +http://jboss.org/xml/ns/javax/validation/configuration"/> + + + + + + + + + + Added: tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-1.1.xsd URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-1.1.xsd?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-1.1.xsd (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-1.1.xsd Fri Oct 12 15:00:48 2018 @@ -0,0 +1,74 @@ + + +http://jboss.org/xml/ns/javax/validation/configuration"; + xmlns:xs="http://www.w3.org/2001/XMLSchema"; + xmlns:config="http://jboss.org/xml/ns/javax/validation/configuration"; + version="1.1"> + http://jboss.org/xml/ns/javax/validation/configuration"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-2.0.xsd URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-2.0.xsd?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-2.0.xsd (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-configuration-2.0.xsd Fri Oct 12 15:00:48 2018 @@ -0,0 +1,75 @@ + + +http://xmlns.jcp.org/xml/ns/validation/configuration"; + xmlns:xs="http://www.w3.org/2001/XMLSchema"; + xmlns:config="http://xmlns.jcp.org/xml/ns/validation/configuration"; + version="2.0"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-mapping-1.0.xsd URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-mapping-1.0.xsd?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-mapping-1.0.xsd (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/xsd/validation-mapping-1.0.xsd Fri Oct 12 15:00:48 2018 @@ -0,0 +1,171 @@ + + +http://jboss.org/xml/ns/javax/validation/mapping"; + xmlns:xs="http://www.w3.org/2001/XMLSchema"; + version="1.0"> +http://jboss.org/xml/ns/javax/validation/mapping"/> + + + + + + + + + + + + + + + + + + + +http://jboss.org/xml/ns/javax/validation/mapping"/> +http:
svn commit: r1843674 [10/22] - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bva
Added: tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/metadata/CompositeBuilder.java URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/metadata/CompositeBuilder.java?rev=1843674&view=auto == --- tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/metadata/CompositeBuilder.java (added) +++ tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/metadata/CompositeBuilder.java Fri Oct 12 15:00:48 2018 @@ -0,0 +1,296 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.bval.jsr.metadata; + +import java.lang.annotation.Annotation; +import java.lang.reflect.AnnotatedElement; +import java.lang.reflect.AnnotatedType; +import java.lang.reflect.Constructor; +import java.lang.reflect.Executable; +import java.lang.reflect.Field; +import java.lang.reflect.Method; +import java.lang.reflect.Parameter; +import java.util.Collection; +import java.util.Collections; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Set; +import java.util.function.BiFunction; +import java.util.function.Function; +import java.util.stream.Collector; +import java.util.stream.Collectors; +import java.util.stream.IntStream; +import java.util.stream.Stream; + +import javax.validation.ElementKind; +import javax.validation.ParameterNameProvider; + +import org.apache.bval.jsr.ApacheValidatorFactory; +import org.apache.bval.jsr.groups.GroupConversion; +import org.apache.bval.jsr.util.Methods; +import org.apache.bval.jsr.util.ToUnmodifiable; +import org.apache.bval.util.Exceptions; +import org.apache.bval.util.Validate; +import org.apache.bval.util.reflection.Reflection; + +public class CompositeBuilder { + +class Delegator implements HasAnnotationBehavior { + +protected final List delegates; + +Delegator(List delegates) { +this.delegates = Validate.notNull(delegates, "delegates"); +Validate.isTrue(!delegates.isEmpty(), "no delegates specified"); +Validate.isTrue(delegates.stream().noneMatch(Objects::isNull), "One or more supplied delegates was null"); +} + +@Override +public AnnotationBehavior getAnnotationBehavior() { +return annotationBehaviorStrategy.apply(delegates); +} + + Map merge(Function> toMap, Function, D> merge) { +return merge(toMap, (k, l) -> merge.apply(l)); +} + + Map merge(Function> toMap, BiFunction, D> merge) { +final List> maps = +delegates.stream().map(toMap).filter(m -> !m.isEmpty()).collect(Collectors.toList()); + +final Function valueMapper = k -> { +final List mappedDelegates = +maps.stream().map(m -> m.get(k)).filter(Objects::nonNull).collect(Collectors.toList()); +return mappedDelegates.size() == 1 ? mappedDelegates.get(0) : merge.apply(k, mappedDelegates); +}; +return maps.stream().map(Map::keySet).flatMap(Collection::stream).distinct() +.collect(Collectors.toMap(Function.identity(), valueMapper)); +} +} + +class ForBean extends CompositeBuilder.Delegator> +implements MetadataBuilder.ForBean { + +ForBean(List> delegates) { +super(delegates); +} + +@Override +public MetadataBuilder.ForClass getClass(Meta> meta) { +return new CompositeBuilder.ForClass<>( +delegates.stream().map(d -> d.getClass(meta)).collect(Collectors.toList())); +} + +@Override +public Map> getFields(Meta> meta) { +return merge(b -> b.getFields(meta), (f, l) -> { +final Field fld = Reflection.find(meta.getHost(), t -> Reflection.getDeclaredField(t, f)); +if (fld == null) { +Exceptions.raise(IllegalStateException::new, "Could not find field %s of %s", f, meta.getHost()); +} +return forContainer(l, new Meta.ForField(fld), ElementKind.PROPERTY); +});
svn commit: r1843702 - in /tomee/deps/branches/bval-2: bundle/pom.xml bval-extras/pom.xml bval-jsr/pom.xml bval-tck/pom.xml pom.xml
Author: radcortez Date: Fri Oct 12 21:04:17 2018 New Revision: 1843702 URL: http://svn.apache.org/viewvc?rev=1843702&view=rev Log: Prepare to release bval-2 under tomee-patch. Modified: tomee/deps/branches/bval-2/bundle/pom.xml tomee/deps/branches/bval-2/bval-extras/pom.xml tomee/deps/branches/bval-2/bval-jsr/pom.xml tomee/deps/branches/bval-2/bval-tck/pom.xml tomee/deps/branches/bval-2/pom.xml Modified: tomee/deps/branches/bval-2/bundle/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bundle/pom.xml?rev=1843702&r1=1843701&r2=1843702&view=diff == --- tomee/deps/branches/bval-2/bundle/pom.xml (original) +++ tomee/deps/branches/bval-2/bundle/pom.xml Fri Oct 12 21:04:17 2018 @@ -25,9 +25,9 @@ 4.0.0 -org.apache.bval +org.apache.tomee.patch bval-parent -2.0.0-SNAPSHOT +2.0.0-nonfinal-57300f3-SNAPSHOT @@ -41,7 +41,7 @@ -org.apache.bval +org.apache.tomee.patch bval-jsr ${project.version} provided Modified: tomee/deps/branches/bval-2/bval-extras/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-extras/pom.xml?rev=1843702&r1=1843701&r2=1843702&view=diff == --- tomee/deps/branches/bval-2/bval-extras/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-extras/pom.xml Fri Oct 12 21:04:17 2018 @@ -25,9 +25,9 @@ 4.0.0 -org.apache.bval +org.apache.tomee.patch bval-parent -2.0.0-SNAPSHOT +2.0.0-nonfinal-57300f3-SNAPSHOT bval-extras @@ -38,7 +38,7 @@ -org.apache.bval +org.apache.tomee.patch bval-jsr ${project.version} Modified: tomee/deps/branches/bval-2/bval-jsr/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/pom.xml?rev=1843702&r1=1843701&r2=1843702&view=diff == --- tomee/deps/branches/bval-2/bval-jsr/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-jsr/pom.xml Fri Oct 12 21:04:17 2018 @@ -22,9 +22,9 @@ 4.0.0 -org.apache.bval +org.apache.tomee.patch bval-parent -2.0.0-SNAPSHOT +2.0.0-nonfinal-57300f3-SNAPSHOT bval-jsr Modified: tomee/deps/branches/bval-2/bval-tck/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-tck/pom.xml?rev=1843702&r1=1843701&r2=1843702&view=diff == --- tomee/deps/branches/bval-2/bval-tck/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-tck/pom.xml Fri Oct 12 21:04:17 2018 @@ -22,8 +22,8 @@ under the License. bval-parent -org.apache.bval -2.0.0-SNAPSHOT +org.apache.tomee.patch +2.0.0-nonfinal-57300f3-SNAPSHOT bval-tck-runner @@ -78,7 +78,7 @@ under the License. tomcat-el-api -org.apache.bval +org.apache.tomee.patch bval-jsr ${project.version} Modified: tomee/deps/branches/bval-2/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/pom.xml?rev=1843702&r1=1843701&r2=1843702&view=diff == --- tomee/deps/branches/bval-2/pom.xml (original) +++ tomee/deps/branches/bval-2/pom.xml Fri Oct 12 21:04:17 2018 @@ -31,11 +31,11 @@ -org.apache.bval +org.apache.tomee.patch bval-parent Apache BVal :: bval-parent (Parent POM) pom -2.0.0-SNAPSHOT +2.0.0-nonfinal-57300f3-SNAPSHOT Apache BVal parent pom @@ -50,9 +50,9 @@ http://bval.apache.org/ - scm:git:http://git-wip-us.apache.org/repos/asf/bval - scm:git:https://git-wip-us.apache.org/repos/asf/bval -http://git-wip-us.apache.org/repos/asf/bval + scm:svn:http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 + scm:svn:http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 +http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2
svn commit: r1843704 - in /tomee/deps/branches/bval-2: ./ bundle/ bundle/src/ bundle/src/main/ bundle/src/main/appended-resources/ bundle/src/main/appended-resources/META-INF/ bval-extras/ bval-extras
Author: radcortez Date: Fri Oct 12 21:10:13 2018 New Revision: 1843704 URL: http://svn.apache.org/viewvc?rev=1843704&view=rev Log: Ignore files Modified: tomee/deps/branches/bval-2/ (props changed) tomee/deps/branches/bval-2/bundle/ (props changed) tomee/deps/branches/bval-2/bundle/src/ (props changed) tomee/deps/branches/bval-2/bundle/src/main/ (props changed) tomee/deps/branches/bval-2/bundle/src/main/appended-resources/ (props changed) tomee/deps/branches/bval-2/bundle/src/main/appended-resources/META-INF/ (props changed) tomee/deps/branches/bval-2/bval-extras/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/java/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/java/org/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/checkdigit/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/creditcard/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/file/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/main/java/org/apache/bval/extras/constraints/net/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/test/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/test/java/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/test/java/org/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/test/java/org/apache/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/test/java/org/apache/bval/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/test/java/org/apache/bval/extras/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/test/java/org/apache/bval/extras/constraints/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/test/java/org/apache/bval/extras/constraints/checkdigit/ (props changed) tomee/deps/branches/bval-2/bval-extras/src/test/java/org/apache/bval/extras/constraints/net/ (props changed) tomee/deps/branches/bval-2/bval-jsr/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/appended-resources/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/appended-resources/META-INF/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/cdi/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/constraints/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/el/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/descriptor/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/groups/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/job/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/metadata/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/parameter/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/resolver/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/util/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/valueextraction/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/jsr/xml/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/routines/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/util/ (props changed) tomee/deps/branches/bval-2/bval-jsr/src/main/java/org/apache/bval/util/reflection/ (props changed) tomee/
svn commit: r1843705 - in /tomee/deps/branches/bval-2: bundle/pom.xml bval-extras/pom.xml bval-jsr/pom.xml bval-tck/pom.xml pom.xml
Author: radcortez Date: Fri Oct 12 21:13:33 2018 New Revision: 1843705 URL: http://svn.apache.org/viewvc?rev=1843705&view=rev Log: [maven-release-plugin] prepare release 2.0.0-nonfinal-57300f3 Modified: tomee/deps/branches/bval-2/bundle/pom.xml tomee/deps/branches/bval-2/bval-extras/pom.xml tomee/deps/branches/bval-2/bval-jsr/pom.xml tomee/deps/branches/bval-2/bval-tck/pom.xml tomee/deps/branches/bval-2/pom.xml Modified: tomee/deps/branches/bval-2/bundle/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bundle/pom.xml?rev=1843705&r1=1843704&r2=1843705&view=diff == --- tomee/deps/branches/bval-2/bundle/pom.xml (original) +++ tomee/deps/branches/bval-2/bundle/pom.xml Fri Oct 12 21:13:33 2018 @@ -27,7 +27,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3-SNAPSHOT +2.0.0-nonfinal-57300f3 Modified: tomee/deps/branches/bval-2/bval-extras/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-extras/pom.xml?rev=1843705&r1=1843704&r2=1843705&view=diff == --- tomee/deps/branches/bval-2/bval-extras/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-extras/pom.xml Fri Oct 12 21:13:33 2018 @@ -27,7 +27,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3-SNAPSHOT +2.0.0-nonfinal-57300f3 bval-extras Modified: tomee/deps/branches/bval-2/bval-jsr/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/pom.xml?rev=1843705&r1=1843704&r2=1843705&view=diff == --- tomee/deps/branches/bval-2/bval-jsr/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-jsr/pom.xml Fri Oct 12 21:13:33 2018 @@ -24,7 +24,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3-SNAPSHOT +2.0.0-nonfinal-57300f3 bval-jsr Modified: tomee/deps/branches/bval-2/bval-tck/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-tck/pom.xml?rev=1843705&r1=1843704&r2=1843705&view=diff == --- tomee/deps/branches/bval-2/bval-tck/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-tck/pom.xml Fri Oct 12 21:13:33 2018 @@ -23,7 +23,7 @@ under the License. bval-parent org.apache.tomee.patch -2.0.0-nonfinal-57300f3-SNAPSHOT +2.0.0-nonfinal-57300f3 bval-tck-runner Modified: tomee/deps/branches/bval-2/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/pom.xml?rev=1843705&r1=1843704&r2=1843705&view=diff == --- tomee/deps/branches/bval-2/pom.xml (original) +++ tomee/deps/branches/bval-2/pom.xml Fri Oct 12 21:13:33 2018 @@ -35,7 +35,7 @@ bval-parent Apache BVal :: bval-parent (Parent POM) pom -2.0.0-nonfinal-57300f3-SNAPSHOT +2.0.0-nonfinal-57300f3 Apache BVal parent pom @@ -50,9 +50,9 @@ http://bval.apache.org/ - scm:svn:http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 - scm:svn:http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 -http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 + scm:svn:https://svn.apache.org/repos/asf/bval/tags/2.0.0-nonfinal-57300f3 + scm:svn:https://svn.apache.org/repos/asf/bval/tags/2.0.0-nonfinal-57300f3 + https://svn.apache.org/repos/asf/bval/tags/2.0.0-nonfinal-57300f3
svn commit: r1843707 - in /tomee/deps/branches/bval-2: bundle/pom.xml bval-extras/pom.xml bval-jsr/pom.xml bval-tck/pom.xml pom.xml
Author: radcortez Date: Fri Oct 12 21:21:15 2018 New Revision: 1843707 URL: http://svn.apache.org/viewvc?rev=1843707&view=rev Log: [maven-release-plugin] rollback the release of 2.0.0-nonfinal-57300f3 Modified: tomee/deps/branches/bval-2/bundle/pom.xml tomee/deps/branches/bval-2/bval-extras/pom.xml tomee/deps/branches/bval-2/bval-jsr/pom.xml tomee/deps/branches/bval-2/bval-tck/pom.xml tomee/deps/branches/bval-2/pom.xml Modified: tomee/deps/branches/bval-2/bundle/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bundle/pom.xml?rev=1843707&r1=1843706&r2=1843707&view=diff == --- tomee/deps/branches/bval-2/bundle/pom.xml (original) +++ tomee/deps/branches/bval-2/bundle/pom.xml Fri Oct 12 21:21:15 2018 @@ -27,7 +27,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3 +2.0.0-nonfinal-57300f3-SNAPSHOT Modified: tomee/deps/branches/bval-2/bval-extras/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-extras/pom.xml?rev=1843707&r1=1843706&r2=1843707&view=diff == --- tomee/deps/branches/bval-2/bval-extras/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-extras/pom.xml Fri Oct 12 21:21:15 2018 @@ -27,7 +27,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3 +2.0.0-nonfinal-57300f3-SNAPSHOT bval-extras Modified: tomee/deps/branches/bval-2/bval-jsr/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/pom.xml?rev=1843707&r1=1843706&r2=1843707&view=diff == --- tomee/deps/branches/bval-2/bval-jsr/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-jsr/pom.xml Fri Oct 12 21:21:15 2018 @@ -24,7 +24,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3 +2.0.0-nonfinal-57300f3-SNAPSHOT bval-jsr Modified: tomee/deps/branches/bval-2/bval-tck/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-tck/pom.xml?rev=1843707&r1=1843706&r2=1843707&view=diff == --- tomee/deps/branches/bval-2/bval-tck/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-tck/pom.xml Fri Oct 12 21:21:15 2018 @@ -23,7 +23,7 @@ under the License. bval-parent org.apache.tomee.patch -2.0.0-nonfinal-57300f3 +2.0.0-nonfinal-57300f3-SNAPSHOT bval-tck-runner Modified: tomee/deps/branches/bval-2/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/pom.xml?rev=1843707&r1=1843706&r2=1843707&view=diff == --- tomee/deps/branches/bval-2/pom.xml (original) +++ tomee/deps/branches/bval-2/pom.xml Fri Oct 12 21:21:15 2018 @@ -35,7 +35,7 @@ bval-parent Apache BVal :: bval-parent (Parent POM) pom -2.0.0-nonfinal-57300f3 +2.0.0-nonfinal-57300f3-SNAPSHOT Apache BVal parent pom @@ -50,9 +50,9 @@ http://bval.apache.org/ - scm:svn:https://svn.apache.org/repos/asf/bval/tags/2.0.0-nonfinal-57300f3 - scm:svn:https://svn.apache.org/repos/asf/bval/tags/2.0.0-nonfinal-57300f3 - https://svn.apache.org/repos/asf/bval/tags/2.0.0-nonfinal-57300f3 + scm:svn:http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 + scm:svn:http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 +http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2
svn commit: r1843709 - /tomee/deps/branches/bval-2/pom.xml
Author: radcortez Date: Fri Oct 12 21:22:36 2018 New Revision: 1843709 URL: http://svn.apache.org/viewvc?rev=1843709&view=rev Log: Fixed svn urls. Modified: tomee/deps/branches/bval-2/pom.xml Modified: tomee/deps/branches/bval-2/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/pom.xml?rev=1843709&r1=1843708&r2=1843709&view=diff == --- tomee/deps/branches/bval-2/pom.xml (original) +++ tomee/deps/branches/bval-2/pom.xml Fri Oct 12 21:22:36 2018 @@ -50,9 +50,9 @@ http://bval.apache.org/ - scm:svn:http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 - scm:svn:http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 -http://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 + scm:svn:https://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 + scm:svn:https://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 +https://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 @@ -544,7 +544,7 @@ true clean install @{project.version} - https://svn.apache.org/repos/asf/bval/tags/ + https://svn.apache.org/repos/asf/tomee/deps/tags/
svn commit: r1843711 - in /tomee/deps/branches/bval-2: bundle/pom.xml bval-extras/pom.xml bval-jsr/pom.xml bval-tck/pom.xml pom.xml
Author: radcortez Date: Fri Oct 12 21:24:40 2018 New Revision: 1843711 URL: http://svn.apache.org/viewvc?rev=1843711&view=rev Log: [maven-release-plugin] prepare release 2.0.0-nonfinal-57300f3 Modified: tomee/deps/branches/bval-2/bundle/pom.xml tomee/deps/branches/bval-2/bval-extras/pom.xml tomee/deps/branches/bval-2/bval-jsr/pom.xml tomee/deps/branches/bval-2/bval-tck/pom.xml tomee/deps/branches/bval-2/pom.xml Modified: tomee/deps/branches/bval-2/bundle/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bundle/pom.xml?rev=1843711&r1=1843710&r2=1843711&view=diff == --- tomee/deps/branches/bval-2/bundle/pom.xml (original) +++ tomee/deps/branches/bval-2/bundle/pom.xml Fri Oct 12 21:24:40 2018 @@ -27,7 +27,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3-SNAPSHOT +2.0.0-nonfinal-57300f3 Modified: tomee/deps/branches/bval-2/bval-extras/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-extras/pom.xml?rev=1843711&r1=1843710&r2=1843711&view=diff == --- tomee/deps/branches/bval-2/bval-extras/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-extras/pom.xml Fri Oct 12 21:24:40 2018 @@ -27,7 +27,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3-SNAPSHOT +2.0.0-nonfinal-57300f3 bval-extras Modified: tomee/deps/branches/bval-2/bval-jsr/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/pom.xml?rev=1843711&r1=1843710&r2=1843711&view=diff == --- tomee/deps/branches/bval-2/bval-jsr/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-jsr/pom.xml Fri Oct 12 21:24:40 2018 @@ -24,7 +24,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3-SNAPSHOT +2.0.0-nonfinal-57300f3 bval-jsr Modified: tomee/deps/branches/bval-2/bval-tck/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-tck/pom.xml?rev=1843711&r1=1843710&r2=1843711&view=diff == --- tomee/deps/branches/bval-2/bval-tck/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-tck/pom.xml Fri Oct 12 21:24:40 2018 @@ -23,7 +23,7 @@ under the License. bval-parent org.apache.tomee.patch -2.0.0-nonfinal-57300f3-SNAPSHOT +2.0.0-nonfinal-57300f3 bval-tck-runner Modified: tomee/deps/branches/bval-2/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/pom.xml?rev=1843711&r1=1843710&r2=1843711&view=diff == --- tomee/deps/branches/bval-2/pom.xml (original) +++ tomee/deps/branches/bval-2/pom.xml Fri Oct 12 21:24:40 2018 @@ -35,7 +35,7 @@ bval-parent Apache BVal :: bval-parent (Parent POM) pom -2.0.0-nonfinal-57300f3-SNAPSHOT +2.0.0-nonfinal-57300f3 Apache BVal parent pom @@ -50,9 +50,9 @@ http://bval.apache.org/ - scm:svn:https://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 - scm:svn:https://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 -https://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 + scm:svn:https://svn.apache.org/repos/asf/tomee/deps/tags/2.0.0-nonfinal-57300f3 + scm:svn:https://svn.apache.org/repos/asf/tomee/deps/tags/2.0.0-nonfinal-57300f3 + https://svn.apache.org/repos/asf/tomee/deps/tags/2.0.0-nonfinal-57300f3
svn commit: r1843712 - /tomee/deps/tags/2.0.0-nonfinal-57300f3/
Author: radcortez Date: Fri Oct 12 21:24:54 2018 New Revision: 1843712 URL: http://svn.apache.org/viewvc?rev=1843712&view=rev Log: [maven-release-plugin] copy for tag 2.0.0-nonfinal-57300f3 Added: tomee/deps/tags/2.0.0-nonfinal-57300f3/ - copied from r1843711, tomee/deps/branches/bval-2/
svn commit: r1843713 - in /tomee/deps/branches/bval-2: bundle/pom.xml bval-extras/pom.xml bval-jsr/pom.xml bval-tck/pom.xml pom.xml
Author: radcortez Date: Fri Oct 12 21:24:57 2018 New Revision: 1843713 URL: http://svn.apache.org/viewvc?rev=1843713&view=rev Log: [maven-release-plugin] prepare for next development iteration Modified: tomee/deps/branches/bval-2/bundle/pom.xml tomee/deps/branches/bval-2/bval-extras/pom.xml tomee/deps/branches/bval-2/bval-jsr/pom.xml tomee/deps/branches/bval-2/bval-tck/pom.xml tomee/deps/branches/bval-2/pom.xml Modified: tomee/deps/branches/bval-2/bundle/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bundle/pom.xml?rev=1843713&r1=1843712&r2=1843713&view=diff == --- tomee/deps/branches/bval-2/bundle/pom.xml (original) +++ tomee/deps/branches/bval-2/bundle/pom.xml Fri Oct 12 21:24:57 2018 @@ -27,7 +27,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3 +2.0.0-nonfinal-57301f3-S1-SNAPSHOT Modified: tomee/deps/branches/bval-2/bval-extras/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-extras/pom.xml?rev=1843713&r1=1843712&r2=1843713&view=diff == --- tomee/deps/branches/bval-2/bval-extras/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-extras/pom.xml Fri Oct 12 21:24:57 2018 @@ -27,7 +27,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3 +2.0.0-nonfinal-57301f3-S1-SNAPSHOT bval-extras Modified: tomee/deps/branches/bval-2/bval-jsr/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-jsr/pom.xml?rev=1843713&r1=1843712&r2=1843713&view=diff == --- tomee/deps/branches/bval-2/bval-jsr/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-jsr/pom.xml Fri Oct 12 21:24:57 2018 @@ -24,7 +24,7 @@ org.apache.tomee.patch bval-parent -2.0.0-nonfinal-57300f3 +2.0.0-nonfinal-57301f3-S1-SNAPSHOT bval-jsr Modified: tomee/deps/branches/bval-2/bval-tck/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/bval-tck/pom.xml?rev=1843713&r1=1843712&r2=1843713&view=diff == --- tomee/deps/branches/bval-2/bval-tck/pom.xml (original) +++ tomee/deps/branches/bval-2/bval-tck/pom.xml Fri Oct 12 21:24:57 2018 @@ -23,7 +23,7 @@ under the License. bval-parent org.apache.tomee.patch -2.0.0-nonfinal-57300f3 +2.0.0-nonfinal-57301f3-S1-SNAPSHOT bval-tck-runner Modified: tomee/deps/branches/bval-2/pom.xml URL: http://svn.apache.org/viewvc/tomee/deps/branches/bval-2/pom.xml?rev=1843713&r1=1843712&r2=1843713&view=diff == --- tomee/deps/branches/bval-2/pom.xml (original) +++ tomee/deps/branches/bval-2/pom.xml Fri Oct 12 21:24:57 2018 @@ -35,7 +35,7 @@ bval-parent Apache BVal :: bval-parent (Parent POM) pom -2.0.0-nonfinal-57300f3 +2.0.0-nonfinal-57301f3-S1-SNAPSHOT Apache BVal parent pom @@ -50,9 +50,9 @@ http://bval.apache.org/ - scm:svn:https://svn.apache.org/repos/asf/tomee/deps/tags/2.0.0-nonfinal-57300f3 - scm:svn:https://svn.apache.org/repos/asf/tomee/deps/tags/2.0.0-nonfinal-57300f3 - https://svn.apache.org/repos/asf/tomee/deps/tags/2.0.0-nonfinal-57300f3 + scm:svn:https://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 + scm:svn:https://svn.apache.org/repos/asf/tomee/deps/branches/bval-2 +https://svn.apache.org/repos/asf/tomee/deps/branches/bval-2
[4/5] tomee git commit: Removed unneeded dependency.
Removed unneeded dependency. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/92bf6292 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/92bf6292 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/92bf6292 Branch: refs/heads/master Commit: 92bf62920e299c57ffaa3beebb7092992fee3bbd Parents: 13c3364 Author: Roberto Cortez Authored: Fri Oct 12 15:20:24 2018 +0100 Committer: Roberto Cortez Committed: Fri Oct 12 15:20:24 2018 +0100 -- tomee/tomee-microprofile-webapp/pom.xml | 6 ++ 1 file changed, 6 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/92bf6292/tomee/tomee-microprofile-webapp/pom.xml -- diff --git a/tomee/tomee-microprofile-webapp/pom.xml b/tomee/tomee-microprofile-webapp/pom.xml index 96e07b0..786f6d1 100644 --- a/tomee/tomee-microprofile-webapp/pom.xml +++ b/tomee/tomee-microprofile-webapp/pom.xml @@ -143,6 +143,12 @@ org.eclipse.microprofile.opentracing microprofile-opentracing-api ${microprofile.opentracing.version} + + + org.apache.geronimo.specs + geronimo-atinject_1.0_spec + +
[5/5] tomee git commit: TomEE-2258 - Dirty hack to fix classloading issue with tomee-embedded. Needs to be addressed properly.
TomEE-2258 - Dirty hack to fix classloading issue with tomee-embedded. Needs to be addressed properly. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/f521b016 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/f521b016 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/f521b016 Branch: refs/heads/master Commit: f521b01675ec352e5c562ace76382693ebbfb55b Parents: 92bf629 Author: Roberto Cortez Authored: Fri Oct 12 20:13:24 2018 +0100 Committer: Roberto Cortez Committed: Fri Oct 12 20:13:24 2018 +0100 -- .../apache/openejb/assembler/classic/Assembler.java | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/f521b016/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java b/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java index fb561c9..a0fad43 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java @@ -218,6 +218,7 @@ import java.lang.instrument.Instrumentation; import java.lang.management.ManagementFactory; import java.lang.management.ThreadInfo; import java.lang.reflect.Constructor; +import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.lang.reflect.Type; @@ -383,7 +384,18 @@ public class Assembler extends AssemblerTool implements org.apache.openejb.spi.A loader.loadClass("org.apache.bval.cdi.BValExtension$AnnotatedTypeFilter")) .invoke(null, filter); } catch (final Throwable th) { -// ignore, bval not compatible or not present +// Quick hack to fix TOMEE-2258. Needs to be addressed properly. Fallback to TCCL. +try { +final ClassLoader loader = Thread.currentThread().getContextClassLoader(); +final Object filter = loader.loadClass("org.apache.openejb.bval.BValCdiFilter").newInstance(); +loader.loadClass("org.apache.bval.cdi.BValExtension") + .getMethod( + "setAnnotatedTypeFilter", + loader.loadClass("org.apache.bval.cdi.BValExtension$AnnotatedTypeFilter")) + .invoke(null, filter); +} catch (Throwable e) { +// ignore, bval not compatible or not present +} } } }
[2/5] tomee git commit: Added Jackson notice to plus and plume.
Added Jackson notice to plus and plume. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/0c2772e3 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/0c2772e3 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/0c2772e3 Branch: refs/heads/master Commit: 0c2772e36e8617b7eee9509e3bf16e6908cca557 Parents: e14ae95 Author: Roberto Cortez Authored: Fri Oct 12 13:07:06 2018 +0100 Committer: Roberto Cortez Committed: Fri Oct 12 13:17:51 2018 +0100 -- tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE | 9 - tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE | 9 - tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE | 9 - tomee/tomee-plus-webapp/src/main/resources/META-INF/NOTICE | 9 - 4 files changed, 32 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/0c2772e3/tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE -- diff --git a/tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE b/tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE index a3c5862..be9aca1 100644 --- a/tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE +++ b/tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE @@ -167,4 +167,11 @@ Joda.org (http://www.joda.org/). = This product includes software developed and copyrighted by the The OWASP Foundation (https://www.owasp.org) -= \ No newline at end of file += +Jackson JSON processor +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers, as well as supported +commercially by FasterXML.com. += http://git-wip-us.apache.org/repos/asf/tomee/blob/0c2772e3/tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE -- diff --git a/tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE b/tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE index ba6bde2..a2da07e 100644 --- a/tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE +++ b/tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE @@ -160,4 +160,11 @@ Joda.org (http://www.joda.org/). = This product includes software developed and copyrighted by the The OWASP Foundation (https://www.owasp.org) -= \ No newline at end of file += +Jackson JSON processor +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers, as well as supported +commercially by FasterXML.com. += http://git-wip-us.apache.org/repos/asf/tomee/blob/0c2772e3/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE -- diff --git a/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE b/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE index 4d74e4a..e641f49 100644 --- a/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE +++ b/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE @@ -121,4 +121,11 @@ Joda.org (http://www.joda.org/). = This product includes software developed and copyrighted by the The OWASP Foundation (https://www.owasp.org) -= \ No newline at end of file += +Jackson JSON processor +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers, as well as supported +commercially by FasterXML.com. += http://git-wip-us.apache.org/repos/asf/tomee/blob/0c2772e3/tomee/tome
[1/5] tomee git commit: Excluded dropwizard metrics.
Repository: tomee Updated Branches: refs/heads/master 1e775fca0 -> f521b0167 Excluded dropwizard metrics. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/e14ae95b Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/e14ae95b Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/e14ae95b Branch: refs/heads/master Commit: e14ae95b6d6b10a25ebbd03c39c1cf23e7322849 Parents: 1e775fc Author: Roberto Cortez Authored: Fri Oct 12 13:04:25 2018 +0100 Committer: Roberto Cortez Committed: Fri Oct 12 13:04:25 2018 +0100 -- server/openejb-cxf/pom.xml | 4 1 file changed, 4 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/e14ae95b/server/openejb-cxf/pom.xml -- diff --git a/server/openejb-cxf/pom.xml b/server/openejb-cxf/pom.xml index e796f69..c1ce96b 100644 --- a/server/openejb-cxf/pom.xml +++ b/server/openejb-cxf/pom.xml @@ -81,6 +81,10 @@ org.codehaus.woodstox woodstox-core-asl + + io.dropwizard.metrics + metrics-core +
[3/5] tomee git commit: Added Jackson notice to plus, plume and microprofile.
Added Jackson notice to plus, plume and microprofile. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/13c3364a Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/13c3364a Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/13c3364a Branch: refs/heads/master Commit: 13c3364a808782193bdc493a2648508a96a12f95 Parents: 0c2772e Author: Roberto Cortez Authored: Fri Oct 12 13:22:25 2018 +0100 Committer: Roberto Cortez Committed: Fri Oct 12 13:22:25 2018 +0100 -- .../src/main/resources/META-INF/microprofile/NOTICE | 8 .../src/main/resources/META-INF/NOTICE | 8 2 files changed, 16 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/13c3364a/tomee/apache-tomee/src/main/resources/META-INF/microprofile/NOTICE -- diff --git a/tomee/apache-tomee/src/main/resources/META-INF/microprofile/NOTICE b/tomee/apache-tomee/src/main/resources/META-INF/microprofile/NOTICE index 09d4a4e..e754835 100644 --- a/tomee/apache-tomee/src/main/resources/META-INF/microprofile/NOTICE +++ b/tomee/apache-tomee/src/main/resources/META-INF/microprofile/NOTICE @@ -161,3 +161,11 @@ Apache Commons Codec project. http://commons.apache.org/proper/commons-codec/ JSON processing in this software was derived from the JSON.simple toolkit. https://code.google.com/p/json-simple/ += +Jackson JSON processor +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers, as well as supported +commercially by FasterXML.com. += http://git-wip-us.apache.org/repos/asf/tomee/blob/13c3364a/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/NOTICE -- diff --git a/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/NOTICE b/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/NOTICE index 09d4a4e..e754835 100644 --- a/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/NOTICE +++ b/tomee/tomee-microprofile-webapp/src/main/resources/META-INF/NOTICE @@ -161,3 +161,11 @@ Apache Commons Codec project. http://commons.apache.org/proper/commons-codec/ JSON processing in this software was derived from the JSON.simple toolkit. https://code.google.com/p/json-simple/ += +Jackson JSON processor +Jackson is a high-performance, Free/Open Source JSON processing library. +It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has +been in development since 2007. +It is currently developed by a community of developers, as well as supported +commercially by FasterXML.com. +=
tomee git commit: Fixed examples versions to use project version.
Repository: tomee Updated Branches: refs/heads/master f521b0167 -> 9a3bcfa74 Fixed examples versions to use project version. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/9a3bcfa7 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/9a3bcfa7 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/9a3bcfa7 Branch: refs/heads/master Commit: 9a3bcfa74abd26a53ff8b9b769afc55d32544a27 Parents: f521b01 Author: Roberto Cortez Authored: Sat Oct 13 00:40:59 2018 +0100 Committer: Roberto Cortez Committed: Sat Oct 13 00:42:00 2018 +0100 -- examples/connector-ear-sample/connector-starter-rar/pom.xml | 2 +- examples/connector-ear/connector-sample-api/pom.xml | 2 +- examples/connector-ear/connector-sample-ear/pom.xml | 2 +- .../connector-ear/connector-sample-functional-tests/pom.xml | 8 examples/connector-ear/connector-sample-impl/pom.xml | 2 +- examples/connector-ear/connector-sample-rar/pom.xml | 2 +- examples/connector-ear/connector-sample-war/pom.xml | 2 +- examples/connector-ear/pom.xml | 2 +- examples/connector-war/pom.xml | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/9a3bcfa7/examples/connector-ear-sample/connector-starter-rar/pom.xml -- diff --git a/examples/connector-ear-sample/connector-starter-rar/pom.xml b/examples/connector-ear-sample/connector-starter-rar/pom.xml index 57e01cf..510e33c 100644 --- a/examples/connector-ear-sample/connector-starter-rar/pom.xml +++ b/examples/connector-ear-sample/connector-starter-rar/pom.xml @@ -26,7 +26,7 @@ org.tomitribe connector-starter-parent -0.1-SNAPSHOT +8.0.0-SNAPSHOT connector-starter-rar http://git-wip-us.apache.org/repos/asf/tomee/blob/9a3bcfa7/examples/connector-ear/connector-sample-api/pom.xml -- diff --git a/examples/connector-ear/connector-sample-api/pom.xml b/examples/connector-ear/connector-sample-api/pom.xml index 2c3a680..4da74ea 100644 --- a/examples/connector-ear/connector-sample-api/pom.xml +++ b/examples/connector-ear/connector-sample-api/pom.xml @@ -26,7 +26,7 @@ org.superbiz connector-ear -1.1.1-SNAPSHOT +8.0.0-SNAPSHOT connector-sample-api http://git-wip-us.apache.org/repos/asf/tomee/blob/9a3bcfa7/examples/connector-ear/connector-sample-ear/pom.xml -- diff --git a/examples/connector-ear/connector-sample-ear/pom.xml b/examples/connector-ear/connector-sample-ear/pom.xml index 1c47cb6..109b5f1 100644 --- a/examples/connector-ear/connector-sample-ear/pom.xml +++ b/examples/connector-ear/connector-sample-ear/pom.xml @@ -21,7 +21,7 @@ org.superbiz connector-ear -1.1.1-SNAPSHOT +8.0.0-SNAPSHOT 4.0.0 http://git-wip-us.apache.org/repos/asf/tomee/blob/9a3bcfa7/examples/connector-ear/connector-sample-functional-tests/pom.xml -- diff --git a/examples/connector-ear/connector-sample-functional-tests/pom.xml b/examples/connector-ear/connector-sample-functional-tests/pom.xml index 6eec1f7..9fcb237 100644 --- a/examples/connector-ear/connector-sample-functional-tests/pom.xml +++ b/examples/connector-ear/connector-sample-functional-tests/pom.xml @@ -24,7 +24,7 @@ org.superbiz connector-ear -1.1.1-SNAPSHOT +8.0.0-SNAPSHOT 4.0.0 connector-sample-functional-test @@ -117,19 +117,19 @@ org.apache.tomee arquillian-tomee-remote - ${tomee.version} + ${project.version} test org.apache.tomee ziplock - ${tomee.version} + ${project.version} test org.apache.tomee tomee-jaxrs - ${tomee.version} + ${project.version} test http://git-wip-us.apache.org/repos/asf/tomee/blob/9a3bcfa7/examples/connector-ear/connector-sample-impl/pom.xml -- diff --git a/examples/connector-ear/connector-sample-impl/pom.xml b/examples/connector-ear/connector-sample-impl/pom.xml index fdf703b..8262fe1 100644 --- a/examples/connector-ear/connector-sample-impl/pom.xml +++ b/examples/connector-ear/connector-sample-impl/pom.xml @@ -26,7 +26,7 @@ org.superbiz connector-ear -1.1.1-SNAPSHOT +8.0.0-SNAPSHOT connector-sample-impl http://git-wip-us.apache.org/repos/asf/tomee/blob/9a3bcfa7/examples/connector-ear/connector-sample-rar/pom.xml ---
[2/2] tomee git commit: Turning off doclint for javadoc.
Turning off doclint for javadoc. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/d1c78d23 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/d1c78d23 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/d1c78d23 Branch: refs/heads/master Commit: d1c78d2311180167282f80d688fb207757efac09 Parents: 63c18b9 Author: Roberto Cortez Authored: Sat Oct 13 01:07:38 2018 +0100 Committer: Roberto Cortez Committed: Sat Oct 13 11:31:29 2018 +0100 -- pom.xml | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/d1c78d23/pom.xml -- diff --git a/pom.xml b/pom.xml index 80482f1..b055031 100644 --- a/pom.xml +++ b/pom.xml @@ -92,6 +92,7 @@ +none ${project.version} 1.8 @@ -1735,27 +1736,5 @@ scp://people.apache.org/www/tomee.apache.org/openejb/maven - - - - -org.apache.maven.plugins -maven-javadoc-plugin -2.10.1 - - true - -J-Xmx1024m - - - - -
[1/2] tomee git commit: TomEE-2258 - Fixed checkstyle issue.
Repository: tomee Updated Branches: refs/heads/master 9a3bcfa74 -> d1c78d231 TomEE-2258 - Fixed checkstyle issue. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/63c18b98 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/63c18b98 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/63c18b98 Branch: refs/heads/master Commit: 63c18b98a26615e9aeb100d0bee9da6f3d54f077 Parents: 9a3bcfa Author: Roberto Cortez Authored: Sat Oct 13 11:30:28 2018 +0100 Committer: Roberto Cortez Committed: Sat Oct 13 11:30:28 2018 +0100 -- .../java/org/apache/openejb/assembler/classic/Assembler.java | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/63c18b98/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java b/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java index a0fad43..5e6bbfe 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java @@ -180,7 +180,12 @@ import javax.enterprise.inject.spi.Bean; import javax.enterprise.inject.spi.BeanManager; import javax.enterprise.inject.spi.DefinitionException; import javax.enterprise.inject.spi.DeploymentException; -import javax.management.*; +import javax.management.DynamicMBean; +import javax.management.InstanceNotFoundException; +import javax.management.MBeanRegistrationException; +import javax.management.MBeanServer; +import javax.management.MalformedObjectNameException; +import javax.management.ObjectName; import javax.naming.Binding; import javax.naming.Context; import javax.naming.InitialContext; @@ -218,7 +223,6 @@ import java.lang.instrument.Instrumentation; import java.lang.management.ManagementFactory; import java.lang.management.ThreadInfo; import java.lang.reflect.Constructor; -import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.lang.reflect.Type;
svn commit: r1843766 - /tomee/deps/tags/2.0.0-nonfinal-57300f3/
Author: radcortez Date: Sat Oct 13 15:19:33 2018 New Revision: 1843766 URL: http://svn.apache.org/viewvc?rev=1843766&view=rev Log: Rollback Removed: tomee/deps/tags/2.0.0-nonfinal-57300f3/
svn commit: r1843767 - /tomee/deps/tags/bval-2.0.0-nonfinal-57300f3/
Author: radcortez Date: Sat Oct 13 15:31:01 2018 New Revision: 1843767 URL: http://svn.apache.org/viewvc?rev=1843767&view=rev Log: Tagging BVal 2 with TomEE patch. Added: tomee/deps/tags/bval-2.0.0-nonfinal-57300f3/ - copied from r1843711, tomee/deps/branches/bval-2/
[2/2] tomee git commit: Excluded Jackson from plus and plume.
Excluded Jackson from plus and plume. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/649365f1 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/649365f1 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/649365f1 Branch: refs/heads/master Commit: 649365f129cb607ea73d1a075e2e29a8f6864517 Parents: ded08b8 Author: Roberto Cortez Authored: Sat Oct 13 23:16:13 2018 +0100 Committer: Roberto Cortez Committed: Sun Oct 14 00:20:57 2018 +0100 -- pom.xml | 8 ++-- tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE | 7 --- tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE | 7 --- tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE | 7 --- tomee/tomee-plus-webapp/src/main/resources/META-INF/NOTICE | 7 --- 5 files changed, 2 insertions(+), 34 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/649365f1/pom.xml -- diff --git a/pom.xml b/pom.xml index b055031..adc0b33 100644 --- a/pom.xml +++ b/pom.xml @@ -978,12 +978,8 @@ guava -org.codehaus.jackson -jackson-core-asl - - -org.codehaus.jackson -jackson-core-mapper +com.fasterxml.jackson.core +jackson-databind org.apache.hadoop http://git-wip-us.apache.org/repos/asf/tomee/blob/649365f1/tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE -- diff --git a/tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE b/tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE index be9aca1..6cec2de 100644 --- a/tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE +++ b/tomee/apache-tomee/src/main/resources/META-INF/plume/NOTICE @@ -168,10 +168,3 @@ Joda.org (http://www.joda.org/). This product includes software developed and copyrighted by the The OWASP Foundation (https://www.owasp.org) = -Jackson JSON processor -Jackson is a high-performance, Free/Open Source JSON processing library. -It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has -been in development since 2007. -It is currently developed by a community of developers, as well as supported -commercially by FasterXML.com. -= http://git-wip-us.apache.org/repos/asf/tomee/blob/649365f1/tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE -- diff --git a/tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE b/tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE index a2da07e..58217b4 100644 --- a/tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE +++ b/tomee/apache-tomee/src/main/resources/META-INF/plus/NOTICE @@ -161,10 +161,3 @@ Joda.org (http://www.joda.org/). This product includes software developed and copyrighted by the The OWASP Foundation (https://www.owasp.org) = -Jackson JSON processor -Jackson is a high-performance, Free/Open Source JSON processing library. -It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has -been in development since 2007. -It is currently developed by a community of developers, as well as supported -commercially by FasterXML.com. -= http://git-wip-us.apache.org/repos/asf/tomee/blob/649365f1/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE -- diff --git a/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE b/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE index e641f49..f5ea6ba 100644 --- a/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE +++ b/tomee/tomee-plume-webapp/src/main/resources/META-INF/NOTICE @@ -122,10 +122,3 @@ Joda.org (http://www.joda.org/). This product includes software developed and copyrighted by the The OWASP Foundation (https://www.owasp.org) = -Jackson JSON processor -Jackson is a high-performance, Free/Open Source JSON processing library. -It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has -been in development since 2007. -It is currently developed by a community of developers, as well as supported -commercially by FasterXML.com. -==
[1/2] tomee git commit: Fixed wireshark plugin so stop the server after tests.
Repository: tomee Updated Branches: refs/heads/master ded08b8b6 -> a48208ac3 Fixed wireshark plugin so stop the server after tests. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/a48208ac Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/a48208ac Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/a48208ac Branch: refs/heads/master Commit: a48208ac337cbeddbc2c27c27fe9fc68fdfafe3f Parents: 649365f Author: Roberto Cortez Authored: Sun Oct 14 00:20:29 2018 +0100 Committer: Roberto Cortez Committed: Sun Oct 14 00:20:57 2018 +0100 -- tck/microprofile-tck/rest-client/pom.xml | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/a48208ac/tck/microprofile-tck/rest-client/pom.xml -- diff --git a/tck/microprofile-tck/rest-client/pom.xml b/tck/microprofile-tck/rest-client/pom.xml index 91bfb8f..53e53e8 100644 --- a/tck/microprofile-tck/rest-client/pom.xml +++ b/tck/microprofile-tck/rest-client/pom.xml @@ -33,19 +33,27 @@ -uk.co.deliverymind +uk.co.automatictester wiremock-maven-plugin -2.7.0 +3.0.0 + + target/classes + --port=8765 --verbose + +start-wiremock generate-test-sources run - - target/classes - --port=8765 --verbose - + + +stop-wiremock +prepare-package + + stop +
svn commit: r30055 - /dev/tomee/tomee-8.0.0-M1/
Author: radcortez Date: Sun Oct 14 22:54:24 2018 New Revision: 30055 Log: Adding folder to stage dist files for TomEE 8.0.0 M1 Added: dev/tomee/tomee-8.0.0-M1/
svn commit: r30056 - /dev/tomee/tomee-8.0.0-M1/
Author: radcortez Date: Sun Oct 14 23:01:29 2018 New Revision: 30056 Log: Adding Java EE 8 binaries. Added: dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip (with props) dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.asc dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.sha256 dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.sha512 dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar (with props) dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar.asc dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar.sha256 dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar.sha512 Added: dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip == Binary file - no diff available. Propchange: dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip -- svn:mime-type = application/octet-stream Added: dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.asc == --- dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.asc (added) +++ dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.asc Sun Oct 14 23:01:29 2018 @@ -0,0 +1,17 @@ +-BEGIN PGP SIGNATURE- +Version: GnuPG v2 + +iQIcBAABCgAGBQJbwgZTAAoJED1Gg8JO3GTRFmIP/0TqnWXMtcDwtBF2OQ46KkHY +RM+QcuXNxOvAhlHXJLhuBkIHYvX07+pR5hVawUtvVlqvi5xfpxmT6+bnL65pDZmu +VhzS/WQU98/QsGNp0ne/T6Bxlj3i1a9x6ACEXNilkz626B1VyWzNSRxw35oLKhpg +vcA5CGKev5e+L9CIziv5bOTK+1r94jxrp4GVji7hspW2IHMNnZDHobfIRuqe73PB +GKqNTAJETYvywhNTmb0uRd4DCiwkOhkfqzKi7FBaoWdH1XIksfY6yIOEgPLtlnqV +rH5T8sO/8/dPtIV1NPZkJ4Dh9aUH3Hi6hFg0GTMmxiPERdhSSdc3FzSVOsAWo3f6 +FF6q2R1+U6WQpKuPGUyh2PIG9Q3LfoRyKA1EqbbHyWQWEQDKhEwqCDHlO4LWtYb3 +ypCTuAPoZ+ZdJpCi9ucrQw1a73Aipb3kipRy/MnqpKF46N3yooJhZBABycudhnCG +X9Qo9HfVhSpJgSwxCqiNEQDU1+wfXSC3HyxwjsJ+AdfaXDPV17/Rw7t9ULlI5eH+ +GTl0GLf+mk9wSc06uowK9xsmLbsCMkardwm4p7jVtm4SnMFGtJFFwQ6F1kiSW9IH +b3K7Embmh6WlpMsJPkm6CtHxNb3korurLGaxrSxKmXjm9hX6vq2QwgdPKFNMlqgj +MdXZ0tlyKX7OCghfIkX8 +=eD5l +-END PGP SIGNATURE- Added: dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.sha256 == --- dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.sha256 (added) +++ dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.sha256 Sun Oct 14 23:01:29 2018 @@ -0,0 +1 @@ +81b722c0b77575bf70a2db6ec99dcc9d6a4b6ac44be3663b798c55abdef10535 \ No newline at end of file Added: dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.sha512 == --- dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.sha512 (added) +++ dev/tomee/tomee-8.0.0-M1/javaee-api-8.0-source-release.zip.sha512 Sun Oct 14 23:01:29 2018 @@ -0,0 +1 @@ +7183a93070fb2b711801d21fd0dd9a1e46097196999c125c0d7521abe3afc74eefe172be92450b87ec59789aab3fec3be28358193e41a4b6a009535ea29e489e \ No newline at end of file Added: dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar == Binary file - no diff available. Propchange: dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar -- svn:mime-type = application/octet-stream Added: dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar.asc == --- dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar.asc (added) +++ dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar.asc Sun Oct 14 23:01:29 2018 @@ -0,0 +1,17 @@ +-BEGIN PGP SIGNATURE- +Version: GnuPG v2 + +iQIcBAABCgAGBQJbwgZQAAoJED1Gg8JO3GTRKuUP/003a9hoGRxoUd/cKRfYqRzY +q9onxuDwpkt7buvyY9kLpROw4TV41szjHUj9k90kqArwHCYEOJFC8oTLKTTXPP4d +VvW463anNZCCAQRoJN7yt4sNH8GtflfeFlelHMRlYcutHyQpHSC66y0DlXxACK2A +HcwZrGaj12pTewuOhwOJWWd3jrlpfgmkIXy0CxKT106sasXydhBlbgAomlfYsxAh +kBYFR+FqiZdrQNBXwEjGSiqoi+3l2h40Cwi6DqdWRa4LFHyn53VDBpL2F0UahwiD +0LoEUkQ9mxkJhNTUfUPLPHutSTU+sN3tThxfrjLNhCc6NM+NHEw0XpMsTL9AjKgq +CzLqmnNQFOnFbc1u1qbcutK5x0QAGMu671MHUhdoA/hDlBbIWAAUa7j/qUBwI90P +MkQoR6b6pkLSHVLURHojaaqCpFK75EcQmmUxsw6InbYqpdOoYjGm6mlNyIIwc5VS +1Lzq7VNP3Cn3wesj6NpZyETxvuXSA/on2CaRt5Usb4Kr8hv0XfsvPv7KNlna+CBB +mUf27LXe3E3yV2y2muCGJwmHX8Sp0XyHn9zbGVk1dQMwvcBoYAosiLSKrghhuIFt +zYbyZgF4zPenb65sGUnAdThHdmUFgy9MHmwqEkvyDoyMlmJZkbjcrOEg5JbKXsfV +NXp32HhOkzp5BvR+5CgL +=ADnl +-END PGP SIGNATURE- Added: dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar.sha256 == --- dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar.sha256 (added) +++ dev/tomee/tomee-8.0.0-M1/javaee-api-8.0.jar.sha256 Sun Oct 14 23:01:29 2018 @@ -0,0 +1 @@ +373442468bb2199653cf0db1d8b0f1d89aa3e0a62e86a46a8b3317f10e3e558a \ No newline at end of file Added: dev/tomee/tomee-8.0.0-M1/javaee
svn commit: r30057 - /dev/tomee/tomee-8.0.0-M1/
Author: radcortez Date: Sun Oct 14 23:24:39 2018 New Revision: 30057 Log: Adding TomEE 8.0.0 M1 binaries. Added: dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-microprofile.tar.gz (with props) dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-microprofile.tar.gz.asc dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-microprofile.tar.gz.sha256 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-microprofile.tar.gz.sha512 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-microprofile.zip (with props) dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-microprofile.zip.asc dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-microprofile.zip.sha256 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-microprofile.zip.sha512 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plume.tar.gz (with props) dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plume.tar.gz.asc dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plume.tar.gz.sha256 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plume.tar.gz.sha512 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plume.zip (with props) dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plume.zip.asc dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plume.zip.sha256 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plume.zip.sha512 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plus.tar.gz (with props) dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plus.tar.gz.asc dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plus.tar.gz.sha256 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plus.tar.gz.sha512 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plus.zip (with props) dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plus.zip.asc dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plus.zip.sha256 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-plus.zip.sha512 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-webprofile.tar.gz (with props) dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-webprofile.tar.gz.asc dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-webprofile.tar.gz.sha256 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-webprofile.tar.gz.sha512 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-webprofile.zip (with props) dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-webprofile.zip.asc dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-webprofile.zip.sha256 dev/tomee/tomee-8.0.0-M1/apache-tomee-8.0.0-M1-webprofile.zip.sha512 dev/tomee/tomee-8.0.0-M1/examples-8.0.0-M1-src.tar.gz (with props) dev/tomee/tomee-8.0.0-M1/examples-8.0.0-M1-src.tar.gz.asc dev/tomee/tomee-8.0.0-M1/examples-8.0.0-M1-src.tar.gz.sha256 dev/tomee/tomee-8.0.0-M1/examples-8.0.0-M1-src.tar.gz.sha512 dev/tomee/tomee-8.0.0-M1/examples-8.0.0-M1-src.zip (with props) dev/tomee/tomee-8.0.0-M1/examples-8.0.0-M1-src.zip.asc dev/tomee/tomee-8.0.0-M1/examples-8.0.0-M1-src.zip.sha256 dev/tomee/tomee-8.0.0-M1/examples-8.0.0-M1-src.zip.sha512 dev/tomee/tomee-8.0.0-M1/openejb-standalone-8.0.0-M1.tar.gz (with props) dev/tomee/tomee-8.0.0-M1/openejb-standalone-8.0.0-M1.tar.gz.asc dev/tomee/tomee-8.0.0-M1/openejb-standalone-8.0.0-M1.tar.gz.sha256 dev/tomee/tomee-8.0.0-M1/openejb-standalone-8.0.0-M1.tar.gz.sha512 dev/tomee/tomee-8.0.0-M1/openejb-standalone-8.0.0-M1.zip (with props) dev/tomee/tomee-8.0.0-M1/openejb-standalone-8.0.0-M1.zip.asc dev/tomee/tomee-8.0.0-M1/openejb-standalone-8.0.0-M1.zip.sha256 dev/tomee/tomee-8.0.0-M1/openejb-standalone-8.0.0-M1.zip.sha512 dev/tomee/tomee-8.0.0-M1/tomee-microprofile-webapp-8.0.0-M1.war (with props) dev/tomee/tomee-8.0.0-M1/tomee-microprofile-webapp-8.0.0-M1.war.asc dev/tomee/tomee-8.0.0-M1/tomee-microprofile-webapp-8.0.0-M1.war.sha256 dev/tomee/tomee-8.0.0-M1/tomee-microprofile-webapp-8.0.0-M1.war.sha512 dev/tomee/tomee-8.0.0-M1/tomee-plume-webapp-8.0.0-M1.war (with props) dev/tomee/tomee-8.0.0-M1/tomee-plume-webapp-8.0.0-M1.war.asc dev/tomee/tomee-8.0.0-M1/tomee-plume-webapp-8.0.0-M1.war.sha256 dev/tomee/tomee-8.0.0-M1/tomee-plume-webapp-8.0.0-M1.war.sha512 dev/tomee/tomee-8.0.0-M1/tomee-plus-webapp-8.0.0-M1.war (with props) dev/tomee/tomee-8.0.0-M1/tomee-plus-webapp-8.0.0-M1.war.asc dev/tomee/tomee-8.0.0-M1/tomee-plus-webapp-8.0.0-M1.war.sha256 dev/tomee/tomee-8.0.0-M1/tomee-plus-webapp-8.0.0-M1.war.sha512 dev/tomee/tomee-8.0.0-M1/tomee-project-8.0.0-M1-source-release.zip (with props) dev/tomee/tomee-8.0.0-M1/tomee-project-8.0.0-M1-source-release.zip.asc dev/tomee/tomee-8.0.0-M1/tomee-project-8.0.0-M1-source-release.zip.sha256 dev/tomee/tomee-8.0.0-M1/tomee-project-8.0.0-M1-source-release.zip.sha512 dev/tomee/tomee-8.0.0-M1/tomee-webapp-8.0.0-M1.war (with props) dev/tomee/tomee-8.0.0-M1/tomee-webapp-8.0.0-M1.war.asc dev/tomee/tomee-8.0.0-M1/tomee-webapp-8.0.0-M1.war.sha256 dev/tomee/tomee-8.0.0-M1/tomee-webapp-8.0.0-M1.war.sha512 Added: dev/tomee
svn commit: r30058 - /dev/tomee/tomee-8.0.0-M1/
Author: radcortez Date: Sun Oct 14 23:56:38 2018 New Revision: 30058 Log: Adding BVal2 sources. Added: dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip (with props) dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.asc dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.sha256 dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.sha512 Added: dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip == Binary file - no diff available. Propchange: dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip -- svn:mime-type = application/octet-stream Added: dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.asc == --- dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.asc (added) +++ dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.asc Sun Oct 14 23:56:38 2018 @@ -0,0 +1,17 @@ +-BEGIN PGP SIGNATURE- +Version: GnuPG v2 + +iQIcBAABCgAGBQJbwhEGAAoJED1Gg8JO3GTRvyQQAIJfqaVvCoVMB3HnOrUnh0V8 +C5qxhRsMVCF2GgAT1lVhIhtE1fpn4zShcfugATkU3JpDK/UjkqhdwXn15785pEaQ +w7clvazjHBpFhgswOsbpBW+tOXr1xXOzyhY4//XL6ON1C7f9aghvX7+wwjGKxSsx +6OgnrNXVBISG+4sRd2fGgWa5GGsersZAjGFp7PUWndSmAMwQWd5okUvFz90ykzAi +Oagd8hdoy+oRxWDGanScz3rnC7Xi+HZW+ARfOMm77UGQQs2gKI2hrutjHpw+CzMn +1kpLtwmZpICjBQyEmlH//18d5MdgUi9vrx29v0mlex8f3lteZcZ4rZ1Ax9Gqn22i +Dkx7w4vthKb+c08UY5Z1idp1PwCRxVRRiK2lcnF/5j4MS6ZRy0ETJuK68ghkYfRH +9XeI8OG5mEEoFnIFKc1zTWM3vpm4+9DIWW1G7y5tTkdtTWFjjS9mavAfOf94sOPc +vfqd69rAeZSJ1ksACnRVS9y4PvVG4zGnPkzHuy6DzhQW6voIXN8NuFVaTajzx+v6 +XKoc0aOsvKzHM4k8ydduPuzeZRdU5cGjttcE39S4HOHbaMjmnuOcKTszPv5o+q9v +WlHeMmOtVuamyhHLHd/OrryqvBVsvrFdFZBTVPYqNkLPCEIhyxEOvEUc6QcPdH8l +88DL8T/j91huTZsalk8E +=31VD +-END PGP SIGNATURE- Added: dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.sha256 == --- dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.sha256 (added) +++ dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.sha256 Sun Oct 14 23:56:38 2018 @@ -0,0 +1 @@ +d8012fd06ead493a9cea1f374f34bf8be6d019496a52dbb2c6965e41ee6097e0 \ No newline at end of file Added: dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.sha512 == --- dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.sha512 (added) +++ dev/tomee/tomee-8.0.0-M1/bval-parent-2.0.0-nonfinal-57300f3-source-release.zip.sha512 Sun Oct 14 23:56:38 2018 @@ -0,0 +1 @@ +0bd189e557b9925411884de92af3db8533679841d417ec1139465a888d05588464f08f15e8604613dd9dc68bbcf96ad20b0f2a387b29dd4377299e8bd6c9d4bb \ No newline at end of file
[06/15] tomee git commit: Moved examples to javaee 8.0 stable.
http://git-wip-us.apache.org/repos/asf/tomee/blob/24635780/examples/testing-transactions/pom.xml -- diff --git a/examples/testing-transactions/pom.xml b/examples/testing-transactions/pom.xml index 7764ea1..5dd0e40 100644 --- a/examples/testing-transactions/pom.xml +++ b/examples/testing-transactions/pom.xml @@ -55,7 +55,7 @@ org.apache.tomee javaee-api - 8.0-SNAPSHOT + 8.0 provided http://git-wip-us.apache.org/repos/asf/tomee/blob/24635780/examples/tomee-jersey-eclipselink/pom.xml -- diff --git a/examples/tomee-jersey-eclipselink/pom.xml b/examples/tomee-jersey-eclipselink/pom.xml index 86134c5..fa762cd 100644 --- a/examples/tomee-jersey-eclipselink/pom.xml +++ b/examples/tomee-jersey-eclipselink/pom.xml @@ -36,7 +36,7 @@ org.apache.tomee javaee-api - 8.0-SNAPSHOT + 8.0 provided http://git-wip-us.apache.org/repos/asf/tomee/blob/24635780/examples/transaction-rollback/pom.xml -- diff --git a/examples/transaction-rollback/pom.xml b/examples/transaction-rollback/pom.xml index e92f044..d105b70 100644 --- a/examples/transaction-rollback/pom.xml +++ b/examples/transaction-rollback/pom.xml @@ -55,7 +55,7 @@ org.apache.tomee javaee-api - 8.0-SNAPSHOT + 8.0 provided http://git-wip-us.apache.org/repos/asf/tomee/blob/24635780/examples/troubleshooting/pom.xml -- diff --git a/examples/troubleshooting/pom.xml b/examples/troubleshooting/pom.xml index 6541a62..c4b03c0 100644 --- a/examples/troubleshooting/pom.xml +++ b/examples/troubleshooting/pom.xml @@ -55,7 +55,7 @@ org.apache.tomee javaee-api - 8.0-SNAPSHOT + 8.0 provided http://git-wip-us.apache.org/repos/asf/tomee/blob/24635780/examples/webservice-attachments/pom.xml -- diff --git a/examples/webservice-attachments/pom.xml b/examples/webservice-attachments/pom.xml index 705f358..15e59ba 100644 --- a/examples/webservice-attachments/pom.xml +++ b/examples/webservice-attachments/pom.xml @@ -55,7 +55,7 @@ org.apache.tomee javaee-api - 8.0-SNAPSHOT + 8.0 junit http://git-wip-us.apache.org/repos/asf/tomee/blob/24635780/examples/webservice-handlerchain/pom.xml -- diff --git a/examples/webservice-handlerchain/pom.xml b/examples/webservice-handlerchain/pom.xml index 426add9..f6bde8c 100644 --- a/examples/webservice-handlerchain/pom.xml +++ b/examples/webservice-handlerchain/pom.xml @@ -55,7 +55,7 @@ org.apache.tomee javaee-api - 8.0-SNAPSHOT + 8.0 junit http://git-wip-us.apache.org/repos/asf/tomee/blob/24635780/examples/webservice-holder/pom.xml -- diff --git a/examples/webservice-holder/pom.xml b/examples/webservice-holder/pom.xml index 5fc42b5..56d8fd7 100644 --- a/examples/webservice-holder/pom.xml +++ b/examples/webservice-holder/pom.xml @@ -55,7 +55,7 @@ org.apache.tomee javaee-api - 8.0-SNAPSHOT + 8.0 junit http://git-wip-us.apache.org/repos/asf/tomee/blob/24635780/examples/webservice-inheritance/pom.xml -- diff --git a/examples/webservice-inheritance/pom.xml b/examples/webservice-inheritance/pom.xml index 7640d60..980a306 100644 --- a/examples/webservice-inheritance/pom.xml +++ b/examples/webservice-inheritance/pom.xml @@ -55,7 +55,7 @@ org.apache.tomee javaee-api - 8.0-SNAPSHOT + 8.0 junit http://git-wip-us.apache.org/repos/asf/tomee/blob/24635780/examples/webservice-security/pom.xml -- diff --git a/examples/webservice-security/pom.xml b/examples/webservice-security/pom.xml index 11c2bba..688fa21 100644 --- a/examples/webservice-security/pom.xml +++ b/examples/webservice-security/pom.xml @@ -55,7 +55,7 @@ org.apache.tomee javaee-api - 8.0-SNAPSHOT + 8.0 junit http://git-wip-us.apache.org/repos/asf/tomee/blob/24635780/examples/webservice-ws-security/pom.xml -- diff --git a/examples/webservice-ws-security/pom.xml b/examples/webservice-ws-security/pom.xml index 55672e1..7275da2 100644 --- a/examples/webservice-ws-security/pom.xml +++ b/examples/webservice-ws-security/pom.xml @@ -41,7
[02/15] tomee git commit: Moved bval to patched tomee release while waiting for final release.
Moved bval to patched tomee release while waiting for final release. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/28d1438a Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/28d1438a Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/28d1438a Branch: refs/heads/tomee-8.0.0-ML1-rel Commit: 28d1438a977ab0c699f2b7d6534b30a355180c4f Parents: 082fe81 Author: Roberto Cortez Authored: Fri Oct 12 22:44:57 2018 +0100 Committer: Roberto Cortez Committed: Sun Oct 14 00:23:03 2018 +0100 -- arquillian/arquillian-tomee-common/pom.xml| 2 +- arquillian/arquillian-tomee-webapp-remote/pom.xml | 2 +- container/openejb-core/pom.xml| 2 +- pom.xml | 4 ++-- tomee/pom.xml | 2 +- utils/openejb-core-hibernate/pom.xml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/28d1438a/arquillian/arquillian-tomee-common/pom.xml -- diff --git a/arquillian/arquillian-tomee-common/pom.xml b/arquillian/arquillian-tomee-common/pom.xml index b18f869..bd293aa 100644 --- a/arquillian/arquillian-tomee-common/pom.xml +++ b/arquillian/arquillian-tomee-common/pom.xml @@ -176,7 +176,7 @@ bval-jsr - org.apache.bval + org.apache.tomee.patch openjpa http://git-wip-us.apache.org/repos/asf/tomee/blob/28d1438a/arquillian/arquillian-tomee-webapp-remote/pom.xml -- diff --git a/arquillian/arquillian-tomee-webapp-remote/pom.xml b/arquillian/arquillian-tomee-webapp-remote/pom.xml index db0fda8..3ad7dff 100644 --- a/arquillian/arquillian-tomee-webapp-remote/pom.xml +++ b/arquillian/arquillian-tomee-webapp-remote/pom.xml @@ -195,7 +195,7 @@ bval-jsr - org.apache.bval + org.apache.tomee.patch openjpa http://git-wip-us.apache.org/repos/asf/tomee/blob/28d1438a/container/openejb-core/pom.xml -- diff --git a/container/openejb-core/pom.xml b/container/openejb-core/pom.xml index 98ab688..b583169 100644 --- a/container/openejb-core/pom.xml +++ b/container/openejb-core/pom.xml @@ -690,7 +690,7 @@ --> - org.apache.bval + org.apache.tomee.patch bval-jsr http://git-wip-us.apache.org/repos/asf/tomee/blob/28d1438a/pom.xml -- diff --git a/pom.xml b/pom.xml index a3d9fa8..0b402ba 100644 --- a/pom.xml +++ b/pom.xml @@ -167,7 +167,7 @@ 2.4 3.3 -2.0.0-SNAPSHOT +2.0.0-nonfinal-57300f3 5.15.6 3.1.4.RELEASE 4.12 @@ -830,7 +830,7 @@ ${jetty.version} -org.apache.bval +org.apache.tomee.patch bval-jsr ${bval.version} http://git-wip-us.apache.org/repos/asf/tomee/blob/28d1438a/tomee/pom.xml -- diff --git a/tomee/pom.xml b/tomee/pom.xml index ed94bfb..3f7d016 100644 --- a/tomee/pom.xml +++ b/tomee/pom.xml @@ -115,7 +115,7 @@ openjpa - org.apache.bval + org.apache.tomee.patch bval-jsr http://git-wip-us.apache.org/repos/asf/tomee/blob/28d1438a/utils/openejb-core-hibernate/pom.xml -- diff --git a/utils/openejb-core-hibernate/pom.xml b/utils/openejb-core-hibernate/pom.xml index 2dfcdda..4f50be5 100644 --- a/utils/openejb-core-hibernate/pom.xml +++ b/utils/openejb-core-hibernate/pom.xml @@ -42,7 +42,7 @@ openjpa - org.apache.bval + org.apache.tomee.patch bval-jsr
[05/15] tomee git commit: Added staging repo for TomEE 8 ML1 Release.
Added staging repo for TomEE 8 ML1 Release. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/0d585704 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/0d585704 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/0d585704 Branch: refs/heads/tomee-8.0.0-ML1-rel Commit: 0d58570466ff4712d8ab351bd48291d300178521 Parents: 2463578 Author: Roberto Cortez Authored: Sat Oct 13 19:12:44 2018 +0100 Committer: Roberto Cortez Committed: Sun Oct 14 00:23:03 2018 +0100 -- examples/access-timeout-meta/pom.xml| 5 + examples/access-timeout/pom.xml | 5 + examples/alternate-descriptors/pom.xml | 5 + examples/application-composer/pom.xml | 5 + examples/applicationcomposer-jaxws-cdi/pom.xml | 5 + examples/applicationexception/pom.xml | 5 + examples/arquillian-jpa/pom.xml | 5 + examples/async-methods/pom.xml | 5 + examples/async-postconstruct/pom.xml| 5 + .../bean-validation-design-by-contract/pom.xml | 5 + .../cdi-alternative-and-stereotypes/pom.xml | 5 + examples/cdi-application-scope/pom.xml | 5 + examples/cdi-basic/pom.xml | 5 + examples/cdi-ejbcontext-jaas/pom.xml| 5 + examples/cdi-events/pom.xml | 5 + examples/cdi-interceptors/pom.xml | 5 + examples/cdi-produces-disposes/pom.xml | 5 + examples/cdi-produces-field/pom.xml | 5 + examples/cdi-realm/pom.xml | 5 + examples/cdi-request-scope/pom.xml | 5 + examples/cdi-session-scope/pom.xml | 5 + examples/change-jaxws-url/pom.xml | 5 + examples/client-resource-lookup-preview/pom.xml | 5 + examples/component-interfaces/pom.xml | 5 + examples/connector-ear/pom.xml | 5 + examples/cucumber-jvm/pom.xml | 5 + examples/custom-injection/pom.xml | 5 + examples/datasource-ciphered-password/pom.xml | 5 + examples/datasource-definition/pom.xml | 5 + examples/datasource-versioning/pom.xml | 5 + examples/decorators/pom.xml | 5 + examples/deltaspike-configproperty/pom.xml | 5 + examples/deltaspike-exception-handling/pom.xml | 5 + examples/deltaspike-fullstack/pom.xml | 5 + examples/deltaspike-i18n/pom.xml| 5 + examples/dynamic-dao-implementation/pom.xml | 5 + examples/dynamic-datasource-routing/pom.xml | 5 + examples/dynamic-implementation/pom.xml | 5 + examples/dynamic-proxy-to-access-mbean/pom.xml | 5 + examples/ear-testing/business-logic/pom.xml | 5 + examples/ear-testing/pom.xml| 5 + examples/ejb-examples/pom.xml | 5 + examples/ejb-webservice/pom.xml | 5 + examples/groovy-cdi/pom.xml | 5 + examples/groovy-jpa/pom.xml | 5 + examples/groovy-spock/pom.xml | 5 + examples/helloworld-weblogic/pom.xml| 5 + examples/injection-of-connectionfactory/pom.xml | 5 + examples/injection-of-datasource/pom.xml| 5 + examples/injection-of-ejbs/pom.xml | 5 + examples/injection-of-entitymanager/pom.xml | 5 + examples/injection-of-env-entry/pom.xml | 5 + examples/interceptors/pom.xml | 5 + examples/javamail/pom.xml | 5 + examples/jpa-eclipselink/pom.xml| 5 + examples/jpa-enumerated/pom.xml | 5 + examples/jpa-hibernate/pom.xml | 5 + examples/jsf-cdi-and-ejb/pom.xml| 5 + examples/jsf-managedBean-and-ejb/pom.xml| 5 + examples/lookup-of-ejbs-with-descriptor/pom.xml | 5 + examples/lookup-of-ejbs/pom.xml | 5 + examples/mbean-auto-registration/pom.xml| 5 + examples/moviefun-rest/pom.xml | 5 + examples/moviefun/pom.xml | 5 + examples/movies-complete-meta/pom.xml | 5 + examples/movies-complete/pom.xml| 5 + examples/multi-jpa-provider-testing/pom.xml | 5 + examples/multiple-arquillian-adapters/pom.xml | 5 + examples/multiple-tomee-arquillian/pom.xml | 5 + examples/myfaces-codi-demo/pom.xml | 5 + examples/persistence-fragment/pom.xml | 5 + examples/pojo-webservice/pom.xml| 5 + examples/polling-parent/pom.xml | 5 + ex
[10/15] tomee git commit: [maven-release-plugin] prepare release tomee-8.0.0-M1
http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/pojo-webservice/pom.xml -- diff --git a/examples/pojo-webservice/pom.xml b/examples/pojo-webservice/pom.xml index 82ff995..39385d4 100644 --- a/examples/pojo-webservice/pom.xml +++ b/examples/pojo-webservice/pom.xml @@ -16,13 +16,12 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.superbiz pojo-webservice war - 8.0.0-SNAPSHOT + 8.0.0-M1 OpenEJB :: Web Examples :: Pojo WS UTF-8 @@ -68,7 +67,7 @@ org.apache.tomee.maven tomee-maven-plugin -8.0.0-SNAPSHOT +8.0.0-M1 ${tomee.version} plus http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/polling-parent/polling-client/pom.xml -- diff --git a/examples/polling-parent/polling-client/pom.xml b/examples/polling-parent/polling-client/pom.xml index b8274a1..f75a99c 100644 --- a/examples/polling-parent/polling-client/pom.xml +++ b/examples/polling-parent/polling-client/pom.xml @@ -16,13 +16,11 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> polling-parent jug -8.0.0-SNAPSHOT +8.0.0-M1 4.0.0 http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/polling-parent/polling-core/pom.xml -- diff --git a/examples/polling-parent/polling-core/pom.xml b/examples/polling-parent/polling-core/pom.xml index fe15c4c..77d94b5 100644 --- a/examples/polling-parent/polling-core/pom.xml +++ b/examples/polling-parent/polling-core/pom.xml @@ -16,13 +16,11 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> polling-parent jug -8.0.0-SNAPSHOT +8.0.0-M1 4.0.0 http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/polling-parent/polling-domain/pom.xml -- diff --git a/examples/polling-parent/polling-domain/pom.xml b/examples/polling-parent/polling-domain/pom.xml index 1a4bed7..46a5ea4 100644 --- a/examples/polling-parent/polling-domain/pom.xml +++ b/examples/polling-parent/polling-domain/pom.xml @@ -16,13 +16,11 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> polling-parent jug -8.0.0-SNAPSHOT +8.0.0-M1 4.0.0 http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/polling-parent/polling-mdb/pom.xml -- diff --git a/examples/polling-parent/polling-mdb/pom.xml b/examples/polling-parent/polling-mdb/pom.xml index 5e9a15f..6864f1a 100644 --- a/examples/polling-parent/polling-mdb/pom.xml +++ b/examples/polling-parent/polling-mdb/pom.xml @@ -15,14 +15,13 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocat
[07/15] tomee git commit: Moved examples to javaee 8.0 stable.
Moved examples to javaee 8.0 stable. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/24635780 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/24635780 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/24635780 Branch: refs/heads/tomee-8.0.0-ML1-rel Commit: 2463578029a4bb9f6dee8fdc4e179cd94ac319ad Parents: 28d1438 Author: Roberto Cortez Authored: Fri Oct 12 23:02:23 2018 +0100 Committer: Roberto Cortez Committed: Sun Oct 14 00:23:03 2018 +0100 -- examples/access-timeout-meta/pom.xml | 2 +- examples/access-timeout/pom.xml | 2 +- examples/alternate-descriptors/pom.xml | 2 +- examples/applet/pom.xml | 4 ++-- examples/application-composer/pom.xml| 2 +- examples/applicationcomposer-jaxws-cdi/pom.xml | 2 +- examples/applicationexception/pom.xml| 2 +- examples/arquillian-jpa/pom.xml | 2 +- examples/async-methods/pom.xml | 2 +- examples/async-postconstruct/pom.xml | 2 +- examples/bean-validation-design-by-contract/pom.xml | 2 +- examples/bval-evaluation-redeployment/pom.xml| 2 +- examples/cdi-alternative-and-stereotypes/pom.xml | 2 +- examples/cdi-application-scope/pom.xml | 2 +- examples/cdi-basic/pom.xml | 2 +- examples/cdi-ejbcontext-jaas/pom.xml | 2 +- examples/cdi-events/pom.xml | 2 +- examples/cdi-interceptors/pom.xml| 2 +- examples/cdi-produces-disposes/pom.xml | 2 +- examples/cdi-produces-field/pom.xml | 2 +- examples/cdi-realm/pom.xml | 2 +- examples/cdi-request-scope/pom.xml | 2 +- examples/cdi-session-scope/pom.xml | 2 +- examples/change-jaxws-url/pom.xml| 2 +- examples/client-resource-lookup-preview/pom.xml | 2 +- examples/component-interfaces/pom.xml| 2 +- examples/cucumber-jvm/pom.xml| 2 +- examples/custom-injection/pom.xml| 2 +- examples/datasource-ciphered-password/pom.xml| 2 +- examples/datasource-definition/pom.xml | 2 +- examples/datasource-versioning/pom.xml | 2 +- examples/decorators/pom.xml | 2 +- examples/deltaspike-configproperty/pom.xml | 2 +- examples/deltaspike-exception-handling/pom.xml | 2 +- examples/deltaspike-fullstack/pom.xml| 2 +- examples/deltaspike-i18n/pom.xml | 2 +- examples/dynamic-dao-implementation/pom.xml | 2 +- examples/dynamic-datasource-routing/pom.xml | 2 +- examples/dynamic-implementation/pom.xml | 2 +- examples/dynamic-proxy-to-access-mbean/pom.xml | 2 +- examples/ear-testing/business-logic/pom.xml | 2 +- examples/ear-testing/pom.xml | 2 +- examples/ejb-examples/pom.xml| 2 +- examples/ejb-webservice/pom.xml | 2 +- examples/groovy-cdi/pom.xml | 2 +- examples/groovy-jpa/pom.xml | 2 +- examples/groovy-spock/pom.xml| 2 +- examples/helloworld-weblogic/pom.xml | 2 +- examples/injection-of-connectionfactory/pom.xml | 2 +- examples/injection-of-datasource/pom.xml | 2 +- examples/injection-of-ejbs/pom.xml | 2 +- examples/injection-of-entitymanager/pom.xml | 2 +- examples/injection-of-env-entry/pom.xml | 2 +- examples/interceptors/pom.xml| 2 +- examples/javamail/pom.xml| 2 +- examples/jpa-eclipselink/pom.xml | 2 +- examples/jpa-enumerated/pom.xml | 2 +- examples/jpa-hibernate/pom.xml | 2 +- examples/jsf-cdi-and-ejb/pom.xml | 2 +- examples/jsf-managedBean-and-ejb/pom.xml | 2 +- example
[09/15] tomee git commit: [maven-release-plugin] prepare release tomee-8.0.0-M1
http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/testing-security-meta/pom.xml -- diff --git a/examples/testing-security-meta/pom.xml b/examples/testing-security-meta/pom.xml index 72f0aa6..5fa040a 100644 --- a/examples/testing-security-meta/pom.xml +++ b/examples/testing-security-meta/pom.xml @@ -19,13 +19,12 @@ -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.superbiz testing-security-meta jar - 8.0.0-SNAPSHOT + 8.0.0-M1 OpenEJB :: Examples :: Testing Security (Meta) UTF-8 @@ -81,7 +80,7 @@ org.apache.tomee openejb-core - 8.0.0-SNAPSHOT + 8.0.0-M1 test http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/testing-security/pom.xml -- diff --git a/examples/testing-security/pom.xml b/examples/testing-security/pom.xml index fc69728..4ff47ae 100644 --- a/examples/testing-security/pom.xml +++ b/examples/testing-security/pom.xml @@ -19,13 +19,12 @@ -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.superbiz testing-security jar - 8.0.0-SNAPSHOT + 8.0.0-M1 OpenEJB :: Examples :: Testing Security UTF-8 @@ -81,7 +80,7 @@ org.apache.tomee openejb-core - 8.0.0-SNAPSHOT + 8.0.0-M1 test http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/testing-transactions-bmt/pom.xml -- diff --git a/examples/testing-transactions-bmt/pom.xml b/examples/testing-transactions-bmt/pom.xml index 73e1afb..ab9cf26 100644 --- a/examples/testing-transactions-bmt/pom.xml +++ b/examples/testing-transactions-bmt/pom.xml @@ -19,13 +19,12 @@ -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.superbiz testing-transactions-bmt jar - 8.0.0-SNAPSHOT + 8.0.0-M1 OpenEJB :: Examples :: Testing Transactions BMT UTF-8 @@ -77,7 +76,7 @@ org.apache.tomee openejb-core - 8.0.0-SNAPSHOT + 8.0.0-M1 test http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/testing-transactions/pom.xml -- diff --git a/examples/testing-transactions/pom.xml b/examples/testing-transactions/pom.xml index d365eaf..7d00c05 100644 --- a/examples/testing-transactions/pom.xml +++ b/examples/testing-transactions/pom.xml @@ -19,13 +19,12 @@ -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.superbiz testing-transactions jar - 8.0.0-SNAPSHOT + 8.0.0-M1 OpenEJB :: Examples :: Testing Transactions UTF-8 @@ -77,7 +76,7 @@ org.apache.tomee openejb-core - 8.0.0-SNAPSHOT + 8.0.0-M1 test http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/tomee-jersey-eclipselink/pom.xml -- diff --git a/examples/tomee-jersey-eclipselink/pom.xml b/examples/tomee-jersey-eclipselink/pom.xml index 65d796d..d60b068 100644 --- a/examples/tomee-jersey-eclipselink/pom.xml +++ b/examples/tomee-jersey-eclipselink/pom.xml @@ -16,14 +16,12 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/PO
[12/15] tomee git commit: [maven-release-plugin] prepare release tomee-8.0.0-M1
[maven-release-plugin] prepare release tomee-8.0.0-M1 Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/bdcec137 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/bdcec137 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/bdcec137 Branch: refs/heads/tomee-8.0.0-ML1-rel Commit: bdcec137dd4eb1658e78ddcf5b7b15ac583daea1 Parents: aaee1ee Author: Roberto Cortez Authored: Sun Oct 14 00:28:54 2018 +0100 Committer: Roberto Cortez Committed: Sun Oct 14 00:28:54 2018 +0100 -- arquillian/arquillian-common/pom.xml| 5 +-- arquillian/arquillian-openejb-embedded/pom.xml | 8 ++-- .../pom.xml | 6 +-- arquillian/arquillian-tck/pom.xml | 6 +-- arquillian/arquillian-tomee-common/pom.xml | 5 +-- arquillian/arquillian-tomee-embedded/pom.xml| 5 +-- .../arquillian-tomee-moviefun-example/pom.xml | 5 +-- arquillian/arquillian-tomee-remote/pom.xml | 11 +++-- .../arquillian-tomee-codi-tests/pom.xml | 6 +-- .../arquillian-tomee-config-tests/pom.xml | 6 +-- .../arquillian-tomee-jaxrs-tests/pom.xml| 6 +-- .../arquillian-tomee-jaxws-tests/pom.xml| 6 +-- .../arquillian-tomee-jms-tests/pom.xml | 6 +-- .../arquillian-tomee-webprofile-tests/pom.xml | 6 +-- arquillian/arquillian-tomee-tests/pom.xml | 11 +++-- .../arquillian-tomee-webapp-remote/pom.xml | 5 +-- arquillian/pom.xml | 7 ++-- arquillian/ziplock/pom.xml | 5 +-- assembly/openejb-lite/pom.xml | 5 +-- assembly/openejb-standalone/pom.xml | 43 ++-- assembly/pom.xml| 5 +-- container/mbean-annotation-api/pom.xml | 5 +-- container/openejb-api/pom.xml | 5 +-- container/openejb-core/pom.xml | 13 +++--- container/openejb-javaagent/pom.xml | 5 +-- container/openejb-jee-accessors/pom.xml | 5 +-- container/openejb-jee/pom.xml | 5 +-- container/openejb-jpa-integration/pom.xml | 6 +-- container/openejb-junit/pom.xml | 5 +-- container/openejb-loader/pom.xml| 7 ++-- container/pom.xml | 5 +-- examples/access-timeout-meta/pom.xml| 7 ++-- examples/access-timeout/pom.xml | 7 ++-- examples/alternate-descriptors/pom.xml | 7 ++-- examples/application-composer/pom.xml | 7 ++-- examples/applicationcomposer-jaxws-cdi/pom.xml | 9 ++-- examples/applicationexception/pom.xml | 7 ++-- examples/async-methods/pom.xml | 7 ++-- examples/async-postconstruct/pom.xml| 7 ++-- .../bean-validation-design-by-contract/pom.xml | 7 ++-- .../cdi-alternative-and-stereotypes/pom.xml | 7 ++-- examples/cdi-application-scope/pom.xml | 7 ++-- examples/cdi-basic/pom.xml | 7 ++-- examples/cdi-ejbcontext-jaas/pom.xml| 10 ++--- examples/cdi-events/pom.xml | 7 ++-- examples/cdi-interceptors/pom.xml | 7 ++-- examples/cdi-produces-disposes/pom.xml | 7 ++-- examples/cdi-produces-field/pom.xml | 7 ++-- examples/cdi-realm/pom.xml | 7 ++-- examples/cdi-request-scope/pom.xml | 7 ++-- examples/cdi-session-scope/pom.xml | 7 ++-- examples/change-jaxws-url/pom.xml | 7 ++-- examples/client-resource-lookup-preview/pom.xml | 11 +++-- examples/component-interfaces/pom.xml | 7 ++-- .../connector-ear/connector-sample-api/pom.xml | 2 +- .../connector-ear/connector-sample-ear/pom.xml | 5 +-- .../connector-sample-functional-tests/pom.xml | 5 +-- .../connector-ear/connector-sample-impl/pom.xml | 2 +- .../connector-ear/connector-sample-rar/pom.xml | 2 +- .../connector-ear/connector-sample-war/pom.xml | 2 +- examples/connector-ear/pom.xml | 2 +- examples/connector-war/pom.xml | 4 +- examples/cucumber-jvm/pom.xml | 7 ++-- examples/custom-injection/pom.xml | 7 ++-- examples/datasource-ciphered-password/pom.xml | 7 ++-- examples/datasource-definition/pom.xml | 7 ++-- examples/datasource-versioning/pom.xml | 11 +++-- examples/decorators/pom.xml | 7 ++-- examples/deltaspike-configproperty/pom.xml | 9 ++-- examples/deltaspike-exception-handling/pom.xml | 9 ++-- examples/deltaspike-fullstack/pom.xml | 7 ++-- examples/deltaspike-i18n/pom.xml| 9 ++-- examples/dynamic-dao-implementation/pom.xml | 7 ++-- examples/dynamic-datasource-routing/pom.xml | 7 ++-- examples/dynamic-impl
[01/15] tomee git commit: Release plugin auto version submodules.
Repository: tomee Updated Branches: refs/heads/tomee-8.0.0-ML1-rel [created] b023359d0 Release plugin auto version submodules. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/aaee1ee8 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/aaee1ee8 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/aaee1ee8 Branch: refs/heads/tomee-8.0.0-ML1-rel Commit: aaee1ee80581f5c5c3d82c3b1b8cab2f642016c3 Parents: 0d58570 Author: Roberto Cortez Authored: Sat Oct 13 19:59:00 2018 +0100 Committer: Roberto Cortez Committed: Sun Oct 14 00:23:03 2018 +0100 -- pom.xml | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/aaee1ee8/pom.xml -- diff --git a/pom.xml b/pom.xml index 4833c3d..6b125f8 100644 --- a/pom.xml +++ b/pom.xml @@ -377,6 +377,7 @@ true false + true
[14/15] tomee git commit: [maven-release-plugin] prepare for next development iteration
http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/groovy-jpa/pom.xml -- diff --git a/examples/groovy-jpa/pom.xml b/examples/groovy-jpa/pom.xml index 343caa4..18bd073 100644 --- a/examples/groovy-jpa/pom.xml +++ b/examples/groovy-jpa/pom.xml @@ -23,7 +23,7 @@ org.superbiz groovy-jpa jar - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT OpenEJB :: Examples :: Groovy JPA @@ -104,13 +104,13 @@ org.apache.tomee arquillian-openejb-embedded - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test org.apache.tomee ziplock - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/groovy-spock/pom.xml -- diff --git a/examples/groovy-spock/pom.xml b/examples/groovy-spock/pom.xml index f2c0563..82a3ffe 100644 --- a/examples/groovy-spock/pom.xml +++ b/examples/groovy-spock/pom.xml @@ -23,7 +23,7 @@ org.superbiz groovy-spock jar - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT OpenEJB :: Examples :: Groovy Spock @@ -113,7 +113,7 @@ org.apache.tomee arquillian-openejb-embedded - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test @@ -125,7 +125,7 @@ org.apache.tomee ziplock - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/helloworld-weblogic/pom.xml -- diff --git a/examples/helloworld-weblogic/pom.xml b/examples/helloworld-weblogic/pom.xml index aa106a6..d15cf72 100644 --- a/examples/helloworld-weblogic/pom.xml +++ b/examples/helloworld-weblogic/pom.xml @@ -24,7 +24,7 @@ org.superbiz helloworld-weblogic jar - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT OpenEJB :: Examples :: Hello World - Weblogic UTF-8 @@ -76,7 +76,7 @@ org.apache.tomee openejb-core - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/injection-of-connectionfactory/pom.xml -- diff --git a/examples/injection-of-connectionfactory/pom.xml b/examples/injection-of-connectionfactory/pom.xml index b7e87c4..4f30bcc 100644 --- a/examples/injection-of-connectionfactory/pom.xml +++ b/examples/injection-of-connectionfactory/pom.xml @@ -24,7 +24,7 @@ org.superbiz injection-of-connectionfactory jar - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT OpenEJB :: Examples :: @Resource javax.jms.ConnectionFactory UTF-8 @@ -76,7 +76,7 @@ org.apache.tomee openejb-core - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/injection-of-datasource/pom.xml -- diff --git a/examples/injection-of-datasource/pom.xml b/examples/injection-of-datasource/pom.xml index b62d07e..e9292b4 100644 --- a/examples/injection-of-datasource/pom.xml +++ b/examples/injection-of-datasource/pom.xml @@ -24,7 +24,7 @@ org.superbiz injection-of-datasource jar - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT OpenEJB :: Examples :: @Resource DataSource Injection UTF-8 @@ -76,7 +76,7 @@ org.apache.tomee openejb-core - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/injection-of-ejbs/pom.xml -- diff --git a/examples/injection-of-ejbs/pom.xml b/examples/injection-of-ejbs/pom.xml index 1695eac..292c8c1 100644 --- a/examples/injection-of-ejbs/pom.xml +++ b/examples/injection-of-ejbs/pom.xml @@ -24,7 +24,7 @@ org.superbiz injection-of-ejbs jar - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT OpenEJB :: Examples :: @EJB Injection UTF-8 @@ -75,7 +75,7 @@ org.apache.tomee openejb-core - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/injection-of-entitymanager/pom.xml -- diff --git a/examples/injection-of-entitymanager/pom.xml b/examples/injection-of-entitymanager/pom.xml index 87155f3..0b044e0 100644 --- a/examples/injection-of-entitymanager/pom.xml +++ b/examples/injection-of-entitymanager/pom.xml @@ -24,7 +24,7 @@ org.superbiz injection-of-entitymanager jar - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT OpenEJB :: Examples :: @PersistenceContext EntityManager Injection UTF-8 @@ -75,7 +75,7 @@ org.apache.tomee openejb-core - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test http://git-wip-us.apache.org/repos/asf/tomee/blob/
[13/15] tomee git commit: [maven-release-plugin] prepare for next development iteration
http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/tomee-jersey-eclipselink/pom.xml -- diff --git a/examples/tomee-jersey-eclipselink/pom.xml b/examples/tomee-jersey-eclipselink/pom.xml index d60b068..73ec88a 100644 --- a/examples/tomee-jersey-eclipselink/pom.xml +++ b/examples/tomee-jersey-eclipselink/pom.xml @@ -21,7 +21,7 @@ org.superbiz tomee-jersey-eclipselink - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT war OpenEJB :: Examples :: TomEE, Jersey, Eclipselink @@ -95,7 +95,7 @@ org.apache.tomee.maven tomee-maven-plugin -8.0.0-M1 +8.0.0-M2-SNAPSHOT true http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/transaction-rollback/pom.xml -- diff --git a/examples/transaction-rollback/pom.xml b/examples/transaction-rollback/pom.xml index 980270d..90ed0d2 100644 --- a/examples/transaction-rollback/pom.xml +++ b/examples/transaction-rollback/pom.xml @@ -24,7 +24,7 @@ org.superbiz transaction-rollback jar - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT OpenEJB :: Examples :: Transaction Rollback UTF-8 @@ -73,7 +73,7 @@ org.apache.tomee openejb-core - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/troubleshooting/pom.xml -- diff --git a/examples/troubleshooting/pom.xml b/examples/troubleshooting/pom.xml index 3d44787..57da527 100644 --- a/examples/troubleshooting/pom.xml +++ b/examples/troubleshooting/pom.xml @@ -24,7 +24,7 @@ org.superbiz troubleshooting jar - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT OpenEJB :: Examples :: Troubleshooting UTF-8 @@ -72,7 +72,7 @@ org.apache.tomee openejb-core - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/examples/webservice-attachments/pom.xml -- diff --git a/examples/webservice-attachments/pom.xml b/examples/webservice-attachments/pom.xml index 9a50941..bc1213d 100644 --- a/examples/webservice-attachments/pom.xml +++ b/examples/webservice-attachments/pom.xml @@ -24,7 +24,7 @@ org.superbiz webservice-attachments jar - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT OpenEJB :: Examples :: Webservice Attachments UTF-8 @@ -74,7 +74,7 @@ org.apache.tomee openejb-cxf - 8.0.0-M1 + 8.0.0-M2-SNAPSHOT test -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> gradle org.apache.tomee.gradle -8.0.0-M1 +8.0.0-M2-SNAPSHOT 4.0.0 http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/gradle/pom.xml -- diff --git a/gradle/pom.xml b/gradle/pom.xml index f806615..5a358b5 100644 --- a/gradle/pom.xml +++ b/gradle/pom.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> tomee-project org.apache.tomee -8.0.0-M1 +8.0.0-M2-SNAPSHOT 4.0.0 http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/itests/failover-ejb/pom.xml -- diff --git a/itests/failover-ejb/pom.xml b/itests/failover-ejb/pom.xml index 30ed954..7491d47 100644 --- a/itests/failover-ejb/pom.xml +++ b/itests/failover-ejb/pom.xml @@ -23,7 +23,7 @@ itests org.apache.tomee -8.0.0-M1 +8.0.0-M2-SNAPSHOT org.apache.openejb.itests http://git-wip-us.apache.org/repos/asf/tomee/blob/b023359d/itests/failover/pom.xml -- diff --git a/itests/failover/pom.xml b/itests/failover/pom.xml index 22837b8..30c9139 100644 --- a/itests/failover/pom.xml +++ b/itests/failover/pom.xml @@ -23,7 +23,7 @@ itests org.apache.tomee -8.0.0
[04/15] tomee git commit: Added staging repo for TomEE 8 ML1 Release.
http://git-wip-us.apache.org/repos/asf/tomee/blob/0d585704/examples/simple-stateless-callbacks/pom.xml -- diff --git a/examples/simple-stateless-callbacks/pom.xml b/examples/simple-stateless-callbacks/pom.xml index b42a725..f869d45 100644 --- a/examples/simple-stateless-callbacks/pom.xml +++ b/examples/simple-stateless-callbacks/pom.xml @@ -50,6 +50,11 @@ Apache Snapshot Repository https://repository.apache.org/content/groups/snapshots + + javaee-staging + JavaEE 8 Staging + https://repository.apache.org/content/repositories/orgapachetomee-1124 + http://git-wip-us.apache.org/repos/asf/tomee/blob/0d585704/examples/simple-stateless-with-descriptor/pom.xml -- diff --git a/examples/simple-stateless-with-descriptor/pom.xml b/examples/simple-stateless-with-descriptor/pom.xml index 42f4a23..21b2606 100644 --- a/examples/simple-stateless-with-descriptor/pom.xml +++ b/examples/simple-stateless-with-descriptor/pom.xml @@ -50,6 +50,11 @@ Apache Snapshot Repository https://repository.apache.org/content/groups/snapshots + + javaee-staging + JavaEE 8 Staging + https://repository.apache.org/content/repositories/orgapachetomee-1124 + http://git-wip-us.apache.org/repos/asf/tomee/blob/0d585704/examples/simple-stateless/pom.xml -- diff --git a/examples/simple-stateless/pom.xml b/examples/simple-stateless/pom.xml index 2387fa6..6eee5ef 100644 --- a/examples/simple-stateless/pom.xml +++ b/examples/simple-stateless/pom.xml @@ -50,6 +50,11 @@ Apache Snapshot Repository https://repository.apache.org/content/groups/snapshots + + javaee-staging + JavaEE 8 Staging + https://repository.apache.org/content/repositories/orgapachetomee-1124 + http://git-wip-us.apache.org/repos/asf/tomee/blob/0d585704/examples/simple-webservice-without-interface/pom.xml -- diff --git a/examples/simple-webservice-without-interface/pom.xml b/examples/simple-webservice-without-interface/pom.xml index a913f0d..64df7c7 100644 --- a/examples/simple-webservice-without-interface/pom.xml +++ b/examples/simple-webservice-without-interface/pom.xml @@ -50,6 +50,11 @@ Apache Snapshot Repository https://repository.apache.org/content/groups/snapshots + + javaee-staging + JavaEE 8 Staging + https://repository.apache.org/content/repositories/orgapachetomee-1124 + http://git-wip-us.apache.org/repos/asf/tomee/blob/0d585704/examples/simple-webservice/pom.xml -- diff --git a/examples/simple-webservice/pom.xml b/examples/simple-webservice/pom.xml index df93946..6cbe8a2 100644 --- a/examples/simple-webservice/pom.xml +++ b/examples/simple-webservice/pom.xml @@ -50,6 +50,11 @@ Apache Snapshot Repository https://repository.apache.org/content/groups/snapshots + + javaee-staging + JavaEE 8 Staging + https://repository.apache.org/content/repositories/orgapachetomee-1124 + http://git-wip-us.apache.org/repos/asf/tomee/blob/0d585704/examples/spring-data-proxy-meta/pom.xml -- diff --git a/examples/spring-data-proxy-meta/pom.xml b/examples/spring-data-proxy-meta/pom.xml index c57d5cc..bb81859 100644 --- a/examples/spring-data-proxy-meta/pom.xml +++ b/examples/spring-data-proxy-meta/pom.xml @@ -47,6 +47,11 @@ Apache Snapshot Repository https://repository.apache.org/content/groups/snapshots + + javaee-staging + JavaEE 8 Staging + https://repository.apache.org/content/repositories/orgapachetomee-1124 + http://git-wip-us.apache.org/repos/asf/tomee/blob/0d585704/examples/spring-data-proxy/pom.xml -- diff --git a/examples/spring-data-proxy/pom.xml b/examples/spring-data-proxy/pom.xml index c12a536..f07f60c 100644 --- a/examples/spring-data-proxy/pom.xml +++ b/examples/spring-data-proxy/pom.xml @@ -47,6 +47,11 @@ Apache Snapshot Repository https://repository.apache.org/content/groups/snapshots + + javaee-staging + JavaEE 8 Staging + https://repository.apache.org/content/repositories/orgapachetomee-1124 + http://git-wip-us.apache.org/repos/asf/tomee/blob/0d585704/examples/struts/pom.xml -- diff --git a/examples/struts/pom.xml b/examples/struts/pom.xml index 2a1af9e..2e13355 100644 --- a/examples/struts/pom.xml +++ b/examples/struts/pom.xml @@ -46,6 +
[15/15] tomee git commit: [maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare for next development iteration Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/b023359d Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/b023359d Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/b023359d Branch: refs/heads/tomee-8.0.0-ML1-rel Commit: b023359d0e99d26c38850f0f4fd40171ce6b7c7f Parents: bdcec13 Author: Roberto Cortez Authored: Sun Oct 14 00:29:21 2018 +0100 Committer: Roberto Cortez Committed: Sun Oct 14 00:29:21 2018 +0100 -- arquillian/arquillian-common/pom.xml| 2 +- arquillian/arquillian-openejb-embedded/pom.xml | 4 ++-- .../arquillian-openejb-transaction-provider/pom.xml | 2 +- arquillian/arquillian-tck/pom.xml | 2 +- arquillian/arquillian-tomee-common/pom.xml | 2 +- arquillian/arquillian-tomee-embedded/pom.xml| 2 +- arquillian/arquillian-tomee-moviefun-example/pom.xml| 2 +- arquillian/arquillian-tomee-remote/pom.xml | 8 .../arquillian-tomee-codi-tests/pom.xml | 2 +- .../arquillian-tomee-config-tests/pom.xml | 2 +- .../arquillian-tomee-jaxrs-tests/pom.xml| 2 +- .../arquillian-tomee-jaxws-tests/pom.xml| 2 +- .../arquillian-tomee-jms-tests/pom.xml | 2 +- .../arquillian-tomee-webprofile-tests/pom.xml | 2 +- arquillian/arquillian-tomee-tests/pom.xml | 2 +- arquillian/arquillian-tomee-webapp-remote/pom.xml | 2 +- arquillian/pom.xml | 4 ++-- arquillian/ziplock/pom.xml | 2 +- assembly/openejb-lite/pom.xml | 2 +- assembly/openejb-standalone/pom.xml | 2 +- assembly/pom.xml| 2 +- container/mbean-annotation-api/pom.xml | 2 +- container/openejb-api/pom.xml | 2 +- container/openejb-core/pom.xml | 2 +- container/openejb-javaagent/pom.xml | 2 +- container/openejb-jee-accessors/pom.xml | 2 +- container/openejb-jee/pom.xml | 2 +- container/openejb-jpa-integration/pom.xml | 2 +- container/openejb-junit/pom.xml | 2 +- container/openejb-loader/pom.xml| 2 +- container/pom.xml | 2 +- examples/access-timeout-meta/pom.xml| 4 ++-- examples/access-timeout/pom.xml | 4 ++-- examples/alternate-descriptors/pom.xml | 4 ++-- examples/application-composer/pom.xml | 4 ++-- examples/applicationcomposer-jaxws-cdi/pom.xml | 6 +++--- examples/applicationexception/pom.xml | 4 ++-- examples/async-methods/pom.xml | 4 ++-- examples/async-postconstruct/pom.xml| 4 ++-- examples/bean-validation-design-by-contract/pom.xml | 4 ++-- examples/cdi-alternative-and-stereotypes/pom.xml| 4 ++-- examples/cdi-application-scope/pom.xml | 4 ++-- examples/cdi-basic/pom.xml | 4 ++-- examples/cdi-ejbcontext-jaas/pom.xml| 6 +++--- examples/cdi-events/pom.xml | 4 ++-- examples/cdi-interceptors/pom.xml | 4 ++-- examples/cdi-produces-disposes/pom.xml | 4 ++-- examples/cdi-produces-field/pom.xml | 4 ++-- examples/cdi-realm/pom.xml | 4 ++-- examples/cdi-request-scope/pom.xml | 4 ++-- examples/cdi-session-scope/pom.xml | 4 ++-- examples/change-jaxws-url/pom.xml | 4 ++-- examples/client-resource-lookup-preview/pom.xml | 8 examples/component-interfaces/pom.xml | 4 ++-- examples/connector-ear/connector-sample-api/pom.xml | 2 +- examples/connector-ear/connector-sample-ear/pom.xml | 2 +- .../connector-sample-functional-tests/pom.xml | 2 +- examples/connector-ear/connector-sample-impl/pom.xml| 2 +- examples/connector-ear/connector-sample-rar/pom.xml | 2 +- examples/connector-ear/connector-sample-war/pom.xml | 2 +- examples/connector-ear/pom.xml | 2 +- examples/connector-war/pom.xml | 4 ++-- examples/cucumber-jvm/pom.xml | 4 ++-- examples/custom-injection/pom.xml | 4 ++-- examples/datasource-ciphered-password/pom.xml | 4 ++-- examples/datasource-definition/pom.xml | 4 ++--
[03/15] tomee git commit: Moved javaee to stable version.
Moved javaee to stable version. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/082fe816 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/082fe816 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/082fe816 Branch: refs/heads/tomee-8.0.0-ML1-rel Commit: 082fe81615915e3fc8e27dfe7cdc13d321d1465c Parents: a48208a Author: Roberto Cortez Authored: Fri Oct 12 22:38:24 2018 +0100 Committer: Roberto Cortez Committed: Sun Oct 14 00:23:03 2018 +0100 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/082fe816/pom.xml -- diff --git a/pom.xml b/pom.xml index adc0b33..a3d9fa8 100644 --- a/pom.xml +++ b/pom.xml @@ -100,7 +100,7 @@ 2.21.0 -8.0-SNAPSHOT +8.0 3.0.0 2.0.7
[11/15] tomee git commit: [maven-release-plugin] prepare release tomee-8.0.0-M1
http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/cdi-request-scope/pom.xml -- diff --git a/examples/cdi-request-scope/pom.xml b/examples/cdi-request-scope/pom.xml index 5418434..018b9e7 100644 --- a/examples/cdi-request-scope/pom.xml +++ b/examples/cdi-request-scope/pom.xml @@ -8,13 +8,12 @@ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 org.superbiz cdi-request-scope OpenEJB :: Examples :: CDI Request Scope - 8.0.0-SNAPSHOT + 8.0.0-M1 install @@ -58,7 +57,7 @@ org.apache.tomee openejb-core - 8.0.0-SNAPSHOT + 8.0.0-M1 test http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/cdi-session-scope/pom.xml -- diff --git a/examples/cdi-session-scope/pom.xml b/examples/cdi-session-scope/pom.xml index b90b939..c4a43a2 100644 --- a/examples/cdi-session-scope/pom.xml +++ b/examples/cdi-session-scope/pom.xml @@ -9,13 +9,12 @@ OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 org.superbiz cdi-session-scope OpenEJB :: Examples :: CDI Session Scope - 8.0.0-SNAPSHOT + 8.0.0-M1 war @@ -45,7 +44,7 @@ org.apache.tomee.maven tomee-maven-plugin -8.0.0-SNAPSHOT +8.0.0-M1 http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/change-jaxws-url/pom.xml -- diff --git a/examples/change-jaxws-url/pom.xml b/examples/change-jaxws-url/pom.xml index 6064b75..f97f894 100644 --- a/examples/change-jaxws-url/pom.xml +++ b/examples/change-jaxws-url/pom.xml @@ -16,20 +16,19 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.superbiz change-jaxws-url war - 8.0.0-SNAPSHOT + 8.0.0-M1 OpenEJB :: Web Examples :: Change JAXWS URL UTF-8 -8.0.0-SNAPSHOT +8.0.0-M1 http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/examples/client-resource-lookup-preview/pom.xml -- diff --git a/examples/client-resource-lookup-preview/pom.xml b/examples/client-resource-lookup-preview/pom.xml index be13e38..255e7ff 100644 --- a/examples/client-resource-lookup-preview/pom.xml +++ b/examples/client-resource-lookup-preview/pom.xml @@ -16,13 +16,12 @@ limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.superbiz client-resource-lookup-preview jar - 8.0.0-SNAPSHOT + 8.0.0-M1 OpenEJB :: Examples :: Client Resource Lookup UTF-8 @@ -65,13 +64,13 @@ org.apache.tomee openejb-client - 8.0.0-SNAPSHOT + 8.0.0-M1 runtime org.apache.tomee openejb-ejbd - 8.0.0-SNAPSHOT + 8.0.0-M1 org.apache.activemq @@ -90,7 +89,7 @@ org.apache.tomee ziplock - 8.0.0-SNAPSHOT +
[08/15] tomee git commit: [maven-release-plugin] prepare release tomee-8.0.0-M1
http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/tck/microprofile-tck/pom.xml -- diff --git a/tck/microprofile-tck/pom.xml b/tck/microprofile-tck/pom.xml index b89ede9..ded6a06 100644 --- a/tck/microprofile-tck/pom.xml +++ b/tck/microprofile-tck/pom.xml @@ -15,15 +15,14 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.apache.tomee tck -8.0.0-SNAPSHOT +8.0.0-M1 microprofile-tck http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/tck/microprofile-tck/rest-client/pom.xml -- diff --git a/tck/microprofile-tck/rest-client/pom.xml b/tck/microprofile-tck/rest-client/pom.xml index 53e53e8..14dd7b2 100644 --- a/tck/microprofile-tck/rest-client/pom.xml +++ b/tck/microprofile-tck/rest-client/pom.xml @@ -15,15 +15,14 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 org.apache.tomee microprofile-tck -8.0.0-SNAPSHOT +8.0.0-M1 microprofile-rest-client-tck @@ -38,7 +37,7 @@ 3.0.0 target/classes - --port=8765 --verbose + --port=8765 --verbose http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/tck/pom.xml -- diff --git a/tck/pom.xml b/tck/pom.xml index 0e268d0..6b0d360 100644 --- a/tck/pom.xml +++ b/tck/pom.xml @@ -15,12 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> tomee-project org.apache.tomee -8.0.0-SNAPSHOT +8.0.0-M1 4.0.0 tck http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/tck/tck-common/pom.xml -- diff --git a/tck/tck-common/pom.xml b/tck/tck-common/pom.xml index 6552b5d..fcc8efd 100644 --- a/tck/tck-common/pom.xml +++ b/tck/tck-common/pom.xml @@ -15,12 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> tck org.apache.tomee -8.0.0-SNAPSHOT +8.0.0-M1 4.0.0 tck-common http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/tomee/apache-tomee/pom.xml -- diff --git a/tomee/apache-tomee/pom.xml b/tomee/apache-tomee/pom.xml index e22b05e..f1975ee 100644 --- a/tomee/apache-tomee/pom.xml +++ b/tomee/apache-tomee/pom.xml @@ -18,13 +18,12 @@ -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> tomee org.apache.tomee -8.0.0-SNAPSHOT +8.0.0-M1 4.0.0 http://git-wip-us.apache.org/repos/asf/tomee/blob/bdcec137/tomee/pom.xml -- diff --git a/tomee/pom.xml b
[tomee] Git Push Summary
Repository: tomee Updated Tags: refs/tags/tomee-8.0.0-M1 [created] 9b992e48f
tomee git commit: Fixed regression with missing TomEEJsonbProvider in the CXF providers list.
Repository: tomee Updated Branches: refs/heads/master f032a7f91 -> 1bfb65a18 Fixed regression with missing TomEEJsonbProvider in the CXF providers list. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/1bfb65a1 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/1bfb65a1 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/1bfb65a1 Branch: refs/heads/master Commit: 1bfb65a1837235f4e9ad4458f67aabcab5eff829 Parents: f032a7f Author: Roberto Cortez Authored: Fri Nov 23 14:37:50 2018 + Committer: Roberto Cortez Committed: Fri Nov 23 14:37:50 2018 + -- .../main/java/org/apache/openejb/server/cxf/rs/CxfRSService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/1bfb65a1/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/CxfRSService.java -- diff --git a/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/CxfRSService.java b/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/CxfRSService.java index 3f492ce..c455666 100644 --- a/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/CxfRSService.java +++ b/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/CxfRSService.java @@ -227,7 +227,7 @@ public class CxfRSService extends RESTService { String userConfiguredJsonProviders = SystemInstance.get().getProperty("openejb.jaxrs.jsonProviders"); if (userConfiguredJsonProviders == null) { jsonProviders = asList( - "org.apache.openejb.server.cxf.rs.johnzon.TomEEJohnzonProvider", + "org.apache.openejb.server.cxf.rs.johnzon.TomEEJsonbProvider", "org.apache.openejb.server.cxf.rs.johnzon.TomEEJsonpProvider"); } else { jsonProviders = asList(userConfiguredJsonProviders.split(","));
tomee git commit: Removed extra slash in REST endpoint log.
Repository: tomee Updated Branches: refs/heads/master 4ed2e9dbd -> 4a6183a11 Removed extra slash in REST endpoint log. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/4a6183a1 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/4a6183a1 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/4a6183a1 Branch: refs/heads/master Commit: 4a6183a11775933818eadba394d6e106d393df91 Parents: 4ed2e9d Author: Roberto Cortez Authored: Fri Nov 23 16:37:59 2018 + Committer: Roberto Cortez Committed: Fri Nov 23 16:41:27 2018 + -- .../src/main/java/org/apache/openejb/server/cxf/rs/Logs.java | 3 +++ 1 file changed, 3 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/4a6183a1/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/Logs.java -- diff --git a/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/Logs.java b/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/Logs.java index a93e8ee..e061547 100644 --- a/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/Logs.java +++ b/server/openejb-cxf-rs/src/main/java/org/apache/openejb/server/cxf/rs/Logs.java @@ -119,6 +119,9 @@ public class Logs { if (!address.endsWith("/") && !value.startsWith("/")) { return address + '/' + value; } +if (value.equals("/")) { +return address; +} return address + value; }
tomee git commit: TOMEE-2239 closes apache/tomee#169 *Already Merged*
Repository: tomee Updated Branches: refs/heads/master 36d78b8e9 -> 037cf2cf9 TOMEE-2239 closes apache/tomee#169 *Already Merged* Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/037cf2cf Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/037cf2cf Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/037cf2cf Branch: refs/heads/master Commit: 037cf2cf94d827e0a1480f3392e356a8c35de57b Parents: 36d78b8 Author: Roberto Cortez Authored: Mon Dec 10 14:47:37 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 14:47:37 2018 + -- --
tomee git commit: Avoid NPE in RemoteTomEEContainer.start() closes apache/tomee#32 *Already Merged*
Repository: tomee Updated Branches: refs/heads/master 037cf2cf9 -> 0ea51fbcf Avoid NPE in RemoteTomEEContainer.start() closes apache/tomee#32 *Already Merged* Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/0ea51fbc Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/0ea51fbc Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/0ea51fbc Branch: refs/heads/master Commit: 0ea51fbcf94def519b65b32aa9b385e5135111ad Parents: 037cf2c Author: Roberto Cortez Authored: Mon Dec 10 14:51:26 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 14:51:26 2018 + -- --
tomee git commit: unused imports closes apache/tomee#35 *Won't fix - generated code*
Repository: tomee Updated Branches: refs/heads/master 0ea51fbcf -> d2c3d65c5 unused imports closes apache/tomee#35 *Won't fix - generated code* Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/d2c3d65c Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/d2c3d65c Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/d2c3d65c Branch: refs/heads/master Commit: d2c3d65c5df08656f8d94148431925e600139d1b Parents: 0ea51fb Author: Roberto Cortez Authored: Mon Dec 10 14:56:38 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 14:56:38 2018 + -- --
tomee git commit: Ensure deployment record is removed from deployments.xml closes apache/tomee#36 *Already Merged*
Repository: tomee Updated Branches: refs/heads/master d2c3d65c5 -> 5dbcae42b Ensure deployment record is removed from deployments.xml closes apache/tomee#36 *Already Merged* Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/5dbcae42 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/5dbcae42 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/5dbcae42 Branch: refs/heads/master Commit: 5dbcae42b146b04642311685d66bde7248f91225 Parents: d2c3d65 Author: Roberto Cortez Authored: Mon Dec 10 15:00:03 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 15:00:03 2018 + -- --
tomee git commit: Fix - throw exception in finally block
Repository: tomee Updated Branches: refs/heads/master 5dbcae42b -> 2ee7a5b15 Fix - throw exception in finally block Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/2ee7a5b1 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/2ee7a5b1 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/2ee7a5b1 Branch: refs/heads/master Commit: 2ee7a5b1545f54f6302bfd130dbefaf4dd4d8c6c Parents: 5dbcae4 Author: Kaloyan Spiridonov Authored: Thu Sep 15 15:56:58 2016 +0300 Committer: Roberto Cortez Committed: Mon Dec 10 15:16:54 2018 + -- .../main/java/org/apache/openejb/util/AnnotationFinder.java| 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/2ee7a5b1/container/openejb-core/src/main/java/org/apache/openejb/util/AnnotationFinder.java -- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/util/AnnotationFinder.java b/container/openejb-core/src/main/java/org/apache/openejb/util/AnnotationFinder.java index e833805..fba2b4a 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/util/AnnotationFinder.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/util/AnnotationFinder.java @@ -243,7 +243,11 @@ public class AnnotationFinder { final JarInputStream jarStream = new JarInputStream(in); return jar(jarStream); } finally { -in.close(); +try { +in.close(); +} catch (IOException e) { +//no-op +} } } }
tomee git commit: Fix - throw exception in finally block closes apache/tomee#45 *Already Merged*
Repository: tomee Updated Branches: refs/heads/master 2ee7a5b15 -> 66e27af8a Fix - throw exception in finally block closes apache/tomee#45 *Already Merged* Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/66e27af8 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/66e27af8 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/66e27af8 Branch: refs/heads/master Commit: 66e27af8a7ef1097a25eb2b1d1fc6fa59e60be47 Parents: 2ee7a5b Author: Roberto Cortez Authored: Mon Dec 10 15:22:07 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 15:22:07 2018 + -- --
tomee git commit: Removing unwanted code closes apache/tomee#61 *Already Merged*
Repository: tomee Updated Branches: refs/heads/master 66e27af8a -> 678c92079 Removing unwanted code closes apache/tomee#61 *Already Merged* Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/678c9207 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/678c9207 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/678c9207 Branch: refs/heads/master Commit: 678c920794eebd35e062a187a7b60580319937de Parents: 66e27af Author: Roberto Cortez Authored: Mon Dec 10 15:28:20 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 15:28:20 2018 + -- --
tomee git commit: TOMEE-2060 - Make app naming context read only - closes apache/tomee#72 *Already Merged*
Repository: tomee Updated Branches: refs/heads/master 678c92079 -> 9bdc48b0d TOMEE-2060 - Make app naming context read only - closes apache/tomee#72 *Already Merged* Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/9bdc48b0 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/9bdc48b0 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/9bdc48b0 Branch: refs/heads/master Commit: 9bdc48b0def38a6e0dd3fddeafa331990c702be9 Parents: 678c920 Author: Roberto Cortez Authored: Mon Dec 10 16:43:34 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 16:43:34 2018 + -- --
tomee git commit: Java9 compatibility - closes apache/tomee#109 *Won't fix*
Repository: tomee Updated Branches: refs/heads/master 9bdc48b0d -> b77050631 Java9 compatibility - closes apache/tomee#109 *Won't fix* Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/b7705063 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/b7705063 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/b7705063 Branch: refs/heads/master Commit: b770506319cd00afcd997269f686798060438159 Parents: 9bdc48b Author: Roberto Cortez Authored: Mon Dec 10 16:57:25 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 16:57:25 2018 + -- --
tomee git commit: Tomee 7.0.4 issue with CDI interceptor and WebServiceContext - closes apache/tomee#114 *Won't fix - does not make sense anymore*
Repository: tomee Updated Branches: refs/heads/master b77050631 -> 3e4ea0aa5 Tomee 7.0.4 issue with CDI interceptor and WebServiceContext - closes apache/tomee#114 *Won't fix - does not make sense anymore* Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/3e4ea0aa Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/3e4ea0aa Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/3e4ea0aa Branch: refs/heads/master Commit: 3e4ea0aa5898e0801ef5b05eb3df27c2737ba31d Parents: b770506 Author: Roberto Cortez Authored: Mon Dec 10 17:57:53 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 17:57:53 2018 + -- --
tomee git commit: closes apache/tomee#139 *Won't fix - does not make sense anymore*
Repository: tomee Updated Branches: refs/heads/master 3e4ea0aa5 -> b2e78f1a6 closes apache/tomee#139 *Won't fix - does not make sense anymore* Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/b2e78f1a Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/b2e78f1a Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/b2e78f1a Branch: refs/heads/master Commit: b2e78f1a60c3a5856fbccf62c0d115dca33d0ef4 Parents: 3e4ea0a Author: Roberto Cortez Authored: Mon Dec 10 18:01:52 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 18:01:52 2018 + -- --
tomee git commit: TOMEE-2291 - MicroProfile Fault Tolerance Example for @Retry
Repository: tomee Updated Branches: refs/heads/master b2e78f1a6 -> a1b8f66ec TOMEE-2291 - MicroProfile Fault Tolerance Example for @Retry pom.xml - Removed parent examples - Added properties to hold the versions of which libraries in use. - Added maven-war-plugin with failOnMissingWebXml to false. Closes apache/tomee#260. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/a1b8f66e Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/a1b8f66e Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/a1b8f66e Branch: refs/heads/master Commit: a1b8f66ec368ed86ced9fb02c188c049812f0472 Parents: b2e78f1 Author: josehenriqueventura Authored: Fri Dec 7 17:30:12 2018 + Committer: Roberto Cortez Committed: Mon Dec 10 22:40:54 2018 + -- examples/mp-faulttolerance-retry/pom.xml | 44 +-- 1 file changed, 34 insertions(+), 10 deletions(-) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/a1b8f66e/examples/mp-faulttolerance-retry/pom.xml -- diff --git a/examples/mp-faulttolerance-retry/pom.xml b/examples/mp-faulttolerance-retry/pom.xml index cf9d98f..dbb9837 100644 --- a/examples/mp-faulttolerance-retry/pom.xml +++ b/examples/mp-faulttolerance-retry/pom.xml @@ -2,30 +2,46 @@ http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> - -examples -org.apache.tomee -8.0.0-SNAPSHOT - 4.0.0 -OpenEJB :: Examples :: MicroProfile Fault Tolerance Retry + +org.superbiz mp-faulttolerance-retry +8.0.0-SNAPSHOT war +OpenEJB :: Examples :: Microprofile Fault Tolerance :: Retry + + + 1.0 + 1.4.0.Final +3.7.0 +3.1.0 +${project.version} +8.0 +4.12 +1.8 +1.8 + org.apache.tomee javaee-api -8.0 +${javaee-api.version} provided org.eclipse.microprofile.fault-tolerance microprofile-fault-tolerance-api -1.0 +${microprofile-fault-tolerance-api.version} provided +junit +junit +${junit.version} +test + + org.apache.tomee openejb-cxf-rs ${tomee.version} @@ -34,7 +50,7 @@ org.jboss.arquillian.junit arquillian-junit-container -1.0.3.Final +${arquillian-junit-container.version} test @@ -58,12 +74,20 @@ org.apache.tomee.maven tomee-maven-plugin -8.0.0-SNAPSHOT +${project.version} microprofile ${artifactId} + +org.apache.maven.plugins +maven-war-plugin +${maven-war-plugin.version} + +false + +
[5/5] tomee git commit: Added javadoc
Added javadoc Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/004ad511 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/004ad511 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/004ad511 Branch: refs/heads/master Commit: 004ad5118c5cb2b91ca17ceca1ecca5860921fe4 Parents: 231faf4 Author: Daniel Cunha (soro) Authored: Mon Dec 10 08:31:12 2018 -0300 Committer: Roberto Cortez Committed: Tue Dec 11 00:31:54 2018 + -- .../org/superbiz/config/PropertiesRest.java | 21 1 file changed, 21 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/004ad511/examples/mp-config-example/src/main/java/org/superbiz/config/PropertiesRest.java -- diff --git a/examples/mp-config-example/src/main/java/org/superbiz/config/PropertiesRest.java b/examples/mp-config-example/src/main/java/org/superbiz/config/PropertiesRest.java index fe98a37..db50894 100644 --- a/examples/mp-config-example/src/main/java/org/superbiz/config/PropertiesRest.java +++ b/examples/mp-config-example/src/main/java/org/superbiz/config/PropertiesRest.java @@ -39,18 +39,39 @@ public class PropertiesRest { @ConfigProperty(name = "java.runtime.version") private String javaVersion; +/** + * + * Get the default value configured on @ConfigProperty, that because + * the property defaultProperty doesn't exists, so it will get the value + * configured on defaultValue + * + * @return defaultValue from @ConfigProperty + */ @GET @Path("defaultProperty") public String getDefaultProperty() { return defaultProperty; } +/** + * + * Get the value from property java.runtime.version, but in this case + * it shows how you can get the value using Config class. + * + * @return javaVersion from Config.getValue + */ @GET @Path("javaVersion") public String getJavaVersionPropertyFromSystemProperties() { return config.getValue("java.runtime.version", String.class); } +/** + * Get the value from property java.runtime.version, but in this case + * it shows how you can get value injected using @ConfigProperty. + * + * @return javaVersion injected from Config + */ @GET @Path("injectedJavaVersion") public String getJavaVersionWithInjection() {
[1/5] tomee git commit: TOMEE-2292 - Config Microprofile Example. Closes #220.
Repository: tomee Updated Branches: refs/heads/master a1b8f66ec -> 004ad5118 TOMEE-2292 - Config Microprofile Example. Closes #220. Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/0febf055 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/0febf055 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/0febf055 Branch: refs/heads/master Commit: 0febf05566100f31d92577f221c96bca57dc0bb1 Parents: a1b8f66 Author: Daniel Cunha (soro) Authored: Mon Nov 26 11:45:15 2018 -0300 Committer: Roberto Cortez Committed: Tue Dec 11 00:31:52 2018 + -- examples/mp-config-example/README.md| 0 examples/mp-config-example/pom.xml | 58 +++ .../org/superbiz/config/PropertiesRest.java | 59 .../src/main/resources/META-INF/beans.xml | 0 .../META-INF/microprofile-config.properties | 3 + .../org/superbiz/config/PropertiesRestTest.java | 53 ++ .../src/test/resources/arquillian.xml | 30 ++ examples/pom.xml| 1 + 8 files changed, 204 insertions(+) -- http://git-wip-us.apache.org/repos/asf/tomee/blob/0febf055/examples/mp-config-example/README.md -- diff --git a/examples/mp-config-example/README.md b/examples/mp-config-example/README.md new file mode 100644 index 000..e69de29 http://git-wip-us.apache.org/repos/asf/tomee/blob/0febf055/examples/mp-config-example/pom.xml -- diff --git a/examples/mp-config-example/pom.xml b/examples/mp-config-example/pom.xml new file mode 100644 index 000..6865200 --- /dev/null +++ b/examples/mp-config-example/pom.xml @@ -0,0 +1,58 @@ + +http://maven.apache.org/POM/4.0.0"; + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> + +examples +org.apache.tomee +8.0.0-SNAPSHOT + +4.0.0 + +mp-config-example +war + + + +org.apache.tomee +javaee-api +${version.javaee-api} +provided + + +org.eclipse.microprofile.config +microprofile-config-api +${microprofile.config.version} +provided + + + +org.apache.tomee +openejb-cxf-rs +${tomee.version} +test + + +org.jboss.arquillian.junit +arquillian-junit-container +${version.arquillian} +test + + +org.apache.tomee +arquillian-tomee-remote +${tomee.version} +test + + +org.apache.tomee +apache-tomee +${tomee.version} +zip +microprofile +test + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tomee/blob/0febf055/examples/mp-config-example/src/main/java/org/superbiz/config/PropertiesRest.java -- diff --git a/examples/mp-config-example/src/main/java/org/superbiz/config/PropertiesRest.java b/examples/mp-config-example/src/main/java/org/superbiz/config/PropertiesRest.java new file mode 100644 index 000..fe98a37 --- /dev/null +++ b/examples/mp-config-example/src/main/java/org/superbiz/config/PropertiesRest.java @@ -0,0 +1,59 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.superbiz.config; + +import org.eclipse.microprofile.config.Config; +import org.eclipse.microprofile.config.inject.ConfigProperty; + +import javax.enterprise.context.ApplicationScoped; +import javax.inject.Inject; +import javax.ws.rs.GET; +import javax.ws.rs.Path; + +@Path("/sample") +@ApplicationScoped +public class PropertiesRest { + +@Inject +p