Skip to content

Instantly share code, notes, and snippets.

@johnament
Forked from gbougeard/gist:5337227
Last active December 15, 2015 22:59
Show Gist options
  • Save johnament/5337251 to your computer and use it in GitHub Desktop.
Save johnament/5337251 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>com.reservit</groupId>
<artifactId>reservit-web-parent</artifactId>
<version>86.0.1-SNAPSHOT</version>
</parent>
<artifactId>components</artifactId>
<version>${project.parent.version}</version>
<packaging>ejb</packaging>
<name>Components</name>
<description>ReservIT Model and Business Project</description>
<properties>
<version.arquillian>1.0.0.CR3</version.arquillian>
<version.org.jboss.jbossas_server-manager>1.0.3.GA</version.org.jboss.jbossas_server-manager>
</properties>
<scm>
<connection>scm:git:ssh://gerrit.it.int/components</connection>
<url>scm:git:ssh://gerrit.it.int/components</url>
</scm>
<build>
<plugins>
<plugin>
<artifactId>maven-ejb-plugin</artifactId>
<configuration>
<ejbVersion>3.0</ejbVersion>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-ra</artifactId>
<version>5.5.0</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- EAR provided dependencies -->
<!--Metrics -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>com.yammer.metrics</groupId>
<artifactId>metrics-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.yammer.metrics</groupId>
<artifactId>metrics-ehcache</artifactId>
<scope>provided</scope>
</dependency>
<!--Reservit Artifacts -->
<dependency>
<groupId>com.reservit</groupId>
<artifactId>logstash-client</artifactId>
<scope>provided</scope>
</dependency>
<!-- Antisamy -->
<dependency>
<groupId>org.owasp.antisamy</groupId>
<artifactId>antisamy</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.sourceforge.nekohtml</groupId>
<artifactId>nekohtml</artifactId>
<scope>provided</scope>
</dependency>
<!-- EbXML lib -->
<dependency>
<groupId>ebms</groupId>
<artifactId>ebms</artifactId>
<scope>provided</scope>
</dependency>
<!-- Castor : needed by some XML OTA -->
<dependency>
<groupId>castor</groupId>
<artifactId>castor</artifactId>
<classifier>xml</classifier>
<scope>provided</scope>
</dependency>
<!-- Xmlbeans : needed by XML jars -->
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans-xpath</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- XML OTA -->
<dependency>
<groupId>xml-ota</groupId>
<artifactId>ota-2006a</artifactId>
<scope>provided</scope>
</dependency>
<!-- Expedia -->
<dependency>
<groupId>xml-expedia</groupId>
<artifactId>expedia</artifactId>
<scope>provided</scope>
</dependency>
<!-- Clubhotel -->
<dependency>
<groupId>xml-clubhotel</groupId>
<artifactId>clubhotel-ws</artifactId>
<scope>provided</scope>
</dependency>
<!-- BestWestern -->
<dependency>
<groupId>xml-bestwestern</groupId>
<artifactId>bestwestern</artifactId>
<scope>provided</scope>
</dependency>
<!-- ViaMichelin -->
<dependency>
<groupId>wsviamichelin</groupId>
<artifactId>wsviamichelin</artifactId>
<scope>provided</scope>
</dependency>
<!-- Axis : needed (at least) by ViaMichelin -->
<dependency>
<groupId>axis</groupId>
<artifactId>axis</artifactId>
<scope>provided</scope>
</dependency>
<!-- myBatis : DAL framework -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<scope>provided</scope>
</dependency>
<!-- Ariane payment systems -->
<dependency>
<groupId>ariane-systems</groupId>
<artifactId>ariane-systems</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>at.telekom</groupId>
<artifactId>axistools</artifactId>
<scope>provided</scope>
</dependency>
<!-- Java Monitor -->
<dependency>
<groupId>jamon</groupId>
<artifactId>jamon</artifactId>
<scope>provided</scope>
</dependency>
<!-- Apache FOP -->
<dependency>
<groupId>fop</groupId>
<artifactId>fop</artifactId>
<scope>provided</scope>
</dependency>
<!-- Better date/time classes -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<scope>provided</scope>
</dependency>
<!-- Apache Commons -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<scope>provided</scope>
</dependency>
<!-- Secretshare -->
<dependency>
<groupId>secretshare</groupId>
<artifactId>secretshare</artifactId>
<scope>provided</scope>
</dependency>
<!-- Xalan -->
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<scope>provided</scope>
</dependency>
<!-- SSH lib -->
<dependency>
<groupId>ganymed-ssh2</groupId>
<artifactId>ganymed-ssh2</artifactId>
<scope>provided</scope>
</dependency>
<!-- pd4ml : html to pdf lib -->
<dependency>
<groupId>pd4ml</groupId>
<artifactId>pd4ml</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>pd4ml</groupId>
<artifactId>fonts</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>pd4ml</groupId>
<artifactId>ss_css2</artifactId>
<scope>provided</scope>
</dependency>
<!-- JBoss Cache -->
<dependency>
<groupId>org.jboss.cache</groupId>
<artifactId>jbosscache-core</artifactId>
<scope>provided</scope>
</dependency>
<!-- Mysql Driver -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>provided</scope>
</dependency>
<!-- ajout pour les caches -->
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mybatis.caches</groupId>
<artifactId>mybatis-ehcache</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>developer</id>
<build>
<plugins>
<!--<plugin> -->
<!--<artifactId>maven-surefire-plugin</artifactId> -->
<!--<configuration> -->
<!--<groups> -->
<!--com.reservit.junit.category.FastTest,com.reservit.junit.category.SlowTest,com.reservit.junit.category.IntegrationTest -->
<!--</groups> -->
<!--</configuration> -->
<!--</plugin> -->
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>
</profile>
<profile>
<id>jenkins</id>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<groups>com.reservit.junit.category.FastTest,com.reservit.junit.category.SlowTest
</groups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>gerrit</id>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<groups>com.reservit.junit.category.FastTest
</groups>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!--<profile> -->
<!--<id>integration-test</id> -->
<!--<build> -->
<!--<plugins> -->
<!--<plugin> -->
<!--<artifactId>maven-surefire-plugin</artifactId> -->
<!--<configuration> -->
<!--<groups>com.reservit.junit.category.IntegrationTest</groups> -->
<!--</configuration> -->
<!--</plugin> -->
<!--</plugins> -->
<!--</build> -->
<!--</profile> -->
<!--<profile> -->
<!--<id>migration-test</id> -->
<!--<build> -->
<!--<plugins> -->
<!--<plugin> -->
<!--<artifactId>maven-surefire-plugin</artifactId> -->
<!--<configuration> -->
<!--<groups>com.reservit.junit.category.MigrationTest</groups> -->
<!--</configuration> -->
<!--</plugin> -->
<!--</plugins> -->
<!--</build> -->
<!--</profile> -->
<profile>
<id>standard</id>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>config.properties</exclude>
<exclude>jbosscache-config.xml</exclude>
</excludes>
</resource>
</resources>
</build>
<!--<dependencies> -->
<!--&lt;!&ndash; JBoss APIs &ndash;&gt; -->
<!--<dependency> -->
<!--<groupId>org.jboss.jbossas</groupId> -->
<!--<artifactId>jboss-as-connector</artifactId> -->
<!--<scope>provided</scope> -->
<!--</dependency> -->
<!--<dependency> -->
<!--<groupId>org.jboss.jbossas</groupId> -->
<!--<artifactId>jboss-as-server</artifactId> -->
<!--<scope>provided</scope> -->
<!--</dependency> -->
<!--<dependency> -->
<!--<groupId>org.jboss.ws</groupId> -->
<!--<artifactId>jbossws-common</artifactId> -->
<!--<scope>provided</scope> -->
<!--</dependency> -->
<!--<dependency> -->
<!--<groupId>org.jboss.ejb3</groupId> -->
<!--<artifactId>jboss-ejb3-ext-api</artifactId> -->
<!--<scope>provided</scope> -->
<!--</dependency> -->
<!--</dependencies> -->
</profile>
<profile>
<id>it</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<jboss.home>/home/gbougeard/jboss-${jboss.version}</jboss.home>
</properties>
<build>
<defaultGoal>verify</defaultGoal>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14 </version>
<configuration>
<!--<systemProperties> -->
<!--&lt;!&ndash; Pour le mode embedded &ndash;&gt; -->
<!--<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> -->
<!--</systemProperties> -->
<environmentVariables>
<!--&lt;!&ndash; Pour le mode managed &ndash;&gt; -->
<JBOSS_HOME>${jboss.home}</JBOSS_HOME>
</environmentVariables>
<excludes>
<exclude>**/*NoArqIT.java</exclude>
</excludes>
<includes>
<include>**/*BeanIT.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-server-manager</artifactId>
<version>${version.org.jboss.jbossas_server-manager}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-client</artifactId>
<version>${jboss.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-jbossas-managed-5.1</artifactId>
<version>1.0.0.CR3</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-bom</artifactId>
<type>pom</type>
<version>1.1.2</version>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-bom</artifactId>
<type>pom</type>
<version>2.0.0-beta-2</version>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<type>pom</type>
<version>1.0.3.Final</version>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment