diff --git a/distro/descriptor.xml b/distro/descriptor.xml
index 475e349..406e9fd 100644
--- a/distro/descriptor.xml
+++ b/distro/descriptor.xml
@@ -2,26 +2,12 @@
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
- portal
+ bundle
tar.gz
/
-
- ${distroDirectory}
- /META-INF
- true
-
- README
- LICENSE
- INSTALL
- MAINTAINERS
- changelog.xml
-
- 755
- true
-
${smartgearDirectory}
/
diff --git a/pom.xml b/pom.xml
index 14d6621..d40489c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -102,17 +102,41 @@
org.apache.maven.plugins
- maven-assembly-plugin
+ maven-resources-plugin
+ 2.6
- standalone
+ copy-profile
+
+ copy-resources
+
+ process-resources
- false
-
- ${distroDirectory}/descriptor.xml
-
+ ${basedir}/${smartgearDirectory}/info
+
+
+ ${distroDirectory}
+ true
+
+
- install
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+ 2.2
+
+ false
+
+ distro/descriptor.xml
+
+
+
+
+ bundle
+ package
single