V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
weishao666
V2EX  ›  问与答

Java maven resources 目录的 jar 编译不到 target 目录

  •  
  •   weishao666 · Jan 29, 2023 · 816 views
    This topic created in 1188 days ago, the information mentioned may be changed or developed.

    依赖一个 kotlin 编译出来的 jar 包,我想作为资源文件放在 resource 目录下,但 mvn compile 没有生效,target 目录下的 classes 目录不包含对应的文件 demo

    2 replies    2023-01-29 14:29:46 +08:00
    RedBeanIce
        1
    RedBeanIce  
       Jan 29, 2023 via iPhone
    maven 可能没有把这个文件包含进去,,请百度一下 maven 编译包含 resource 下属文件
    soundlife
        2
    soundlife  
       Jan 29, 2023
    <includeSystemScope>true</includeSystemScope>
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2455 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:14 · PVG 13:14 · LAX 22:14 · JFK 01:14
    ♥ Do have faith in what you're doing.