Skip to content

Commit 59997c4

Browse files
authored
Update README.md
1 parent d94bf91 commit 59997c4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ public class WidgetController {
101101
## @Singleton
102102
By default the generated classes will use jakarta.inject.Singleton for wiring. To use Javax Inject, use the compiler arg `-AuseJavax=true`
103103
```
104-
<plugin>
105-
<groupId>org.apache.maven.plugins</groupId>
106-
<artifactId>maven-compiler-plugin</artifactId>
107-
<configuration>
108-
<compilerArgs>
109-
<arg>-AuseJavax=true</arg>
110-
</compilerArgs>
111-
</configuration>
112-
</plugin>
104+
<plugin>
105+
<groupId>org.apache.maven.plugins</groupId>
106+
<artifactId>maven-compiler-plugin</artifactId>
107+
<configuration>
108+
<compilerArgs>
109+
<arg>-AuseJavax=true</arg>
110+
</compilerArgs>
111+
</configuration>
112+
</plugin>
113113
```
114114
## Usage
115115
The annotation processor will generate controller adapters that can register routes to Javalin/Helidon. The natural way to use the generated adapters is to get a DI library to find and wire them. This is what the below examples do and they use [Avaje-Inject](https://avaje.io/inject/) to do this.

0 commit comments

Comments
 (0)