You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ib...@apache.org on 2021/07/26 10:58:11 UTC
[ignite-3] branch main updated: IGNITE-15168 Local dependency purge
integrated into build process. (#234)
This is an automated email from the ASF dual-hosted git repository.
ibessonov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 3ee5d20 IGNITE-15168 Local dependency purge integrated into build process. (#234)
3ee5d20 is described below
commit 3ee5d20bafe2e7b686cc033971c8700f59fbe59e
Author: Peter Ivanov <mr...@gmail.com>
AuthorDate: Mon Jul 26 13:58:02 2021 +0300
IGNITE-15168 Local dependency purge integrated into build process. (#234)
---
parent/pom.xml | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/parent/pom.xml b/parent/pom.xml
index c6e3b68..b6b8730 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -96,12 +96,12 @@
<maven.build-helper.plugin.version>3.2.0</maven.build-helper.plugin.version>
<maven.checkstyle.plugin.version>3.1.2</maven.checkstyle.plugin.version>
<maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version>
+ <maven.dependency.plugin.version>3.2.0</maven.dependency.plugin.version>
<maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version>
<maven.failsafe.plugin.version>3.0.0-M5</maven.failsafe.plugin.version>
<maven.flatten.plugin.version>1.2.2</maven.flatten.plugin.version>
<maven.javacc.plugin.version>2.6</maven.javacc.plugin.version>
<maven.resources.plugin.version>3.2.0</maven.resources.plugin.version>
- <maven.dependency.plugin.version>3.1.2</maven.dependency.plugin.version>
<maven.fmpp.plugin.version>1.0</maven.fmpp.plugin.version>
<maven.javadoc.plugin.version>3.2.0</maven.javadoc.plugin.version>
<maven.pmd.plugin.version>3.14.0</maven.pmd.plugin.version>
@@ -1193,6 +1193,30 @@
</bottom>
</configuration>
</plugin>
+
+ <!--
+ Plugin to remove org.apache.ignite.* artifacts from local repository before the build
+ (always clean build with current reactor dependency resolution)
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>purge-local-repository</id>
+ <phase>package</phase>
+ <goals>
+ <goal>purge-local-repository</goal>
+ </goals>
+ <configuration>
+ <manualIncludes>
+ <manualInclude>org.apache.ignite:${project.artifactId}/${project.version}</manualInclude>
+ </manualIncludes>
+ <verbose>true</verbose>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>