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

snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-shaded.git

commit de4d224c5d57e306adbe5c6be55df83783fa1d90
Author: Sergey Nuyanzin <snuyan...@gmail.com>
AuthorDate: Thu Jan 25 09:53:01 2024 +0100

    [hotfix] Move LicenseChecker configuration under execution
---
 .github/workflows/ci.yml | 2 +-
 pom.xml                  | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b7efe30..53c71a2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -51,6 +51,6 @@ jobs:
 
       - name: Check licensing
         run: |
-          mvn ${MVN_COMMON_OPTIONS} exec:java@check-licensing -N \
+          mvn ${MVN_COMMON_OPTIONS} exec:java@check-license -N \
             -Dexec.args="${{ env.MVN_BUILD_OUTPUT_FILE }} $(pwd) ${{ 
env.MVN_VALIDATION_DIR }}" \
             -Dlog4j.configurationFile=file://$(pwd)/tools/ci/log4j.properties
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 0c6f67f..310a4b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -342,10 +342,12 @@ under the License.
                         <goals>
                             <goal>java</goal>
                         </goals>
+                        <configuration>
+                            
<mainClass>org.apache.flink.tools.ci.licensecheck.LicenseChecker</mainClass>
+                        </configuration>
                     </execution>
                 </executions>
                 <configuration>
-                    
<mainClass>org.apache.flink.tools.ci.licensecheck.LicenseChecker</mainClass>
                     <includePluginDependencies>true</includePluginDependencies>
                     
<includeProjectDependencies>false</includeProjectDependencies>
                 </configuration>

Reply via email to