Skip to content

Commit

Permalink
add METAINF_SERVICES to Constants.options
Browse files Browse the repository at this point in the history
used by BndScanner
Signed-off-by: Christoph Rueger <[email protected]>
  • Loading branch information
chrisrueger committed Oct 10, 2024
1 parent d342483 commit e52fcde
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions biz.aQute.bndlib/src/aQute/bnd/osgi/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,14 @@ public interface Constants {
String WORKINGSET_MEMBER = "member";
String REQUIRE_BND = "-require-bnd";

/*
* processing of META-INF/services folder section.
*/
String METAINF_SERVICES = "-metainf-services";
String METAINF_SERVICES_STRATEGY_ANNOTATION = "annotation";
String METAINF_SERVICES_STRATEGY_AUTO = "auto";
String METAINF_SERVICES_STRATEGY_NONE = "none";

// Deprecated
String CLASSPATH = "-classpath";
String OUTPUT = "-output";
Expand All @@ -329,7 +337,7 @@ public interface Constants {
CONNECTION_SETTINGS, RUNPROVIDEDCAPABILITIES, WORKINGSET, RUNSTORAGE, REPRODUCIBLE, INCLUDEPACKAGE,
CDIANNOTATIONS, REMOTEWORKSPACE, MAVEN_DEPENDENCIES, BUILDERIGNORE, STALECHECK, MAVEN_SCOPE, RUNSTARTLEVEL,
RUNOPTIONS, NOCLASSFORNAME, EXPORT_APIGUARDIAN, RESOLVE, DEFINE_CONTRACT, GENERATE, RUNFRAMEWORKRESTART,
NOIMPORTJAVA, VERSIONDEFAULTS, LIBRARY);
NOIMPORTJAVA, VERSIONDEFAULTS, LIBRARY, METAINF_SERVICES);

// Ignore bundle specific headers. These headers do not make a lot of sense
// to inherit
Expand Down Expand Up @@ -567,13 +575,6 @@ public interface Constants {
String SERVICELOADER_REGISTER_DIRECTIVE = "register:";
String SERVICELOADER_NAMESPACE = "osgi.serviceloader";

/*
* processing of META-INF/services folder section.
*/
String METAINF_SERVICES = "-metainf-services";
String METAINF_SERVICES_STRATEGY_ANNOTATION = "annotation";
String METAINF_SERVICES_STRATEGY_AUTO = "auto";
String METAINF_SERVICES_STRATEGY_NONE = "none";

/**
* Launch constants that should be shared by launchers
Expand Down

0 comments on commit e52fcde

Please sign in to comment.