Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: c0d03df1b2d84b5a62f3298010058e18282ceeb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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
110
111
112
113
114
115
116
117
118
119
120
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright (C) 2011, EclipseSource and others
  All rights reserved. This program and the accompanying materials
  are made available under the terms of the Eclipse Public License v1.0
  which accompanies this distribution, and is available at
  http://www.eclipse.org/legal/epl-v10.html

  Contributors:
     EclipseSource - initial implementation
-->
<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>

  <prerequisites>
    <maven>3.0</maven>
  </prerequisites>

  <properties>
    <tycho-version>0.13.0</tycho-version>
    <surefire-version>2.9</surefire-version>
    <junit-version>3.8.2</junit-version>
    <mockito-version>1.8.4</mockito-version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <name>RAP Runtime build</name>

  <groupId>org.eclipse.rap</groupId>
  <artifactId>org.eclipse.rap.runtime-parent</artifactId>
  <version>1.5.0-SNAPSHOT</version>
  <packaging>pom</packaging>

  <modules>
    <!-- Runtime projects -->
    <module>../../../runtime.rwt/org.eclipse.rap.rwt</module>
    <module>../../../runtime.rwt/org.eclipse.rap.rwt.osgi</module>
    <module>../../../runtime.rwt/org.eclipse.rap.rwt.theme.classic</module>
    <module>../../../runtime.rwt.test/org.eclipse.rap.rwt.testfixture</module>
    <module>../../../runtime.ui/org.eclipse.rap.demo</module>
    <module>../../../runtime.ui/org.eclipse.rap.demo.databinding</module>
    <module>../../../runtime.ui/org.eclipse.rap.design.example</module>
    <module>../../../runtime.ui/org.eclipse.rap.jface</module>
    <module>../../../runtime.ui/org.eclipse.rap.jface.databinding</module>
    <module>../../../runtime.ui/org.eclipse.rap.junit</module>
    <module>../../../runtime.ui/org.eclipse.rap.junit.runtime</module>
    <module>../../../runtime.ui/org.eclipse.rap.ui</module>
    <module>../../../runtime.ui/org.eclipse.rap.ui.cheatsheets</module>
    <module>../../../runtime.ui/org.eclipse.rap.ui.forms</module>
    <module>../../../runtime.ui/org.eclipse.rap.ui.views</module>
    <module>../../../runtime.ui/org.eclipse.rap.ui.workbench</module>
    <!-- Test projects -->
    <module>../../../runtime.rwt.test/org.eclipse.rap.rwt.test</module>
    <module>../../../runtime.rwt.test/org.eclipse.rap.rwt.osgi.test</module>
    <module>../../../runtime.ui.test/org.eclipse.rap.ui.forms.test</module>
    <!-- 
    <module>../../../runtime.rwt.test/org.eclipse.rap.rwt.themes.test</module>
    <module>../../../runtime.rwt.test/org.eclipse.rwt.widgets.styledtext.test</module>
     -->
    <!-- Packaging projects -->
    <module>runtime-feature</module>
    <module>runtime-repository</module>
  </modules>

  <repositories>
    <repository>
      <id>platform-base-repository</id>
      <layout>p2</layout>
      <url>file://${runtimeRepo}</url>
    </repository>
    <repository>
      <id>test-dependencies-repository</id>
      <layout>p2</layout>
      <url>file://${testDepsRepo}</url>
    </repository>
  </repositories>

  <pluginRepositories>
    <pluginRepository>
      <id>maven.eclipse.org</id>
      <url>http://maven.eclipse.org/nexus/content/repositories/milestone-indigo</url>
    </pluginRepository>
  </pluginRepositories>

  <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>tycho-packaging-plugin</artifactId>
        <version>${tycho-version}</version>
        <configuration>
          <format>yyyyMMdd-HHmm</format>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-source-plugin</artifactId>
        <version>${tycho-version}</version>
        <executions>
          <execution>
            <id>plugin-source</id>
            <goals>
              <goal>plugin-source</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${surefire-version}</version>
        <executions>
          <execution>
            <id>test</id>
            <phase>test</phase>
            <configuration>
              <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory>
              <includes>
                <include>**/*_Test.java</include>
              </includes>
              <runOrder>random</runOrder>
            </configuration>
            <goals>
              <goal>test</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junit-version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <version>${mockito-version}</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

</project>

Back to the top