You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2022/05/03 18:39:00 UTC

[maven-mvnd] 01/01: Use "official" sisu-maven-plugin

This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch use-sisu-plugin
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git

commit c1a39765dfd3608aa75f67dbcd431517ea8e108d
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Tue May 3 20:38:21 2022 +0200

    Use "official" sisu-maven-plugin
    
    Instead to pull in takari-lifecycle only to use one
    single mojo out of it (the index).
---
 client/pom.xml | 12 ++----------
 common/pom.xml | 12 ++----------
 daemon/pom.xml | 12 ++----------
 pom.xml        | 16 ++++++++++++----
 4 files changed, 18 insertions(+), 34 deletions(-)

diff --git a/client/pom.xml b/client/pom.xml
index 3fa6d91..56fa40e 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -90,16 +90,8 @@
                 </executions>
             </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>
+                <groupId>org.eclipse.sisu</groupId>
+                <artifactId>sisu-maven-plugin</artifactId>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
diff --git a/common/pom.xml b/common/pom.xml
index 6d9ff7b..482c108 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -74,16 +74,8 @@
                 </executions>
             </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>
+                <groupId>org.eclipse.sisu</groupId>
+                <artifactId>sisu-maven-plugin</artifactId>
             </plugin>
         </plugins>
     </build>
diff --git a/daemon/pom.xml b/daemon/pom.xml
index 9b62087..433ac9a 100644
--- a/daemon/pom.xml
+++ b/daemon/pom.xml
@@ -100,16 +100,8 @@
         </resources>
         <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>
+                <groupId>org.eclipse.sisu</groupId>
+                <artifactId>sisu-maven-plugin</artifactId>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
diff --git a/pom.xml b/pom.xml
index e3d82ff..ef0e500 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,7 +75,7 @@
         <surefire.version>3.0.0-M5</surefire.version><!-- keep in sync with junit-platform-launcher.version -->
         <junit-platform-launcher.version>1.3.2</junit-platform-launcher.version><!-- keep in sync with surefire.version -->
         <release.plugin.version>3.0.0-M5</release.plugin.version>
-        <takari-lifecycle.version>1.13.9</takari-lifecycle.version>
+        <sisu.version>0.3.5</sisu.version>
         <takari-provisio.version>1.0.19</takari-provisio.version>
 
         <javassist.version>3.27.0-GA</javassist.version>
@@ -363,9 +363,17 @@ limitations under the License.</inlineHeader>
                     </dependencies>
                 </plugin>
                 <plugin>
-                    <groupId>io.takari.maven.plugins</groupId>
-                    <artifactId>takari-lifecycle-plugin</artifactId>
-                    <version>${takari-lifecycle.version}</version>
+                    <groupId>org.eclipse.sisu</groupId>
+                    <artifactId>sisu-maven-plugin</artifactId>
+                    <version>${sisu.version}</version>
+                    <executions>
+                        <execution>
+                            <goals>
+                                <goal>main-index</goal>
+                                <goal>test-index</goal>
+                            </goals>
+                        </execution>
+                    </executions>
                 </plugin>
                 <plugin>
                     <groupId>net.revelc.code.formatter</groupId>