pom.xml 9.48 KB
Newer Older
1
<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">
2
3
4
5
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.ow2.mrl</groupId>
    <artifactId>mrl-parent</artifactId>
    <packaging>pom</packaging>
6
    <version>0.0.4</version>
7
8
9
    <name>OW2 MRL</name>
    <url>http://www.ow2.org</url>

Antoine Mottier's avatar
Antoine Mottier committed
10
11
    <scm>
        <url>https://gitlab.ow2.org/ow2/mrl/</url>
Antoine Mottier's avatar
Antoine Mottier committed
12
13
        <connection>scm:git:git@gitlab.ow2.org:ow2/mrl.git</connection>
        <developerConnection>scm:git:git@gitlab.ow2.org:ow2/mrl.git</developerConnection>
14
      <tag>0.0.4</tag>
15
  </scm>
Antoine Mottier's avatar
Antoine Mottier committed
16

Antoine Mottier's avatar
Antoine Mottier committed
17
18
19
20
21
    <!-- To use Spring boot for webapp -->
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.4.0</version>
22
        <relativePath />
Antoine Mottier's avatar
Antoine Mottier committed
23
24
    </parent>

25
26
27
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.release>11</maven.compiler.release>
Antoine Mottier's avatar
Antoine Mottier committed
28
29
30
31
32
33
34
        <!-- Dependencies version -->
        <!-- To check that dependencies are up to date (will only consider dependencies with version specified as property):
        mvn versions:display-property-updates
        -->
        <!-- Jetty target version (Debian package) is 9.4
        So we need to use Java EE 7 features and Servlet version 3.1 -->
        <servlet.version>3.1.0</servlet.version>
35
36
        <maria.db.jdbc.driver.version>2.7.2</maria.db.jdbc.driver.version>
        <junit.version>5.7.1</junit.version>
Antoine Mottier's avatar
Antoine Mottier committed
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
        <icar.json.version>1.0.0</icar.json.version>
        <slf4j.version>1.7.30</slf4j.version>
        <logback.classic.version>1.2.3</logback.classic.version>
        <!-- Maven plugins version -->
        <plugin.maven.clean.version>3.1.0</plugin.maven.clean.version>
        <plugin.maven.compiler.version>3.8.1</plugin.maven.compiler.version>
        <plugin.maven.install.version>3.0.0-M1</plugin.maven.install.version>
        <plugin.maven.jar.version>3.2.0</plugin.maven.jar.version>
        <plugin.maven.war.version>3.3.1</plugin.maven.war.version>
        <plugin.maven.dependency.version>3.1.2</plugin.maven.dependency.version>
        <plugin.maven.resources.version>3.2.0</plugin.maven.resources.version>
        <plugin.maven.surefire.version>3.0.0-M5</plugin.maven.surefire.version>
        <plugin.maven.failsafe.version>3.0.0-M5</plugin.maven.failsafe.version>
        <plugin.jetty.version>9.4.31.v20200723</plugin.jetty.version>
        <plugin.maven.enforcer.version>3.0.0-M3</plugin.maven.enforcer.version>
        <plugin.versions.version>2.8.1</plugin.versions.version>
        <plugin.maven.site.version>3.9.1</plugin.maven.site.version>
54
55
56
57
58
59
60
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>javax.servlet-api</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
61
                <version>${servlet.version}</version>
62
63
            </dependency>
            <dependency>
64
65
                <groupId>org.mariadb.jdbc</groupId>
                <artifactId>mariadb-java-client</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
66
                <version>${maria.db.jdbc.driver.version}</version>
67
68
69
70
            </dependency>
            <dependency>
                <groupId>org.junit.jupiter</groupId>
                <artifactId>junit-jupiter-api</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
71
                <version>${junit.version}</version>
72
73
74
75
            </dependency>
            <dependency>
                <groupId>org.junit.jupiter</groupId>
                <artifactId>junit-jupiter-engine</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
76
                <version>${junit.version}</version>
77
78
79
80
            </dependency>
            <dependency>
                <groupId>com.gibello</groupId>
                <artifactId>icar-json</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
81
                <version>${icar.json.version}</version>
82
            </dependency>
83
84
85
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
86
                <version>${slf4j.version}</version>
87
88
89
90
            </dependency>
            <dependency>
                <groupId>ch.qos.logback</groupId>
                <artifactId>logback-classic</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
91
                <version>${logback.classic.version}</version>
92
            </dependency>
93
94
95
96
97
98
99
100
101
        </dependencies>
    </dependencyManagement>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-clean-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
102
                    <version>${plugin.maven.clean.version}</version>
103
104
105
106
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
107
                    <version>${plugin.maven.compiler.version}</version>
108
109
110
111
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-install-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
112
                    <version>${plugin.maven.install.version}</version>
113
114
115
116
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
117
                    <version>${plugin.maven.jar.version}</version>
118
119
120
121
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-war-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
122
                    <version>${plugin.maven.war.version}</version>
123
124
125
126
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
127
                    <version>${plugin.maven.dependency.version}</version>
128
129
130
131
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
132
                    <version>${plugin.maven.resources.version}</version>
133
134
135
136
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
137
                    <version>${plugin.maven.surefire.version}</version>
138
139
140
141
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
142
143
144
145
146
147
                    <version>${plugin.maven.failsafe.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-site-plugin</artifactId>
                    <version>${plugin.maven.site.version}</version>
148
149
150
151
                </plugin>
                <plugin>
                    <groupId>org.eclipse.jetty</groupId>
                    <artifactId>jetty-maven-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
152
                    <version>${plugin.jetty.version}</version>
153
                </plugin>
154
155
156
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-enforcer-plugin</artifactId>
Antoine Mottier's avatar
Antoine Mottier committed
157
                    <version>${plugin.maven.enforcer.version}</version>
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
                    <executions>
                        <execution>
                            <id>enforce-maven</id>
                            <goals>
                                <goal>enforce</goal>
                            </goals>
                            <configuration>
                                <rules>
                                    <requireMavenVersion>
                                        <version>[3.6.0,3.6.99999)</version>
                                    </requireMavenVersion>
                                    <requireJavaVersion>
                                        <version>[11.0,11.99999)</version>
                                    </requireJavaVersion>
                                </rules>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
Antoine Mottier's avatar
Antoine Mottier committed
177
178
179
180
181
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>versions-maven-plugin</artifactId>
                    <version>${plugin.versions.version}</version>
                    <configuration>
182
                        <!-- Ignoring rules for now as it prevents the build of individual module
Antoine Mottier's avatar
Antoine Mottier committed
183
                        <rulesUri>file:///${session.executionRootDirectory}/rules.xml</rulesUri>
184
                        -->
Antoine Mottier's avatar
Antoine Mottier committed
185
186
                    </configuration>
                </plugin>
187
188
            </plugins>
        </pluginManagement>
189
190
191
192
193
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
            </plugin>
Antoine Mottier's avatar
Antoine Mottier committed
194
195
196
197
198
199
200
201
202
203
204
205
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>versions-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>validate</phase>
                        <goals>
                            <goal>display-property-updates</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
206
        </plugins>
207
208
209
210
    </build>

    <modules>
        <module>data-collection</module>
211
        <module>webapp</module>
212
213
214
    </modules>

</project>