rt/mojo/src/main/resources/archetype-resources/bck2brwsr-assembly.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 26 Feb 2013 16:54:16 +0100
changeset 772 d382dacfd73f
parent 744 mojo/src/main/resources/archetype-resources/bck2brwsr-assembly.xml@341d8ed644df
permissions -rw-r--r--
Moving modules around so the runtime is under one master pom and can be built without building other modules that are in the repository
jaroslav@614
     1
<?xml version="1.0"?>
jaroslav@614
     2
<!--
jaroslav@614
     3
jaroslav@614
     4
    Back 2 Browser Bytecode Translator
jaroslav@614
     5
    Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jaroslav@614
     6
jaroslav@614
     7
    This program is free software: you can redistribute it and/or modify
jaroslav@614
     8
    it under the terms of the GNU General Public License as published by
jaroslav@614
     9
    the Free Software Foundation, version 2 of the License.
jaroslav@614
    10
jaroslav@614
    11
    This program is distributed in the hope that it will be useful,
jaroslav@614
    12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
jaroslav@614
    13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
jaroslav@614
    14
    GNU General Public License for more details.
jaroslav@614
    15
jaroslav@614
    16
    You should have received a copy of the GNU General Public License
jaroslav@614
    17
    along with this program. Look for COPYING file in the top folder.
jaroslav@614
    18
    If not, see http://opensource.org/licenses/GPL-2.0.
jaroslav@614
    19
jaroslav@614
    20
-->
jaroslav@612
    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@612
    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@612
    23
  
jaroslav@612
    24
  <id>bck2brwsr</id>
jaroslav@612
    25
  <formats>
jaroslav@612
    26
      <format>zip</format>
jaroslav@612
    27
  </formats>
jaroslav@612
    28
  <baseDirectory>public_html</baseDirectory>
jaroslav@612
    29
  <dependencySets>
jaroslav@612
    30
    <dependencySet>
jaroslav@612
    31
        <useProjectArtifact>false</useProjectArtifact>
jaroslav@612
    32
        <scope>runtime</scope>
jaroslav@612
    33
        <outputDirectory>lib</outputDirectory>
jaroslav@691
    34
        <includes>
jaroslav@691
    35
            <include>*:jar</include>
jaroslav@692
    36
            <include>*:rt</include>
jaroslav@691
    37
        </includes>
jaroslav@612
    38
    </dependencySet>
jaroslav@674
    39
    <dependencySet>
jaroslav@674
    40
        <useProjectArtifact>false</useProjectArtifact>
jaroslav@691
    41
        <scope>provided</scope>
jaroslav@674
    42
        <includes>
jaroslav@674
    43
            <include>*:js</include>
jaroslav@674
    44
        </includes>
jaroslav@674
    45
        <unpack>true</unpack>
jaroslav@674
    46
        <outputDirectory>/</outputDirectory>
jaroslav@674
    47
    </dependencySet>
jaroslav@612
    48
  </dependencySets> 
jaroslav@612
    49
  <files>
jaroslav@612
    50
    <file>
jaroslav@612
    51
      <source>${project.build.directory}/${project.build.finalName}.jar</source>
jaroslav@612
    52
      <outputDirectory>/</outputDirectory>
jaroslav@612
    53
    </file>
jaroslav@612
    54
    <file>
jaroslav@744
    55
      <source>${project.build.directory}/classes/${package.replace('.','/')}/index.html</source>
jaroslav@612
    56
      <outputDirectory>/</outputDirectory>
jaroslav@744
    57
      <destName>index.html</destName>
jaroslav@612
    58
    </file>
jaroslav@612
    59
  </files>
jaroslav@612
    60
jaroslav@612
    61
</assembly>