assemblies.activemq-assembly.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) 2012 Ness Computing, Inc. Licensed 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 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>activemq</id> <formats> <format>tar.gz</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <componentDescriptors> <componentDescriptor>assemblies/ness-components.xml</componentDescriptor> </componentDescriptors> <dependencySets> <!-- ======================================================================== = = Move all the dependency jars into the lib folder. Rename them to contain = the group id of the jar. = ======================================================================== --> <dependencySet> <outputDirectory>/lib</outputDirectory> <useProjectArtifact>true</useProjectArtifact> <useTransitiveDependencies>true</useTransitiveDependencies> <directoryMode>0777</directoryMode> <fileMode>0644</fileMode> <outputFileNameMapping>${artifact.groupId}-${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}</outputFileNameMapping> <includes> <include>*:jar:*</include> </includes> </dependencySet> <!-- ======================================================================== = = Add the ActiveMQ admin web application. = ======================================================================== --> <dependencySet> <scope>provided</scope> <useProjectArtifact>false</useProjectArtifact> <outputDirectory>/webapps/admin</outputDirectory> <includes> <include>org.apache.activemq:activemq-web-console:war</include> </includes> <unpack>true</unpack> <fileMode>0644</fileMode> <directoryMode>0777</directoryMode> <unpackOptions> <excludes> <exclude>WEB-INF/lib/*</exclude> <exclude>WEB-INF/webconsole-embedded.xml</exclude> </excludes> </unpackOptions> </dependencySet> </dependencySets> </assembly>