Author: snjeza
Date: 2010-01-31 18:05:57 -0500 (Sun, 31 Jan 2010)
New Revision: 20040
Modified:
trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/maven/seam/MavenSeamActivator.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5767 JBoss Maven JSF configurator unnecessarily
adds JSF Faces servlet mapping
Modified:
trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/maven/seam/MavenSeamActivator.java
===================================================================
---
trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/maven/seam/MavenSeamActivator.java 2010-01-31
22:48:35 UTC (rev 20039)
+++
trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/maven/seam/MavenSeamActivator.java 2010-01-31
23:05:57 UTC (rev 20040)
@@ -920,6 +920,9 @@
ILibraryProvider provider =
LibraryProviderFramework.getProvider("jsf-no-op-library-provider");
//$NON-NLS-1$
libraryDelegate.setLibraryProvider(provider);
config.setProperty(IJSFFacetInstallDataModelProperties.LIBRARY_PROVIDER_DELEGATE,
libraryDelegate);
+ config.setProperty(IJSFFacetInstallDataModelProperties.SERVLET_NAME, "");
+ config.setProperty(IJSFFacetInstallDataModelProperties.SERVLET_URL_PATTERNS, new
String[0]);
+
return config;
}
}