-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
validate element in plugin <configuration> #30
validate element in plugin <configuration> #30
Conversation
lemminx-maven/src/main/java/org/eclipse/lemminx/maven/MavenDiagnosticParticipant.java
Outdated
Show resolved
Hide resolved
lemminx-maven/src/main/java/org/eclipse/lemminx/maven/MavenPluginUtils.java
Outdated
Show resolved
Hide resolved
lemminx-maven/src/main/java/org/eclipse/lemminx/maven/MavenPluginUtils.java
Outdated
Show resolved
Hide resolved
This PR still needs a bit of work although it's functional |
6dcd346
to
f5d144c
Compare
lemminx-maven/src/main/java/org/eclipse/lemminx/maven/MavenPluginUtils.java
Outdated
Show resolved
Hide resolved
263e29b
to
6a16aa3
Compare
lemminx-maven/src/main/java/org/eclipse/lemminx/maven/PluginValidator.java
Show resolved
Hide resolved
6a16aa3
to
98b44e0
Compare
To reduce code duplication in |
lemminx-maven/src/test/java/org/eclipse/lemminx/maven/test/LocalPluginTest.java
Outdated
Show resolved
Hide resolved
lemminx-maven/src/test/java/org/eclipse/lemminx/maven/test/LocalPluginTest.java
Outdated
Show resolved
Hide resolved
5cfdfcb
to
e052083
Compare
lemminx-maven/src/test/java/org/eclipse/lemminx/maven/test/LocalPluginTest.java
Outdated
Show resolved
Hide resolved
e052083
to
456c914
Compare
} | ||
|
||
@Override | ||
public <T> T getComponent(Class clazz) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mickaelistria I think this patch is good, except I dislike the fact that I left some methods unimplemented. It should be ok for now, but calling these functions could lead to problems for DiagnosticRequest's.
lemminx-maven/src/main/java/org/eclipse/lemminx/maven/PluginValidator.java
Show resolved
Hide resolved
Fix eclipse-lemminx#9 Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
456c914
to
f955e33
Compare
@mickaelistria I'm going to merge this since it's now mentioned in the README ;) I think it should be good enough for now, although some things in the MavenDiagnosticParticipant could be done more elegantly in the future. |
Fix #9
Signed-off-by: Andrew Obuchowicz aobuchow@redhat.com