Ian Maxon | 69375a1 | 2015-06-29 16:12:53 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | ! Copyright 2009-2013 by The Regents of the University of California |
| 3 | ! Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | ! you may not use this file except in compliance with the License. |
| 5 | ! you may obtain a copy of the License from |
| 6 | ! |
| 7 | ! http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | ! |
| 9 | ! Unless required by applicable law or agreed to in writing, software |
| 10 | ! distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | ! See the License for the specific language governing permissions and |
| 13 | ! limitations under the License. |
| 14 | !--> |
| 15 | <assembly> |
| 16 | <id>binary-assembly</id> |
| 17 | <formats> |
| 18 | <format>dir</format> |
| 19 | <format>zip</format> |
| 20 | </formats> |
| 21 | <includeBaseDirectory>false</includeBaseDirectory> |
| 22 | <fileSets> |
| 23 | <fileSet> |
| 24 | <directory>src/main/resources/scripts</directory> |
| 25 | <fileMode>0755</fileMode> |
| 26 | <includes> |
| 27 | <include>asterix</include> |
| 28 | </includes> |
| 29 | <outputDirectory>bin</outputDirectory> |
| 30 | </fileSet> |
| 31 | <fileSet> |
| 32 | <directory>src/main/resources/configs</directory> |
| 33 | <fileMode>0755</fileMode> |
| 34 | <includes> |
| 35 | <include>local.xml</include> |
| 36 | </includes> |
| 37 | <outputDirectory>configs</outputDirectory> |
| 38 | </fileSet> |
| 39 | <fileSet> |
| 40 | <directory>src/main/resources/</directory> |
| 41 | <fileMode>0755</fileMode> |
| 42 | <includes> |
| 43 | <include>base-asterix-configuration.xml</include> |
| 44 | </includes> |
| 45 | <outputDirectory>conf</outputDirectory> |
| 46 | </fileSet> |
| 47 | <fileSet> |
| 48 | <directory>src/main/resources/configs</directory> |
| 49 | <fileMode>0755</fileMode> |
| 50 | <includes> |
| 51 | <include>my_awesome_cluster_desc.xml</include> |
| 52 | </includes> |
| 53 | <outputDirectory>configs</outputDirectory> |
| 54 | </fileSet> |
| 55 | <fileSet> |
| 56 | <directory>src/main/resources/configs</directory> |
| 57 | <fileMode>0755</fileMode> |
| 58 | <includes> |
| 59 | <include>asterix-client-log4j.properties</include> |
| 60 | </includes> |
| 61 | <outputDirectory>conf</outputDirectory> |
| 62 | </fileSet> |
| 63 | </fileSets> |
| 64 | <dependencySets> |
| 65 | <dependencySet> |
| 66 | <includes> |
| 67 | <include>edu.uci.ics.asterix:asterix-yarn</include> |
| 68 | <include>edu.uci.ics.asterix:asterix-common</include> |
| 69 | <include>log4j:log4j</include> |
| 70 | <include>org.slf4j:slf4j-api</include> |
| 71 | <include>org.slf4j:slf4j-simple</include> |
| 72 | <include>commons-io:commons-io</include> |
| 73 | <include>commons-cli:commons-cli</include> |
| 74 | <include>commons-configuration:commons-configuration</include> |
| 75 | <include>commons-logging:commons-logging</include> |
| 76 | <include>commons-codec:commons-codec</include> |
| 77 | <include>commons-lang:commons-lang</include> |
| 78 | <include>org.apache.hadoop:hadoop-common</include> |
| 79 | <include>org.apache.hadoop:hadoop-hdfs</include> |
| 80 | <include>org.apache.hadoop:hadoop-auth</include> |
| 81 | <include>org.apache.hadoop:hadoop-yarn-client</include> |
| 82 | <include>org.apache.hadoop:hadoop-yarn-common</include> |
| 83 | <include>org.apache.hadoop:hadoop-yarn-api</include> |
| 84 | <include>org.apache.httpcomponents:httpcore</include> |
| 85 | <include>org.apache.httpcomponents:httpclient</include> |
| 86 | <include>commons-httpclient:commons-httpclient</include> |
| 87 | <include>com.google.guava:guava</include> |
| 88 | <include>com.google.protobuf:protobuf-java</include> |
| 89 | </includes> |
| 90 | <outputDirectory>lib</outputDirectory> |
| 91 | </dependencySet> |
| 92 | <dependencySet> |
| 93 | <outputDirectory>asterix</outputDirectory> |
| 94 | <includes> |
| 95 | <include>asterix-server*</include> |
| 96 | </includes> |
| 97 | <unpack>false</unpack> |
| 98 | <useTransitiveDependencies>false</useTransitiveDependencies> |
| 99 | </dependencySet> |
| 100 | </dependencySets> |
| 101 | </assembly> |