Skip to content

Commit b34205f

Browse files
authored
JSON Schema incubating feature flag (helidon-io#10716)
JSON Schema incubating feature flag Signed-off-by: David Kral <david.k.kral@oracle.com>
1 parent a6c043b commit b34205f

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

json/schema/schema/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
<groupId>io.helidon.common</groupId>
4646
<artifactId>helidon-common</artifactId>
4747
</dependency>
48+
<dependency>
49+
<groupId>io.helidon.common.features</groupId>
50+
<artifactId>helidon-common-features-api</artifactId>
51+
<optional>true</optional>
52+
</dependency>
4853
<dependency>
4954
<groupId>org.junit.jupiter</groupId>
5055
<artifactId>junit-jupiter-api</artifactId>
@@ -79,6 +84,11 @@
7984
<artifactId>helidon-codegen-helidon-copyright</artifactId>
8085
<version>${helidon.version}</version>
8186
</path>
87+
<path>
88+
<groupId>io.helidon.common.features</groupId>
89+
<artifactId>helidon-common-features-codegen</artifactId>
90+
<version>${helidon.version}</version>
91+
</path>
8292
</annotationProcessorPaths>
8393
</configuration>
8494
<dependencies>
@@ -97,6 +107,11 @@
97107
<artifactId>helidon-codegen-helidon-copyright</artifactId>
98108
<version>${helidon.version}</version>
99109
</dependency>
110+
<dependency>
111+
<groupId>io.helidon.common.features</groupId>
112+
<artifactId>helidon-common-features-codegen</artifactId>
113+
<version>${helidon.version}</version>
114+
</dependency>
100115
</dependencies>
101116
</plugin>
102117
</plugins>

json/schema/schema/src/main/java/module-info.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,21 @@
1414
* limitations under the License.
1515
*/
1616

17+
import io.helidon.common.features.api.Features;
18+
1719
/**
1820
* JSON Schema annotations and lookup.
1921
*
2022
* @see io.helidon.json.schema.JsonSchema
2123
* @see io.helidon.json.schema.Schema
2224
*/
25+
@Features.Name("JSON Schema")
26+
@Features.Since("4.3.0")
27+
@Features.Path({"JSON", "Schema"})
28+
@Features.Description("JSON - Schema")
29+
@Features.Incubating
2330
module io.helidon.json.schema {
31+
requires static io.helidon.common.features.api;
2432
requires transitive io.helidon.metadata.hson;
2533
requires transitive io.helidon.builder.api;
2634

0 commit comments

Comments
 (0)