Project: EUGene
Code Location: http://svn.nuiton.org/svn/eugene/trunk/trunk
Browse
/
Download File
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
  #%L
  EUGene

  $HeadURL: http://svn.nuiton.org/svn/eugene/trunk/pom.xml $
  %%
  Copyright (C) 2004 - 2010 CodeLutin
  %%
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Lesser General Public License as
  published by the Free Software Foundation, either version 3 of the
  License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Lesser Public License for more details.

  You should have received a copy of the GNU General Lesser Public
  License along with this program.  If not, see
  <http://www.gnu.org/licenses/lgpl-3.0.html>.
  #L%
  -->
<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>

  <!-- ************************************************************* -->
  <!-- *** POM Relationships *************************************** -->
  <!-- ************************************************************* -->
  <parent>
    <groupId>org.nuiton</groupId>
    <artifactId>mavenpom4redmineAndCentral</artifactId>
    <version>3.4.10</version>
  </parent>

  <artifactId>eugene</artifactId>
  <version>2.6.3-SNAPSHOT</version>

  <modules>
    <module>eugene</module>
    <module>eugene-java-templates</module>
    <!--module>eugene-jpa-templates</module-->
    <module>eugene-maven-plugin</module>
    <module>eugene-plantuml-templates</module>
  </modules>

  <dependencyManagement>
    <dependencies>

      <dependency>
        <groupId>org.nuiton</groupId>
        <artifactId>nuiton-utils</artifactId>
        <version>${nuitonUtilsVersion}</version>
        <scope>compile</scope>
      </dependency>

      <dependency>
        <groupId>org.nuiton.i18n</groupId>
        <artifactId>nuiton-i18n</artifactId>
        <version>${nuitonI18nVersion}</version>
        <scope>compile</scope>
      </dependency>

      <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-digester3</artifactId>
        <version>3.2</version>
        <scope>compile</scope>
      </dependency>

      <!-- JAXP parser impl for digester -->
      <dependency>
        <groupId>xerces</groupId>
        <artifactId>xercesImpl</artifactId>
        <version>2.10.0</version>
        <scope>runtime</scope>
        <exclusions>
          <exclusion>
            <groupId>xml-apis</groupId>
            <artifactId>xml-apis</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

      <dependency>
        <groupId>net.sourceforge.saxon</groupId>
        <artifactId>saxon</artifactId>
        <version>9.1.0.8</version>
      </dependency>

      <dependency>
        <groupId>xml-apis</groupId>
        <artifactId>xml-apis</artifactId>
        <version>1.4.01</version>
      </dependency>

      <!-- dom4j dep -->
      <dependency>
        <groupId>jaxen</groupId>
        <artifactId>jaxen</artifactId>
        <version>1.1.4</version>
        <scope>runtime</scope>
        <exclusions>
          <exclusion>
            <groupId>com.ibm.icu</groupId>
            <artifactId>icu4j</artifactId>
          </exclusion>
          <exclusion>
            <groupId>xerces</groupId>
            <artifactId>xmlParserAPIs</artifactId>
          </exclusion>
          <exclusion>
            <groupId>xalan</groupId>
            <artifactId>xalan</artifactId>
          </exclusion>
          <exclusion>
            <groupId>maven-plugins</groupId>
            <artifactId>maven-cobertura-plugin</artifactId>
          </exclusion>
          <exclusion>
            <groupId>maven-plugins</groupId>
            <artifactId>maven-findbugs-plugin</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

      <!-- Meta model uml d'eclipse -->
      <dependency>
        <groupId>org.eclipse.uml2.uml</groupId>
        <artifactId>resources</artifactId>
        <version>2.1.0-v200706251652</version>
        <scope>test</scope>
        <exclusions>
          <exclusion>
            <groupId>org.eclipse.uml2</groupId>
            <artifactId>uml</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

      <dependency>
        <groupId>org.hibernate.javax.persistence</groupId>
        <artifactId>hibernate-jpa-2.0-api</artifactId>
        <version>1.0.1.Final</version>
      </dependency>

      <dependency>
        <groupId>org.nuiton</groupId>
        <artifactId>helper-maven-plugin-api</artifactId>
        <version>${helperPluginVersion}</version>
        <exclusions>

          <exclusion>
            <groupId>org.apache.maven.shared</groupId>
            <artifactId>maven-dependency-tree</artifactId>
          </exclusion>

          <exclusion>
            <groupId>velocity</groupId>
            <artifactId>velocity</artifactId>
          </exclusion>

        </exclusions>
      </dependency>

      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-plugin-api</artifactId>
        <version>${mavenVersion}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-project</artifactId>
        <version>${mavenVersion}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-model</artifactId>
        <version>${mavenVersion}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-artifact</artifactId>
        <version>${mavenVersion}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>org.apache.maven</groupId>
        <artifactId>maven-settings</artifactId>
        <version>${mavenVersion}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>org.apache.maven.plugin-tools</groupId>
        <artifactId>maven-plugin-annotations</artifactId>
        <version>${pluginPluginVersion}</version>
        <scope>provided</scope>
      </dependency>

      <dependency>
        <groupId>org.codehaus.plexus</groupId>
        <artifactId>plexus-utils</artifactId>
        <version>3.0.10</version>
      </dependency>

    </dependencies>
  </dependencyManagement>

  <!-- ************************************************************* -->
  <!-- *** Project Information ************************************* -->
  <!-- ************************************************************* -->
  <name>EUGene</name>
  <description>Efficient Universal Generator</description>
  <inceptionYear>2004</inceptionYear>
  <url>http://maven-site.nuiton.org/eugene</url>

  <!-- Developers -->
  <developers>
    <developer>
      <name>Benjamin Poussin</name>
      <id>bpoussin</id>
      <email>poussin at codelutin dot com</email>
      <organization>CodeLutin</organization>
      <organizationUrl>http://codelutin.com</organizationUrl>
      <timezone>Europe/Paris</timezone>
      <roles>
        <role>developer</role>
        <role>Debian packager</role>
      </roles>
    </developer>

    <developer>
      <name>Arnaud Thimel</name>
      <id>athimel</id>
      <email>thimel at codelutin dot com</email>
      <organization>CodeLutin</organization>
      <organizationUrl>http://codelutin.com</organizationUrl>
      <timezone>Europe/Paris</timezone>
      <roles>
        <role>developer</role>
      </roles>
    </developer>

    <developer>
      <name>Julien Ruchaud</name>
      <id>jruchaud</id>
      <email>ruchaud at codelutin dot com</email>
      <organization>CodeLutin</organization>
      <organizationUrl>http://codelutin.com</organizationUrl>
      <timezone>Europe/Paris</timezone>
      <roles>
        <role>developer</role>
      </roles>
    </developer>

    <developer>
      <name>Eric Chatellier</name>
      <id>echatellier</id>
      <email>chatellier at codelutin dot com</email>
      <organization>CodeLutin</organization>
      <organizationUrl>http://codelutin.com</organizationUrl>
      <timezone>Europe/Paris</timezone>
      <roles>
        <role>developer</role>
      </roles>
    </developer>

    <developer>
      <name>Tony Chemit</name>
      <id>tchemit</id>
      <email>chemit at codelutin dot com</email>
      <organization>CodeLutin</organization>
      <organizationUrl>http://codelutin.com</organizationUrl>
      <timezone>Europe/Paris</timezone>
      <roles>
        <role>developer</role>
      </roles>
    </developer>

    <developer>
      <name>Florian Desbois</name>
      <id>fdesbois</id>
      <roles>
        <role>developer</role>
      </roles>
    </developer>
  </developers>

  <contributors>
    <contributor>
      <name>Stéphane Chorlet</name>
      <timezone>Europe/Paris</timezone>
      <roles>
        <role>developer</role>
      </roles>
    </contributor>
  </contributors>

  <!-- ************************************************************* -->
  <!-- *** Build Settings ****************************************** -->
  <!-- ************************************************************* -->

  <packaging>pom</packaging>

  <properties>
    <!-- pour un muli module on doit fixer le projectId -->
    <projectId>eugene</projectId>

    <processorPluginVersion>1.3</processorPluginVersion>
    <nuitonUtilsVersion>2.6.5</nuitonUtilsVersion>
    <nuitonI18nVersion>2.5</nuitonI18nVersion>

    <!--Multilanguage maven-site -->
    <locales>en,fr</locales>

    <!-- do not relativize links in generated site -->
    <relativizeDecorationLinks>false</relativizeDecorationLinks>

    <plexusPluginVersion>1.3.8</plexusPluginVersion>
  </properties>

  <build>

    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ssh-external</artifactId>
        <version>1.0</version>
      </extension>

    </extensions>
    <pluginManagement>
      <plugins>

        <plugin>
          <artifactId>maven-site-plugin</artifactId>
          <dependencies>
            <dependency>
              <groupId>org.nuiton.jrst</groupId>
              <artifactId>doxia-module-jrst</artifactId>
              <version>${jrstPluginVersion}</version>
            </dependency>
          </dependencies>
        </plugin>

        <plugin>
          <groupId>org.nuiton.processor</groupId>
          <artifactId>processor-maven-plugin</artifactId>
          <version>${processorPluginVersion}</version>
        </plugin>

        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>license-maven-plugin</artifactId>
          <configuration>
            <extraExtensions>
              <objectmodel>xml</objectmodel>
              <xsl>xml</xsl>
              <xsd>xml</xsd>
            </extraExtensions>
          </configuration>
        </plugin>

      </plugins>
    </pluginManagement>

  </build>

  <reporting>
    <excludeDefaults>true</excludeDefaults>
  </reporting>

  <!-- ************************************************************* -->
  <!-- *** Build Environment  ************************************** -->
  <!-- ************************************************************* -->

  <!-- Source control management. -->
  <scm>
    <connection>scm:svn:http://svn.nuiton.org/svn/eugene/trunk</connection>
    <developerConnection>
      scm:svn:http://svn.nuiton.org/svn/eugene/trunk
    </developerConnection>
    <url>http://nuiton.org/projects/eugene/repository/show/trunk</url>
  </scm>

  <distributionManagement>
    <site>
      <id>${platform}</id>
      <url>${our.site.repository}/${projectId}</url>
    </site>
  </distributionManagement>

  <profiles>
    <profile>
      <id>reporting</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>

      <reporting>
        <plugins>

          <plugin>
            <artifactId>maven-project-info-reports-plugin</artifactId>
            <version>${projectInfoReportsPluginVersion}</version>
            <reportSets>
              <reportSet>
                <reports>
                  <report>summary</report>
                  <report>project-team</report>
                  <report>mailing-list</report>
                  <report>cim</report>
                  <report>issue-tracking</report>
                  <report>license</report>
                  <report>scm</report>
                  <report>dependency-info</report>
                  <report>dependency-convergence</report>
                  <report>dependency-management</report>
                  <report>plugin-management</report>
                  <report>plugins</report>
                  <report>dependencies</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>

        </plugins>
      </reporting>

      <build>
        <plugins>
          <plugin>
            <!-- copy object model xsd to site -->
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>

              <execution>
                <id>xsd-to-site</id>
                <phase>pre-site</phase>
                <configuration>
                  <tasks>
                    <copy todir="target/site/xsd/v1" verbose="${maven.verbose}" failonerror="false" overwrite="true">
                      <fileset dir="${basedir}/eugene/src/main/resources/xsd">
                        <include name="**/*.xsd" />
                      </fileset>
                    </copy>
                    <copy todir="target/site/dtd/v1" verbose="${maven.verbose}" failonerror="false" overwrite="true">
                      <fileset dir="${basedir}/eugene/src/main/resources/dtd">
                        <include name="**/*.dtd" />
                      </fileset>
                    </copy>
                  </tasks>
                </configuration>
                <goals>
                  <goal>run</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>