Skip to content

Commit 0c60728

Browse files
authored
[4.x] - [Features] - Nima Access Log (helidon-io#5671)
* 4.x Features Nima Access Log
1 parent 3cef425 commit 0c60728

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

nima/webserver/access-log/pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
<groupId>io.helidon.nima.webserver</groupId>
3333
<artifactId>helidon-nima-webserver</artifactId>
3434
</dependency>
35+
<dependency>
36+
<groupId>io.helidon.common.features</groupId>
37+
<artifactId>helidon-common-features-api</artifactId>
38+
<scope>provided</scope>
39+
<optional>true</optional>
40+
</dependency>
3541
<dependency>
3642
<groupId>org.junit.jupiter</groupId>
3743
<artifactId>junit-jupiter-api</artifactId>
@@ -48,4 +54,22 @@
4854
<scope>test</scope>
4955
</dependency>
5056
</dependencies>
57+
58+
<build>
59+
<plugins>
60+
<plugin>
61+
<groupId>org.apache.maven.plugins</groupId>
62+
<artifactId>maven-compiler-plugin</artifactId>
63+
<configuration>
64+
<annotationProcessorPaths>
65+
<path>
66+
<groupId>io.helidon.common.features</groupId>
67+
<artifactId>helidon-common-features-processor</artifactId>
68+
<version>${helidon.version}</version>
69+
</path>
70+
</annotationProcessorPaths>
71+
</configuration>
72+
</plugin>
73+
</plugins>
74+
</build>
5175
</project>

nima/webserver/access-log/src/main/java/module-info.java

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

17+
import io.helidon.common.features.api.Feature;
18+
import io.helidon.common.features.api.HelidonFlavor;
19+
1720
/**
1821
* WebServer Access log.
1922
*/
23+
@Feature(value = "Access Log",
24+
in = HelidonFlavor.NIMA,
25+
description = "Access log support",
26+
invalidIn = HelidonFlavor.SE,
27+
path = {"WebServer", "AccessLog"})
2028
module io.helidon.nima.webserver.accesslog {
29+
requires static io.helidon.common.features.api;
30+
2131
requires java.logging;
2232

2333
requires io.helidon.nima.webserver;

0 commit comments

Comments
 (0)