diff --git a/README.md b/README.md
index a8ff61e98..74b26537b 100644
--- a/README.md
+++ b/README.md
@@ -60,21 +60,11 @@ mvn -Dmaven.test.skip=true install
```
This will create the jars in the "target" directory of the workspace; this will also skip the unit tests.
-To download the dependencies, execute this:
+To package everything up (tarball/zip):
```
-mvn dependency:copy-dependencies
+mvn -Dmaven.test.skip=true clean package -P assemble
```
-This will download all the dependencies into the "target" directory under "dependency". The next command will package everything up:
-```
-mvn -Dmaven.test.skip=true -Dmaven.buildNumber.doUpdate=false package
-```
-Right now, this will skip the demos directory but I'm working on a fix. The xml nodes to copy the demos are in the
-```
-trunk/src/main/server/assembly/server.xml
-```
-and may be uncommented for a package build, if you have the entire svn tree checked out.
-
-To manually copy the "demos", go to http://red5.googlecode.com/svn/flash/trunk/deploy/ and collect all the files therein. Create a directory in your red5 install at this location
+To manually copy the "demos" should they not exist in the packages, go to http://red5.googlecode.com/svn/flash/trunk/deploy/ and collect all the files therein. Create a directory in your red5 install at this location
```
red5/webapps/root/demos
```
diff --git a/pom.xml b/pom.xml
index 825df2e71..2013646ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -206,26 +206,6 @@
-
- maven-dependency-plugin
- 2.8
-
-
- copy-dependencies
- package
-
- copy-dependencies
-
-
- ${project.build.directory}/lib
- false
- false
- true
- true
-
-
-
- maven-project-info-reports-plugin2.4
@@ -614,6 +594,25 @@
assemble
+
+ maven-dependency-plugin
+ 2.8
+
+
+ copy-dependencies
+ package
+
+ copy-dependencies
+
+
+ ${project.build.directory}/lib
+ compile
+ test
+ false
+
+
+
+ maven-assembly-plugin2.4
@@ -633,7 +632,7 @@
-
+
diff --git a/src/main/assembly/server.xml b/src/main/assembly/server.xml
index 8af210374..e6857f2d6 100644
--- a/src/main/assembly/server.xml
+++ b/src/main/assembly/server.xml
@@ -17,14 +17,7 @@
/red5-service.jar
-
-
+
@@ -41,29 +34,18 @@
*.jar
- jboss-servlet-api_3.0_spec-1.0.2.Final.jar
+ jboss-servlet-api_3.0_spec-1.0.2.Final.jarantlr-2.7.7.jar
+ asm-analysis-4.0.jar
+ asm-commons-4.0.jar
+ asm-tree-4.0.jar
+ asm-util-4.0.jarhamcrest-core-1.1.jarjunit-4.10.jargroboutils-core-5.jarred5-service-${red5-service.version}.jar
-
- ${project.build.directory}/dependency
- /lib
-
- *.jar
-
-
- jboss-servlet-api_3.0_spec-1.0.2.Final.jar
- antlr-2.7.7.jar
- hamcrest-core-1.1.jar
- junit-4.10.jar
- groboutils-core-5.jar
- red5-service-${red5-service.version}.jar
-
- ${project.basedir}/src/main/server/
@@ -90,6 +72,9 @@
*.globals*.jmx
+
+ build_standalone.properties
+ ${project.basedir}/src/main/server/plugins
@@ -127,10 +112,9 @@
*.properties
-
-
- ../../../flash/trunk/deploy
+ ${project.basedir}/src/main/server/webapps/root/demos/webapps/root/demos*.html
@@ -141,14 +125,13 @@
- ../../../flash/trunk/deploy/assets
+ ${project.basedir}/src/main/server/webapps/root/demos/assets/webapps/root/demos/assets*.js*.swf
- -->
${project.basedir}/src/main/server/webapps/installer