You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Olaf Otto (JIRA)" <ji...@apache.org> on 2015/08/14 14:13:45 UTC

[jira] [Created] (SMX4-1974) Spring bundle packaging: Add optional javax.validation import to spring-webmvc

Olaf Otto created SMX4-1974:
-------------------------------

             Summary: Spring bundle packaging: Add optional javax.validation import to spring-webmvc
                 Key: SMX4-1974
                 URL: https://issues.apache.org/jira/browse/SMX4-1974
             Project: ServiceMix 4
          Issue Type: Improvement
          Components: Bundles
         Environment: spring-webmvc bundle 3.2.13.RELEASE_2
            Reporter: Olaf Otto
            Priority: Minor


The AnnotationDrivenBeanDefinitionParser in spring-webmvc tests for the presence of javax.validation on it's own classpath to determine whether javax.validation validators should be detected:

{code:java}
private static final boolean javaxValidationPresent = ClassUtils.isPresent(
			"javax.validation.Validator", AnnotationDrivenBeanDefinitionParser.class.getClassLoader());
{code}

This fails as there is no optional import for javax.validation in the bundle's manifest. I herewith kindly request that to be added. Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)