Author: richard.opalka(a)jboss.com
Date: 2011-03-03 07:21:33 -0500 (Thu, 03 Mar 2011)
New Revision: 13836
Added:
stack/native/branches/ropalka/modules/core/src/main/resources/jbossws-native-config-as7.xml
Modified:
stack/native/branches/ropalka/modules/core/pom.xml
stack/native/branches/ropalka/modules/core/src/main/scripts/antrun-beans-config.xml
stack/native/branches/ropalka/modules/resources/pom.xml
Log:
[JBWS-3206] Adding deployment aspect conf file for AS7
Modified: stack/native/branches/ropalka/modules/core/pom.xml
===================================================================
--- stack/native/branches/ropalka/modules/core/pom.xml 2011-03-03 10:55:48 UTC (rev
13835)
+++ stack/native/branches/ropalka/modules/core/pom.xml 2011-03-03 12:21:33 UTC (rev
13836)
@@ -194,6 +194,7 @@
</execution>
<execution>
<id>copy-dependencies</id>
+ <phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
</goals>
@@ -216,6 +217,7 @@
<!--
<execution>
<id>copy-dependencies</id>
+ <phase>prepare-package</phase>
<goals>
<goal>unpack</goal>
</goals>
@@ -242,7 +244,7 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
- <phase>package</phase>
+ <phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
Added:
stack/native/branches/ropalka/modules/core/src/main/resources/jbossws-native-config-as7.xml
===================================================================
---
stack/native/branches/ropalka/modules/core/src/main/resources/jbossws-native-config-as7.xml
(rev 0)
+++
stack/native/branches/ropalka/modules/core/src/main/resources/jbossws-native-config-as7.xml 2011-03-03
12:21:33 UTC (rev 13836)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ ~ JBoss, Home of Professional Open Source.
+ ~ Copyright 2011, Red Hat, Inc., and individual contributors
+ ~ as indicated by the @author tags. See the copyright.txt file in the
+ ~ distribution for a full listing of individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ -->
+
+<deploymentAspects xmlns="urn:jboss:ws:deployment:aspects:1.0">
+
+ <deploymentAspect
class="org.jboss.wsf.framework.deployment.ContextPropertiesDeploymentAspect">
+ <property name="provides">ContextProperties,
StackDescriptor</property>
+ <property name="contextProperties">
+ <map keyClass="java.lang.String"
valueClass="java.lang.String">
+ <entry>
+ <key>stack.transport.class</key>
+ <value>org.jboss.wsf.stack.jbws.EndpointServlet</value>
+ </entry>
+ </map>
+ </property>
+ </deploymentAspect>
+
+ <deploymentAspect
class="org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect">
+ <property name="requires">UnifiedMetaDataModel</property>
+ <property name="provides">InitializedMetaDataModel</property>
+ </deploymentAspect>
+
+ <deploymentAspect
class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
+ <property name="requires">ContainerMetaData</property>
+ <property name="provides">StackEndpointHandler</property>
+ </deploymentAspect>
+
+ <deploymentAspect
class="org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect">
+ <property name="requires">UnifiedMetaDataModel,
JAXBIntros</property>
+ <property name="provides">PublishedContract</property>
+ </deploymentAspect>
+
+ <deploymentAspect
class="org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect">
+ <property name="requires">UnifiedMetaDataModel</property>
+ </deploymentAspect>
+
+ <deploymentAspect
class="org.jboss.ws.extensions.wsrm.server.RMDeploymentAspect">
+ <property name="requires">StackEndpointHandler,
UnifiedMetaDataModel</property>
+ </deploymentAspect>
+
+ <deploymentAspect
class="org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect">
+ <property name="requires">ContainerMetaData, URLPattern,
EndpointAddress, VFSRoot, JAXBIntros</property>
+ <property name="provides">UnifiedMetaDataModel</property>
+ </deploymentAspect>
+
+ <deploymentAspect
class="org.jboss.wsf.framework.deployment.JAXBIntroDeploymentAspect">
+ <property name="provides">JAXBIntros</property>
+ </deploymentAspect>
+
+ <!--
+
+ <deploymentAspect
class="org.jboss.wsf.framework.deployment.EndpointRecordProcessorDeploymentAspect">
+ <property name="mbeanServer"><inject
bean="WSMBeanServerLocator"
property="mbeanServer"/></property>
+ <property name="requires">RegisteredEndpoint</property>
+ <property name="provides">EndpointRecordProcessors</property>
+ <property name="processors">
+ <list class="java.util.ArrayList"
elementClass="org.jboss.wsf.spi.management.recording.RecordProcessor">
+ <inject bean="WSMemoryBufferRecorder"/>
+ <inject bean="WSLogRecorder"/>
+ </list>
+ </property>
+ </deploymentAspect>
+
+ <deploymentAspect
class="org.jboss.wsf.stack.jbws.EventingDeploymentAspect">
+ <property name="requires">UnifiedMetaDataModel</property>
+ </deploymentAspect>
+
+ -->
+
+</deploymentAspects>
Modified:
stack/native/branches/ropalka/modules/core/src/main/scripts/antrun-beans-config.xml
===================================================================
---
stack/native/branches/ropalka/modules/core/src/main/scripts/antrun-beans-config.xml 2011-03-03
10:55:48 UTC (rev 13835)
+++
stack/native/branches/ropalka/modules/core/src/main/scripts/antrun-beans-config.xml 2011-03-03
12:21:33 UTC (rev 13836)
@@ -26,6 +26,11 @@
tofile="${dest.dir}/jbossws-jboss601/jbossws.beans/META-INF/stack-specific-jboss-beans.xml"
/>
+ <copy
+ file="${src.dir}/jbossws-native-config-as7.xml"
+
tofile="${dest.dir}/jbossws-jboss700/jbossws.beans/META-INF/stack-specific-deployment-aspects.xml"
+ />
+
</target>
</project>
Modified: stack/native/branches/ropalka/modules/resources/pom.xml
===================================================================
--- stack/native/branches/ropalka/modules/resources/pom.xml 2011-03-03 10:55:48 UTC (rev
13835)
+++ stack/native/branches/ropalka/modules/resources/pom.xml 2011-03-03 12:21:33 UTC (rev
13836)
@@ -20,7 +20,7 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
- <phase>package</phase>
+ <phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
@@ -34,6 +34,30 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>all</id>
+ <goals><goal>jar</goal></goals>
+ <phase>package</phase>
+ <configuration>
+ <excludes>
+ <exclude>**/jbossws-jboss700/**</exclude>
+ </excludes>
+ </configuration>
+ </execution>
+ <execution>
+ <id>jboss700</id>
+ <goals><goal>jar</goal></goals>
+ <phase>package</phase>
+ <configuration>
+ <classifier>jboss700</classifier>
+
<classesDirectory>${project.build.directory}/classes/resources/jbossws-jboss700/jbossws.beans</classesDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>