IDEA打包java和scala混合項目jar包

1.使用IDEA Artifacts進行打包
1.1項目右鍵,點擊Open Module Settings
圖片.png
1.2點擊Artifacts->JAR->From modules with dependencies...
圖片.png
1.3選擇copy to the output directory and link via manifest,默認目錄
圖片.png
1.4點擊Build->Build Artifacts...
圖片.png
1.5選擇剛剛生成的Artifact->Build
圖片.png
1.6在out目錄看到導出的jar包
圖片.pngui

相關文章
相關標籤/搜索