此内容没有您所选择的语言版本。
6.2.6. Reference
6.2.6.1. JBoss Logging Tools Maven Configuration 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
To build a Maven project that uses JBoss Logging Tools for internationalization you must make the following changes to the project's configuration in the
pom.xml file.
Refer to the
logging-tools quick start for an example of a complete working pom.xml file.
- JBoss Maven Repository must be enabled for the project. Refer to Section 2.3.2, “Configure the JBoss EAP 6 Maven Repository Using the Maven Settings”.
- The Maven dependencies for
jboss-loggingandjboss-logging-processormust be added. Both of dependencies are available in JBoss EAP 6 so the scope element of each can be set toprovidedas shown.Copy to Clipboard Copied! Toggle word wrap Toggle overflow - The
maven-compiler-pluginmust be at least version2.2and be configured for target and generated sources of1.6.Copy to Clipboard Copied! Toggle word wrap Toggle overflow