cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [cxf] branch 3.1.x-fixes updated: move toolchain stuff to profile
Date Wed, 28 Feb 2018 16:27:49 GMT
This is an automated email from the ASF dual-hosted git repository.

deki pushed a commit to branch 3.1.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.1.x-fixes by this push:
     new a9df9ca  move toolchain stuff to profile
a9df9ca is described below

commit a9df9cae72f3c3c34e339fde5cfec85f61aa500c
Author: Dennis Kieselhorst <mail@dekies.de>
AuthorDate: Wed Feb 28 17:26:56 2018 +0100

    move toolchain stuff to profile
---
 pom.xml | 48 ++++++++++++++++++++++++++++++------------------
 1 file changed, 30 insertions(+), 18 deletions(-)

diff --git a/pom.xml b/pom.xml
index daff950..f5eb1de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -402,6 +402,36 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>toolchain</id>
+            <activation>
+                <property>
+                    <name>env.BUILD_NUMBER</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-toolchains-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>toolchain</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <toolchains>
+                                <jdk>
+                                    <version>${cxf.jdk.version}</version>
+                                </jdk>
+                            </toolchains>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
     <build>
         <defaultGoal>install</defaultGoal>
@@ -679,24 +709,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-toolchains-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>toolchain</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <toolchains>
-                        <jdk>
-                            <version>${cxf.jdk.version}</version>
-                        </jdk>
-                    </toolchains>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
     <reporting>

-- 
To stop receiving notification emails like this one, please contact
deki@apache.org.

Mime
View raw message