You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/07/21 09:29:43 UTC

[camel] branch main updated: Do not do license check and JPA instrumentation during release build

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

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


The following commit(s) were added to refs/heads/main by this push:
     new b9e390f39e1 Do not do license check and JPA instrumentation during release build
b9e390f39e1 is described below

commit b9e390f39e130a7b85e9cd290732c1a9869419f8
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Jul 21 11:27:57 2023 +0200

    Do not do license check and JPA instrumentation during release build
---
 pom.xml | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 888740729d8..1ba3c53486a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -518,7 +518,8 @@
                         <preparationGoals>clean install</preparationGoals>
                         <goals>deploy</goals>
                         <!-- The profile we want to use when doing the release -->
-                        <arguments>-Prelease,sourcecheck,hibernate</arguments>
+                        <!-- do not run full -->
+                        <arguments>-Prelease,-full</arguments>
                         <autoVersionSubmodules>true</autoVersionSubmodules>
                     </configuration>
                 </plugin>
@@ -723,6 +724,32 @@
                             </execution>
                         </executions>
                      </plugin>
+                    <plugin>
+                        <groupId>com.mycila</groupId>
+                        <artifactId>license-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>license-format</id>
+                                <goals>
+                                    <goal>format</goal>
+                                </goals>
+                                <phase>none</phase><!-- No need to even load the plugin during releases -->
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>net.revelc.code.formatter</groupId>
+                        <artifactId>formatter-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>code-format</id>
+                                <goals>
+                                    <goal>format</goal>
+                                </goals>
+                                <phase>none</phase><!-- No need to even load the plugin during releases -->
+                            </execution>
+                        </executions>
+                    </plugin>
                 </plugins>
             </build>
         </profile>