Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 maven 插件中获取项目的所有配置文件列表?
可不可能是:
MavenEmbedder.readModel(new File("path to pom.xml")).getProfiles();
沃尔特
嗯,这很容易。答案是:是的。:-)