You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/10/11 12:45:28 UTC

[GitHub] [dolphinscheduler] pandong2011 commented on pull request #12310: [fix#12257][Data Quality] Fix no main class set in JAR

pandong2011 commented on PR #12310:
URL: https://github.com/apache/dolphinscheduler/pull/12310#issuecomment-1274632708

   > Quick fix:
   > 
   > 1. find ./ -name 'dolphinscheduler-data-quality-*'
   > 2. and open `vim  dolphinscheduler-data-quality-3.1.0.jar`
   > 3. edit META-INF/MANIFEST.MF
   > 4. add line:  Main-Class: org.apache.dolphinscheduler.data.quality.DataQualityApplication
   
   I don't recommend doing this, because if you rebuild, you have to change this file every time. If you want to use maven, I recommend overwriting shade or jar plug-ins in the pom.xml and adding the corresponding configuration, but this implementation is not readable or maintainable
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org