Closed GoogleCodeExporter closed 9 years ago
Hi Daniele,
any news on this issue? Have you tried to relax your eclipse xsd schema
validations (at least for jetty-related configuration), if possible at all?
I'm not sure if Maven can help here, I'm afraid this issue is something you can
only solve with Eclipse settings.
Will mark the issue as Enhancement and (hopefully soon) we will document a way
in the wiki (or docs) to get rid of the annoying red mark.
Let me know your thoughts.
Thanks!
Original comment by mauri...@session.it
on 4 Apr 2012 at 7:38
Hi Maurizio,
apparently this is an issue with many maven projects and Eclipse.
I don't know if this should somewhat be handled by the maven eclipse plugin or
by eclipse itself.
I can tell you what I did:
1. Eclipse Preferences
2. Validation
3. Scroll down to XML Validator
4. Click on the three dots button
5. Select Exclude Group
6. Click on Add Rule
7. Choose project Nature
8. Maven Nature - org.eclipse.m2e.core.maven2Nature
I don't like the workaround because Eclipse is not warning me anymore if I do
not close an XML tag by mistake.
The syntax highlighter helps a little on that.
Autocompletion (if DTD/XSD has been set) still works.
Actually I could have completely ignored the message: I can compile from
command line and I always do that actually.
Furthermore there are other errors that eclipse keeps popping up on the target/
directory even if I tell it that the folder is derived.
So I learned to live on with those errors, sometimes when I'm bothered by them
I open the Markers view, select them all and right-click-delete them.
They go away until the next time Eclipse compile, I found no way to tell
eclipse to remember I don't want it to show me those marks.
hopefully I've been helpful sharing my though.
Regards,
Daniele
Original comment by daniele....@gmail.com
on 5 Apr 2012 at 8:47
Reported your comments here -
https://wiki.alfresco.com/wiki/Maven_For_Dummies#Eclipse
Marking issue as Won't fix, but we can definitely (in the future) open a new
issue to improve integration with Eclipse.
Original comment by mauri...@session.it
on 5 Apr 2012 at 3:38
Hi Maurizio,
I've ready the wiki.
Actually the validation issue is in the jetty xml with maven properties in it.
the pom.xml is fine. ;)
Original comment by daniele....@gmail.com
on 6 Apr 2012 at 1:40
You're right, fixed documentation. feel free to re-comment or directly adjust
it (my English sometimes is not 100% correct :-)
Original comment by mauri...@session.it
on 6 Apr 2012 at 1:46
Original issue reported on code.google.com by
daniele....@gmail.com
on 13 Feb 2012 at 8:34