archetype-resources.bck2brwsr-assembly.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <!-- Back 2 Browser Bytecode Translator Copyright (C) 2012 Jaroslav Tulach <[email protected]> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. Look for COPYING file in the top folder. If not, see http://opensource.org/licenses/GPL-2.0. --> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> <id>bck2brwsr</id> <formats> <format>zip</format> </formats> <baseDirectory>public_html</baseDirectory> <dependencySets> <dependencySet> <useProjectArtifact>false</useProjectArtifact> <scope>runtime</scope> <outputDirectory>lib</outputDirectory> <includes> <include>*:jar</include> <include>*:rt</include> </includes> </dependencySet> <dependencySet> <useProjectArtifact>false</useProjectArtifact> <scope>provided</scope> <includes> <include>*:js</include> </includes> <unpack>true</unpack> <outputDirectory>/</outputDirectory> </dependencySet> </dependencySets> <files> <file> <source>${project.build.directory}/${project.build.finalName}.jar</source> <outputDirectory>/</outputDirectory> </file> <file> <source>${project.build.directory}/classes/${package.replace('.','/')}/index.html</source> <outputDirectory>/</outputDirectory> <destName>index.html</destName> </file> </files> </assembly>