| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <assembly> |
| <id>unix-bin</id> |
| <formats> |
| <format>tar.gz</format> |
| </formats> |
| <fileSets> |
| |
| <!-- Copy license and other files from root --> |
| <fileSet> |
| <directory>..</directory> |
| <outputDirectory>/</outputDirectory> |
| <includes> |
| <include>README.txt</include> |
| <include>RELEASE*.txt</include> |
| </includes> |
| <lineEnding>unix</lineEnding> |
| </fileSet> |
| |
| <!-- Copy over everything that needs to get unix line endings --> |
| <fileSet> |
| <directory>src/main/distribution/text</directory> |
| <outputDirectory>/</outputDirectory> |
| <lineEnding>unix</lineEnding> |
| </fileSet> |
| <fileSet> |
| <directory>src/main/distribution/unix-text</directory> |
| <outputDirectory>/</outputDirectory> |
| <lineEnding>unix</lineEnding> |
| </fileSet> |
| <fileSet> |
| <directory>target/classes</directory> |
| <outputDirectory>/</outputDirectory> |
| <lineEnding>unix</lineEnding> |
| </fileSet> |
| |
| <!-- Copy over files that should not get the line endings converted --> |
| <fileSet> |
| <directory>src/main/distribution/binary</directory> |
| <outputDirectory>/</outputDirectory> |
| </fileSet> |
| |
| <!-- Copy over the files that should not get the line endings converted but need to be chmod to 755 --> |
| <fileSet> |
| <directory>src/main/distribution/unix-binary</directory> |
| <outputDirectory>/</outputDirectory> |
| <fileMode>0755</fileMode> |
| </fileSet> |
| |
| <!-- Copy over the files that need unix line endings and also chmod to 755 --> |
| <fileSet> |
| <directory>src/main/distribution/unix-shell</directory> |
| <outputDirectory>/</outputDirectory> |
| <lineEnding>unix</lineEnding> |
| <fileMode>0755</fileMode> |
| </fileSet> |
| |
| <!-- Copy over jar files --> |
| <fileSet> |
| <directory>target/dependencies</directory> |
| <outputDirectory>/lib/</outputDirectory> |
| </fileSet> |
| |
| </fileSets> |
| |
| <files> |
| <file> |
| <source>${basedir}/target/maven-shared-archive-resources/META-INF/LICENSE</source> |
| <outputDirectory>/</outputDirectory> |
| <destName>LICENSE.txt</destName> |
| <fileMode>420</fileMode> <!-- See http://jira.codehaus.org/browse/MASSEMBLY-173 --> |
| <lineEnding>unix</lineEnding> |
| </file> |
| <file> |
| <source>${basedir}/target/maven-shared-archive-resources/META-INF/NOTICE</source> |
| <outputDirectory>/</outputDirectory> |
| <destName>NOTICE.txt</destName> |
| <fileMode>420</fileMode> <!-- See http://jira.codehaus.org/browse/MASSEMBLY-173 --> |
| <lineEnding>unix</lineEnding> |
| </file> |
| </files> |
| |
| <dependencySets> |
| |
| <!-- Mandatory bundles for everything --> |
| <dependencySet> |
| <outputDirectory>/lib/</outputDirectory> |
| <unpack>false</unpack> |
| <scope>runtime</scope> |
| <includes> |
| <include>org.apache.geronimo.specs:geronimo-activation_1.1_spec</include> |
| <include>org.apache.servicemix.bundles:org.apache.servicemix.bundles.woodstox-3.2.3</include> |
| <include>org.apache.felix:org.apache.felix.prefs</include> |
| <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.api</include> |
| <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.core</include> |
| <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.spring</include> |
| <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.osgi</include> |
| <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.commands</include> |
| <include>org.apache.servicemix.nmr:org.apache.servicemix.nmr.management</include> |
| <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.api</include> |
| <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.runtime</include> |
| <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.osgi</include> |
| <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.deployer</include> |
| <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.commands</include> |
| <include>org.apache.servicemix.jbi:org.apache.servicemix.jbi.management</include> |
| </includes> |
| </dependencySet> |
| |
| </dependencySets> |
| |
| </assembly> |