Repository: lens
Updated Branches:
  refs/heads/master 01d0d846d -> f0e458ff5


Create debian for lens ui


Project: http://git-wip-us.apache.org/repos/asf/lens/repo
Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/f0e458ff
Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/f0e458ff
Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/f0e458ff

Branch: refs/heads/master
Commit: f0e458ff5706b7a21f8319e8d611214a80d5c1e4
Parents: 01d0d84
Author: Rajat Khandelwal <pro...@apache.org>
Authored: Mon Jun 13 16:29:17 2016 +0530
Committer: Rajat Khandelwal <rajatgupt...@gmail.com>
Committed: Mon Jun 13 16:29:17 2016 +0530

----------------------------------------------------------------------
 lens-dist/pom.xml                        | 22 ++++++++++++++++++++++
 lens-dist/src/main/assembly/bin-dist.xml | 14 ++++++++++++++
 2 files changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lens/blob/f0e458ff/lens-dist/pom.xml
----------------------------------------------------------------------
diff --git a/lens-dist/pom.xml b/lens-dist/pom.xml
index 2e180ac..0cf88b0 100644
--- a/lens-dist/pom.xml
+++ b/lens-dist/pom.xml
@@ -242,6 +242,28 @@
               </dataSet>
             </configuration>
           </execution>
+          <execution>
+            <id>ui</id>
+            <phase>package</phase>
+            <goals>
+              <goal>jdeb</goal>
+            </goals>
+            <configuration>
+              <installDir>${mvn.lens.install.dir}/ui</installDir>
+              <controlDir>${mvn.deb.build.dir}/control/ui-control</controlDir>
+              
<deb>${project.build.directory}/lens-ui_${project.version}.deb</deb>
+              <dataSet>
+                <data>
+                  
<src>target/apache-lens-${project.version}-bin/apache-lens-${project.version}-bin/ui</src>
+                  <type>directory</type>
+                  <mapper>
+                    <type>perm</type>
+                    <prefix>${mvn.lens.install.dir}/ui</prefix>
+                  </mapper>
+                </data>
+              </dataSet>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
       <plugin>

http://git-wip-us.apache.org/repos/asf/lens/blob/f0e458ff/lens-dist/src/main/assembly/bin-dist.xml
----------------------------------------------------------------------
diff --git a/lens-dist/src/main/assembly/bin-dist.xml 
b/lens-dist/src/main/assembly/bin-dist.xml
index eda1094..c3f8f17 100644
--- a/lens-dist/src/main/assembly/bin-dist.xml
+++ b/lens-dist/src/main/assembly/bin-dist.xml
@@ -416,6 +416,20 @@
         <include>**</include>
       </includes>
     </fileSet>
+
+    <fileSet>
+      <directory>../lens-ui/</directory>
+      <outputDirectory>/ui/</outputDirectory>
+      <includes>
+        <include>app/</include>
+        <include>*json</include>
+        <include>*html</include>
+        <include>*js</include>
+        <include>*js</include>
+        <include>*markdown</include>
+      </includes>
+    </fileSet>
+
   </fileSets>
 
   <files>

Reply via email to