You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/03/20 15:40:43 UTC

[camel] branch master updated: CAMEL-13331: include flatten plugin in release ...

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

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a8257c  CAMEL-13331: include flatten plugin in release ...
9a8257c is described below

commit 9a8257cec61d702b5ec0ebd4c713d276297a8105
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Wed Mar 20 16:40:08 2019 +0100

    CAMEL-13331: include flatten plugin in release ...
    
    ...and in CI build
---
 Jenkinsfile |  2 +-
 pom.xml     | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index b1778d1..fffa9b7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -46,7 +46,7 @@ pipeline {
                 branch 'master'
             }
             steps {
-                sh "./mvnw $MAVEN_PARAMS -Dmaven.test.skip.exec=true clean deploy"
+                sh "./mvnw $MAVEN_PARAMS -Pdeploy -Dmaven.test.skip.exec=true clean deploy"
             }
         }
 
diff --git a/pom.xml b/pom.xml
index 1696cc9..b7a3e9b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -730,6 +730,32 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>flatten-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>default-cli</id>
+                                <phase>process-resources</phase>
+                                <goals>
+                                    <goal>flatten</goal>
+                                </goals>
+                                <configuration>
+                                    <updatePomFile>true</updatePomFile>
+                                    <pomElements>
+                                        <build>keep</build>
+                                        <dependencyManagement>keep</dependencyManagement>
+                                        <description>keep</description>
+                                        <name>keep</name>
+                                        <parent>expand</parent>
+                                        <pluginManagement>keep</pluginManagement>
+                                        <profiles>remove</profiles>
+                                        <properties>expand</properties>
+                                    </pomElements>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
                 </plugins>
             </build>
         </profile>