|
ActiveMQ example source code file (pom.xml)
This example ActiveMQ source code file (pom.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.
The ActiveMQ pom.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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache
<artifactId>apache
<version>7
</parent>
<modelVersion>4.0.0
<groupId>org.apache.activemq
<artifactId>activemq-parent
<version>5.5.0
<packaging>pom
<name>ActiveMQ
<inceptionYear>2005
<properties>
<activemq-version>5.5.0
<siteId>activemq-${activemq-version}
<projectName>Apache ActiveMQ
<!-- base url for site deployment. See distribution management for full url. Override this in settings.xml for staging -->
<staging.siteURL>scp://people.apache.org/x1/www/activemq.apache.org
<spring-version>3.0.3.RELEASE
<spring-osgi-version>1.2.1
<activesoap-version>1.3
<annogen-version>0.1.0
<ant-version>1.7.1
<aopalliance-version>1.0
<aries-version>0.2-incubating
<axion-version>1.0-M3-dev
<axis-version>1.2-RC1
<camel-version>2.7.0
<cglib-version>2.0
<commons-beanutils-version>1.6.1
<commons-collections-version>3.2.1
<openjpa-version>1.2.0
<commons-dbcp-version>1.2.2
<commons-httpclient-version>3.1
<commons-io-version>1.4
<commons-lang-version>2.4
<commons-logging-version>1.1
<commons-pool-version>1.5.4
<commons-primitives-version>1.0
<directory-version>1.5.5
<geronimo-version>1.0
<howl-version>0.1.8
<hsqldb-version>1.7.2.2
<jasypt-version>1.7
<jdom-version>1.0
<jetty-version>7.1.6.v20100715
<jsp-version>2.1.v20100127
<jettison-version>1.2
<jmock-version>2.5.1
<junit-version>4.5
<jxta-version>2.0
<karaf-version>2.2.0
<log4j-version>1.2.14
<org-apache-derby-version>10.1.3.1
<p2psockets-version>1.1.2
<regexp-version>1.3
<rome-version>0.8
<!-- pax-logging (osgi) dont support slf4j 1.6.x -->
<slf4j-version>1.5.11
<spring-oxm-version>1.5.8
<stax-api-version>1.0.1
<stax-version>1.2.0
<xalan-version>2.6.0
<xmlbeans-version>2.0.0-beta1
<xpp3-version>1.1.4c
<xstream-version>1.3.1
<xbean-version>3.7
<velocity-version>1.6.2
<maven-bundle-plugin-version>2.1.0
<maven-surefire-plugin-version>2.5
<commons-net-version>2.0
<ftpserver-version>1.0.0
<activemq-protobuf-version>1.1
<site-repo-url>scpexe://people.apache.org/www/activemq.apache.org/maven/
<!-- OSGi bundles properties -->
<activemq.osgi.import.pkg>*
<activemq.osgi.export.pkg>org.apache.activemq*
<activemq.osgi.private.pkg>!*
<activemq.osgi.export>${activemq.osgi.export.pkg}*;version=${activemq.osgi.export.version};-noimport:=true
<activemq.osgi.export.version>${project.version}
<activemq.osgi.import>${activemq.osgi.import.pkg}
<activemq.osgi.dynamic.import />
<activemq.osgi.symbolic.name>${project.groupId}.${project.artifactId}
<project.build.sourceEncoding>UTF-8
</properties>
<prerequisites>
<maven>2.0.9
</prerequisites>
<url>http://activemq.apache.org
<mailingLists>
<mailingList>
<name>Development List
<subscribe>dev-subscribe@activemq.apache.org
<unsubscribe>dev-unsubscribe@activemq.apache.org
<post>dev@activemq.apache.org
</mailingList>
</mailingLists>
<distributionManagement>
<site>
<!-- this needs to match a server in your settings.xml with upload settings -->
<id>activemq-website
<!-- set the staging.siteURL in your ~/.m2/settings.xml in a release or other profile -->
<url>${staging.siteURL}/maven/${activemq-version}
<!---->
</site>
<snapshotRepository>
<id>apache.snapshots.https
<name>Apache Development Snapshot Repository
<url>https://repository.apache.org/content/repositories/snapshots
<uniqueVersion>false
</snapshotRepository>
</distributionManagement>
<modules>
<module>activemq-all
<module>activemq-camel
<module>activemq-console
<module>activemq-core
<module>activemq-fileserver
<module>activemq-jaas
<module>activemq-blueprint
<module>activemq-karaf
<module>activemq-openwire-generator
<module>activemq-optional
<module>activemq-pool
<module>activemq-ra
<module>activemq-rar
<module>activemq-run
<module>activemq-spring
<module>activemq-tooling
<module>activemq-web
<module>activemq-web-demo
<module>activemq-web-console
<module>activemq-xmpp
<module>assembly
<module>activemq-jmdns_1.0
<module>kahadb
</modules>
<scm>
<connection>scm:svn:https://svn.apache.org/repos/asf/activemq/tags/activemq-5.5.0
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/activemq/tags/activemq-5.5.0
<url>http://svn.apache.org/viewvc/activemq/tags/activemq-5.5.0
</scm>
<repositories>
<repository>
<id>com.springsource.repository.bundles.external
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases
<url>http://repository.springsource.com/maven/bundles/external
</repository>
<repository>
<id>apache.snapshots
<url>https://repository.apache.org/content/repositories/snapshots/
<releases>
<enabled>false
</releases>
</repository>
</repositories>
<!-- This is only here since the activemq-protobuf plugin has not been released yet -->
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots
<url>https://repository.apache.org/content/repositories/snapshots/
</pluginRepository>
</pluginRepositories>
<dependencyManagement>
<dependencies>
<!-- =============================== -->
<!-- Internal ActiveMQ Dependencies -->
<!-- =============================== -->
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-all
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-camel
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-core
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-core
<version>${activemq-version}
<type>test-jar
<scope>test
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-jaas
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-jmdns_1.0
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-pool
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-spring
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-web
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-xmpp
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-web-demo
<version>${activemq-version}
<type>war
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-web-console
<version>${activemq-version}
<type>war
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-console
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-fileserver
<version>${activemq-version}
<type>war
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-optional
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-ra
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-rar
<version>${activemq-version}
<type>rar
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-run
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-web
<version>${activemq-version}
<type>war
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activeio-core
<version>3.1.2
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activeio-core
<version>3.1.2
<type>test-jar
<scope>test
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-openwire-generator
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>kahadb
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq
<artifactId>activemq-karaf
<version>${activemq-version}
</dependency>
<dependency>
<groupId>org.apache.activemq.protobuf
<artifactId>activemq-protobuf
<version>${activemq-protobuf-version}
</dependency>
<!-- =============================== -->
<!-- Required dependencies -->
<!-- =============================== -->
<dependency>
<groupId>commons-logging
<artifactId>commons-logging
<version>${commons-logging-version}
<exclusions>
<exclusion>
<groupId>avalon-framework
<artifactId>avalon-framework
</exclusion>
<exclusion>
<groupId>logkit
<artifactId>logkit
</exclusion>
<exclusion>
<groupId>log4j
<artifactId>log4j
</exclusion>
<exclusion>
<groupId>javax.servlet
<artifactId>servlet-api
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs
<artifactId>geronimo-jms_1.1_spec
<version>1.1.1
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs
<artifactId>geronimo-jta_1.0.1B_spec
<version>1.0.1
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs
<artifactId>geronimo-j2ee-management_1.1_spec
<version>1.0.1
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs
<artifactId>geronimo-jacc_1.1_spec
<version>1.0.1
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs
<artifactId>geronimo-j2ee-connector_1.5_spec
<version>2.0.0
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs
<artifactId>geronimo-jsp_2.1_spec
<version>1.0.1
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs
<artifactId>geronimo-servlet_2.5_spec
<version>1.2
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs
<artifactId>geronimo-annotation_1.0_spec
<version>1.1.1
</dependency>
<!-- =============================== -->
<!-- Optional dependencies -->
<!-- =============================== -->
<dependency>
<groupId>org.apache.camel
<artifactId>camel-core
<version>${camel-version}
</dependency>
<dependency>
<groupId>org.apache.camel
<artifactId>camel-spring
<version>${camel-version}
</dependency>
<dependency>
<groupId>org.apache.camel
<artifactId>camel-jetty
<version>${camel-version}
</dependency>
<dependency>
<groupId>org.apache.camel
<artifactId>camel-jms
<version>${camel-version}
</dependency>
<dependency>
<groupId>org.apache.camel
<artifactId>camel-web
<version>2.4.0
<type>war
</dependency>
<dependency>
<groupId>org.osgi
<artifactId>org.osgi.core
<version>4.1.0
</dependency>
<dependency>
<groupId>org.apache.hadoop.zookeeper
<artifactId>zookeeper
<version>3.0.0
<optional>true
</dependency>
<!-- For jsvc support -->
<dependency>
<groupId>commons-daemon
<artifactId>commons-daemon
<version>1.0.3
</dependency>
<!-- for the XML parsing -->
<dependency>
<groupId>javax.xml.bind
<artifactId>jaxb-api
<version>2.1
<exclusions>
<exclusion>
<groupId>javax.xml
<artifactId>jsr173
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.sun.xml.bind
<artifactId>jaxb-impl
<version>2.1.6
<exclusions>
<exclusion>
<groupId>javax.jws
<artifactId>jsr181-api
</exclusion>
</exclusions>
</dependency>
<!-- camel testing -->
<dependency>
<groupId>org.apache.camel
<artifactId>camel-core
<version>${camel-version}
<type>test-jar
<scope>test
</dependency>
<dependency>
<groupId>org.apache.camel
<artifactId>camel-spring
<version>${camel-version}
<type>test-jar
<scope>test
</dependency>
<!-- for custom XML parsing -->
<dependency>
<groupId>org.apache.xbean
<artifactId>xbean-spring
<version>${xbean-version}
<optional>true
<exclusions>
<exclusion>
<groupId>qdox
<artifactId>qdox
</exclusion>
</exclusions>
</dependency>
<!-- Used to configure the activemq logs -->
<dependency>
<groupId>log4j
<artifactId>log4j
<version>${log4j-version}
<scope>runtime
</dependency>
<!-- used to support optional transport configuration via URI query strings -->
<dependency>
<groupId>commons-beanutils
<artifactId>commons-beanutils
<version>${commons-beanutils-version}
</dependency>
<dependency>
<groupId>commons-collections
<artifactId>commons-collections
<version>${commons-collections-version}
</dependency>
<dependency>
<groupId>org.apache.openjpa
<artifactId>openjpa-persistence-jdbc
<version>${openjpa-version}
</dependency>
<!-- Optional Spring Support -->
<dependency>
<groupId>org.springframework
<artifactId>spring-aop
<version>${spring-version}
<optional>true
</dependency>
<dependency>
<groupId>org.springframework
<artifactId>spring-beans
<version>${spring-version}
<optional>true
</dependency>
<dependency>
<groupId>org.springframework
<artifactId>spring-context
<version>${spring-version}
<optional>true
</dependency>
<dependency>
<groupId>org.springframework
<artifactId>spring-core
<version>${spring-version}
<optional>true
</dependency>
<dependency>
<groupId>org.springframework
<artifactId>spring-jms
<version>${spring-version}
<optional>true
</dependency>
<dependency>
<groupId>org.springframework
<artifactId>spring-tx
<version>${spring-version}
<optional>true
</dependency>
<!--
<dependency>
<groupId>org.springframework
<artifactId>spring
<version>${spring-version}
<optional>true
<exclusions>
<exclusion>
<groupId>javax.mail
<artifactId>mail
</exclusion>
<exclusion>
<groupId>javax.resource
<artifactId>connector
</exclusion>
<exclusion>
<groupId>javax.transaction
<artifactId>jta
</exclusion>
<exclusion>
<groupId>org.springframework
<artifactId>spring-support
</exclusion>
<exclusion>
<groupId>org.springframework
<artifactId>spring-orm
</exclusion>
<exclusion>
<groupId>org.springframework
<artifactId>spring-hibernate
</exclusion>
<exclusion>
<groupId>org.springframework
<artifactId>spring-remoting
</exclusion>
<exclusion>
<groupId>org.springframework
<artifactId>spring-core
</exclusion>
</exclusions>
</dependency>
-->
<dependency>
<groupId>org.springframework
<artifactId>spring-webmvc
<version>${spring-version}
</dependency>
<dependency>
<groupId>org.springframework
<artifactId>spring-web
<version>${spring-version}
</dependency>
<dependency>
<groupId>org.springframework
<artifactId>spring-test
<version>${spring-version}
</dependency>
<dependency>
<groupId>org.springframework.ws
<artifactId>spring-oxm-tiger
<version>${spring-oxm-version}
</dependency>
<dependency>
<groupId>org.springframework.osgi
<artifactId>spring-osgi-core
<version>${spring-osgi-version}
</dependency>
<!-- Optional Derby support-->
<dependency>
<groupId>org.apache.derby
<artifactId>derby
<version>${org-apache-derby-version}
<optional>true
</dependency>
<dependency>
<groupId>org.apache.derby
<artifactId>derbynet
<version>${org-apache-derby-version}
<optional>true
</dependency>
<!-- Optional Axion support -->
<dependency>
<groupId>axion
<artifactId>axion
<version>${axion-version}
<optional>true
</dependency>
<dependency>
<groupId>commons-primitives
<artifactId>commons-primitives
<version>${commons-primitives-version}
<optional>true
</dependency>
<dependency>
<groupId>regexp
<artifactId>regexp
<version>${regexp-version}
<optional>true
</dependency>
<!-- Optional HSQL DB Support -->
<!--
<dependency>
<groupId>hsqldb
<artifactId>hsqldb
<version>${hsqldb-version}
<optional>true
</dependency>
-->
<dependency>
<groupId>commons-dbcp
<artifactId>commons-dbcp
<version>${commons-dbcp-version}
<optional>true
</dependency>
<dependency>
<groupId>commons-pool
<artifactId>commons-pool
<version>${commons-pool-version}
<optional>true
</dependency>
<!-- Optional Journal Implementation -->
<!--
<dependency>
<groupId>howl
<artifactId>howl-logger
<version>${howl-version}
<optional>true
</dependency>
-->
<!-- Optional Jabber support -->
<dependency>
<groupId>activemq
<artifactId>smack
<version>1.5.0
<optional>true
</dependency>
<dependency>
<groupId>activemq
<artifactId>smackx
<version>1.5.0
<optional>true
</dependency>
<!-- =============================== -->
<!-- XML processing dependencies -->
<!-- =============================== -->
<!-- For XMLBeans -->
<dependency>
<groupId>xmlbeans
<artifactId>xbean
<version>${xmlbeans-version}
</dependency>
<dependency>
<groupId>xmlbeans
<artifactId>xmlpublic
<version>${xmlbeans-version}
</dependency>
<dependency>
<groupId>xmlbeans
<artifactId>xbean_xpath
<version>${xmlbeans-version}
</dependency>
<!-- For Stax -->
<dependency>
<groupId>stax
<artifactId>stax-api
<version>${stax-api-version}
</dependency>
<dependency>
<groupId>stax
<artifactId>stax
<version>${stax-version}
</dependency>
<!-- To use XPath using JAXP 1.3 (std in Java 5) -->
<dependency>
<groupId>activesoap
<artifactId>jaxp-api
<version>${activesoap-version}
</dependency>
<dependency>
<groupId>xalan
<artifactId>xalan
<version>2.6.0
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream
<artifactId>xstream
<version>${xstream-version}
<exclusions>
<exclusion>
<!-- xom is an optional dependency of xstream. Its also
LGPL, so its really not ASF compatible. -->
<groupId>xom
<artifactId>xom
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>xpp3
<artifactId>xpp3
<version>${xpp3-version}
</dependency>
<dependency>
<groupId>org.mortbay.jetty
<artifactId>jsp-2.1-glassfish
<version>${jsp-version}
</dependency>
<dependency>
<groupId>org.eclipse.jetty.aggregate
<artifactId>jetty-all-server
<version>${jetty-version}
</dependency>
<dependency>
<groupId>axis
<artifactId>axis
<version>${axis-version}
</dependency>
<dependency>
<groupId>commons-httpclient
<artifactId>commons-httpclient
<version>${commons-httpclient-version}
</dependency>
<dependency>
<groupId>aopalliance
<artifactId>aopalliance
<version>${aopalliance-version}
</dependency>
<dependency>
<groupId>org.jasypt
<artifactId>jasypt
<version>${jasypt-version}
</dependency>
<!-- testing dependencies -->
<dependency>
<groupId>junit
<artifactId>junit
<version>${junit-version}
<scope>test
</dependency>
<dependency>
<groupId>org.jmock
<artifactId>jmock-junit4
<version>${jmock-version}
<scope>test
</dependency>
<dependency>
<groupId>org.jmock
<artifactId>jmock-legacy
<version>${jmock-version}
<scope>test
</dependency>
<dependency>
<groupId>org.hamcrest
<artifactId>hamcrest-all
<version>1.1
<scope>test
</dependency>
<dependency>
<groupId>org.codehaus.jettison
<artifactId>jettison
<version>${jettison-version}
</dependency>
<dependency>
<groupId>annogen
<artifactId>annogen
<version>${annogen-version}
</dependency>
<dependency>
<groupId>commons-io
<artifactId>commons-io
<version>${commons-io-version}
</dependency>
<dependency>
<groupId>org.apache.ant
<artifactId>ant
<version>${ant-version}
</dependency>
<!-- ACTIVEMQ-WEB Specific Dependencies -->
<dependency>
<groupId>rome
<artifactId>rome
<version>${rome-version}
</dependency>
<dependency>
<groupId>jdom
<artifactId>jdom
<version>${jdom-version}
</dependency>
<dependency>
<groupId>p2psockets
<artifactId>p2psockets-core
<version>${p2psockets-version}
</dependency>
<dependency>
<groupId>jxta
<artifactId>jxta
<version>${jxta-version}
</dependency>
<dependency>
<groupId>org.slf4j
<artifactId>slf4j-api
<version>${slf4j-version}
</dependency>
<dependency>
<groupId>org.slf4j
<artifactId>slf4j-log4j12
<version>${slf4j-version}
</dependency>
<dependency>
<groupId>org.slf4j
<artifactId>jcl-over-slf4j
<version>${slf4j-version}
</dependency>
<dependency>
<groupId>opensymphony
<artifactId>sitemesh
<version>2.2.1
</dependency>
<dependency>
<groupId>javax.servlet
<artifactId>jstl
<version>1.0
</dependency>
<dependency>
<groupId>taglibs
<artifactId>standard
<version>1.1.2
</dependency>
<dependency>
<groupId>org.apache.geronimo.components
<artifactId>geronimo-transaction
<version>2.1
</dependency>
<!-- FTP support for BlobMessages -->
<dependency>
<groupId>commons-net
<artifactId>commons-net
<version>${commons-net-version}
</dependency>
<dependency>
<groupId>org.apache.velocity
<artifactId>velocity
<version>${velocity-version}
<optional>true
</dependency>
<dependency>
<groupId>net.sf.josql
<artifactId>josql
<version>1.5
<optional>true
</dependency>
<dependency>
<groupId>net.sf.josql
<artifactId>gentlyweb-utils
<version>1.5
<optional>true
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.activemq.protobuf
<artifactId>activemq-protobuf
<version>${activemq-protobuf-version}
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-antrun-plugin
<version>1.1
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-assembly-plugin
<version>2.2-beta-4
<configuration>
<tarLongFileMode>gnu
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-jar-plugin
<configuration>
<archive>
<index>true
<compress>true
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-release-plugin
<version>2.0
<configuration>
<autoVersionSubmodules>true
<allowTimestampedSnapshots>false
<preparationGoals>clean install
<goals>deploy
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-surefire-plugin
<version>${maven-surefire-plugin-version}
<configuration>
<redirectTestOutputToFile>true
<forkMode>once
<argLine>-enableassertions
<failIfNoTests>false
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix
<artifactId>maven-bundle-plugin
<version>${maven-bundle-plugin-version}
</plugin>
<plugin>
<groupId>org.codehaus.mojo
<artifactId>ianal-maven-plugin
<version>1.0-alpha-1
</plugin>
<plugin>
<groupId>org.codehaus.mojo
<artifactId>javacc-maven-plugin
<version>2.0
</plugin>
<plugin>
<groupId>org.apache.rat
<artifactId>apache-rat-plugin
<version>0.7
</plugin>
<plugin>
<groupId>org.eclipse.jetty
<artifactId>maven-jetty-plugin
<version>${jetty-version}
</plugin>
<plugin>
<groupId>org.codehaus.mojo
<artifactId>build-helper-maven-plugin
<version>1.2
</plugin>
<plugin>
<groupId>org.codehaus.mojo
<artifactId>cobertura-maven-plugin
<version>2.0
<configuration>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-eclipse-plugin
<version>2.5.1
<configuration>
<downloadSources>true
<downloadJavadocs>false
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-compiler-plugin
<configuration>
<source>1.6
<target>1.6
<optimize>true
<debug>true
<showDeprecation>true
<showWarnings>true
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-enforcer-plugin
<executions>
<execution>
<phase>validate
<goals>
<goal>enforce
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[2.0.9,)
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo
<artifactId>ianal-maven-plugin
<executions>
<execution>
<goals>
<goal>verify-legal-files
</goals>
<configuration>
<strict>true
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix
<artifactId>maven-bundle-plugin
<extensions>true
<inherited>true
<configuration>
<instructions>
<Bundle-Name>${project.artifactId}
<Bundle-SymbolicName>${activemq.osgi.symbolic.name}
<Export-Package>${activemq.osgi.export}
<Import-Package>${activemq.osgi.import}
<DynamicImport-Package>${activemq.osgi.dynamic.import}
<Private-Package>${activemq.osgi.private.pkg}
<Implementation-Title>Apache ActiveMQ
<Implementation-Version>${project.version}
<_versionpolicy-impl>[$(version;==;$(@)),$(version;=+;$(@)))
<_versionpolicy-uses>[$(version;==;$(@)),$(version;+;$(@)))
<_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))
<_failok>${servicemix.osgi.failok}
</instructions>
</configuration>
<executions>
<execution>
<id>cleanVersions
<phase>generate-sources
<goals>
<goal>cleanVersions
</goals>
<configuration>
<versions>
<activemq.osgi.version>${project.version}
</versions>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat
<artifactId>apache-rat-plugin
<configuration>
<excludeSubProjects>false
<excludes>
<exclude>**/*.bin
<exclude>**/*.log
<exclude>**/*README.txt
<exclude>**/store/amq/help.txt
<exclude>**/kahadb/**/*.data
<!-- activemq-xmpp schemas -->
<exclude>**/resources/*.xsd
<!-- web, web-console, web-demo files -->
<exclude>**/webapps/camel/js/dojo/dojo.js
<exclude>**/webapp/js/dojo.js
<exclude>**/webapp/js/jquery-*.js
<exclude>**/webapp/js/prototype.js
<exclude>**/web/behaviour.js
<exclude>**/webapp/js/common.js
<exclude>**/webapp/js/css.js
<exclude>**/webapp/js/standardista-table-sorting.js
<exclude>**/webapp/test/assets/*
<!-- plotkit -->
<exclude>**/webapp/js/plotkit/**/*
<!-- Eclipse files -->
<exclude>**/.*
<exclude>**/eclipse-classes/**/*
<exclude>**/target/**/*
<exclude>**/*.iml
<exclude>.idea/**/*
<exclude>.git/**/*
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<!--
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-jxr-plugin
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-surefire-report-plugin
<version>${maven-surefire-plugin-version}
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-checkstyle-plugin
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-pmd-plugin
</plugin>
<plugin>
<groupId>org.codehaus.mojo
<artifactId>cobertura-maven-plugin
</plugin>
-->
<plugin>
<groupId>org.codehaus.mojo
<artifactId>taglist-maven-plugin
<version>2.4
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-javadoc-plugin
<version>2.5
<configuration>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api/
<link>http://java.sun.com/javaee/5/docs/api/
<link>http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_0/
<link>http://jakarta.apache.org/commons/dbcp/apidocs/
<link>http://jakarta.apache.org/commons/fileupload/apidocs/
<link>http://jakarta.apache.org/commons/httpclient/apidocs/
<link>http://jakarta.apache.org/commons/logging/apidocs/
<link>http://jakarta.apache.org/commons/pool/apidocs/
<link>http://junit.sourceforge.net/javadoc/
<link>http://logging.apache.org/log4j/docs/api/
</links>
<stylesheetfile>${basedir}/../etc/css/stylesheet.css
<linksource>true
<maxmemory>900m
<source>1.5
<additionalJOption>-J-Xmx256m
</configuration>
</plugin>
<!--
<artifactId>cobertura-maven-plugin
<version>2.2
<configuration>
<formats>
<format>html
<format>xml
</formats>
</configuration>
</plugin>-->
</plugins>
</reporting>
<profiles>
<profile>
<id>apache-release
<activation>
<property>
<name>apache-release
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-surefire-plugin
<version>${maven-surefire-plugin-version}
<configuration>
<test>false
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>deploy
<build>
<defaultGoal>deploy
<plugins>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-source-plugin
<version>2.1
<executions>
<execution>
<id>attach-sources
<goals>
<goal>jar
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins
<artifactId>maven-javadoc-plugin
<executions>
<execution>
<id>attach-javadocs
<goals>
<goal>jar
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Other ActiveMQ examples (source code examples)
Here is a short list of links related to this ActiveMQ pom.xml source code file:
|