Greg:

    I think we have to use this code because our project has several types:
1)its a SDK project that Eclipse can find its sdk base on location. 2)its
Maven project that its have maven nature and doesn't have sdk
configuration. 3)it doesn't have maven nature and it also doesn't have sdk
configuration. So we have to make sure that project isn't valid SDK project
and maven project, then we can add the sdk not set marker in marker view.

    May be there a another method to check this?




On Tue, Dec 24, 2013 at 1:23 AM, Gregory Amerson
<notifications@github.com>wrote:

> In
> tools/plugins/com.liferay.ide.project.core/src/com/liferay/ide/project/core/PluginsSDKProjectRuntimeValidator.java:
>
> > @@ -73,6 +78,12 @@ public void validate( IFacetedProject fproj ) throws CoreException
> >                  }
> >              }
> >          }
> > +        else if ( !( proj.hasNature( "org.eclipse.m2e.core..maven2Nature" ) || proj.getFile( "pom.xml" ).exists() ) )
>
> We can't check for maven nature here since we are in project.core. I'd
> like to keep maven logic out of this class.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/gamerson/liferay-ide/pull/371/files#r8530586>
> .
>