This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch chore-osgi-leftovers in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5703e62eac8602377e2ec83d5be8578c7f3fcd19 Author: Claus Ibsen <[email protected]> AuthorDate: Wed Dec 2 23:03:05 2026 +0100 chore: Remove OSGi leftovers - parent: drop the OSGi/Eclipse bundle manifest entries of the source jars; they used the undefined ${camel.osgi.version.clean}, so every sources jar got an empty Bundle-Version and an unresolved Eclipse-SourceBundle header. Drop the unused jaxb-osgi-version property. - Remove the orphan docs/user-manual-nav.adoc.template (no doc group uses it). - camel-spring-xml: remove an unreferenced OSGi test camelContext.xml, and a language resolver services file that pointed to a class that does not exist. - cxf docs: drop the camel-osgi.xsd schemaLocation from an example. - camel-xml-io, camel-spring-xml: rename camel.osgi.version.txt to camel.schema.version.txt. - camel-maven-plugin: camel:run no longer skips an org.osgi.core plugin dependency (there is none). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Claus Ibsen <[email protected]> --- .../apache/camel/catalog/docs/cxf-component.adoc | 1 - .../src/main/docs/cxf-component.adoc | 1 - .../camel-spring-parent/camel-spring-xml/pom.xml | 4 +- .../org/apache/camel/language/resolver/default | 18 --- .../org/apache/camel/osgi/camelContext.xml | 30 ---- core/camel-xml-io/pom.xml | 4 +- docs/user-manual-nav.adoc.template | 155 --------------------- parent/pom.xml | 17 --- .../main/java/org/apache/camel/maven/RunMojo.java | 10 -- 9 files changed, 4 insertions(+), 236 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/cxf-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/cxf-component.adoc index e1d07b61d30e..5f7a24ba9891 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/cxf-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/cxf-component.adoc @@ -1335,7 +1335,6 @@ environment specific configurations could look like in Spring XML: http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd - http://camel.apache.org/schema/osgi http://camel.apache.org/schema/osgi/camel-osgi.xsd http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd diff --git a/components/camel-cxf/camel-cxf-soap/src/main/docs/cxf-component.adoc b/components/camel-cxf/camel-cxf-soap/src/main/docs/cxf-component.adoc index e1d07b61d30e..5f7a24ba9891 100644 --- a/components/camel-cxf/camel-cxf-soap/src/main/docs/cxf-component.adoc +++ b/components/camel-cxf/camel-cxf-soap/src/main/docs/cxf-component.adoc @@ -1335,7 +1335,6 @@ environment specific configurations could look like in Spring XML: http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd - http://camel.apache.org/schema/osgi http://camel.apache.org/schema/osgi/camel-osgi.xsd http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd diff --git a/components/camel-spring-parent/camel-spring-xml/pom.xml b/components/camel-spring-parent/camel-spring-xml/pom.xml index 7917a6890fcf..ff16dbf502c1 100644 --- a/components/camel-spring-parent/camel-spring-xml/pom.xml +++ b/components/camel-spring-parent/camel-spring-xml/pom.xml @@ -363,7 +363,7 @@ <property name="camel.schema.version" value="${ov.p1a}${ov.p2a}" /> <mkdir dir="target" /> <mkdir dir="${project.build.directory}/schema/META-INF/JAXB" /> - <echo file="target/camel.osgi.version.txt"> + <echo file="target/camel.schema.version.txt"> camel.schema.version = ${camel.schema.version} </echo> </target> @@ -492,7 +492,7 @@ </goals> <configuration> <files> - <file>target/camel.osgi.version.txt</file> + <file>target/camel.schema.version.txt</file> </files> </configuration> </execution> diff --git a/components/camel-spring-parent/camel-spring-xml/src/test/resources/META-INF/services/org/apache/camel/language/resolver/default b/components/camel-spring-parent/camel-spring-xml/src/test/resources/META-INF/services/org/apache/camel/language/resolver/default deleted file mode 100644 index b6a8d7060724..000000000000 --- a/components/camel-spring-parent/camel-spring-xml/src/test/resources/META-INF/services/org/apache/camel/language/resolver/default +++ /dev/null @@ -1,18 +0,0 @@ -# -# 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. -# - -class=org.apache.camel.core.osgi.CamelMockLanguageResolver \ No newline at end of file diff --git a/components/camel-spring-parent/camel-spring-xml/src/test/resources/org/apache/camel/osgi/camelContext.xml b/components/camel-spring-parent/camel-spring-xml/src/test/resources/org/apache/camel/osgi/camelContext.xml deleted file mode 100644 index da449064e065..000000000000 --- a/components/camel-spring-parent/camel-spring-xml/src/test/resources/org/apache/camel/osgi/camelContext.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - 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. - ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:camel="http://camel.apache.org/schema/osgi" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://camel.apache.org/schema/osgi http://camel.apache.org/schema/osgi/camel-osgi.xsd - "> - - <camel:camelContext id="camelContext" /> - -</beans> diff --git a/core/camel-xml-io/pom.xml b/core/camel-xml-io/pom.xml index c8f429f64e43..3498738c452f 100644 --- a/core/camel-xml-io/pom.xml +++ b/core/camel-xml-io/pom.xml @@ -160,7 +160,7 @@ <propertyregex property="ov.p2a" input="${ov.p2}" regexp="(\..+)" replace="\1" defaultValue=".0" /> <property name="camel.schema.version" value="${ov.p1a}${ov.p2a}" /> <mkdir dir="target" /> - <echo level="info" file="target/camel.osgi.version.txt"> + <echo level="info" file="target/camel.schema.version.txt"> camel.schema.version = ${camel.schema.version} </echo> </target> @@ -234,7 +234,7 @@ </goals> <configuration> <files> - <file>target/camel.osgi.version.txt</file> + <file>target/camel.schema.version.txt</file> </files> </configuration> </execution> diff --git a/docs/user-manual-nav.adoc.template b/docs/user-manual-nav.adoc.template deleted file mode 100644 index 1a370739c62a..000000000000 --- a/docs/user-manual-nav.adoc.template +++ /dev/null @@ -1,155 +0,0 @@ -<!-- generated:txt --> -<!-- endinject --> -* xref:getting-started.adoc[Getting started] - ** xref:book-getting-started.adoc[Getting Started with Apache Camel] - ** xref:what-are-the-dependencies.adoc[What are the dependencies?] -* xref:architecture.adoc[Architecture] - ** xref:async.adoc[Async] - ** xref:asynchronous-routing-engine.adoc[Asynchronous Routing Engine] - ** xref:backlog-debugger.adoc[Backlog debugger] - ** xref:bam.adoc[Business Activity Monitoring] - ** xref:batch-consumer.adoc[Batch Consumer] - ** xref:browsable-endpoint.adoc[BrowsableEndpoint] - ** xref:camel-core.adoc[Core] - ** xref:camelcontext.adoc[Context] - ** xref:endpoint.adoc[Endpoints] - ** xref:cep.adoc[Complex Event Processing] - ** xref:component.adoc[Component] - ** xref:debugger.adoc[Debugger] - ** xref:delay-interceptor.adoc[Delay interceptor] - ** xref:dependency-injection.adoc[Dependency Injection] - ** xref:dozer-type-conversion.adoc[Dozer Type Conversion] - ** xref:bean-integration.adoc[Bean Integration] - ** xref:bean-binding.adoc[Bean Binding] - ** xref:parameter-binding-annotations.adoc[Parameter Binding Annotations] - ** xref:pojo-producing.adoc[POJO Producing] - ** xref:pojo-consuming.adoc[POJO Consuming] - ** xref:error-handler.adoc[Error Handler] - ** xref:exchange.adoc[Message Exchange] - ** xref:exchange-pattern.adoc[Exchange Pattern] - ** xref:using-exchange-pattern-annotations.adoc[Using Exchange pattern annotations] - ** xref:expression.adoc[Expressions] - ** xref:content-enricher.adoc[Content Enrichment] - ** xref:injector.adoc[Injector] - ** xref:intercept.adoc[Intercept] - ** xref:inversion-of-control-with-smart-defaults.adoc[Inversion Of Control With Smart Defaults] - ** xref:jmx.adoc[JMX] - ** xref:lifecycle.adoc[Camel Lifecycle] - ** xref:oncompletion.adoc[OnCompletion] - ** xref:predicate.adoc[Predicates] - ** xref:registry.adoc[Registry] - ** xref:route-builder.adoc[RouteBuilder] - ** xref:routes.adoc[Routes] - ** xref:transformer.adoc[Transformer] - ** xref:validator.adoc[Validator] - ** xref:hiding-middleware.adoc[Hiding Middleware] - ** xref:health-check.adoc[Health Checks] -* Domain Specific Languages - ** xref:dsl.adoc[Camel Domain Specific Language] - ** xref:java-dsl.adoc[Java DSL] - ** xref:spring.adoc[Spring support] -* Languages -- see Components documentation -* xref:(eips-vc}:enterprise-integration-patterns.adoc[Enterprise Integration Patterns] -* Frequently asked questions - ** xref:faq:can-i-get-commercial-support.adoc[Can I get commercial support?] - ** xref:support.adoc[How can I get help?] - ** xref:faq:how-can-i-get-the-source-code.adoc[How can I get the source code?] - ** xref:faq:how-does-camel-compare-to-mule.adoc[How does Camel compare to Mule?] - ** xref:faq:how-does-camel-compare-to-servicemix.adoc[How does Camel compare to ServiceMix?] - ** xref:faq:how-does-camel-compare-to-servicemix-eip.adoc[How does Camel compare to ServiceMix EIP?] - ** xref:faq:how-does-camel-compare-to-synapse.adoc[How does Camel compare to Synapse?] - ** xref:faq:how-does-camel-work.adoc[How does Camel work?] - ** xref:faq:how-does-camel-work-with-activemq.adoc[How does Camel work with ActiveMQ?] - ** xref:faq:how-does-camel-work-with-servicemix.adoc[How does Camel work with ServiceMix?] - ** xref:faq:how-does-the-camel-api-compare-to.adoc[How does the Camel API compare to?] - ** xref:faq:how-does-the-website-work.adoc[How does the website work?] - ** xref:faq:how-do-i-become-a-committer.adoc[How do I become a committer?] - ** xref:faq:how-do-i-compile-the-code.adoc[How do I compile the code?] - ** xref:faq:how-do-i-edit-the-website.adoc[How do I edit the website?] - ** xref:faq:how-do-i-run-camel-using-java-webstart.adoc[How do I run Camel using Java WebStart?] - ** xref:faq:if-i-use-servicemix-when-should-i-use-camel.adoc[If I use ServiceMix when should I use Camel?] - ** xref:faq:is-camel-an-esb.adoc[Is Camel an ESB?] - ** xref:faq:is-camel-ioc-friendly.adoc[Is Camel IoC friendly?] - ** xref:faq:running-camel-standalone.adoc[Running Camel standalone] - ** xref:faq:what-are-the-dependencies.adoc[What are the dependencies?] - ** xref:faq:what-is-a-router.adoc[What is a router?] - ** xref:faq:what-is-camel.adoc[What is Camel?] - ** xref:faq:what-is-the-license.adoc[What is the license?] - ** xref:faq:what-jars-do-i-need.adoc[What jars do I need?] - ** xref:languages.adoc[What languages are supported?] - ** xref:faq:what-platforms-are-supported.adoc[What platforms are supported?] - ** xref:faq:why-the-name-camel.adoc[Why the name Camel?] - ** xref:faq:classloader-issue-of-servicemix-camel-component.adoc[Classloader issue of servicemix-camel component] - ** xref:faq:how-do-i-specify-which-method-to-use-when-using-beans-in-routes.adoc[How do I specify which method to use when using beans in routes?] - ** xref:faq:how-can-i-create-a-custom-component-or-endpoint.adoc[How can I create a custom component or endpoint?] - ** xref:faq:how-can-i-get-the-remote-connection-ip-address-from-the-camel-cxf-consumer-.adoc[How can I get the remote connection IP address from the camel-cxf consumer ?] - ** xref:faq:how-can-i-stop-a-route-from-a-route.adoc[How can I stop a route from a route?] - ** xref:faq:how-can-webservice-clients-see-remote-faults-with-stacktraces-when-using-camel-cxf.adoc[How can webservice clients see remote faults with stacktraces when using camel-cxf?] - ** xref:faq:how-does-camel-look-up-beans-and-endpoints.adoc[How does Camel look up beans and endpoints?] - ** xref:configuring-camel.adoc[How do I add a component?] - ** xref:faq:how-do-i-change-the-logging.adoc[How do I change the logging?] - ** xref:faq:how-do-i-configure-endpoints.adoc[How do I configure endpoints?] - ** xref:faq:how-do-i-configure-password-options-on-camel-endpoints-without-the-value-being-encoded.adoc[How do I configure password options on Camel endpoints without the value being encoded?] - ** xref:faq:how-do-i-configure-the-default-maximum-cache-size-for-producercache-or-producertemplate.adoc[How do I configure the default maximum cache size for ProducerCache or ProducerTemplate?] - ** xref:faq:how-do-i-configure-the-maximum-endpoint-cache-size-for-camelcontext.adoc[How do I configure the maximum endpoint cache size for CamelContext?] - ** xref:faq:how-do-i-debug-my-route.adoc[How do I debug my route?] - ** xref:faq:how-do-i-disable-jmx.adoc[How do I disable JMX?] - ** xref:faq:how-do-i-enable-streams-when-debug-logging-messages-in-camel.adoc[How do I enable streams when debug logging messages in Camel?] - ** xref:faq:how-do-i-handle-failures-when-consuming-for-example-from-a-ftp-server.adoc[How do I handle failures when consuming for example from a FTP server?] - ** xref:faq:how-do-i-import-rests-from-other-xml-files.adoc[How do I import rests from other XML files?] - ** xref:faq:how-do-i-import-routes-from-other-xml-files.adoc[How do I import routes from other XML files?] - ** xref:faq:how-do-i-let-jetty-match-wildcards.adoc[How do I let Jetty match wildcards?] - ** xref:faq:how-do-i-name-my-routes.adoc[How do I name my routes?] - ** xref:faq:how-do-i-restart-camelcontext.adoc[How do I restart CamelContext?] - ** xref:faq:how-do-i-retrieve-the-thrown-exception-during-processing-an-exchange.adoc[How do I retrieve the thrown Exception during processing an Exchange?] - ** xref:faq:how-do-i-retry-failed-messages-forever.adoc[How do I retry failed messages forever?] - ** xref:faq:how-do-i-reuse-the-contexttestsupport-class-in-my-unit-tests.adoc[How do I reuse the ContextTestSupport class in my unit tests?] - ** xref:faq:how-do-i-run-activemq-and-camel-in-jboss.adoc[How do I run ActiveMQ and Camel in JBoss?] - ** xref:faq:how-do-i-set-the-max-chars-when-debug-logging-messages-in-camel.adoc[How do I set the max chars when debug logging messages in Camel?] - ** xref:faq:how-do-i-use-a-big-uber-jar.adoc[How do I use a big (uber) JAR?] - ** xref:faq:how-do-i-use-camel-inside-servicemix.adoc[How do I use Camel inside ServiceMix?] - ** xref:faq:how-do-i-use-spring-property-placeholder-with-camel-xml.adoc[How do I use Spring Property Placeholder with Camel XML?] - ** xref:faq:how-do-i-use-uris-with-parameters-in-xml.adoc[How do I use URIs with parameters in XML?] - ** xref:faq:how-do-i-write-a-custom-processor-which-sends-multiple-messages.adoc[How do I write a custom Processor which sends multiple messages?] - ** xref:faq:how-should-i-invoke-my-pojos-or-spring-services.adoc[How should I invoke my POJOs or Spring Services?] - ** xref:faq:how-should-i-package-applications-using-camel-and-activemq.adoc[How should I package applications using Camel and ActiveMQ?] - ** xref:faq:how-to-avoid-importing-bunch-of-cxf-packages-when-start-up-the-camel-cxf-endpoint-from-osgi-platform-.adoc[How to avoid importing bunch of cxf packages when start up the camel-cxf endpoint from OSGi platform?] - ** xref:faq:how-to-avoid-sending-some-or-all-message-headers.adoc[How to avoid sending some or all message headers?] - ** xref:faq:how-to-define-a-static-camel-converter-method-in-scala.adoc[How to define a static Camel converter method in Scala?] - ** xref:faq:how-to-remove-the-http-protocol-headers-in-the-camel-message.adoc[How to remove the http protocol headers in the camel message?] - ** xref:faq:how-to-send-the-same-message-to-multiple-endpoints.adoc[How to send the same message to multiple endpoints?] - ** xref:faq:how-to-switch-the-cxf-consumer-between-http-and-https-without-touching-the-spring-configuration.adoc[How to switch the CXF consumer between HTTP and HTTPS without touching the Spring configuration?] - ** xref:faq:how-to-use-a-dynamic-uri-in-to.adoc[How to use a dynamic URI in to()?] - ** xref:faq:is-there-an-ide.adoc[Is there an IDE?] - ** xref:faq:should-i-deploy-camel-inside-the-activemq-broker-or-in-another-application.adoc[Should I deploy Camel inside the ActiveMQ broker or in another application?] - ** xref:faq:using-camel-core-testsjar.adoc[Using camel-core-tests.jar] - ** xref:faq:using-getin-or-getout-methods-on-exchange.adoc[Using getIn or getOut methods on Exchange] - ** xref:faq:why-cant-i-use-sign-in-my-password.adoc[Why can't I use + sign in my password?] - ** xref:faq:why-can-i-not-use-when-or-otherwise-in-a-java-camel-route.adoc[Why can I not use when or otherwise in a Java Camel route?] - ** xref:faq:why-does-ftp-component-not-download-any-files.adoc[Why does FTP component not download any files?] - ** xref:faq:why-does-my-file-consumer-not-pick-up-the-file-and-how-do-i-let-the-file-consumer-use-the-camel-error-handler.adoc[Why does my file consumer not pick up the file, and how do I let the file consumer use the Camel error handler?] - ** xref:faq:why-does-useoriginalmessage-with-error-handler-not-work-as-expected.adoc[Why does useOriginalMessage with error handler not work as expected?] - ** xref:faq:why-do-my-message-lose-its-headers-during-routing.adoc[Why do my message lose its headers during routing?] - ** xref:faq:why-is-my-message-body-empty.adoc[Why is my message body empty?] - ** xref:faq:why-is-my-processor-not-showing-up-in-jconsole.adoc[Why is my processor not showing up in JConsole?] - ** xref:faq:why-is-the-exception-null-when-i-use-onexception.adoc[Why is the exception null when I use onException?] - ** xref:faq:why-use-multiple-camelcontext.adoc[Why use multiple CamelContext?] - ** xref:faq:how-do-i-enable-debug-logging.adoc[How do I enable debug logging?] - ** xref:faq:how-do-i-use-java-14-logging.adoc[How do I use Java 1.4 logging?] - ** xref:faq:how-do-i-use-log4j.adoc[How do I use log4j?] - ** xref:faq:how-do-i-invoke-camel-routes-from-jbi.adoc[How do I invoke Camel routes from JBI?] - ** xref:faq:how-do-i-make-my-jms-endpoint-transactional.adoc[How Do I Make My JMS Endpoint Transactional?] - ** xref:faq:how-do-i-set-the-mep-when-interacting-with-jbi.adoc[How do I set the MEP when interacting with JBI?] - ** xref:faq:how-do-the-direct-event-seda-and-vm-endpoints-compare.adoc[How do the direct, event, seda and vm endpoints compare?] - ** xref:faq:how-do-the-timer-and-quartz-endpoints-compare.adoc[How do the Timer and Quartz endpoints compare?] - ** xref:faq:why-does-my-jms-route-only-consume-one-message-at-once.adoc[Why does my JMS route only consume one message at once?] - ** xref:faq:exception-beandefinitionstoreexception.adoc[Exception - BeanDefinitionStoreException] - ** xref:faq:exception-javaxnamingnoinitialcontextexception.adoc[Exception - javax.naming.NoInitialContextException] - ** xref:faq:exception-orgapachecamelnosuchendpointexception.adoc[Exception - org.apache.camel.NoSuchEndpointException] - ** xref:faq:exception-orgxmlsaxsaxparseexception.adoc[Exception - org.xml.sax.SAXParseException] - ** xref:faq:memory-leak-when-adding-and-removing-routes-at-runtime.adoc[Memory leak when adding and removing routes at runtime] - ** xref:faq:why-do-camel-throw-so-many-noclassdeffoundexception-on-startup.adoc[Why do Camel throw so many NoClassDefFoundException on startup?] - ** xref:faq:why-does-camel-use-too-many-threads-with-producertemplate.adoc[Why does Camel use too many threads with ProducerTemplate?] - ** xref:faq:why-does-maven-not-download-dependencies.adoc[Why does maven not download dependencies?] -* xref:camel-3-migration-guide.adoc[Camel 2.x to 3.0 Migration Guide] -* xref:camel-3x-upgrade-guide.adoc[Camel 3.x Upgrade Guide] diff --git a/parent/pom.xml b/parent/pom.xml index 5c5af645aa3d..da1f88bb88e8 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -201,7 +201,6 @@ <jakarta-jws-api-version>3.0.0</jakarta-jws-api-version> <jaxb-core-version>4.0.5</jaxb-core-version> <jaxb-impl-version>4.0.9</jaxb-impl-version> - <jaxb-osgi-version>4.0.5</jaxb-osgi-version> <jaxb-xjc-version>4.0.9</jaxb-xjc-version> <jaxb-jxc-version>4.0.9</jaxb-jxc-version> <gmavenplus-plugin-version>5.1.0</gmavenplus-plugin-version> @@ -4306,22 +4305,6 @@ <artifactId>maven-shade-plugin</artifactId> <version>${maven-shade-plugin-version}</version> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <configuration> - <archive> - <manifestEntries> - <Bundle-SymbolicName>${project.groupId}.${project.artifactId}.source - </Bundle-SymbolicName> - <Bundle-Version>${camel.osgi.version.clean}</Bundle-Version> - <Eclipse-SourceBundle> - ${project.groupId}.${project.artifactId};version="${camel.osgi.version.clean}" - </Eclipse-SourceBundle> - </manifestEntries> - </archive> - </configuration> - </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> diff --git a/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java b/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java index 00bcc5f41e6f..8b8bbbdab337 100644 --- a/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java +++ b/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java @@ -715,16 +715,6 @@ public class RunMojo extends AbstractExecMojo { } for (Artifact classPathElement : this.determineRelevantPluginDependencies()) { - // we must skip org.osgi.core, otherwise we get a - // java.lang.NoClassDefFoundError: org.osgi.vendor.framework property not set - if (classPathElement.getArtifactId().equals("org.osgi.core")) { - if (getLog().isDebugEnabled()) { - getLog().debug("Skipping org.osgi.core -> " + classPathElement.getGroupId() + "/" - + classPathElement.getArtifactId() + "/" + classPathElement.getVersion()); - } - continue; - } - getLog().debug("Adding plugin dependency artifact: " + classPathElement.getArtifactId() + " to classpath"); classpath.add(classPathElement);
