forked from MariaDB4j/MariaDB4j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
162 lines (150 loc) · 5.91 KB
/
pom.xml
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
161
162
<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>
<parent>
<groupId>ch.vorburger.mariaDB4j</groupId>
<artifactId>mariaDB4j-pom-lite</artifactId>
<!-- Do NOT depend on a SNAPSHOT here!
Note that this parent version and the version below are, intentionally, completely unrelated. -->
<version>2.2.1</version>
<relativePath>mariaDB4j-pom-lite/pom.xml</relativePath>
</parent>
<artifactId>mariaDB4j-pom</artifactId>
<version>2.6.0-SNAPSHOT</version>
<packaging>pom</packaging>
<scm>
<!-- The <connection> and <url> are specified in the <parent> but the
<developerConnection> and the <tag> must be here, for the maven-release-plugin
to work correctly, if the <parent> is not a SNAPSHOT;
see https://github.com/vorburger/MariaDB4j/issues/43.
-->
<developerConnection>scm:git:[email protected]:vorburger/MariaDB4j.git</developerConnection>
<tag>HEAD</tag>
</scm>
<modules>
<!-- We do NOT include <module> for the mariaDB4j-pom-lite, nor for the DBs/mariaDB4j-db-* here!
This is because those are NOT version'd the same way as this artifact and the ones below.
Therefore the mvn release:* and mvn depoy is done separately for this (below)
and the mariaDB4j-pom-lite and DBs/mariaDB4j-db-*.
-->
<module>mariaDB4j-core</module>
<module>mariaDB4j</module>
<module>mariaDB4j-app</module>
<module>mariaDB4j-springboot</module>
<module>mariaDB4j-maven-plugin</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<springboot.version>2.6.6</springboot.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M6</version>
<configuration>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<autoVersionSubmodules>true</autoVersionSubmodules>
<!--https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven
http://jira.codehaus.org/browse/MGPG-9 & http://jira.codehaus.org/browse/MRELEASE-263 -->
<mavenExecutorId>forked-path</mavenExecutorId>
<!-- Following is required because artifactId is (now) mariaDB4j-pom, but we want mariaDB4j -->
<tagNameFormat>mariaDB4j-@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.0.0</version>
<configuration>
<licenseName>apache_v2</licenseName>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<failOnMissingHeader>true</failOnMissingHeader>
<failOnNotUptodateHeader>true</failOnNotUptodateHeader>
<roots>
<root>src/main/java</root>
<root>src/test/java</root>
</roots>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>check-file-header</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.2</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.3.1</version>
</dependency>
</dependencies>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<!-- https://github.com/vorburger/MariaDB4j/issues/511 -->
<sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${springboot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.36</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>commons-dbutils</groupId>
<artifactId>commons-dbutils</artifactId>
<version>1.7</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>