-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathpom.xml
More file actions
124 lines (114 loc) · 4.52 KB
/
pom.xml
File metadata and controls
124 lines (114 loc) · 4.52 KB
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
<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>
<parent>
<groupId>org.evomaster</groupId>
<artifactId>evomaster</artifactId>
<version>5.1.1-SNAPSHOT</version>
</parent>
<artifactId>evomaster-client-java</artifactId>
<packaging>pom</packaging>
<name>${project.groupId}:${project.artifactId}</name>
<modules>
<module>controller</module>
<module>controller-api</module>
<module>instrumentation</module>
<module>instrumentation-shared</module>
<module>client-util</module>
<module>ci-utils</module>
<module>dependencies</module>
<module>sql</module>
<module>sql-dto</module>
<module>distance-heuristics</module>
<module>test-utils-java</module>
<module>test-old-libraries</module>
</modules>
<licenses>
<license>
<name>GNU Lesser General Public License (LGPL), version 3</name>
<url>http://www.gnu.org/licenses/lgpl-3.0.en.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<!-- THOSE ARE ONLY FOR TESTING -->
<springboot.version>2.5.4</springboot.version>
</properties>
<!--
"client-java" lives separately from "core".
where core tries to be on latest LTS, the client-java is stuck on old version to maximize its usability.
as such, to avoid dependency hell, versions of libraries should not be in root pom.xml file.
but rather in the top submodules.
TODO there is ongoing effort to do this refactoring, but it will take a while
-->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.evomaster</groupId>
<artifactId>evomaster-client-java-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<!--
When we make a release, the client-java must be published on Maven Central.
This requires creating jars for sources and Javadocs.
As the Javadocs build might fail, we force its creation at each build
so that any issue can be fixed as soon as it is introduced.
-->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>create-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<source>8</source>
<!-- Reducing Javadoc noise, this only leaves the missing Javadoc warnings
and avoids unnecessary warnings about output to HTML -->
<quiet>true</quiet>
</configuration>
<executions>
<execution>
<id>create-javadocs</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>8</release>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>