javaquery/demo-twitter/bck2brwsr-assembly.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 05 Apr 2013 10:12:20 +0200
branchmodel
changeset 932 0dd6343a91f5
parent 931 9a7df12648b9
child 951 d98f6b1caaeb
permissions -rw-r--r--
Package all non-class files as HTTP resources
     1 <?xml version="1.0"?>
     2 <!--
     3 
     4     Back 2 Browser Bytecode Translator
     5     Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     6 
     7     This program is free software: you can redistribute it and/or modify
     8     it under the terms of the GNU General Public License as published by
     9     the Free Software Foundation, version 2 of the License.
    10 
    11     This program is distributed in the hope that it will be useful,
    12     but WITHOUT ANY WARRANTY; without even the implied warranty of
    13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    14     GNU General Public License for more details.
    15 
    16     You should have received a copy of the GNU General Public License
    17     along with this program. Look for COPYING file in the top folder.
    18     If not, see http://opensource.org/licenses/GPL-2.0.
    19 
    20 -->
    21 <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    22   xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
    23   
    24   <id>bck2brwsr</id>
    25   <formats>
    26       <format>zip</format>
    27   </formats>
    28   <baseDirectory>public_html</baseDirectory>
    29   <dependencySets>
    30     <dependencySet>
    31         <useProjectArtifact>false</useProjectArtifact>
    32         <scope>runtime</scope>
    33         <outputDirectory>lib</outputDirectory>
    34         <includes>
    35             <include>*:jar</include>
    36             <include>*:rt</include>
    37         </includes>
    38     </dependencySet>
    39     <dependencySet>
    40         <useProjectArtifact>false</useProjectArtifact>
    41         <scope>provided</scope>
    42         <includes>
    43             <include>*:js</include>
    44         </includes>
    45         <unpack>true</unpack>
    46         <outputDirectory>/</outputDirectory>
    47     </dependencySet>
    48   </dependencySets> 
    49   <fileSets>
    50       <fileSet>
    51           <directory>${project.build.directory}/classes/org/apidesign/bck2brwsr/demo/twitter/</directory>
    52           <includes>
    53               <include>**/*</include>
    54           </includes>
    55           <excludes>
    56               <exclude>**/*.class</exclude>
    57           </excludes>
    58           <outputDirectory>/</outputDirectory>
    59       </fileSet>
    60   </fileSets>
    61   <files>
    62     <file>
    63       <source>${project.build.directory}/${project.build.finalName}.jar</source>
    64       <outputDirectory>/</outputDirectory>
    65     </file>
    66   </files>
    67 </assembly>