刚刚接触IntelliJ Idea.我有maven项目,几乎没有生成源java文件.当我导入该项目时,想法投诉有关生成的源文件丢失但我可以看到这些文件target/generated-sources.如何在类路径中添加这些文件.
我需要创建 2 个 Maven 配置文件,可以在其中设置两个不同的系统属性。这些配置文件仅用于设置系统属性,与任何插件无关。
喜欢
<profile>
<id> profile1 to set system property 1</id>
.... set system property1
</profile>
<profile>
<id> profile2 to set system property 2</id>
.... set system property2
</profile>
Run Code Online (Sandbox Code Playgroud)