You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ro...@apache.org on 2021/04/06 16:24:38 UTC

[aries] 03/04: flatten poms

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

rotty3000 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/aries.git

commit 746b760644eb4868e74176c078926dd7eafe80d4
Author: Raymond Augé <ro...@apache.org>
AuthorDate: Tue Apr 6 12:10:57 2021 -0400

    flatten poms
    
    Signed-off-by: Raymond Augé <ro...@apache.org>
---
 .gitignore      |  3 ++-
 spi-fly/pom.xml | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index d4c39b8..2114252 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,4 +6,5 @@ velocity.log
 .idea
 *.iml
 .factorypath
-.vscode
\ No newline at end of file
+.vscode
+.flattened-pom.xml
\ No newline at end of file
diff --git a/spi-fly/pom.xml b/spi-fly/pom.xml
index 58b1eae..3b87696 100644
--- a/spi-fly/pom.xml
+++ b/spi-fly/pom.xml
@@ -147,6 +147,30 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-enforcer-plugin</artifactId>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>flatten-maven-plugin</artifactId>
+                <version>1.2.7</version>
+                <configuration>
+                    <flattenMode>oss</flattenMode>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>flatten</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>flatten</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>flatten-clean</id>
+                        <phase>clean</phase>
+                        <goals>
+                            <goal>clean</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>