Author: objectiser
Date: 2010-12-03 12:51:14 -0500 (Fri, 03 Dec 2010)
New Revision: 1180
Added:
dsp/trunk/samples/deployer-assembly/
dsp/trunk/samples/deployer-assembly/pom.xml
dsp/trunk/samples/deployer-assembly/src/
dsp/trunk/samples/deployer-assembly/src/main/
dsp/trunk/samples/deployer-assembly/src/main/assembly/
dsp/trunk/samples/deployer-assembly/src/main/assembly/war.xml
dsp/trunk/samples/deployer-assembly/src/main/resources/
dsp/trunk/samples/deployer-assembly/src/main/resources/META-INF/
dsp/trunk/samples/deployer-assembly/src/main/resources/META-INF/MANIFEST.MF
dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/
dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/classes/
dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/classes/dsp.properties
dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/lib/
dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/web.xml
dsp/trunk/samples/deployer-assembly/src/main/resources/files/
dsp/trunk/samples/deployer-assembly/src/main/resources/files/placeholder.txt
Log:
Add deployer-assembly
Added: dsp/trunk/samples/deployer-assembly/pom.xml
===================================================================
--- dsp/trunk/samples/deployer-assembly/pom.xml (rev 0)
+++ dsp/trunk/samples/deployer-assembly/pom.xml 2010-12-03 17:51:14 UTC (rev 1180)
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.soa.dsp.samples</groupId>
+ <artifactId>dsp-example-deployer-assembly</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+ <name>SOA::DSP::Samples::Deployer-Assembly</name>
+
+ <parent>
+ <groupId>org.jboss.soa.dsp</groupId>
+ <artifactId>samples</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.soa.dsp</groupId>
+ <artifactId>dsp-api</artifactId>
+ <version>${dsp.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.soa.dsp</groupId>
+ <artifactId>dsp-jboss</artifactId>
+ <version>${dsp.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.soa.dsp</groupId>
+ <artifactId>dsp-tomcat</artifactId>
+ <version>${dsp.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.soa.dsp.samples</groupId>
+ <artifactId>dsp-example-deployer</artifactId>
+ <version>${dsp.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-fileupload</groupId>
+ <artifactId>commons-fileupload</artifactId>
+ <version>1.2.2</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>1.3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>wsdl4j</groupId>
+ <artifactId>wsdl4j</artifactId>
+ <version>${wsdl4j.version}</version>
+ <!-- scope>provided</scope -->
+ </dependency>
+ <dependency>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ <version>${javassist.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>distribution-package</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>dsp-example-deployer</finalName>
+ <appendAssemblyId>false</appendAssemblyId>
+ <descriptors>
+
<descriptor>src/main/assembly/war.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ <archiverConfig>
+ <duplicateBehavior>skip</duplicateBehavior>
+ </archiverConfig>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Added: dsp/trunk/samples/deployer-assembly/src/main/assembly/war.xml
===================================================================
--- dsp/trunk/samples/deployer-assembly/src/main/assembly/war.xml
(rev 0)
+++ dsp/trunk/samples/deployer-assembly/src/main/assembly/war.xml 2010-12-03 17:51:14 UTC
(rev 1180)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <!-- id typically identifies the "type" (src vs bin etc) of the assembly
-->
+ <id>bin</id>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <formats>
+ <format>war</format>
+ </formats>
+
+ <fileSets>
+
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>/</outputDirectory>
+ </fileSet>
+
+ </fileSets>
+
+ <dependencySets>
+
+ <dependencySet>
+ <outputDirectory>/WEB-INF/lib</outputDirectory>
+ <includes>
+ <include>commons-fileupload:commons-fileupload</include>
+ <include>commons-io:commons-io</include>
+ <include>javassist:javassist</include>
+ <include>wsdl4j:wsdl4j</include>
+ <include>org.jboss.soa.dsp:dsp-api</include>
+ <include>org.jboss.soa.dsp:dsp-jboss</include>
+ <include>org.jboss.soa.dsp:dsp-tomcat</include>
+ <include>org.jboss.soa.dsp.samples:dsp-example-deployer</include>
+ </includes>
+ </dependencySet>
+
+ </dependencySets>
+
+</assembly>
\ No newline at end of file
Added: dsp/trunk/samples/deployer-assembly/src/main/resources/META-INF/MANIFEST.MF
===================================================================
--- dsp/trunk/samples/deployer-assembly/src/main/resources/META-INF/MANIFEST.MF
(rev 0)
+++ dsp/trunk/samples/deployer-assembly/src/main/resources/META-INF/MANIFEST.MF 2010-12-03
17:51:14 UTC (rev 1180)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added:
dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/classes/dsp.properties
===================================================================
--- dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/classes/dsp.properties
(rev 0)
+++
dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/classes/dsp.properties 2010-12-03
17:51:14 UTC (rev 1180)
@@ -0,0 +1,5 @@
+dsp.server.config.locator = org.jboss.soa.dsp.server.tomcat.TomcatServerConfigLocator
+dsp.service.deployer = org.jboss.soa.dsp.deployer.tomcat.TomcatServiceDeployer
+
+#dsp.server.config.locator = org.jboss.soa.dsp.server.jboss.ServerConfigFactory
+#dsp.service.deployer = org.jboss.soa.dsp.deployer.jboss.JBossServiceDeployer
Added: dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/web.xml
===================================================================
--- dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/web.xml
(rev 0)
+++ dsp/trunk/samples/deployer-assembly/src/main/resources/WEB-INF/web.xml 2010-12-03
17:51:14 UTC (rev 1180)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID"
version="2.5">
+ <display-name>DSPExample</display-name>
+ <welcome-file-list>
+ <welcome-file>WelcomeServlet</welcome-file>
+ </welcome-file-list>
+ <servlet>
+ <description></description>
+ <display-name>WelcomeServlet</display-name>
+ <servlet-name>WelcomeServlet</servlet-name>
+ <servlet-class>org.jboss.soa.dsp.example.WelcomeServlet</servlet-class>
+ </servlet>
+ <servlet>
+ <description></description>
+ <display-name>DeployServlet</display-name>
+ <servlet-name>DeployServlet</servlet-name>
+ <servlet-class>org.jboss.soa.dsp.example.DeployServlet</servlet-class>
+ </servlet>
+ <servlet>
+ <description></description>
+ <display-name>UndeployServlet</display-name>
+ <servlet-name>UndeployServlet</servlet-name>
+ <servlet-class>org.jboss.soa.dsp.example.UndeployServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>WelcomeServlet</servlet-name>
+ <url-pattern>/WelcomeServlet</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>DeployServlet</servlet-name>
+ <url-pattern>/DeployServlet</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>UndeployServlet</servlet-name>
+ <url-pattern>/UndeployServlet</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
Added: dsp/trunk/samples/deployer-assembly/src/main/resources/files/placeholder.txt
===================================================================
--- dsp/trunk/samples/deployer-assembly/src/main/resources/files/placeholder.txt
(rev 0)
+++
dsp/trunk/samples/deployer-assembly/src/main/resources/files/placeholder.txt 2010-12-03
17:51:14 UTC (rev 1180)
@@ -0,0 +1 @@
+Placeholder to cause 'files' folder to be included in war.
\ No newline at end of file