From 5b833efc1ba456b64450fb27ac629ab0866190f1 Mon Sep 17 00:00:00 2001 From: "Christopher L. Shannon (cshannon)" Date: Fri, 7 Oct 2016 10:07:56 -0400 Subject: [PATCH 1/2] NO-JIRA: Exclude xml-apis test dependency This dependency is not needed as the api is part of the JDK and it is causing issues when m2eclipse --- artemis-server/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/artemis-server/pom.xml b/artemis-server/pom.xml index d9eaeadf6a..8cabc983d6 100644 --- a/artemis-server/pom.xml +++ b/artemis-server/pom.xml @@ -98,6 +98,12 @@ apacheds-server-integ ${directory-version} test + + + xml-apis + xml-apis + + org.apache.directory.server From 39532d72451fc2d058145c8efe097a332b1bc9e3 Mon Sep 17 00:00:00 2001 From: "Christopher L. Shannon (cshannon)" Date: Fri, 7 Oct 2016 10:13:30 -0400 Subject: [PATCH 2/2] https://issues.apache.org/jira/browse/ARTEMIS-730 Adding instructions for adding the proper schemas to the Eclipse XML Catalog --- docs/hacking-guide/en/ide.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/hacking-guide/en/ide.md b/docs/hacking-guide/en/ide.md index 29f05ec1b9..3831c78515 100644 --- a/docs/hacking-guide/en/ide.md +++ b/docs/hacking-guide/en/ide.md @@ -78,6 +78,13 @@ It is strongly recommended to turn off the auto-updating of .gitignore files by generates new .gitignore files in many directories that are not needed due to the top level .gitignore file. To turn it off, go to Preferences->Team->Git->Projects and deselect the "Automatically ignore derived resources" checkbox. +### Schema setup +For proper schema validation you can add the Artemis schemas to your Eclipse XML Catalog + +* Open: Window -> Preferences -> XML -> XML Catalog +* Select Add -> Workspace -> Navigate to artemis-server and select src/main/resources/schema/artemis-server.xsd -> click OK +* Repeat the above steps and add src/main/resources/schema/artemis-configuration.xsd + ### Checkstyle setup You can import the Artemis Checkstyle template into eclipse to do Checkstyle validation. As a prerequisite you need to make sure the Checkstyle plugin is installed into Eclipse which you can get form the Eclipse Marketplace. You also will need to configure Sevntu-Checkstyle. See http://sevntu-checkstyle.github.io/sevntu.checkstyle/ for instructions. Then to configure the template: