maven-verifier-plugin似乎很有用,但示例 verifications.xml:
<verifications><files>
<file>
<location>src/main/resources/file1.txt</location>
</file>
<file>
<location>src/main/resources/file2.txt</location>
<contains>aaaabbbb</contains>
</file>
<file>
<location>src/main/resources/file3.txt</location>
<exists>false</exists>
</file>
太简单了。我想在存档(例如,jar 或 zip)文件中指定一个位置。我怎样才能做到这一点?提前致谢!