Author: snjeza
Date: 2011-04-06 18:06:00 -0400 (Wed, 06 Apr 2011)
New Revision: 30400
Modified:
trunk/maven/plugins/org.jboss.tools.maven.cdi/src/org/jboss/tools/maven/cdi/configurators/CDIProjectConfigurator.java
Log:
JBIDE-8696 If there is CDI facet, Maven CDI Configurator isn't called
Modified:
trunk/maven/plugins/org.jboss.tools.maven.cdi/src/org/jboss/tools/maven/cdi/configurators/CDIProjectConfigurator.java
===================================================================
---
trunk/maven/plugins/org.jboss.tools.maven.cdi/src/org/jboss/tools/maven/cdi/configurators/CDIProjectConfigurator.java 2011-04-06
22:05:22 UTC (rev 30399)
+++
trunk/maven/plugins/org.jboss.tools.maven.cdi/src/org/jboss/tools/maven/cdi/configurators/CDIProjectConfigurator.java 2011-04-06
22:06:00 UTC (rev 30400)
@@ -83,9 +83,8 @@
final IFacetedProject fproj = ProjectFacetsManager.create(project);
if ( (fproj != null) && ("war".equals(packaging) ||
"ejb".equals(packaging)) ) { //$NON-NLS-1$
installWarFacets(fproj, cdiVersion, monitor);
- } else {
- CDIUtil.enableCDI(project, false, new NullProgressMonitor());
}
+ CDIUtil.enableCDI(project, false, new NullProgressMonitor());
}
}