当前位置: 首页 > 工具软件 > LibreSource > 使用案例 >

idea 打包lib里的文件到jar里的配置

姬弘文
2023-12-01
<build>
    <finalName>com.oracle7</finalName>
    <resources>
        <resource>
            <directory>src/main/resources</directory>
            <includes>
                <include>**/*.yml</include>
                <include>**/*.xml</include>
                <include>**/*.vm</include>
            </includes>
            <filtering>true</filtering>
        </resource>
        <resource>
            <directory>src/main/java</directory>
            <includes>
                <include>**/*.xml</include>
            </includes>
            <filtering>true</filtering>
        </resource>
        <resource>
            <directory>src/main/lib</directory>
            <includes>
                <include>**/**</include>
            </includes>
            <filtering>true</filtering>
        </resource>
    </resources>
</build>
 类似资料: