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