pom.xml 7.43 KB
Newer Older
1 2
<?xml version="1.0"?>
<!--
3
  * Eclipse STP SCA Tools
4
  *
5
  * Copyright (c) 2009-2011 INRIA, University of Lille 1
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
  *
  * This library 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 2 of the License, or (at your option) any later version.
  *
  * This library 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
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-->

<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>

27 28 29
  <groupId>org.ow2.frascati.model</groupId>
  <artifactId>model-parent</artifactId>
  <version>2.0.1.3</version>
30 31
  <packaging>pom</packaging>

32 33 34 35 36 37 38
  <parent>
    <groupId>org.ow2</groupId>
    <artifactId>ow2</artifactId>
    <version>1.3</version>
    <relativePath></relativePath>
  </parent>

39
  <name>OW2 FraSCAti SCA model (relies on Eclipse STP SCA Tools)</name>
40 41 42 43 44 45

  <!-- ========== -->
  <!-- Properties -->
  <!-- ========== -->
  
  <properties>
46
    <stp.scm.url>svn://dev.eclipse.org/svnroot/soa/org.eclipse.stp.sca-tools/org.eclipse.stp.sca/tags/3.5SR1</stp.scm.url>
47 48
    <!-- Eclipse EMF Artifacts version -->
    <emf.version>2.4.0</emf.version>
49
    <eclipse.version>3.4.0</eclipse.version>
50 51 52 53 54 55 56 57
  </properties>

  <!-- ======= -->
  <!-- Modules -->
  <!-- ======= -->

  <modules>
    <module>org.eclipse.stp.sca</module>
58
    <module>org.eclipse.stp.sca.csa</module>
59
    <module>org.eclipse.stp.sca.osoa.java</module>      
60
    <module>org.eclipse.stp.sca.domainmodel.frascati</module>  
61
    <module>org.eclipse.stp.sca.domainmodel.tuscany</module>
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
    <module>org.eclipse.stp.sca.introspection</module>      
  </modules>
  
  <!-- ====== -->
  <!-- Build. -->
  <!-- ====== -->

  <build>
    <defaultGoal>install</defaultGoal>

    <!-- ================= -->
    <!-- Plugin management -->
    <!-- ================= -->
    
    <pluginManagement>
      <plugins>
      
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
81 82
          <artifactId>maven-scm-plugin</artifactId>
          <version>1.6</version>
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
          <executions>
            <execution>
              <id>checkout</id>
              <phase>generate-sources</phase>
              <goals>
                <goal>checkout</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <goals>compile</goals>
          </configuration>
        </plugin>
      
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
99 100
          <artifactId>maven-compiler-plugin</artifactId>
          <version>2.3.2</version>
101 102 103 104 105 106 107 108 109
          <configuration>
            <source>1.5</source>
            <target>1.5</target>
          </configuration>
        </plugin>
      
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>build-helper-maven-plugin</artifactId>
110
          <version>1.7</version>
111 112 113 114 115 116 117 118 119
          <executions>
            <execution>
              <id>add-source</id>
              <phase>generate-sources</phase>
              <goals>
                <goal>add-source</goal>
              </goals>
              <configuration>
                <sources>
Christophe Demarey's avatar
Christophe Demarey committed
120
                  <source>${basedir}/target/checkout</source>
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
                </sources>
              </configuration>
            </execution>
          </executions>
        </plugin>
        
      </plugins>
    </pluginManagement>
  </build>

    <!-- ======================= -->
    <!-- Dependencies management -->
    <!-- ======================= -->
    <!--
        specify which versions are used across all modules. single
        modules are still required to declare their dependency, but not
        the version, which is handled globally by the
        dependencyManagement section.
    -->
    <dependencyManagement>
      <dependencies>
      
        <!-- EMF -->

        <dependency>
          <groupId>org.eclipse.emf</groupId>
          <artifactId>ecore</artifactId>
          <version>${emf.version}</version>
        </dependency>

        <dependency>
          <groupId>org.eclipse.emf.ecore</groupId>
          <artifactId>xmi</artifactId>
          <version>${emf.version}</version>
        </dependency>

        <dependency>
          <groupId>org.eclipse.emf</groupId>
          <artifactId>common</artifactId>
          <version>${emf.version}</version>
        </dependency>

        <dependency>
          <groupId>org.eclipse</groupId>
          <artifactId>osgi</artifactId>
          <version>3.3.0-v20070530</version>
        </dependency>
        
        <dependency>
          <groupId>org.eclipse.core</groupId>
          <artifactId>resources</artifactId>
172
          <version>${eclipse.version}</version>
173 174 175 176 177 178
          <scope>provided</scope>
        </dependency>

        <dependency>
          <groupId>org.eclipse.core</groupId>
          <artifactId>runtime</artifactId>
179
          <version>${eclipse.version}</version>
180 181 182 183 184 185
          <scope>provided</scope>
        </dependency>
        
      </dependencies>
    </dependencyManagement>
    
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217
    <!-- ============= -->
    <!-- Repositories  -->
    <!-- ============= -->
    
    <repositories>
      <repository>
        <id>frascati-repo</id>
        <name>FraSCAti Nexus repository</name>
        <url>https://frascati-repo.inria.fr/nexus/content/groups/public</url>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>true</enabled>
        </snapshots>
      </repository>    
    </repositories>

    <pluginRepositories>
      <pluginRepository>
        <id>frascati-repo</id>
        <name>FraSCAti Nexus repository</name>
        <url>https://frascati-repo.inria.fr/nexus/content/groups/public</url>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>true</enabled>
        </snapshots>
      </pluginRepository>    
    </pluginRepositories>

218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
    <!-- ======================================================= -->
    <!-- Profile used to deploy on the FraSCAti Nexus repository -->
    <!-- ======================================================= -->
    
    <profiles>
      <profile>
        <id>frascati-repo</id>
          <distributionManagement>
            <repository>
              <id>frascati-release</id>
              <name>OW2 FraSCAti release repository</name>
              <url>https://frascati-repo.inria.fr/nexus/content/repositories/releases</url>
            </repository>
            <snapshotRepository>
              <id>frascati-snapshot</id>
              <name>OW2 FraSCAti snapshot repository</name>
              <url>https://frascati-repo.inria.fr/nexus/content/repositories/snapshots</url>
            </snapshotRepository>
          </distributionManagement>
      </profile>
    </profiles>

240
</project>