Use sisu apt processor (#636)

This commit is contained in:
Guillaume Nodet
2022-05-04 10:20:32 +02:00
committed by GitHub
parent 94be8344e2
commit e3bff92c95
4 changed files with 14 additions and 41 deletions

View File

@@ -89,18 +89,6 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>io.takari.maven.plugins</groupId>
<artifactId>takari-lifecycle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>sisu-index</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>

View File

@@ -73,18 +73,6 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>io.takari.maven.plugins</groupId>
<artifactId>takari-lifecycle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>sisu-index</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>

View File

@@ -84,6 +84,13 @@
<artifactId>jline-terminal</artifactId> <artifactId>jline-terminal</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.eclipse.sisu</groupId>
<artifactId>org.eclipse.sisu.inject</artifactId>
<version>${sisu.version}</version>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId> <artifactId>junit-jupiter</artifactId>
@@ -99,18 +106,6 @@
</resource> </resource>
</resources> </resources>
<plugins> <plugins>
<plugin>
<groupId>io.takari.maven.plugins</groupId>
<artifactId>takari-lifecycle-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>sisu-index</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>

12
pom.xml
View File

@@ -60,6 +60,7 @@
<maven.version>3.8.5</maven.version> <maven.version>3.8.5</maven.version>
<maven.resolver.version>1.7.3</maven.resolver.version> <maven.resolver.version>1.7.3</maven.resolver.version>
<slf4j.version>1.7.35</slf4j.version> <slf4j.version>1.7.35</slf4j.version>
<sisu.version>0.3.5</sisu.version>
<!-- plugin versions a..z --> <!-- plugin versions a..z -->
<buildnumber-maven-plugin.version>1.4</buildnumber-maven-plugin.version> <buildnumber-maven-plugin.version>1.4</buildnumber-maven-plugin.version>
@@ -249,6 +250,12 @@
<version>0.8.1-SNAPSHOT</version> <version>0.8.1-SNAPSHOT</version>
</dependency> </dependency>
<dependency>
<groupId>org.eclipse.sisu</groupId>
<artifactId>org.eclipse.sisu.inject</artifactId>
<version>${sisu.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.jline</groupId> <groupId>org.jline</groupId>
<artifactId>jline-terminal</artifactId> <artifactId>jline-terminal</artifactId>
@@ -362,11 +369,6 @@ limitations under the License.</inlineHeader>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
<plugin>
<groupId>io.takari.maven.plugins</groupId>
<artifactId>takari-lifecycle-plugin</artifactId>
<version>${takari-lifecycle.version}</version>
</plugin>
<plugin> <plugin>
<groupId>net.revelc.code.formatter</groupId> <groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId> <artifactId>formatter-maven-plugin</artifactId>