| <?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</groupId> |
| <artifactId>apache</artifactId> |
| <version>5</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-parent</artifactId> |
| <version>2.0-M2</version> |
| <packaging>pom</packaging> |
| <name>Camel</name> |
| <description>Camel Parent POM</description> |
| |
| <prerequisites> |
| <maven>2.0.9</maven> |
| </prerequisites> |
| |
| <properties> |
| <compiler.fork>false</compiler.fork> |
| <!-- Note that activemq dependency is only used for testing! --> |
| <activemq-version>5.2.0</activemq-version> |
| <apacheds-version>1.5.4</apacheds-version> |
| <axiom-version>1.2.8</axiom-version> |
| <cxf-version>2.2.2</cxf-version> |
| <felix-version>1.4.1</felix-version> |
| <felix-osgi-version>1.2.0</felix-osgi-version> |
| <geronimo-jms-spec-version>1.1.1</geronimo-jms-spec-version> |
| <geronimo-jpa-spec-version>1.1.1</geronimo-jpa-spec-version> |
| <geronimo-jta-spec-version>1.1.1</geronimo-jta-spec-version> |
| <httpcore-version>4.0</httpcore-version> |
| <httpclient-version>3.1</httpclient-version> |
| <jetty-version>6.1.16</jetty-version> |
| <slf4j-version>1.5.6</slf4j-version> |
| <openjpa-version>1.2.1</openjpa-version> |
| <spring-version>2.5.6</spring-version> |
| <spring-osgi-version>1.2.0</spring-osgi-version> |
| <mina-version>1.1.7</mina-version> |
| <jaxb-version>2.1.10</jaxb-version> |
| <jaxb-api-version>2.1</jaxb-api-version> |
| <stax-api-version>1.0.1</stax-api-version> |
| <log4j-version>1.2.14</log4j-version> |
| <cometd-bayeux-version>6.1.11</cometd-bayeux-version> |
| <commons-io-version>1.3.2</commons-io-version> |
| <commons-logging-version>1.1.1</commons-logging-version> |
| <commons-logging-api-version>1.1</commons-logging-api-version> |
| <commons-collections-version>3.2.1</commons-collections-version> |
| <commons-pool-version>1.4</commons-pool-version> |
| <commons-dbcp-version>1.2.2</commons-dbcp-version> |
| <derby-version>10.4.2.0</derby-version> |
| <easymock-version>2.4</easymock-version> |
| <hamcrest-version>1.2-dev1</hamcrest-version> |
| <hibernate-version>3.2.6.ga</hibernate-version> |
| <hibernate-entitymanager-version>3.2.1.ga</hibernate-entitymanager-version> |
| <hsqldb-version>1.8.0.7</hsqldb-version> |
| <groovy-version>1.6.3</groovy-version> |
| <guiceyfruit-version>2.0</guiceyfruit-version> |
| <junit-version>3.8.2</junit-version> |
| <saxon-version>9.1.0.1</saxon-version> |
| <scala-version>2.7.3</scala-version> |
| <scala-plugin-version>2.9.1</scala-plugin-version> |
| <testng-version>5.8</testng-version> |
| <xbean-spring-version>3.5</xbean-spring-version> |
| <xstream-version>1.3.1</xstream-version> |
| <xmlsec-version>1.4.2</xmlsec-version> |
| <javamail-version>1.4.2</javamail-version> |
| <xerces-version>2.8.0</xerces-version> |
| <xalan-version>2.7.1</xalan-version> |
| |
| <!-- Repositories --> |
| <m1-repo-url>scpexe://minotaur.apache.org/www/people.apache.org/repo/m1-snapshot-repository</m1-repo-url> |
| <site-repo-url>scpexe://people.apache.org/www/camel.apache.org/maven/</site-repo-url> |
| |
| <!-- OSGi bundles properties --> |
| <camel.osgi.import.pkg>!javax.xml.bind.annotation.adapters,*</camel.osgi.import.pkg> |
| <camel.osgi.activator /> |
| <camel.osgi.private.pkg>!*</camel.osgi.private.pkg> |
| <camel.osgi.export>${camel.osgi.export.pkg};${camel.osgi.version}</camel.osgi.export> |
| <camel.osgi.version>version=${project.version}</camel.osgi.version> |
| <camel.osgi.split.pkg>-split-package:=first</camel.osgi.split.pkg> |
| <camel.osgi.import>${camel.osgi.import.pkg}</camel.osgi.import> |
| <camel.osgi.symbolic.name>${groupId}.${artifactId}</camel.osgi.symbolic.name> |
| <camel.osgi.exclude.dependencies>true</camel.osgi.exclude.dependencies> |
| </properties> |
| |
| <url>http://camel.apache.org</url> |
| |
| <organization> |
| <name>Apache Software Foundation</name> |
| <url>http://www.apache.org/</url> |
| </organization> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <mailingLists> |
| <mailingList> |
| <name>Development List</name> |
| <subscribe>dev-subscribe@camel.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@camel.apache.org</unsubscribe> |
| <post>dev@camel.apache.org</post> |
| </mailingList> |
| <mailingList> |
| <name>User List</name> |
| <subscribe>users-subscribe@camel.apache.org</subscribe> |
| <unsubscribe>users-unsubscribe@camel.apache.org</unsubscribe> |
| <post>users@camel.apache.org</post> |
| </mailingList> |
| <mailingList> |
| <name>Commits List</name> |
| <subscribe>commits-subscribe@camel.apache.org</subscribe> |
| <unsubscribe>commits-unsubscribe@camel.apache.org</unsubscribe> |
| <post>commits@camel.apache.org</post> |
| </mailingList> |
| </mailingLists> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/activemq/browse/CAMEL</url> |
| </issueManagement> |
| |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <url>${site-repo-url}</url> |
| </site> |
| </distributionManagement> |
| |
| <modules> |
| <module>buildingtools</module> |
| <module>camel-core</module> |
| <module>components</module> |
| <module>examples</module> |
| <module>platforms</module> |
| <module>tooling</module> |
| <module>tests</module> |
| <module>apache-camel</module> |
| </modules> |
| |
| <scm> |
| <connection>scm:svn:https://svn.apache.org/repos/asf/camel/tags/camel-2.0-M2</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/camel/tags/camel-2.0-M2</developerConnection> |
| <url>http://svn.apache.org/viewvc/camel/tags/camel-2.0-M2</url> |
| </scm> |
| |
| <dependencyManagement> |
| <dependencies> |
| |
| <!-- Camel jars --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-amqp</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-atom</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-bam</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-bindy</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-cometd</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-csv</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-cxf</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-impl</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-flatpack</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-freemarker</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-ftp</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-groovy</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-guice</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-hl7</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-http</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-ibatis</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-irc</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jackson</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jaxb</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jcr</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jdbc</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jetty</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jing</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jms</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-josql</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jpa</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-juel</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jxpath</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-mail</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-mina</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-msv</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-mvel</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-ognl</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-osgi</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-quartz</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-rmi</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-ruby</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-rss</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-saxon</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-scala</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-script</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring-integration</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring-javaconfig</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-sql</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-stream</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-stringtemplate</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-tagsoup</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-velocity</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-xmlbeans</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-xmlsecurity</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-xmpp</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-xstream</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-restlet</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-example-bam</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-example-cxf</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-example-docs</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-example-etl</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-example-loan-broker</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-example-jms-file</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-example-osgi</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-example-spring</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-example-spring-xquery</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-manual</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- testing jars --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| <type>test-jar</type> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring</artifactId> |
| <type>test-jar</type> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- Required dependencies --> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging-api</artifactId> |
| <version>${commons-logging-api-version}</version> |
| </dependency> |
| |
| <!-- optional dependencies --> |
| <dependency> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| <version>${jaxb-api-version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.xml</groupId> |
| <artifactId>jsr173</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>stax</groupId> |
| <artifactId>stax-api</artifactId> |
| <version>${stax-api-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-impl</artifactId> |
| <version>${jaxb-version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.jws</groupId> |
| <artifactId>jsr181-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-xjc</artifactId> |
| <version>${jaxb-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>${commons-logging-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>${commons-collections-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-pool</groupId> |
| <artifactId>commons-pool</artifactId> |
| <version>${commons-pool-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-dbcp</groupId> |
| <artifactId>commons-dbcp</artifactId> |
| <version>${commons-dbcp-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons-io-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>${log4j-version}</version> |
| </dependency> |
| |
| <!-- optional dependencies for felix --> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>${felix-osgi-version}</version> |
| </dependency> |
| |
| <!-- optional dependencies for JMS --> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-core</artifactId> |
| <version>${activemq-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.activemq</groupId> |
| <artifactId>activemq-camel</artifactId> |
| <version>${activemq-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>xbean-spring</artifactId> |
| <version>${xbean-spring-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jms_1.1_spec</artifactId> |
| <version>${geronimo-jms-spec-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jta_1.1_spec</artifactId> |
| <version>${geronimo-jta-spec-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-j2ee-management_1.0_spec</artifactId> |
| <version>1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-j2ee-jacc_1.0_spec</artifactId> |
| <version>1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId> |
| <version>2.0.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jsp_2.0_spec</artifactId> |
| <version>1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_2.4_spec</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jpa_3.0_spec</artifactId> |
| <version>${geronimo-jpa-spec-version}</version> |
| </dependency> |
| |
| <!-- Optional Spring Support --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-web</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-aop</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jdbc</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-orm</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-jms</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-context-support</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-tx</artifactId> |
| <version>${spring-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.osgi</groupId> |
| <artifactId>spring-osgi-core</artifactId> |
| <version>${spring-osgi-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework.osgi</groupId> |
| <artifactId>spring-osgi-mock</artifactId> |
| <version>${spring-osgi-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>jsr250-api</artifactId> |
| <version>1.0</version> |
| </dependency> |
| |
| <!-- optional guice dependencies --> |
| <dependency> |
| <groupId>org.guiceyfruit</groupId> |
| <artifactId>guiceyfruit-core</artifactId> |
| <version>${guiceyfruit-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.guiceyfruit</groupId> |
| <artifactId>guiceyfruit-junit3</artifactId> |
| <version>${guiceyfruit-version}</version> |
| </dependency> |
| |
| <!-- optional mina dependencies --> |
| <dependency> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-core</artifactId> |
| <version>${mina-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>${slf4j-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j-version}</version> |
| </dependency> |
| |
| <!-- optional jetty support --> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty</artifactId> |
| <version>${jetty-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-client</artifactId> |
| <version>${jetty-version}</version> |
| </dependency> |
| |
| <!-- optional jakarta http core support --> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpcore</artifactId> |
| <version>${httpcore-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpcore-nio</artifactId> |
| <version>${httpcore-version}</version> |
| </dependency> |
| |
| <!-- optional scripting support --> |
| <dependency> |
| <groupId>org.livetribe</groupId> |
| <artifactId>livetribe-jsr223</artifactId> |
| <version>2.0.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.groovy</groupId> |
| <artifactId>groovy-all</artifactId> |
| <version>${groovy-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.script</groupId> |
| <artifactId>groovy-engine</artifactId> |
| <version>20070112</version> |
| </dependency> |
| |
| <!-- optional Saxon support--> |
| <dependency> |
| <groupId>net.sf.saxon</groupId> |
| <artifactId>saxon</artifactId> |
| <version>${saxon-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.saxon</groupId> |
| <artifactId>saxon-dom</artifactId> |
| <version>${saxon-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.saxon</groupId> |
| <artifactId>saxon-sql</artifactId> |
| <version>${saxon-version}</version> |
| </dependency> |
| |
| <!-- optional CXF support --> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-core</artifactId> |
| <version>${cxf-version}</version> |
| </dependency> |
| |
| <!-- unit testing frameworks --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>${testng-version}</version> |
| <classifier>jdk15</classifier> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>${hamcrest-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymockclassextension</artifactId> |
| <version>${easymock-version}</version> |
| </dependency> |
| |
| <!-- default JPA support --> |
| <dependency> |
| <groupId>org.apache.openjpa</groupId> |
| <artifactId>openjpa-persistence-jdbc</artifactId> |
| <version>${openjpa-version}</version> |
| </dependency> |
| |
| <!-- hibernate and other db systems --> |
| <dependency> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate-entitymanager</artifactId> |
| <version>${hibernate-entitymanager-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.hibernate</groupId> |
| <artifactId>hibernate</artifactId> |
| <version>${hibernate-version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.transaction</groupId> |
| <artifactId>jta</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| <version>${derby-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| <version>${hsqldb-version}</version> |
| </dependency> |
| |
| <!-- optional JavaMail --> |
| <dependency> |
| <groupId>javax.mail</groupId> |
| <artifactId>mail</artifactId> |
| <version>${javamail-version}</version> |
| </dependency> |
| |
| <!-- optional XStream --> |
| <dependency> |
| <groupId>com.thoughtworks.xstream</groupId> |
| <artifactId>xstream</artifactId> |
| <version>${xstream-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.jettison</groupId> |
| <artifactId>jettison</artifactId> |
| <version>1.0.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ccil.cowan.tagsoup</groupId> |
| <artifactId>tagsoup</artifactId> |
| <version>1.2</version> |
| </dependency> |
| |
| <!-- optional Axiom --> |
| <dependency> |
| <groupId>org.apache.ws.commons.axiom</groupId> |
| <artifactId>axiom-impl</artifactId> |
| <version>1.2.8</version> |
| </dependency> |
| |
| </dependencies> |
| </dependencyManagement> |
| |
| |
| <build> |
| <defaultGoal>install</defaultGoal> |
| |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2-beta-3</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-codegen-plugin</artifactId> |
| <version>${cxf-version}</version> |
| <dependencies> |
| <!-- needed to add this to get around the following error on IBM's JDK |
| org.apache.xerces.impl.dv.DVFactoryException: DTD factory class |
| org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend |
| from DTDDVFactory. |
| --> |
| <dependency> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| <version>2.8.1</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.0.2</version> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| <maxmem>256M</maxmem> |
| <fork>${compiler.fork}</fork> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-idea-plugin</artifactId> |
| <configuration> |
| <downloadSources>true</downloadSources> |
| <downloadJavadocs>true</downloadJavadocs> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.2</version> |
| <configuration> |
| <check> |
| <branchRate>85</branchRate> |
| <lineRate>85</lineRate> |
| <haltOnFailure>false</haltOnFailure> |
| <totalBranchRate>85</totalBranchRate> |
| <totalLineRate>85</totalLineRate> |
| <packageLineRate>85</packageLineRate> |
| <packageBranchRate>85</packageBranchRate> |
| <regexes> |
| <regex> |
| <pattern>org.apache.camel.impl.*</pattern> |
| <branchRate>90</branchRate> |
| <lineRate>80</lineRate> |
| </regex> |
| <regex> |
| <pattern>org.apache.camel.builder.*</pattern> |
| <branchRate>40</branchRate> |
| <lineRate>30</lineRate> |
| </regex> |
| </regexes> |
| </check> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.sun.tools.jxc.maven2</groupId> |
| <artifactId>maven-jaxb-schemagen-plugin</artifactId> |
| <version>1.3-dev</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <version>2.5.1</version> |
| <configuration> |
| <outputDirectory>${basedir}/eclipse-classes</outputDirectory> |
| <downloadSources>true</downloadSources> |
| |
| <!-- Eclipse update site for the Checkstyle plugin is http://eclipse-cs.sourceforge.net/update --> |
| <!-- Eclipse update site for the PMD plugin is http://pmd.sf.net/eclipse --> |
| <buildcommands> |
| <java.lang.String>org.eclipse.jdt.core.javabuilder</java.lang.String> |
| <java.lang.String>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</java.lang.String> |
| <!-- Lets not enable the PMD buidler just yet.. |
| <java.lang.String>net.sourceforge.pmd.runtime.pmdBuilder</java.lang.String> |
| --> |
| </buildcommands> |
| <projectnatures> |
| <nature>org.eclipse.jdt.core.javanature</nature> |
| <nature>com.atlassw.tools.eclipse.checkstyle.CheckstyleNature</nature> |
| <!-- Lets not enable the PMD buidler just yet.. |
| <nature>net.sourceforge.pmd.runtime.pmdNature</nature> |
| --> |
| </projectnatures> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>maven-jetty-plugin</artifactId> |
| <version>${jetty-version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <configuration> |
| <tagBase>https://svn.apache.org/repos/asf/camel/tags</tagBase> |
| <useReleaseProfile>false</useReleaseProfile> |
| <preparationGoals>clean install</preparationGoals> |
| <goals>deploy</goals> |
| <arguments>-Prelease,deploy,enable-schemagen,sourcecheck,hibernate-derby</arguments> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-buildtools</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <configuration> |
| <configLocation>camel-checkstyle.xml</configLocation> |
| <consoleOutput>true</consoleOutput> |
| <failsOnError>true</failsOnError> |
| <linkXRef>false</linkXRef> |
| <suppressionsLocation>camel-checkstyle-suppressions.xml</suppressionsLocation> |
| <sourceDirectory>${basedir}/src</sourceDirectory> |
| <excludes>**/archetype-resources/**/*.java</excludes> |
| </configuration> |
| <goals> |
| <goal>checkstyle</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>${felix-version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <excludeDependencies>${camel.osgi.exclude.dependencies}</excludeDependencies> |
| <instructions> |
| <Bundle-Name>${artifactId}</Bundle-Name> |
| <Bundle-SymbolicName>${camel.osgi.symbolic.name}</Bundle-SymbolicName> |
| <Bundle-Activator>${camel.osgi.activator}</Bundle-Activator> |
| <Export-Package>${camel.osgi.export}</Export-Package> |
| <Import-Package>${camel.osgi.import}</Import-Package> |
| <Private-Package>${camel.osgi.private.pkg}</Private-Package> |
| <Implementation-Title>Apache Camel</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| </instructions> |
| </configuration> |
| </plugin> |
| <!-- |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-one-plugin</artifactId> |
| <extensions>true</extensions> |
| <executions> |
| <execution> |
| <goals> |
| <goal>install-maven-one-repository</goal> |
| <goal>deploy-maven-one-repository</goal> |
| </goals> |
| <configuration> |
| <remoteRepositoryId>apache.m1.releases</remoteRepositoryId> |
| <remoteRepositoryUrl>${m1-repo-url}</remoteRepositoryUrl> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| --> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <!--forkMode>pertest</forkMode--> |
| <childDelegation>false</childDelegation> |
| <useFile>true</useFile> |
| <failIfNoTests>false</failIfNoTests> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| </plugin> |
| |
| <!-- |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jxr-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| </plugin> |
| --> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>taglist-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <links> |
| <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
| <link>http://java.sun.com/javaee/5/docs/api/</link> |
| <link>http://static.springframework.org/spring/docs/2.5.x/api/</link> |
| </links> |
| <stylesheetfile>${basedir}/../../etc/css/stylesheet.css</stylesheetfile> |
| <linksource>true</linksource> |
| <maxmemory>500m</maxmemory> |
| <source>1.5</source> |
| |
| <!-- TODO we can't aggregate as it won't find the CSS file :( --> |
| <!--<aggregate>true</aggregate>--> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <profiles> |
| <profile> |
| <id>setup.eclipse</id> |
| <!-- |
| set up the eclipse workspace and generate the .classpath and .project files for modules |
| --> |
| <properties> |
| <eclipse.workspace.dir>${basedir}/../workspace</eclipse.workspace.dir> |
| </properties> |
| <build> |
| <defaultGoal>process-test-sources</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <inherited>false</inherited> |
| <executions> |
| <execution> |
| <id>setup.eclipse.workspace</id> |
| <phase>process-test-sources</phase> |
| <goals> |
| <goal>add-maven-repo</goal> |
| </goals> |
| <configuration> |
| <workspace>${eclipse.workspace.dir}</workspace> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <inherited>false</inherited> |
| <dependencies> |
| <dependency> |
| <groupId>ant</groupId> |
| <artifactId>ant-nodeps</artifactId> |
| <version>1.6.5</version> |
| </dependency> |
| <dependency> |
| <groupId>ant</groupId> |
| <artifactId>ant-trax</artifactId> |
| <version>1.6.5</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>setup.workspace</id> |
| <phase>validate</phase> |
| <configuration> |
| <tasks> |
| <path id="ecp.ws.path" location="${eclipse.workspace.dir}" /> |
| <property name="full.eclipse.workspace" refid="ecp.ws.path" /> |
| <path path="${basedir}/etc" id="etc.path" /> |
| |
| <whichresource resource="/activemq-eclipse-pmd" property="pmd.url"> |
| <classpath refid="etc.path" /> |
| </whichresource> |
| <whichresource resource="/activemq-pmd-ruleset.xml" property="pmdruleset.url"> |
| <classpath refid="etc.path" /> |
| </whichresource> |
| <whichresource resource="/activemq-eclipse-checkstyle" property="eclipse.checkstyle.url"> |
| <classpath refid="etc.path" /> |
| </whichresource> |
| <whichresource resource="/activemq-checkstyle.xml" property="checkstyle.url"> |
| <classpath refid="etc.path" /> |
| </whichresource> |
| |
| <mkdir dir="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings" /> |
| <mkdir dir="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle" /> |
| <mkdir dir="${full.eclipse.workspace}/.metadata/.plugins/net.sourceforge.pmd.eclipse" /> |
| |
| <get src="${checkstyle.url}" dest="${full.eclipse.workspace}/activemq-checkstyle.xml" /> |
| |
| <!-- Add checkstyle config --> |
| <copy file="${basedir}/etc/eclipse/template.checkstyle-config.xml" tofile="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml" overwrite="no"> |
| <filterset> |
| <filter token="CHECKSTYLE_CONFIG_FILE" value="${full.eclipse.workspace}/activemq-checkstyle.xml" /> |
| <filter token="APACHE_HEADER_FILE" value="${full.eclipse.workspace}/activemq-header.txt" /> |
| </filterset> |
| </copy> |
| |
| <xslt style="${basedir}/etc/eclipse/addcheckstyle.xsl" in="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml" out="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml.new"> |
| <param name="checkstyleconfig" expression="${full.eclipse.workspace}/activemq-checkstyle.xml" /> |
| </xslt> |
| <copy file="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml.new" tofile="${full.eclipse.workspace}/.metadata/.plugins/com.atlassw.tools.eclipse.checkstyle/checkstyle-config.xml" overwrite="yes" /> |
| |
| <!-- Add warning flags that we want --> |
| <propertyfile file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs"> |
| <entry key="org.eclipse.jdt.core.compiler.problem.missingSerialVersion" value="ignore" /> |
| <entry key="org.eclipse.jdt.core.compiler.problem.unusedImport" value="ignore" /> |
| <entry key="org.eclipse.jdt.core.compiler.problem.annotationSuperInterface" value="ignore" /> |
| <entry key="org.eclipse.jdt.core.compiler.problem.rawTypeReference" value="ignore" /> |
| </propertyfile> |
| |
| <!-- Add code format rules --> |
| <concat destfile="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" append="true" fixlastline="true"> |
| <filelist dir="${basedir}/etc/eclipse" files="org.eclipse.jdt.core.prefs" /> |
| </concat> |
| <loadfile property="eclipse.code.format" srcFile="${basedir}/etc/eclipse/ActiveMQCodeFormatter.xml" /> |
| <loadfile property="eclipse.code.templates" srcFile="${basedir}/etc/eclipse/codetemplates.xml" /> |
| <loadfile property="eclipse.camel.java.code.templates" srcFile="${basedir}/etc/eclipse/camel_java_templates.xml" /> |
| <loadfile property="eclipse.camel.xml.code.templates" srcFile="${basedir}/etc/eclipse/camel_xml_templates.xml" /> |
| <propertyfile file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs"> |
| <entry key="formatter_profile" value="_ActiveMQ Java Conventions" /> |
| <entry key="org.eclipse.jdt.ui.formatterprofiles" value="${eclipse.code.format}" /> |
| <entry key="org.eclipse.jdt.ui.text.custom_code_templates" value="${eclipse.code.templates}" /> |
| |
| <!-- Add Camel templates for Java DSL --> |
| <entry key="org.eclipse.jdt.ui.text.custom_templates" value="${eclipse.camel.java.code.templates}" /> |
| |
| <!-- Add import order --> |
| <entry key="org.eclipse.jdt.ui.importorder" value="java;javax;org.w3c;org.xml;w3c;" /> |
| <!-- Sort order --> |
| <entry key="org.eclipse.jdt.ui.visibility.order" value="B,R,D,V," /> |
| <entry key="outlinesortoption" value="T,SF,F,SI,I,C,SM,M," /> |
| <entry key="org.eclipse.jdt.ui.enable.visibility.order" value="true" /> |
| </propertyfile> |
| <propertyfile file="${full.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.xml.ui.prefs"> |
| <entry key="eclipse.preferences.version" value="1" /> |
| <!-- Add Camel templates for Spring DSL --> |
| <entry key="org.eclipse.wst.sse.ui.custom_templates" value="${eclipse.camel.xml.code.templates}" /> |
| </propertyfile> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <!-- endable the checkstyle source code checking --> |
| <id>sourcecheck</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| </plugin> |
| <!--plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| </plugin--> |
| </plugins> |
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.2</version> |
| <configuration> |
| <formats> |
| <format>html</format> |
| </formats> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| </profile> |
| |
| <profile> |
| <id>rat</id> |
| <!-- The profile for Apache Release Audit Tool http://incubator.apache.org/rat/ --> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>rat-maven-plugin</artifactId> |
| <version>1.0-alpha-3</version> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile> |
| <excludes> |
| <exclude>**/target/**/*</exclude> |
| |
| <!-- left around after creating the site --> |
| <exclude>**/cobertura.ser</exclude> |
| |
| <!-- left around after some unit tests --> |
| <exclude>**/derby.log</exclude> |
| <exclude>**/camel-ftp/res/**/*</exclude> |
| |
| <!-- IDEA files --> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/*.ipr</exclude> |
| <exclude>**/*.iws</exclude> |
| |
| <!-- Eclipse files --> |
| <exclude>**/.*</exclude> |
| <exclude>**/eclipse-classes/**/*</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <!-- |
| TODO this barfs |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>rat-maven-plugin</artifactId> |
| <version>1.0-alpha-3</version> |
| </plugin> |
| </plugins> |
| </reporting> |
| --> |
| <repositories> |
| <repository> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots /> |
| <id>Codehaus Snapshots</id> |
| <url>http://snapshots.repository.codehaus.org/</url> |
| </repository> |
| </repositories> |
| <pluginRepositories> |
| <pluginRepository> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots /> |
| <id>Codehaus Snapshots</id> |
| <url>http://snapshots.repository.codehaus.org/</url> |
| </pluginRepository> |
| </pluginRepositories> |
| </profile> |
| |
| <profile> |
| <id>integration</id> |
| <!--The profile for running the unit and integration test--> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <childDelegation>false</childDelegation> |
| <useFile>true</useFile> |
| <includes> |
| <include>**/*Test.*</include> |
| <include>**/*Integration.*</include> |
| </includes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>deploy</id> |
| <build> |
| <defaultGoal>deploy</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.0.4</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>release</id> |
| <!-- this profile will be hit when you do relase work for camel --> |
| <build> |
| <plugins> |
| <!-- We want to deploy the artifact to a staging location for perusal --> |
| <plugin> |
| <inherited>true</inherited> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <updateReleaseInfo>true</updateReleaseInfo> |
| </configuration> |
| </plugin> |
| <!-- We want to sign the artifact, the POM, and all attached artifacts --> |
| <plugin> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.0-alpha-4</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| |
| </profiles> |
| </project> |