如何更改maven构建目录? [英] How to change maven build directory?

查看:137
本文介绍了如何更改maven构建目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个maven项目,我用Netbeans编译。我有一种方法来指定一个不同的编译目录,编译后的二进制代码在编译后复制?

I have a maven project which I compile with Netbeans. I there a way to specify a different build directory where the compiled binary code is copied after compilation?

推荐答案

<project>
  <build>
    <outputDirectory>target/classes</outputDirectory>
  </build>
</project>

这篇关于如何更改maven构建目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆