question: public static boolean isM2EMavenContainer ( IRuntimeClasspathEntry entryCur ) { return entryCur . getType ( ) == IRuntimeClasspathEntry . CONTAINER && ( ( MAVEN_CONTAINER_ID . equals ( entryCur . getVariableName ( ) ) || NEW_MAVEN_CONTAINER_ID . equals ( entryCur . getVariableName ( ) ) ) ) ; }
target:  Sometimes for M2E , if you set package type as war , it will load some dependency to WEB App Container. Here the method is actaully