<?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/maven-v4_0_0.xsd">
  <parent>
    <groupId>com.celements</groupId>
    <artifactId>celementsweb</artifactId>
    <version>2.5</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>  
  <artifactId>my-celements-based-project</artifactId>
  <packaging>war</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>Celements-web Based Test Application</name>
  <licenses>
    <license>
      <name>Which license may it be? We suggest that you use LGPL</name>
      <url>http://www.myProject.com</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <observation.remote.enabled>false</observation.remote.enabled>
    <hibernate.cfg.xml.connection.url>jdbc:mysql://${hibernate.cfg.xml.connection.host}${hibernate.cfg.xml.connection.port}/${xwiki.cfg.xwiki.db.prefix}${xwiki.cfg.xwiki.db}?useServerPrepStmts=false&amp;amp;useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;sessionVariables=sql_mode=''</hibernate.cfg.xml.connection.url>
    <xwiki.cfg.xwiki.db>main</xwiki.cfg.xwiki.db>
    <xwiki.cfg.xwiki.db.prefix>myapp_</xwiki.cfg.xwiki.db.prefix>
    <hibernate.cfg.xml.connection.port />
    <hibernate.cfg.xml.connection.host>localhost</hibernate.cfg.xml.connection.host>
    <xwiki.plugin.image.cache.capacity>1000</xwiki.plugin.image.cache.capacity>
    <xwiki.plugin.image.cache.ttl>3600</xwiki.plugin.image.cache.ttl>
    <xwiki.plugins.lucene.indexdir>/usr/local/celements/lucene</xwiki.plugins.lucene.indexdir>
    <xwiki.plugins.lucene.indexinterval>20</xwiki.plugins.lucene.indexinterval>
    <xwiki.plugins.lucene.maxQueueSize>1000</xwiki.plugins.lucene.maxQueueSize>
    <xwiki.store.cache.capacity>20000</xwiki.store.cache.capacity>
    <hibernate.cfg.xml.connection.pool_size>10</hibernate.cfg.xml.connection.pool_size>
    <hibernate.cfg.xml.statement_cache.size>10</hibernate.cfg.xml.statement_cache.size>
  </properties>
  <dependencies>
    <!-- Add here all your dependencies -->    
    <dependency>
      <groupId>com.celements</groupId>
      <artifactId>celements-web</artifactId>
      <version>2.49.0</version>
      <type>war</type>
      <exclusions>
        <exclusion>
		      <!-- there is a celements-search dependency (proprietary code)-->
		      <groupId>com.celements</groupId>
		      <artifactId>calendar-web</artifactId>
        </exclusion>
      </exclusions> 
    </dependency>
    <!--  hibernate annotations needed for payment hbm-mapping -->
    <dependency>
       <groupId>org.hibernate</groupId>
       <artifactId>hibernate-annotations</artifactId>
       <version>3.3.1.GA</version>
      <exclusions>
        <exclusion>
          <groupId>commons-collections</groupId>
          <artifactId>commons-collections</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>  
  <build>
    <finalName>my-celements-base-app</finalName>
  </build>
<!-- 
  <scm>
    <connection>scm:git:git@github.com:yourcompany/yourporject.git</connection>
    <developerConnection>scm:git:git@github.com:yourcompany/yourporject.git</developerConnection>
    <url>https://github.com/yourcompany/yourporject</url>
    <tag>HEAD</tag>
  </scm>
 -->
<!-- 
   <distributionManagement>
    <snapshotRepository>
      <id>ssh-yourproject-snapshot-repository</id>
      <url>scpexe://maven.yourproject.com/var/www-yourproject/snapshots</url>
      <uniqueVersion>true</uniqueVersion>
    </snapshotRepository>
    <repository>
      <id>ssh-yourproject-release-repository</id>
      <url>scpexe://maven.yourproject.ch/var/www-yourproject/releases</url>
      <uniqueVersion>true</uniqueVersion>
    </repository>       
  </distributionManagement>
 -->
 </project>