Maven Packaging jar, how to specify the directory of configuration resource files

problem description

I use maven to package a project for jar, using maven-assembly-plugin,maven-jar-plugin two plug-ins
where
maven-assembly-plugin puts dependent libraries under the lib directory, configuration resource files under config directory
maven-jar-plugin specifies dependent libraries under lib
but I don"t know how to specify the directory of configuration files
so that I can only put configuration files in jar directory

now.

excuse me, how should I configure to specify the directory of the configuration file?
Thank you

Jul.04,2021

the problem has been solved
add configuration under the plug-in maven-jar-plugin


pom.xml project resources


     <build>

        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>**/*.xml</include>
                    <include>**/*.properties</include>
                </includes>
            </resource>
        </resources>
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32dac-403d5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32dac-403d5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?