| <?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. |
| --> |
| |
| <!-- $Rev$ $Date$ --> |
| |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.superbiz</groupId> |
| <artifactId>xa-datasource</artifactId> |
| <packaging>war</packaging> |
| <version>8.0.0</version> |
| <name>TomEE :: Examples :: XA Datasource configuration and usage</name> |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <derby.version>10.12.1.1</derby.version> |
| <tomee.version>8.0.0</tomee.version> |
| </properties> |
| |
| |
| <build> |
| <finalName>dbtest</finalName> |
| <defaultGoal>install</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.5.1</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <failOnMissingWebXml>false</failOnMissingWebXml> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <!-- this is used for inheritance merges --> |
| <phase>package</phase> |
| <!-- bind to the packaging phase --> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <descriptors> |
| <descriptor>src/assembly/tests.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.10</version> |
| <executions> |
| <execution> |
| <id>copy-grinder-libs</id> |
| <phase>process-test-resources</phase> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>net.sf.grinder</groupId> |
| <artifactId>grinder</artifactId> |
| <version>3.11</version> |
| <destFileName>grinder.jar</destFileName> |
| </artifactItem> |
| <artifactItem> |
| <groupId>net.sf.grinder</groupId> |
| <artifactId>grinder-dcr-agent</artifactId> |
| <version>3.11</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>net.sf.grinder</groupId> |
| <artifactId>grinder-http</artifactId> |
| <version>3.11</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>net.sf.grinder</groupId> |
| <artifactId>grinder-core</artifactId> |
| <version>3.11</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.6.4</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <version>1.6.4</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>asm</groupId> |
| <artifactId>asm</artifactId> |
| <version>3.2</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.picocontainer</groupId> |
| <artifactId>picocontainer</artifactId> |
| <version>2.13.6</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.python</groupId> |
| <artifactId>jython-standalone</artifactId> |
| <version>2.5.3</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>1.0.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-core</artifactId> |
| <version>1.0.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>net.sf.grinder</groupId> |
| <artifactId>grinder-httpclient</artifactId> |
| <version>3.11</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>net.sf.grinder</groupId> |
| <artifactId>grinder-xmlbeans</artifactId> |
| <version>3.11</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>javax.xml</groupId> |
| <artifactId>jsr173</artifactId> |
| <version>1.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.xmlbeans</groupId> |
| <artifactId>xmlbeans</artifactId> |
| <version>2.5.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>stax</groupId> |
| <artifactId>stax-api</artifactId> |
| <version>1.0.1</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>net.sf.grinder</groupId> |
| <artifactId>grinder-console-service</artifactId> |
| <version>3.11</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.clojure</groupId> |
| <artifactId>clojure</artifactId> |
| <version>1.4.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.clojure</groupId> |
| <artifactId>tools.logging</artifactId> |
| <version>0.2.3</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>ring</groupId> |
| <artifactId>ring-core</artifactId> |
| <version>1.1.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.1</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>1.6</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.2.1</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>clj-time</groupId> |
| <artifactId>clj-time</artifactId> |
| <version>0.3.7</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| <version>2.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>ring</groupId> |
| <artifactId>ring-jetty-adapter</artifactId> |
| <version>1.1.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>ring</groupId> |
| <artifactId>ring-servlet</artifactId> |
| <version>1.1.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>7.6.1.v20120215</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.eclipse.jetty.orbit</groupId> |
| <artifactId>javax.servlet</artifactId> |
| <version>2.5.0.v201103041518</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-continuation</artifactId> |
| <version>7.6.1.v20120215</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-http</artifactId> |
| <version>7.6.1.v20120215</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-io</artifactId> |
| <version>7.6.1.v20120215</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| <version>7.6.1.v20120215</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>ring-middleware-format</groupId> |
| <artifactId>ring-middleware-format</artifactId> |
| <version>0.2.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.clojure</groupId> |
| <artifactId>core.memoize</artifactId> |
| <version>0.5.1</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.clojure</groupId> |
| <artifactId>core.cache</artifactId> |
| <version>0.5.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>cheshire</groupId> |
| <artifactId>cheshire</artifactId> |
| <version>4.0.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>2.0.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>com.fasterxml.jackson.dataformat</groupId> |
| <artifactId>jackson-dataformat-smile</artifactId> |
| <version>2.0.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>clj-yaml</groupId> |
| <artifactId>clj-yaml</artifactId> |
| <version>0.3.1</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.yaml</groupId> |
| <artifactId>snakeyaml</artifactId> |
| <version>1.5</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>compojure</groupId> |
| <artifactId>compojure</artifactId> |
| <version>1.0.4</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.clojure</groupId> |
| <artifactId>core.incubator</artifactId> |
| <version>0.1.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.clojure</groupId> |
| <artifactId>tools.macro</artifactId> |
| <version>0.1.0</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>clout</groupId> |
| <artifactId>clout</artifactId> |
| <version>1.0.1</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>clj-stacktrace</groupId> |
| <artifactId>clj-stacktrace</artifactId> |
| <version>0.2.4</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>net.sf.grinder</groupId> |
| <artifactId>grinder-swing-console</artifactId> |
| <version>3.11</version> |
| </artifactItem> |
| <artifactItem> |
| <groupId>net.sf.jedit-syntax</groupId> |
| <artifactId>jedit-syntax</artifactId> |
| <version>2.2.2</version> |
| </artifactItem> |
| </artifactItems> |
| <outputDirectory> |
| ${project.basedir}/grinder |
| </outputDirectory> |
| </configuration> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.tomee.maven</groupId> |
| <artifactId>tomee-maven-plugin</artifactId> |
| <version>${tomee.version}</version> |
| <configuration> |
| <tomeeVersion>${tomee.version}</tomeeVersion> |
| <tomeeClassifier>webprofile</tomeeClassifier> |
| <tomeeHttpPort>9080</tomeeHttpPort> |
| <tomeeShutdownPort>9005</tomeeShutdownPort> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <repositories> |
| <repository> |
| <id>apache-m2-snapshot</id> |
| <name>Apache Snapshot Repository</name> |
| <url>https://repository.apache.org/content/groups/snapshots</url> |
| </repository> |
| <repository> |
| <id>Clojars</id> |
| <name>Clojars Repository</name> |
| <url>http://clojars.org/repo/</url> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.tomee</groupId> |
| <artifactId>javaee-api</artifactId> |
| <version>[8.0,)</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- |
| The <scope>test</scope> guarantees that non of your runtime |
| code is dependent on any OpenEJB classes. |
| --> |
| <dependency> |
| <groupId>org.apache.tomee</groupId> |
| <artifactId>openejb-core</artifactId> |
| <version>8.0.0</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| <version>${derby.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derbynet</artifactId> |
| <version>${derby.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derbyclient</artifactId> |
| <version>${derby.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.tomitribe</groupId> |
| <artifactId>tomitribe-util</artifactId> |
| <version>1.1.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>fluent-hc</artifactId> |
| <version>4.5.7</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <!-- |
| This section allows you to configure where to publish libraries for sharing. |
| It is not required and may be deleted. For more information see: |
| http://maven.apache.org/plugins/maven-deploy-plugin/ |
| --> |
| <distributionManagement> |
| <repository> |
| <id>localhost</id> |
| <url>file://${basedir}/target/repo/</url> |
| </repository> |
| <snapshotRepository> |
| <id>localhost</id> |
| <url>file://${basedir}/target/snapshot-repo/</url> |
| </snapshotRepository> |
| </distributionManagement> |
| </project> |