Skip to content

Commit

Permalink
Deprecate camel-quarkus-componentdsl and camel-quarkus-endpointdsl ex…
Browse files Browse the repository at this point in the history
…tensions apache#2354
  • Loading branch information
ppalaga committed Mar 22, 2021
1 parent cfd1973 commit f9352cd
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@

import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.builditem.FeatureBuildItem;
import org.jboss.logging.Logger;

class ComponentDSLProcessor {
private static final Logger LOG = Logger.getLogger(ComponentDSLProcessor.class);

private static final String FEATURE = "camel-componentdsl";

@BuildStep
FeatureBuildItem feature() {
// see https://github.com/apache/camel-quarkus/issues/2354
LOG.warnf(
"camel-quarkus-componentdsl is deprecated and will be removed in the future; use camel-quarkus-core instead");
return new FeatureBuildItem(FEATURE);
}
}
1 change: 1 addition & 0 deletions extensions/componentdsl/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<properties>
<camel.quarkus.jvmSince>1.0.0</camel.quarkus.jvmSince>
<camel.quarkus.nativeSince>1.0.0</camel.quarkus.nativeSince>
<quarkus.metadata.deprecated>true</quarkus.metadata.deprecated>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ metadata:
- "integration"
status:
- "stable"
- "deprecated"
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@

import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.builditem.FeatureBuildItem;
import org.jboss.logging.Logger;

class EndpointDSLProcessor {
private static final Logger LOG = Logger.getLogger(EndpointDSLProcessor.class);
private static final String FEATURE = "camel-endpointdsl";

@BuildStep
FeatureBuildItem feature() {
// see https://github.com/apache/camel-quarkus/issues/2354
LOG.warnf(
"camel-quarkus-endpointdsl is deprecated and will be removed in the future; use camel-quarkus-core instead");
return new FeatureBuildItem(FEATURE);
}
}
1 change: 1 addition & 0 deletions extensions/endpointdsl/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<properties>
<camel.quarkus.jvmSince>1.0.0</camel.quarkus.jvmSince>
<camel.quarkus.nativeSince>1.0.0</camel.quarkus.nativeSince>
<quarkus.metadata.deprecated>true</quarkus.metadata.deprecated>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ metadata:
- "integration"
status:
- "stable"
- "deprecated"

0 comments on commit f9352cd

Please sign in to comment.