Skip to content

Commit 0c903fd

Browse files
fix: make builder visible for javadocs, move javadoc gen to codequality profile
Signed-off-by: Alexandra Oberaigner <[email protected]>
1 parent 1b08e3d commit 0c903fd

File tree

2 files changed

+30
-23
lines changed

2 files changed

+30
-23
lines changed

pom.xml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -507,29 +507,6 @@
507507
</execution>
508508
</executions>
509509
</plugin>
510-
</plugins>
511-
</build>
512-
</profile>
513-
<profile>
514-
<id>deploy</id>
515-
<activation>
516-
<activeByDefault>true</activeByDefault>
517-
</activation>
518-
<build>
519-
520-
<plugins>
521-
<!-- Begin publish to maven central -->
522-
<plugin>
523-
<groupId>org.sonatype.central</groupId>
524-
<artifactId>central-publishing-maven-plugin</artifactId>
525-
<version>0.8.0</version>
526-
<extensions>true</extensions>
527-
<configuration>
528-
<publishingServerId>central</publishingServerId>
529-
<autoPublish>true</autoPublish>
530-
</configuration>
531-
</plugin>
532-
<!-- End publish to maven central -->
533510

534511
<!-- Begin source & javadocs being generated -->
535512
<plugin>
@@ -565,6 +542,29 @@
565542
</executions>
566543
</plugin>
567544
<!-- end source & javadoc -->
545+
</plugins>
546+
</build>
547+
</profile>
548+
<profile>
549+
<id>deploy</id>
550+
<activation>
551+
<activeByDefault>true</activeByDefault>
552+
</activation>
553+
<build>
554+
555+
<plugins>
556+
<!-- Begin publish to maven central -->
557+
<plugin>
558+
<groupId>org.sonatype.central</groupId>
559+
<artifactId>central-publishing-maven-plugin</artifactId>
560+
<version>0.8.0</version>
561+
<extensions>true</extensions>
562+
<configuration>
563+
<publishingServerId>central</publishingServerId>
564+
<autoPublish>true</autoPublish>
565+
</configuration>
566+
</plugin>
567+
<!-- End publish to maven central -->
568568

569569
<!-- sign the jars -->
570570
<plugin>

src/main/java/dev/openfeature/sdk/HookContextWithoutData.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,11 @@ static <T> HookContextWithoutData<T> from(
4545
return new HookContextWithoutData<>(
4646
key, type, defaultValue, ImmutableContext.EMPTY, clientMetadata, providerMetadata);
4747
}
48+
49+
/**
50+
* Make the builder visible for javadocs.
51+
*
52+
* @param <T> flag value type
53+
*/
54+
public static class HookContextWithoutDataBuilder<T> {}
4855
}

0 commit comments

Comments
 (0)