http://git-wip-us.apache.org/repos/asf/tomee/blob/40be966c/examples/moviefun-rest/pom.xml ---------------------------------------------------------------------- diff --git a/examples/moviefun-rest/pom.xml b/examples/moviefun-rest/pom.xml index 155b6d1..866175a 100644 --- a/examples/moviefun-rest/pom.xml +++ b/examples/moviefun-rest/pom.xml @@ -1,293 +1,293 @@ -<?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: 684173 $ $Date: 2008-08-08 20:13:24 -0700 (Fri, 08 Aug 2008) $ --> - -<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>moviefun-rest</artifactId> - <packaging>war</packaging> - <version>1.1-SNAPSHOT</version> - <name>OpenEJB :: Web Examples :: Moviefun Rest</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <tomee.version>7.0.0-SNAPSHOT</tomee.version> - <version.shrinkwrap.resolver>2.0.0</version.shrinkwrap.resolver> - <version.openejb>7.0.0-SNAPSHOT</version.openejb> - </properties> - <repositories> - <repository> - <id>apache-m2-snapshot</id> - <name>Apache Snapshot Repository</name> - <url>https://repository.apache.org/content/groups/snapshots</url> - </repository> - </repositories> - <pluginRepositories> - <pluginRepository> - <id>apache-m2-snapshot</id> - <name>Apache Snapshot Repository</name> - <url>https://repository.apache.org/content/groups/snapshots</url> - </pluginRepository> - </pluginRepositories> - <build> - <finalName>moviefun</finalName> - <plugins> - <plugin> - <groupId>com.googlecode.jslint4java</groupId> - <artifactId>jslint4java-maven-plugin</artifactId> - <version>2.0.5</version> - <configuration> - <failOnError>true</failOnError> - <options> - <vars>true</vars> - <unparam>true</unparam> - <predef>define,require,requirejs,window,Backbone,_,$,Handlebars,APP_CONFIG</predef> - <indent>4</indent> - </options> - <sourceFolders> - <sourceFolder>${basedir}/src/main/webapp/app/js</sourceFolder> - </sourceFolders> - </configuration> - <executions> - <execution> - <phase>prepare-package</phase> - <goals> - <goal>lint</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <version>2.8</version> - <executions> - <execution> - <id>copy-test-libs</id> - <phase>process-test-resources</phase> - <configuration> - <artifactItems> - <artifactItem> - <groupId>javax.servlet</groupId> - <artifactId>jstl</artifactId> - <version>1.2</version> - </artifactItem> - <artifactItem> - <groupId>taglibs</groupId> - <artifactId>standard</artifactId> - <version>1.1.2</version> - </artifactItem> - </artifactItems> - <outputDirectory> - ${project.build.directory}/test-libs - </outputDirectory> - <stripVersion>true</stripVersion> - </configuration> - <goals> - <goal>copy</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.17</version> - <configuration> - <reuseForks>false</reuseForks> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>1.7</source> - <target>1.7</target> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.tomee.maven</groupId> - <artifactId>tomee-maven-plugin</artifactId> - <version>${tomee.version}</version> - <configuration> - <tomeeClassifier>plus</tomeeClassifier> - <args>-Xmx512m -XX:PermSize=256m</args> - <config>${project.basedir}/src/main/tomee/</config> - </configuration> - </plugin> - </plugins> - </build> - <dependencyManagement> - <dependencies> - <!-- Override dependency resolver with test version. This must go *BEFORE* - the Arquillian BOM. --> - <dependency> - <groupId>org.jboss.shrinkwrap.resolver</groupId> - <artifactId>shrinkwrap-resolver-bom</artifactId> - <version>${version.shrinkwrap.resolver}</version> - <scope>import</scope> - <type>pom</type> - </dependency> - <!-- Now pull in our server-based unit testing framework --> - <dependency> - <groupId>org.jboss.arquillian</groupId> - <artifactId>arquillian-bom</artifactId> - <version>1.0.3.Final</version> - <scope>import</scope> - <type>pom</type> - </dependency> - </dependencies> - </dependencyManagement> - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>javaee-api</artifactId> - <version>7.0-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jstl</artifactId> - <version>1.2</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>openejb-core</artifactId> - <version>${version.openejb}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>taglibs</groupId> - <artifactId>standard</artifactId> - <version>1.1.2</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>tomee-embedded</artifactId> - <version>${tomee.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.4</version> - </dependency> - <dependency> - <groupId>org.jboss.arquillian.junit</groupId> - <artifactId>arquillian-junit-container</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.jboss.shrinkwrap.resolver</groupId> - <artifactId>shrinkwrap-resolver-depchain</artifactId> - <type>pom</type> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>ziplock</artifactId> - <version>${tomee.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.webjars</groupId> - <artifactId>backbonejs</artifactId> - <version>1.0.0</version> - </dependency> - <dependency> - <groupId>org.webjars</groupId> - <artifactId>bootstrap</artifactId> - <version>3.1.0</version> - </dependency> - <dependency> - <groupId>org.webjars</groupId> - <artifactId>handlebars</artifactId> - <version>1.2.1</version> - </dependency> - <dependency> - <groupId>org.webjars</groupId> - <artifactId>jquery</artifactId> - <version>2.1.0-1</version> - </dependency> - <dependency> - <groupId>org.webjars</groupId> - <artifactId>json2</artifactId> - <version>20110223</version> - </dependency> - <dependency> - <groupId>org.webjars</groupId> - <artifactId>less</artifactId> - <version>1.6.0-1</version> - </dependency> - <dependency> - <groupId>org.webjars</groupId> - <artifactId>requirejs</artifactId> - <version>2.1.10</version> - </dependency> - <dependency> - <groupId>org.webjars</groupId> - <artifactId>requirejs-text</artifactId> - <version>2.0.10</version> - </dependency> - </dependencies> - <profiles> - <profile> - <id>arquillian-tomee-embedded</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>arquillian-tomee-embedded</artifactId> - <version>${tomee.version}</version> - <scope>test</scope> - </dependency> - </dependencies> - </profile> - <profile> - <id>arquillian-tomee-remote</id> - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>arquillian-tomee-remote</artifactId> - <version>${tomee.version}</version> - <scope>test</scope> - </dependency> - </dependencies> - </profile> - </profiles> - <!-- 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> +<?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: 684173 $ $Date: 2008-08-08 20:13:24 -0700 (Fri, 08 Aug 2008) $ --> + +<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>moviefun-rest</artifactId> + <packaging>war</packaging> + <version>1.1-SNAPSHOT</version> + <name>OpenEJB :: Web Examples :: Moviefun Rest</name> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <tomee.version>7.0.0-M1</tomee.version> + <version.shrinkwrap.resolver>2.0.0</version.shrinkwrap.resolver> + <version.openejb>7.0.0-M1</version.openejb> + </properties> + <repositories> + <repository> + <id>apache-m2-snapshot</id> + <name>Apache Snapshot Repository</name> + <url>https://repository.apache.org/content/groups/snapshots</url> + </repository> + </repositories> + <pluginRepositories> + <pluginRepository> + <id>apache-m2-snapshot</id> + <name>Apache Snapshot Repository</name> + <url>https://repository.apache.org/content/groups/snapshots</url> + </pluginRepository> + </pluginRepositories> + <build> + <finalName>moviefun</finalName> + <plugins> + <plugin> + <groupId>com.googlecode.jslint4java</groupId> + <artifactId>jslint4java-maven-plugin</artifactId> + <version>2.0.5</version> + <configuration> + <failOnError>true</failOnError> + <options> + <vars>true</vars> + <unparam>true</unparam> + <predef>define,require,requirejs,window,Backbone,_,$,Handlebars,APP_CONFIG</predef> + <indent>4</indent> + </options> + <sourceFolders> + <sourceFolder>${basedir}/src/main/webapp/app/js</sourceFolder> + </sourceFolders> + </configuration> + <executions> + <execution> + <phase>prepare-package</phase> + <goals> + <goal>lint</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.8</version> + <executions> + <execution> + <id>copy-test-libs</id> + <phase>process-test-resources</phase> + <configuration> + <artifactItems> + <artifactItem> + <groupId>javax.servlet</groupId> + <artifactId>jstl</artifactId> + <version>1.2</version> + </artifactItem> + <artifactItem> + <groupId>taglibs</groupId> + <artifactId>standard</artifactId> + <version>1.1.2</version> + </artifactItem> + </artifactItems> + <outputDirectory> + ${project.build.directory}/test-libs + </outputDirectory> + <stripVersion>true</stripVersion> + </configuration> + <goals> + <goal>copy</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.17</version> + <configuration> + <reuseForks>false</reuseForks> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.1</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.tomee.maven</groupId> + <artifactId>tomee-maven-plugin</artifactId> + <version>${tomee.version}</version> + <configuration> + <tomeeClassifier>plus</tomeeClassifier> + <args>-Xmx512m -XX:PermSize=256m</args> + <config>${project.basedir}/src/main/tomee/</config> + </configuration> + </plugin> + </plugins> + </build> + <dependencyManagement> + <dependencies> + <!-- Override dependency resolver with test version. This must go *BEFORE* + the Arquillian BOM. --> + <dependency> + <groupId>org.jboss.shrinkwrap.resolver</groupId> + <artifactId>shrinkwrap-resolver-bom</artifactId> + <version>${version.shrinkwrap.resolver}</version> + <scope>import</scope> + <type>pom</type> + </dependency> + <!-- Now pull in our server-based unit testing framework --> + <dependency> + <groupId>org.jboss.arquillian</groupId> + <artifactId>arquillian-bom</artifactId> + <version>1.0.3.Final</version> + <scope>import</scope> + <type>pom</type> + </dependency> + </dependencies> + </dependencyManagement> + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>javaee-api</artifactId> + <version>7.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jstl</artifactId> + <version>1.2</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>openejb-core</artifactId> + <version>${version.openejb}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>taglibs</groupId> + <artifactId>standard</artifactId> + <version>1.1.2</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>tomee-embedded</artifactId> + <version>${tomee.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>2.4</version> + </dependency> + <dependency> + <groupId>org.jboss.arquillian.junit</groupId> + <artifactId>arquillian-junit-container</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jboss.shrinkwrap.resolver</groupId> + <artifactId>shrinkwrap-resolver-depchain</artifactId> + <type>pom</type> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>ziplock</artifactId> + <version>${tomee.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.webjars</groupId> + <artifactId>backbonejs</artifactId> + <version>1.0.0</version> + </dependency> + <dependency> + <groupId>org.webjars</groupId> + <artifactId>bootstrap</artifactId> + <version>3.1.0</version> + </dependency> + <dependency> + <groupId>org.webjars</groupId> + <artifactId>handlebars</artifactId> + <version>1.2.1</version> + </dependency> + <dependency> + <groupId>org.webjars</groupId> + <artifactId>jquery</artifactId> + <version>2.1.0-1</version> + </dependency> + <dependency> + <groupId>org.webjars</groupId> + <artifactId>json2</artifactId> + <version>20110223</version> + </dependency> + <dependency> + <groupId>org.webjars</groupId> + <artifactId>less</artifactId> + <version>1.6.0-1</version> + </dependency> + <dependency> + <groupId>org.webjars</groupId> + <artifactId>requirejs</artifactId> + <version>2.1.10</version> + </dependency> + <dependency> + <groupId>org.webjars</groupId> + <artifactId>requirejs-text</artifactId> + <version>2.0.10</version> + </dependency> + </dependencies> + <profiles> + <profile> + <id>arquillian-tomee-embedded</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>arquillian-tomee-embedded</artifactId> + <version>${tomee.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + </profile> + <profile> + <id>arquillian-tomee-remote</id> + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>arquillian-tomee-remote</artifactId> + <version>${tomee.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + </profile> + </profiles> + <!-- 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>
http://git-wip-us.apache.org/repos/asf/tomee/blob/40be966c/examples/moviefun/pom.xml ---------------------------------------------------------------------- diff --git a/examples/moviefun/pom.xml b/examples/moviefun/pom.xml index 3795ee8..9c2b96e 100644 --- a/examples/moviefun/pom.xml +++ b/examples/moviefun/pom.xml @@ -1,238 +1,238 @@ -<?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: 684173 $ $Date: 2008-08-08 20:13:24 -0700 (Fri, 08 Aug 2008) $ --> - -<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>moviefun</artifactId> - <packaging>war</packaging> - <version>1.1-SNAPSHOT</version> - <name>OpenEJB :: Web Examples :: Moviefun</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <tomee.version>7.0.0-SNAPSHOT</tomee.version> - <version.shrinkwrap.resolver>2.0.0</version.shrinkwrap.resolver> - </properties> - <repositories> - <repository> - <id>apache-m2-snapshot</id> - <name>Apache Snapshot Repository</name> - <url>https://repository.apache.org/content/groups/snapshots</url> - </repository> - </repositories> - <build> - <finalName>moviefun</finalName> - <defaultGoal>install</defaultGoal> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <version>2.1</version> - <executions> - <execution> - <id>copy-test-libs</id> - <phase>process-test-resources</phase> - <configuration> - <artifactItems> - <artifactItem> - <groupId>javax.servlet</groupId> - <artifactId>jstl</artifactId> - <version>1.2</version> - </artifactItem> - <artifactItem> - <groupId>taglibs</groupId> - <artifactId>standard</artifactId> - <version>1.1.2</version> - </artifactItem> - </artifactItems> - <outputDirectory> - ${project.build.directory}/test-libs - </outputDirectory> - <stripVersion>true</stripVersion> - </configuration> - <goals> - <goal>copy</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.17</version> - <configuration> - <reuseForks>false</reuseForks> <!-- otherwise openejb embedded and tomee embedded shares the same context and EJBContainer is broken --> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>1.7</source> - <target>1.7</target> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-eclipse-plugin</artifactId> - <version>2.9</version> - <configuration> - <configuration> - <wtpapplicationxml>true</wtpapplicationxml> - <wtpversion>2.0</wtpversion> - </configuration> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.tomee.maven</groupId> - <artifactId>tomee-maven-plugin</artifactId> - <version>7.0.0-SNAPSHOT</version> - <configuration> - <tomeeClassifier>plus</tomeeClassifier> - <args>-Xmx512m -XX:PermSize=256m</args> - </configuration> - </plugin> - </plugins> - </build> - <dependencyManagement> - <dependencies> - <!-- Override dependency resolver with test version. This must go *BEFORE* - the Arquillian BOM. --> - <dependency> - <groupId>org.jboss.shrinkwrap.resolver</groupId> - <artifactId>shrinkwrap-resolver-bom</artifactId> - <version>${version.shrinkwrap.resolver}</version> - <scope>import</scope> - <type>pom</type> - </dependency> - <!-- Now pull in our server-based unit testing framework --> - <dependency> - <groupId>org.jboss.arquillian</groupId> - <artifactId>arquillian-bom</artifactId> - <version>1.1.5.Final</version> - <scope>import</scope> - <type>pom</type> - </dependency> - </dependencies> - </dependencyManagement> - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>javaee-api</artifactId> - <version>7.0-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>javax.servlet</groupId> - <artifactId>jstl</artifactId> - <version>1.2</version> - </dependency> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>openejb-core</artifactId> - <version>7.0.0-SNAPSHOT</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>taglibs</groupId> - <artifactId>standard</artifactId> - <version>1.1.2</version> - </dependency> - <dependency> - <groupId>net.sourceforge.htmlunit</groupId> - <artifactId>htmlunit</artifactId> - <version>2.8</version> - <type>jar</type> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>tomee-embedded</artifactId> - <version>7.0.0-SNAPSHOT</version> - <!--<classifier>uber</classifier> --> - <scope>test</scope> - </dependency> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.4</version> - </dependency> - <dependency> - <groupId>org.jboss.arquillian.junit</groupId> - <artifactId>arquillian-junit-container</artifactId> - <version>1.1.5.Final</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.jboss.shrinkwrap.resolver</groupId> - <artifactId>shrinkwrap-resolver-depchain</artifactId> - <type>pom</type> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>ziplock</artifactId> - <version>7.0.0-SNAPSHOT</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> - <profiles> - <profile> - <id>arquillian-tomee-embedded</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>arquillian-tomee-embedded</artifactId> - <version>${tomee.version}</version> - <scope>test</scope> - </dependency> - </dependencies> - </profile> - <profile> - <id>arquillian-tomee-remote</id> - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>arquillian-tomee-remote</artifactId> - <version>${tomee.version}</version> - <scope>test</scope> - </dependency> - </dependencies> - </profile> - </profiles> -</project> +<?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: 684173 $ $Date: 2008-08-08 20:13:24 -0700 (Fri, 08 Aug 2008) $ --> + +<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>moviefun</artifactId> + <packaging>war</packaging> + <version>1.1-SNAPSHOT</version> + <name>OpenEJB :: Web Examples :: Moviefun</name> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <tomee.version>7.0.0-M1</tomee.version> + <version.shrinkwrap.resolver>2.0.0</version.shrinkwrap.resolver> + </properties> + <repositories> + <repository> + <id>apache-m2-snapshot</id> + <name>Apache Snapshot Repository</name> + <url>https://repository.apache.org/content/groups/snapshots</url> + </repository> + </repositories> + <build> + <finalName>moviefun</finalName> + <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.1</version> + <executions> + <execution> + <id>copy-test-libs</id> + <phase>process-test-resources</phase> + <configuration> + <artifactItems> + <artifactItem> + <groupId>javax.servlet</groupId> + <artifactId>jstl</artifactId> + <version>1.2</version> + </artifactItem> + <artifactItem> + <groupId>taglibs</groupId> + <artifactId>standard</artifactId> + <version>1.1.2</version> + </artifactItem> + </artifactItems> + <outputDirectory> + ${project.build.directory}/test-libs + </outputDirectory> + <stripVersion>true</stripVersion> + </configuration> + <goals> + <goal>copy</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.17</version> + <configuration> + <reuseForks>false</reuseForks> <!-- otherwise openejb embedded and tomee embedded shares the same context and EJBContainer is broken --> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.1</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-eclipse-plugin</artifactId> + <version>2.9</version> + <configuration> + <configuration> + <wtpapplicationxml>true</wtpapplicationxml> + <wtpversion>2.0</wtpversion> + </configuration> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.tomee.maven</groupId> + <artifactId>tomee-maven-plugin</artifactId> + <version>7.0.0-M1</version> + <configuration> + <tomeeClassifier>plus</tomeeClassifier> + <args>-Xmx512m -XX:PermSize=256m</args> + </configuration> + </plugin> + </plugins> + </build> + <dependencyManagement> + <dependencies> + <!-- Override dependency resolver with test version. This must go *BEFORE* + the Arquillian BOM. --> + <dependency> + <groupId>org.jboss.shrinkwrap.resolver</groupId> + <artifactId>shrinkwrap-resolver-bom</artifactId> + <version>${version.shrinkwrap.resolver}</version> + <scope>import</scope> + <type>pom</type> + </dependency> + <!-- Now pull in our server-based unit testing framework --> + <dependency> + <groupId>org.jboss.arquillian</groupId> + <artifactId>arquillian-bom</artifactId> + <version>1.1.5.Final</version> + <scope>import</scope> + <type>pom</type> + </dependency> + </dependencies> + </dependencyManagement> + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>javaee-api</artifactId> + <version>7.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jstl</artifactId> + <version>1.2</version> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>openejb-core</artifactId> + <version>7.0.0-M1</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>taglibs</groupId> + <artifactId>standard</artifactId> + <version>1.1.2</version> + </dependency> + <dependency> + <groupId>net.sourceforge.htmlunit</groupId> + <artifactId>htmlunit</artifactId> + <version>2.8</version> + <type>jar</type> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>tomee-embedded</artifactId> + <version>7.0.0-M1</version> + <!--<classifier>uber</classifier> --> + <scope>test</scope> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>2.4</version> + </dependency> + <dependency> + <groupId>org.jboss.arquillian.junit</groupId> + <artifactId>arquillian-junit-container</artifactId> + <version>1.1.5.Final</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jboss.shrinkwrap.resolver</groupId> + <artifactId>shrinkwrap-resolver-depchain</artifactId> + <type>pom</type> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>ziplock</artifactId> + <version>7.0.0-M1</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> + <profiles> + <profile> + <id>arquillian-tomee-embedded</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>arquillian-tomee-embedded</artifactId> + <version>${tomee.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + </profile> + <profile> + <id>arquillian-tomee-remote</id> + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>arquillian-tomee-remote</artifactId> + <version>${tomee.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + </profile> + </profiles> +</project> http://git-wip-us.apache.org/repos/asf/tomee/blob/40be966c/examples/movies-complete-meta/pom.xml ---------------------------------------------------------------------- diff --git a/examples/movies-complete-meta/pom.xml b/examples/movies-complete-meta/pom.xml index b9fdb95..6c779af 100644 --- a/examples/movies-complete-meta/pom.xml +++ b/examples/movies-complete-meta/pom.xml @@ -1,96 +1,96 @@ -<?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: 636494 $ $Date: 2008-03-12 21:24:02 +0100 (Wed, 12 Mar 2008) $ --> - -<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>movies-complete-meta</artifactId> - <packaging>jar</packaging> - <version>1.1.0-SNAPSHOT</version> - <name>OpenEJB :: Examples :: Movies Complete (Meta)</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - <build> - <defaultGoal>install</defaultGoal> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> +<?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: 636494 $ $Date: 2008-03-12 21:24:02 +0100 (Wed, 12 Mar 2008) $ --> + +<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>movies-complete-meta</artifactId> + <packaging>jar</packaging> + <version>1.1.2</version> + <name>OpenEJB :: Examples :: Movies Complete (Meta)</name> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + <build> + <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>1.7</source> - <target>1.7</target> - </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> - </repositories> - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>javaee-api</artifactId> - <version>7.0-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</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>7.0.0-SNAPSHOT</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> + <version>3.1</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + </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> + </repositories> + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>javaee-api</artifactId> + <version>7.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</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>7.0.0-M1</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> http://git-wip-us.apache.org/repos/asf/tomee/blob/40be966c/examples/movies-complete/pom.xml ---------------------------------------------------------------------- diff --git a/examples/movies-complete/pom.xml b/examples/movies-complete/pom.xml index 5d13974..66cedd5 100644 --- a/examples/movies-complete/pom.xml +++ b/examples/movies-complete/pom.xml @@ -1,96 +1,96 @@ -<?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: 636494 $ $Date: 2008-03-12 21:24:02 +0100 (Wed, 12 Mar 2008) $ --> - -<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>movies-complete</artifactId> - <packaging>jar</packaging> - <version>1.1.0-SNAPSHOT</version> - <name>OpenEJB :: Examples :: Movies Complete</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - <build> - <defaultGoal>install</defaultGoal> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> +<?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: 636494 $ $Date: 2008-03-12 21:24:02 +0100 (Wed, 12 Mar 2008) $ --> + +<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>movies-complete</artifactId> + <packaging>jar</packaging> + <version>1.1.2</version> + <name>OpenEJB :: Examples :: Movies Complete</name> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + <build> + <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>1.7</source> - <target>1.7</target> - </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> - </repositories> - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>javaee-api</artifactId> - <version>7.0-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</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>7.0.0-SNAPSHOT</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> + <version>3.1</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + </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> + </repositories> + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>javaee-api</artifactId> + <version>7.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</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>7.0.0-M1</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> http://git-wip-us.apache.org/repos/asf/tomee/blob/40be966c/examples/mtom/pom.xml ---------------------------------------------------------------------- diff --git a/examples/mtom/pom.xml b/examples/mtom/pom.xml index abb59d4..e794b74 100644 --- a/examples/mtom/pom.xml +++ b/examples/mtom/pom.xml @@ -1,97 +1,97 @@ -<?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/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - <groupId>org.superbiz</groupId> - <artifactId>mtom</artifactId> - <version>1.1.0-SNAPSHOT</version> - <name>OpenEJB :: Examples :: MTOM</name> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <version.openejb>7.0.0-SNAPSHOT</version.openejb> - </properties> - - <repositories> - <repository> - <id>snapshots-apache</id> - <url>http://repository.apache.org/content/groups/snapshots/</url> - </repository> - </repositories> - - <build> - <defaultGoal>install</defaultGoal> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>1.7</source> - <target>1.7</target> - </configuration> - </plugin> - </plugins> - </build> - - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>openejb-cxf</artifactId> - <version>${version.openejb}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>openejb-junit</artifactId> - <version>${version.openejb}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>openejb-mockito</artifactId> - <version>${version.openejb}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.hamcrest</groupId> - <artifactId>hamcrest-library</artifactId> - <version>1.3</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> +<?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/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + <groupId>org.superbiz</groupId> + <artifactId>mtom</artifactId> + <version>1.1.2</version> + <name>OpenEJB :: Examples :: MTOM</name> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <version.openejb>7.0.0-M1</version.openejb> + </properties> + + <repositories> + <repository> + <id>snapshots-apache</id> + <url>http://repository.apache.org/content/groups/snapshots/</url> + </repository> + </repositories> + + <build> + <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.1</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + </configuration> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>openejb-cxf</artifactId> + <version>${version.openejb}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>openejb-junit</artifactId> + <version>${version.openejb}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>openejb-mockito</artifactId> + <version>${version.openejb}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-library</artifactId> + <version>1.3</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> http://git-wip-us.apache.org/repos/asf/tomee/blob/40be966c/examples/multi-jpa-provider-testing/pom.xml ---------------------------------------------------------------------- diff --git a/examples/multi-jpa-provider-testing/pom.xml b/examples/multi-jpa-provider-testing/pom.xml index dc1a6dd..39336de 100644 --- a/examples/multi-jpa-provider-testing/pom.xml +++ b/examples/multi-jpa-provider-testing/pom.xml @@ -1,163 +1,163 @@ -<?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"> - <modelVersion>4.0.0</modelVersion> - <groupId>org.superbiz</groupId> - <artifactId>multi-jpa-provider-testing</artifactId> - <packaging>jar</packaging> - <version>1.1.0-SNAPSHOT</version> - <name>OpenEJB :: Examples :: Multiple JPA providers</name> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <openejb.version>7.0.0-SNAPSHOT</openejb.version> - </properties> - - <build> - <defaultGoal>install</defaultGoal> - - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>1.7</source> - <target>1.7</target> - </configuration> - </plugin> - - <plugin> <!-- run tests twice, once with openjpa and once with hibernate --> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.17</version> - <executions> - <execution> - <id>test-hibernate</id> - <phase>test</phase> - <goals> - <goal>test</goal> - </goals> - <configuration> - <skip>${maven.test.skip}</skip> - <systemPropertyVariables> - <javax.persistence.provider>org.hibernate.ejb.HibernatePersistence</javax.persistence.provider> - </systemPropertyVariables> - </configuration> - </execution> - <execution> - <id>test-openjpa</id> - <phase>test</phase> - <goals> - <goal>test</goal> - </goals> - <configuration> - <skip>${maven.test.skip}</skip> - <argLine>"-javaagent:${settings.localRepository}/org/apache/tomee/openejb-javaagent/${openejb.version}/openejb-javaagent-${openejb.version}.jar"</argLine> - <systemPropertyVariables> - <javax.persistence.provider>org.apache.openjpa.persistence.PersistenceProviderImpl</javax.persistence.provider> - </systemPropertyVariables> - </configuration> - </execution> - </executions> - <configuration> - <skip>true</skip> - </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> - </repositories> - - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>javaee-api</artifactId> - <version>7.0-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>arquillian-openejb-embedded</artifactId> - <version>${openejb.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.jboss.shrinkwrap.resolver</groupId> - <artifactId>shrinkwrap-resolver-impl-maven</artifactId> - <version>2.0.0</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.jboss.shrinkwrap</groupId> - <artifactId>shrinkwrap-spi</artifactId> - <version>1.1.3</version> - <scope>test</scope> - </dependency> - - <!-- - don't be shy and put all JPA provider in the classpath - otherwise arquillian has some difficulties in embedded mode to find your classes - --> - <dependency> - <groupId>org.apache.openjpa</groupId> - <artifactId>openjpa</artifactId> - <version>2.3.0</version> - <scope>test</scope> - </dependency> - <dependency> <!-- just a facade pom which will bring hibernate for us --> - <groupId>org.apache.tomee</groupId> - <artifactId>openejb-core-hibernate</artifactId> - <version>${openejb.version}</version> - <scope>test</scope> - <type>pom</type> - </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> +<?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"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.superbiz</groupId> + <artifactId>multi-jpa-provider-testing</artifactId> + <packaging>jar</packaging> + <version>1.1.2</version> + <name>OpenEJB :: Examples :: Multiple JPA providers</name> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <openejb.version>7.0.0-M1</openejb.version> + </properties> + + <build> + <defaultGoal>install</defaultGoal> + + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.1</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + </configuration> + </plugin> + + <plugin> <!-- run tests twice, once with openjpa and once with hibernate --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.17</version> + <executions> + <execution> + <id>test-hibernate</id> + <phase>test</phase> + <goals> + <goal>test</goal> + </goals> + <configuration> + <skip>${maven.test.skip}</skip> + <systemPropertyVariables> + <javax.persistence.provider>org.hibernate.ejb.HibernatePersistence</javax.persistence.provider> + </systemPropertyVariables> + </configuration> + </execution> + <execution> + <id>test-openjpa</id> + <phase>test</phase> + <goals> + <goal>test</goal> + </goals> + <configuration> + <skip>${maven.test.skip}</skip> + <argLine>"-javaagent:${settings.localRepository}/org/apache/tomee/openejb-javaagent/${openejb.version}/openejb-javaagent-${openejb.version}.jar"</argLine> + <systemPropertyVariables> + <javax.persistence.provider>org.apache.openjpa.persistence.PersistenceProviderImpl</javax.persistence.provider> + </systemPropertyVariables> + </configuration> + </execution> + </executions> + <configuration> + <skip>true</skip> + </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> + </repositories> + + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>javaee-api</artifactId> + <version>7.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>arquillian-openejb-embedded</artifactId> + <version>${openejb.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jboss.shrinkwrap.resolver</groupId> + <artifactId>shrinkwrap-resolver-impl-maven</artifactId> + <version>2.0.0</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jboss.shrinkwrap</groupId> + <artifactId>shrinkwrap-spi</artifactId> + <version>1.1.3</version> + <scope>test</scope> + </dependency> + + <!-- + don't be shy and put all JPA provider in the classpath + otherwise arquillian has some difficulties in embedded mode to find your classes + --> + <dependency> + <groupId>org.apache.openjpa</groupId> + <artifactId>openjpa</artifactId> + <version>2.3.0</version> + <scope>test</scope> + </dependency> + <dependency> <!-- just a facade pom which will bring hibernate for us --> + <groupId>org.apache.tomee</groupId> + <artifactId>openejb-core-hibernate</artifactId> + <version>${openejb.version}</version> + <scope>test</scope> + <type>pom</type> + </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> http://git-wip-us.apache.org/repos/asf/tomee/blob/40be966c/examples/multiple-arquillian-adapters/pom.xml ---------------------------------------------------------------------- diff --git a/examples/multiple-arquillian-adapters/pom.xml b/examples/multiple-arquillian-adapters/pom.xml index 9b97e09..614ab3b 100644 --- a/examples/multiple-arquillian-adapters/pom.xml +++ b/examples/multiple-arquillian-adapters/pom.xml @@ -1,212 +1,212 @@ -<?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/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <groupId>org.superbiz</groupId> - <artifactId>multiple-arquillian-adapters</artifactId> - <packaging>jar</packaging> - <version>1.1.0-SNAPSHOT</version> - <name>OpenEJB :: Examples :: Multiple Arquillian Adapters</name> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - - <tomee.version>7.0.0-SNAPSHOT</tomee.version> - <openejb.version>7.0.0-SNAPSHOT</openejb.version> - <arquillian.version>1.1.5.Final</arquillian.version> - </properties> - - <build> - <defaultGoal>install</defaultGoal> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>1.7</source> - <target>1.7</target> - </configuration> - </plugin> - <plugin> - <!-- - Redefining execution to: - 1. set the right arquillian adapter - 2. set the category to execute (include/exclude works too) - 3. set the arquillian launcher to use - --> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.17</version> - <executions> - <execution> - <id>test-embedded</id> - <phase>test</phase> - <goals> - <goal>test</goal> - </goals> - <configuration> - <skip>${maven.test.skip}</skip> - <groups>org.superbiz.embedded.standalone.Embedded</groups> - <systemPropertyVariables> - <arquillian.launch>embedded</arquillian.launch> - <openejb.arquillian.adapter>openejb</openejb.arquillian.adapter> - </systemPropertyVariables> - </configuration> - </execution> - <execution> - <id>test-embedded-remote</id> - <phase>test</phase> - <goals> - <goal>test</goal> - </goals> - <configuration> - <skip>${maven.test.skip}</skip> - <groups>org.superbiz.embedded.remote.EmbeddedRemote</groups> - <systemPropertyVariables> - <arquillian.launch>embedded-remote</arquillian.launch> - <openejb.arquillian.adapter>openejb</openejb.arquillian.adapter> - </systemPropertyVariables> - </configuration> - </execution> - <execution> - <id>test-tomee-embedded</id> - <phase>test</phase> - <goals> - <goal>test</goal> - </goals> - <configuration> - <skip>${maven.test.skip}</skip> - <groups>org.superbiz.tomee.embedded.TomEEEmbedded</groups> - <systemPropertyVariables> - <arquillian.launch>tomee-embedded</arquillian.launch> - <openejb.arquillian.adapter>tomee-embedded</openejb.arquillian.adapter> - </systemPropertyVariables> - </configuration> - </execution> - <execution> - <id>test-tomee-remote</id> - <phase>test</phase> - <goals> - <goal>test</goal> - </goals> - <configuration> - <skip>${maven.test.skip}</skip> - <groups>org.superbiz.tomee.remote.TomEERemote</groups> - <systemPropertyVariables> - <arquillian.launch>tomee-remote</arquillian.launch> - <openejb.arquillian.adapter>tomee-remote</openejb.arquillian.adapter> - </systemPropertyVariables> - </configuration> - </execution> - </executions> - <configuration> - <skip>true</skip> - <parallel>none</parallel> - <threadCount>1</threadCount> - </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> - </repositories> - - <dependencies> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>javaee-api</artifactId> - <version>7.0-SNAPSHOT</version> - <scope>provided</scope> - </dependency> - - <!-- common arquillian dependencies --> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.jboss.arquillian.junit</groupId> - <artifactId>arquillian-junit-container</artifactId> - <version>${arquillian.version}</version> - <scope>test</scope> - </dependency> - - <!-- utility test deps --> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>ziplock</artifactId> - <version>${tomee.version}</version> - <scope>test</scope> - </dependency> - - <!-- additional container part for embedded JAX-RS test --> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>openejb-cxf-rs</artifactId> - <version>${openejb.version}</version> - <scope>test</scope> - </dependency> - - <!-- arquillian adapters --> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>arquillian-openejb-embedded</artifactId> - <version>${openejb.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>arquillian-tomee-embedded</artifactId> - <version>${tomee.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.tomee</groupId> - <artifactId>arquillian-tomee-remote</artifactId> - <version>${tomee.version}</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> +<?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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.superbiz</groupId> + <artifactId>multiple-arquillian-adapters</artifactId> + <packaging>jar</packaging> + <version>1.1.2</version> + <name>OpenEJB :: Examples :: Multiple Arquillian Adapters</name> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <tomee.version>7.0.0-M1</tomee.version> + <openejb.version>7.0.0-M1</openejb.version> + <arquillian.version>1.1.5.Final</arquillian.version> + </properties> + + <build> + <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.1</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + </configuration> + </plugin> + <plugin> + <!-- + Redefining execution to: + 1. set the right arquillian adapter + 2. set the category to execute (include/exclude works too) + 3. set the arquillian launcher to use + --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.17</version> + <executions> + <execution> + <id>test-embedded</id> + <phase>test</phase> + <goals> + <goal>test</goal> + </goals> + <configuration> + <skip>${maven.test.skip}</skip> + <groups>org.superbiz.embedded.standalone.Embedded</groups> + <systemPropertyVariables> + <arquillian.launch>embedded</arquillian.launch> + <openejb.arquillian.adapter>openejb</openejb.arquillian.adapter> + </systemPropertyVariables> + </configuration> + </execution> + <execution> + <id>test-embedded-remote</id> + <phase>test</phase> + <goals> + <goal>test</goal> + </goals> + <configuration> + <skip>${maven.test.skip}</skip> + <groups>org.superbiz.embedded.remote.EmbeddedRemote</groups> + <systemPropertyVariables> + <arquillian.launch>embedded-remote</arquillian.launch> + <openejb.arquillian.adapter>openejb</openejb.arquillian.adapter> + </systemPropertyVariables> + </configuration> + </execution> + <execution> + <id>test-tomee-embedded</id> + <phase>test</phase> + <goals> + <goal>test</goal> + </goals> + <configuration> + <skip>${maven.test.skip}</skip> + <groups>org.superbiz.tomee.embedded.TomEEEmbedded</groups> + <systemPropertyVariables> + <arquillian.launch>tomee-embedded</arquillian.launch> + <openejb.arquillian.adapter>tomee-embedded</openejb.arquillian.adapter> + </systemPropertyVariables> + </configuration> + </execution> + <execution> + <id>test-tomee-remote</id> + <phase>test</phase> + <goals> + <goal>test</goal> + </goals> + <configuration> + <skip>${maven.test.skip}</skip> + <groups>org.superbiz.tomee.remote.TomEERemote</groups> + <systemPropertyVariables> + <arquillian.launch>tomee-remote</arquillian.launch> + <openejb.arquillian.adapter>tomee-remote</openejb.arquillian.adapter> + </systemPropertyVariables> + </configuration> + </execution> + </executions> + <configuration> + <skip>true</skip> + <parallel>none</parallel> + <threadCount>1</threadCount> + </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> + </repositories> + + <dependencies> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>javaee-api</artifactId> + <version>7.0-SNAPSHOT</version> + <scope>provided</scope> + </dependency> + + <!-- common arquillian dependencies --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jboss.arquillian.junit</groupId> + <artifactId>arquillian-junit-container</artifactId> + <version>${arquillian.version}</version> + <scope>test</scope> + </dependency> + + <!-- utility test deps --> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>ziplock</artifactId> + <version>${tomee.version}</version> + <scope>test</scope> + </dependency> + + <!-- additional container part for embedded JAX-RS test --> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>openejb-cxf-rs</artifactId> + <version>${openejb.version}</version> + <scope>test</scope> + </dependency> + + <!-- arquillian adapters --> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>arquillian-openejb-embedded</artifactId> + <version>${openejb.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>arquillian-tomee-embedded</artifactId> + <version>${tomee.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>arquillian-tomee-remote</artifactId> + <version>${tomee.version}</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>
