Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

pom-root.xml 3.52 KB
Newer Older
1 2 3 4 5 6 7 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">

  <!--
    This is the root POM for RiseClipse.
    All common properties should be defiened here.
9 10 11 12 13 14
    
    To build command line tools, it must be installed with maven using the following command:
    mvn install:install-file -Dfile=pom-root.xml \
        -DgroupId=fr.centralesupelec.edf.riseclipse \
        -DartifactId=fr.centralesupelec.edf.riseclipse.developer.maven-root \
        -Dversion=1.0 -Dpackaging=pom
15 16 17 18 19
  -->

  <modelVersion>4.0.0</modelVersion>
 
  <groupId>fr.centralesupelec.edf.riseclipse</groupId>
20
  <artifactId>fr.centralesupelec.edf.riseclipse.developer.maven-root</artifactId>
21
  <version>1.0.0-SNAPSHOT</version>
22 23 24 25 26
  <packaging>pom</packaging>
  
  <properties>
    <tycho-version>1.0.0</tycho-version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27 28
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
29 30 31 32 33 34 35 36 37 38 39 40 41
    <eclipse-equinox-version>1.3.400</eclipse-equinox-version>
    <!--
      Current (2018-04-06, Oxygen) EMF version is 2.13.0
      it is found by tycho when building Eclipse plugins (using eclipse-oxygen repository)
      but not by maven-shade-plugin when building independant tools.
      On Maven central, only version 2.12 is available (and EMF is still
      not on repo.eclipse.org)
      
    <eclipse-emf-version>2.13.0</eclipse-emf-version>
    -->
    <eclipse-emf-version>2.12.0</eclipse-emf-version>
    <eclipse-ocl-version>1.3.0</eclipse-ocl-version>
    <log4j-version>1.2.17</log4j-version>
42 43 44 45
  </properties>

  <repositories>
    <repository>
46 47
      <id>eclipse-oxygen</id>
      <url>http://download.eclipse.org/releases/oxygen</url>
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
      <layout>p2</layout>
    </repository>
  </repositories>

  <build>
    <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-maven-plugin</artifactId>
        <version>${tycho-version}</version>
        <extensions>true</extensions>
      </plugin>

      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>target-platform-configuration</artifactId>
        <version>${tycho-version}</version>
        <configuration>
66 67 68 69 70 71 72 73 74 75
          <!--
            This was in the students POM files, not sure why and when it is needed,
            so commented out for the moment
            <pomDependencies>consider</pomDependencies>
          -->

          <!--
            Just to avoid:
            [WARNING] No explicit target runtime environment configuration. Build is platform dependent.
          -->
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
          <environments>
            <environment>
              <os>linux</os>
              <ws>gtk</ws>
              <arch>x86</arch>
            </environment>
            <environment>
              <os>linux</os>
              <ws>gtk</ws>
              <arch>x86_64</arch>
            </environment>
            <environment>
              <os>win32</os>
              <ws>win32</ws>
              <arch>x86</arch>
            </environment>
            <environment>
              <os>win32</os>
              <ws>win32</ws>
              <arch>x86_64</arch>
            </environment>
            <environment>
              <os>macosx</os>
              <ws>cocoa</ws>
              <arch>x86_64</arch>
            </environment>
          </environments>
        </configuration>
      </plugin>

    </plugins>
  </build>

</project>