Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7815

Feature validation of camel-spring-batch is failing

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Later
    • 2.15.0
    • None
    • camel-spring-batch, osgi
    • None
    • Unknown

    Description

      After upgrading to Spring 4, the feature validation of camel-spring-batch is failing:

      cmueller$ mvn install -Pvalidate
      ...
      [WARNING] Failed to validate feature camel-spring-batch
      [WARNING] No export found to match org.springframework.core.serializer;version="[3.1.2, 4.0.0)" (imported by mvn:org.springframework.batch/spring-batch-core/2.2.7.RELEASE)
      [WARNING] No export found to match org.springframework.core.convert.converter;version="[3.1.2,4.0.0)" (imported by mvn:org.springframework.batch/spring-batch-infrastructure/2.2.7.RELEASE)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      

      Upgrading to version 3.0.1.RELEASE (which is using Spring 4) isn't an option at present, because it's not an OSGI bundle anymore and there is no OSGI bundle from the SMX guys at present:

      cmueller$ mvn install -Pvalidate
      ...
      [ERROR] Failed to execute goal org.apache.karaf.tooling:features-maven-plugin:2.3.7:validate (validate) on project apache-camel: Unable to validate /Users/cmueller/workspaceCamel/camel/platforms/karaf/features/target/classes/features.xml: mvn:org.springframework.batch/spring-batch-core/3.0.1.RELEASE is not an OSGi bundle -> [Help 1]
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              muellerc Christian Müller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: