我有一個NetBeans
Maven化項目Contaning:自動部署上保存的Netbeans企業公司項目使用maven
web項目(
war
)EJB項目(
jar
)父項目
- 個
Maven項目
每次更改後我必須清理的構建Maven項目並運行父項目
卡尼如何配置我的項目自動部署上保存?
配置文件(nb-configuration.xml
)如下:
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<netbeans.compile.on.save>all</netbeans.compile.on.save>
</properties>
</project-shared-configuration>
沒有如何ü解決它 –