From 10c228d8d9a5f4e1f826b616d0b0ba7432c15c63 Mon Sep 17 00:00:00 2001 From: Marius Bogoevici Date: Sun, 10 Oct 2010 19:42:57 -0400 Subject: [PATCH] updated the script to match the current trunk The sharing of Weld in JBoss AS currenly requires the JSF classes to be attached to the deployment rather than being shared. To that end, the original weld-core jar is split in two different parts while the JBoss AS is built. This fix replicates the process for the Weld build. --- jboss-as/pom.xml | 131 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 123 insertions(+), 8 deletions(-) diff --git a/jboss-as/pom.xml b/jboss-as/pom.xml index b62672f775a..1613231763d 100644 --- a/jboss-as/pom.xml +++ b/jboss-as/pom.xml @@ -61,6 +61,99 @@ + + + + org.apache.maven.plugins + maven-shade-plugin + + + core-no-jsf + package + + shade + + + true + weld-core-no-jsf + target/weld-core-no-jsf.jar + + + org.jboss.weld:weld-core + + + + + org.jboss.weld:weld-core + + org/jboss/weld/** + + + org/jboss/weld/jsf/ConversationAwareViewHandler* + org/jboss/weld/jsf/FacesUrlTransformer* + org/jboss/weld/jsf/JsfHelper* + org/jboss/weld/jsf/WeldPhaseListener* + org/jboss/weld/servlet/ConversationPropagationFilter* + + + + + + + Weld Implementation (JSF utilities excluded) + Seam Framework + ${project.version} + + + + + + + core-jsf-only + package + + shade + + + true + weld-core-jsf-only + jsf-only + target/weld-core-jsf-only.jar + + + org.jboss.weld:weld-core + + + + + org.jboss.weld:weld-core + + org/jboss/weld/jsf/ConversationAwareViewHandler* + org/jboss/weld/jsf/FacesUrlTransformer* + org/jboss/weld/jsf/JsfHelper* + org/jboss/weld/jsf/WeldPhaseListener* + org/jboss/weld/servlet/ConversationPropagationFilter* + + + + + + + Weld Implementation (JSF utilities only) + Seam Framework + ${project.version} + + + + + + + org.apache.maven.plugins maven-antrun-plugin @@ -79,27 +172,49 @@ + + + + + - - + + - + - - + + + + + + + + + + + + + + + - + @@ -114,7 +229,7 @@ - + @@ -122,7 +237,7 @@ - +