-
1 votesanswersviews
工件不在本地存储库错误中
我正在尝试使用netbeans创建一个appfuse项目 . 我已经添加到pom文件中: mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-struts -DremoteRepositories=http://static.appfuse.org/... -
5 votesanswersviews
使用Maven的dev和prod的不同配置文件
我必须使用不同的log4j.xml和属性文件,这些文件将在Dev和Production中使用 . 我正在使用maven进行建筑和包装 . 有没有办法让maven在POM中通过可配置的maven属性选择dev或prod,或者传递一个运行时变量? 谢谢,阿比