diff --git a/core/deployment/src/main/java/io/quarkus/deployment/ExtensionLoader.java b/core/deployment/src/main/java/io/quarkus/deployment/ExtensionLoader.java index dcc0ab67abc68..3451bbf361306 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/ExtensionLoader.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/ExtensionLoader.java @@ -64,7 +64,6 @@ import io.quarkus.deployment.annotations.ProduceWeak; import io.quarkus.deployment.annotations.Record; import io.quarkus.deployment.annotations.Weak; -import io.quarkus.deployment.builditem.AdditionalApplicationArchiveMarkerBuildItem; import io.quarkus.deployment.builditem.BootstrapConfigSetupCompleteBuildItem; import io.quarkus.deployment.builditem.BytecodeRecorderObjectLoaderBuildItem; import io.quarkus.deployment.builditem.ConfigurationBuildItem; @@ -487,7 +486,6 @@ private static Consumer loadStepsFromClass(Class clazz, method.setAccessible(true); } final BuildStep buildStep = method.getAnnotation(BuildStep.class); - final String[] archiveMarkers = buildStep.applicationArchiveMarkers(); final Class[] onlyIf = buildStep.onlyIf(); final Class[] onlyIfNot = buildStep.onlyIfNot(); final Parameter[] methodParameters = method.getParameters(); @@ -521,14 +519,6 @@ private static Consumer loadStepsFromClass(Class clazz, } final BooleanSupplier finalAddStep = addStep; - if (archiveMarkers.length > 0) { - chainConfig = chainConfig.andThen(bcb -> bcb.addBuildStep(bc -> { - for (String marker : archiveMarkers) { - bc.produce(new AdditionalApplicationArchiveMarkerBuildItem(marker)); - } - }).produces(AdditionalApplicationArchiveMarkerBuildItem.class).buildIf(finalAddStep)); - } - if (isRecorder) { assert recordAnnotation != null; final ExecutionTime executionTime = recordAnnotation.value(); diff --git a/core/deployment/src/main/java/io/quarkus/deployment/annotations/BuildStep.java b/core/deployment/src/main/java/io/quarkus/deployment/annotations/BuildStep.java index c36e056c82111..9691de56056e2 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/annotations/BuildStep.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/annotations/BuildStep.java @@ -63,20 +63,6 @@ @Target(ElementType.METHOD) public @interface BuildStep { - /** - * Indicates that the provided file names should be considered to be application index markers. - * - * If these are present in library on the class path then the library will be indexed, and this index will be - * used when evaluating application components. - * - * This should not be used, {@link io.quarkus.deployment.builditem.AdditionalApplicationArchiveMarkerBuildItem} - * should just be produced directly instead. - * - * This method will be removed at some point post Quarkus 1.1. - */ - @Deprecated - String[] applicationArchiveMarkers() default {}; - /** * Only include this build step if the given supplier class(es) return {@code true}. *