alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

ActiveMQ example source code file (common-bin.xml)

This example ActiveMQ source code file (common-bin.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - ActiveMQ tags/keywords

apache, asf, asf, copy, copy, is, jstl, license, license, of, see, version, you, you

The ActiveMQ common-bin.xml source code

<?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.
-->
<component>
  <!---->

  <fileSets>
    <!-- Copy over files that should not get the line endings converted -->
    <fileSet>
      <directory>src/release
      <outputDirectory>/
      <includes>
        <include>bin/*.jar
        <include>conf/*.ts
        <include>conf/*.ks
        <include>conf/*.cert
      </includes>
    </fileSet>
    
    <!-- Copy over all sample configurations -->
    <fileSet>
      <directory>src/sample-conf
      <outputDirectory>conf/
      <includes>
        <include>activemq-*.xml
      </includes>
    </fileSet>

    <!-- lets copy the portions of the admin web app we need - as we can't exclude stuff from the WAR -->
    <fileSet>
      <directory>../activemq-web-console/src/main/webapp
      <outputDirectory>/webapps/admin
      <excludes>
        <exclude>**/activemq.xml
        <exclude>**/webconsole-embedded.xml
      </excludes>
    </fileSet>
    <fileSet>
      <directory>../activemq-web-console/target/classes
      <outputDirectory>/webapps/admin/WEB-INF/classes
      <includes>
        <include>**/*.class
      </includes>
    </fileSet>

    <!-- the web demo -->
    <fileSet>
      <directory>../activemq-web-demo/src/main/webapp
      <outputDirectory>/webapps/demo
      <excludes>
        <exclude>**/activemq.xml
        <exclude>**/webconsole-embedded.xml
      </excludes>
    </fileSet>

    <!-- the file server -->
    <fileSet>
      <directory>../activemq-fileserver/src/main/webapp
      <outputDirectory>/webapps/fileserver
    </fileSet>
    <fileSet>
      <directory>../activemq-fileserver/target/classes
      <outputDirectory>/webapps/fileserver/WEB-INF/classes
      <includes>
        <include>**/*.class
      </includes>
    </fileSet>
  </fileSets> 
  
  <dependencySets>
    
    <!-- Copy over jar files -->
    <dependencySet>
      <outputDirectory>/bin
      <unpack>false
      <outputFileNameMapping>run.jar
      <includes>
        <include>${pom.groupId}:activemq-run
      </includes>
    </dependencySet>

    <dependencySet>
      <outputDirectory>/webapps/camel
      <unpack>true
      <unpackOptions>
        <excludes>
          <exclude>**/applicationContext.xml
          <!-- ignore jars already in distro -->
          <exclude>**/act*.jar
          <exclude>**/ant*.jar
          <exclude>**/aop*.jar
<!--
          <exclude>**/asm*.jar
-->
          <exclude>**/camel-*.jar
          <exclude>**/commons*.jar
          <exclude>**/groovy*.jar
          <exclude>**/jackson*.jar
          <exclude>**/jaxb*.jar
          <exclude>**/jdom*.jar
          <exclude>**/jettison*.jar
          <exclude>**/jruby*.jar
          <exclude>**/jstl*.jar
          <exclude>**/rome*.jar
          <exclude>**/sitemesh*.jar
          <exclude>**/slf4j-*.jar
          <exclude>**/spring-*.jar
          <exclude>**/standard*.jar
          <exclude>**/stax*.jar
          <!-- exclude unused javascript  -->
          <exclude>**/bespin/
          <exclude>**/dijit/
          <exclude>**/dojo/
          <exclude>**/dojox/
        </excludes>
      </unpackOptions>
      <includes>
        <include>org.apache.camel:camel-web:war
      </includes>
    </dependencySet>
    
    <dependencySet>
      <outputDirectory>/
      <unpack>false
      <scope>runtime
      <includes>
        <include>${pom.groupId}:activemq-all
      </includes>
    </dependencySet>
    <dependencySet>
      <outputDirectory>/lib
      <unpack>false
      <scope>runtime
      <includes>
        <include>org.slf4j:slf4j-api
        <include>org.slf4j:jcl-over-slf4j
        <include>${pom.groupId}:activemq-core
        <include>${pom.groupId}:activemq-console
        <include>${pom.groupId}:activemq-jaas
        <include>${pom.groupId}:kahadb
        <include>org.apache.activemq.protobuf:activemq-protobuf
        <include>org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec
        <include>org.apache.geronimo.specs:geronimo-jms_1.1_spec
        <include>org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec
        <include>${pom.groupId}:activemq-web

        <!-- camel -->
        <include>org.apache.camel:camel-core
        <include>org.apache.camel:camel-spring
        <include>org.apache.camel:camel-jetty
        <include>org.apache.camel:camel-jms
        <include>org.apache.activemq:activemq-camel
				<!-- Java 5 only -->
        <include>javax.xml.bind:jaxb-api
        <include>javax.activation:activation
        <include>com.sun.xml.bind:jaxb-impl
        <include>stax:stax-api
        <include>stax:stax
      </includes>
    </dependencySet>
    <dependencySet>
      <outputDirectory>/lib/optional
      <unpack>false
      <scope>runtime
      <includes>
        <include>${pom.groupId}:activemq-optional
        <include>${pom.groupId}:activemq-pool
        <include>${pom.groupId}:activemq-xmpp
        <include>${pom.groupId}:activemq-spring
        <include>${pom.groupId}:activeio-core
        <include>${pom.groupId}:activemq-jmdns_1.0
        <include>commons-beanutils:commons-beanutils
        <include>commons-collections:commons-collections
        <include>commons-httpclient:commons-httpclient
        <include>commons-dbcp:commons-dbcp
        <include>commons-pool:commons-pool
        <include>commons-codec:commons-codec
        <include>commons-net:commons-net
        <include>commons-lang:commons-lang
        <include>org.slf4j:slf4j-log4j12
        <include>log4j:log4j
        <include>org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec
        <include>org.apache.xbean:xbean-spring
        <include>org.springframework:spring-aop
        <include>org.springframework:spring-core
        <include>org.springframework:spring-beans
        <include>org.springframework:spring-context
        <include>org.springframework:spring-tx
        <include>org.springframework:spring-jms
        <include>org.springframework:spring-asm
        <include>org.springframework:spring-expression
        <include>com.thoughtworks.xstream:xstream
        <include>xpp3:xpp3
        <include>org.codehaus.woodstox:woodstox-core-asl
        <include>org.codehaus.woodstox:stax2-api
        <include>org.springframework.ws:spring-oxm-tiger
        <include>org.codehaus.jettison:jettison
        <include>org.apache.velocity:velocity
        <include>net.sf.josql:josql
        <include>org.jasypt:jasypt
      </includes>
    </dependencySet>
    <dependencySet>
      <outputDirectory>/lib/web
      <unpack>false
      <scope>runtime
      <includes>
        <include>org.springframework:spring-web
        <include>org.springframework:spring-webmvc
        <include>org.eclipse.jetty.aggregate:jetty-all-server
        <include>org.eclipse.jetty:jetty-websocket
        <include>org.apache.geronimo.specs:geronimo-servlet_2.5_spec

        <!-- JSP support -->
        <include>org.mortbay.jetty:jsp-2.1-glassfish
        <include>org.mortbay.jetty:jsp-api-2.1-glassfish
        <include>org.eclipse.jdt:core

        <!-- JSTL and other web stuff -->
        <include>opensymphony:sitemesh

        <!-- Atom/RSS support -->
        <include>rome:rome
        <include>jdom:jdom
        <!--  Camel web dependencies -->
        <include>org.fusesource.commonman:commons-management
      </includes>
    </dependencySet>
  </dependencySets>
</component>

Other ActiveMQ examples (source code examples)

Here is a short list of links related to this ActiveMQ common-bin.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.