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

amashenkov pushed a commit to branch ignite-13987
in repository https://gitbox.apache.org/repos/asf/ignite-3.git

commit 18aaa1198bdf380efcbe0d4540e7af9940ed3c6e
Author: Andrew Mashenkov <[email protected]>
AuthorDate: Wed Jan 13 17:54:16 2021 +0300

    Fix maven plugin management.
---
 modules/cli/pom.xml                                |   5 +-
 modules/configuration-annotation-processor/pom.xml |   2 -
 modules/ignite-runner/pom.xml                      |   1 -
 pom.xml                                            | 101 +++++++++++++++------
 4 files changed, 72 insertions(+), 37 deletions(-)

diff --git a/modules/cli/pom.xml b/modules/cli/pom.xml
index ec41e98..9f03bf2 100644
--- a/modules/cli/pom.xml
+++ b/modules/cli/pom.xml
@@ -107,7 +107,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>${maven.assembly.plugin.version}</version>
 
                 <configuration>
                     <finalName>ignite</finalName>
@@ -136,7 +135,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>${maven.compiler.plugin.version}</version>
                 <configuration>
                     <!-- Uncomment to enable incremental compilation -->
                     <!-- 
<useIncrementalCompilation>false</useIncrementalCompilation> -->
@@ -173,8 +171,8 @@
             </plugin>
 
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-antrun-plugin</artifactId>
-                <version>${maven.antrun.plugin.version}</version>
                 <executions>
                     <execution>
                         <phase>package</phase>
@@ -228,7 +226,6 @@
             <plugin>
                 <groupId>org.apache.rat</groupId>
                 <artifactId>apache-rat-plugin</artifactId>
-                <version>${apache.rat.plugin.version}</version>
                 <configuration>
                     <excludes>
                         <exclude>**/builtin_modules.conf</exclude>
diff --git a/modules/configuration-annotation-processor/pom.xml 
b/modules/configuration-annotation-processor/pom.xml
index 75764f4..698be5f 100644
--- a/modules/configuration-annotation-processor/pom.xml
+++ b/modules/configuration-annotation-processor/pom.xml
@@ -74,7 +74,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>${maven.compiler.plugin.version}</version>
                 <executions>
                     <execution>
                         <id>default-compile</id>
@@ -98,7 +97,6 @@
             <plugin>
                 <groupId>org.apache.rat</groupId>
                 <artifactId>apache-rat-plugin</artifactId>
-                <version>${apache.rat.plugin.version}</version>
                 <configuration>
                     <excludes>
                         
<exclude>src/main/resources/META-INF/services/javax.annotation.processing.Processor</exclude>
diff --git a/modules/ignite-runner/pom.xml b/modules/ignite-runner/pom.xml
index a1e6eee..b4b3441 100644
--- a/modules/ignite-runner/pom.xml
+++ b/modules/ignite-runner/pom.xml
@@ -74,7 +74,6 @@
             <plugin>
                 <groupId>org.apache.rat</groupId>
                 <artifactId>apache-rat-plugin</artifactId>
-                <version>${apache.rat.plugin.version}</version>
                 <configuration>
                     <excludes>
                         
<exclude>src/main/resources/bootstrap-config.json</exclude>
diff --git a/pom.xml b/pom.xml
index c81f12a..0d9f11e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,7 +78,6 @@
         <maven.surefire.plugin.version>3.0.0-M4</maven.surefire.plugin.version>
     </properties>
 
-
     <modules>
         <module>modules/cli</module>
         <module>modules/cli-common</module>
@@ -95,6 +94,11 @@
         </repository>
     </distributionManagement>
 
+    <issueManagement>
+        <system>Jira</system>
+        <url>https://issues.apache.org/jira/projects/IGNITE/issues</url>
+    </issueManagement>
+
     <dependencyManagement>
         <dependencies>
             <dependency>
@@ -224,58 +228,95 @@
         <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-engine</artifactId>
+            <scope>test</scope>
         </dependency>
     </dependencies>
 
     <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <version>${maven.compiler.plugin.version}</version>
+                </plugin>
+
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <version>${maven.surefire.plugin.version}</version>
+                </plugin>
+
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-source-plugin</artifactId>
+                    <executions>
+                        <execution>
+                            <id>attach-sources</id>
+                            <goals>
+                                <goal>jar</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+
+                <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <version>${apache.rat.plugin.version}</version>
+                    <executions>
+                        <execution>
+                            <id>check-licenses</id>
+                            <phase>validate</phase>
+                            <goals>
+                                <goal>check</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                    <configuration>
+                        <excludes>
+                            <exclude>README.md</exclude>
+                            <exclude>DEVNOTES.md</exclude>
+                            <exclude>docs/assets/images/**</exclude>
+                            <exclude>docs/assets/js/anchor.min.js
+                            </exclude><!-- Distributed under the MIT license. 
The original license header is badly formatted. -->
+                        </excludes>
+                    </configuration>
+                </plugin>
+
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-assembly-plugin</artifactId>
+                    <version>${maven.assembly.plugin.version}</version>
+                </plugin>
+
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-antrun-plugin</artifactId>
+                    <version>${maven.antrun.plugin.version}</version>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>${maven.compiler.plugin.version}</version>
             </plugin>
 
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
-                <version>${maven.surefire.plugin.version}</version>
             </plugin>
 
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-source-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>attach-sources</id>
-                        <goals>
-                            <goal>jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
             </plugin>
 
             <plugin>
                 <groupId>org.apache.rat</groupId>
                 <artifactId>apache-rat-plugin</artifactId>
-                <version>${apache.rat.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>check-licenses</id>
-                        <phase>validate</phase>
-                        <goals>
-                            <goal>check</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <excludes>
-                        <exclude>README.md</exclude>
-                        <exclude>DEVNOTES.md</exclude>
-                        <exclude>docs/assets/images/**</exclude>
-                        <exclude>docs/assets/js/anchor.min.js
-                        </exclude><!-- Distributed under the MIT license. The 
original license header is badly formatted. -->
-                    </excludes>
-                </configuration>
             </plugin>
         </plugins>
     </build>

Reply via email to