-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
pom.xml
143 lines (133 loc) · 6.2 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
<?xml version="1.0" encoding="UTF-8"?>
<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>io.github.openfeign.querydsl</groupId>
<artifactId>querydsl-root</artifactId>
<version>6.2.1</version>
</parent>
<artifactId>querydsl-libraries</artifactId>
<packaging>pom</packaging>
<name>Querydsl - Libraries</name>
<modules>
<module>querydsl-core</module>
<module>querydsl-spatial</module>
<module>querydsl-collections</module>
<module>querydsl-guava</module>
<!-- SQL -->
<module>querydsl-sql</module>
<module>querydsl-sql-spatial</module>
<module>querydsl-sql-spring</module>
<!-- Reactive SQL -->
<module>querydsl-r2dbc</module>
<!-- JPA -->
<module>querydsl-jpa</module>
<module>querydsl-jpa-spring</module>
<!-- NoSQL -->
<module>querydsl-mongodb</module>
<!-- Languages -->
<module>querydsl-scala</module>
<module>querydsl-kotlin</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
<version>${jpa.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>${jakarta.annotation.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<version>3.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
<version>2.1.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
<version>2.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-banned-dependencies</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>validate</phase>
<configuration>
<rules>
<bannedDependencies>
<excludes>
<!-- Jetbrains Annotations should be in provided scope -->
<exclude>org.jetbrains:annotations:*:*:compile</exclude>
<!-- JSR-305 annotations should not be used, instead use Jetbrains Annotations -->
<exclude>com.google.code.findbugs:jsr305:*:*:compile</exclude>
<!-- The following API's should be optionally provided and declare provided scope -->
<exclude>org.hibernate:hibernate-core:*:*:compile</exclude>
<exclude>org.hibernate:hibernate-envers:*:*:compile</exclude>
<exclude>org.hibernate.validator:hibernate-validator:*:*:compile</exclude>
<exclude>org.eclipse.persistence:eclipselink:*:*:compile</exclude>
<exclude>org.datanucleus:javax.jdo:*:*:compile</exclude>
<exclude>org.springframework.roo:org.springframework.roo.annotations:*:*:compile</exclude>
<exclude>org.mongodb.morphia:morphia:*:*:compile</exclude>
<exclude>org.joda:joda-money:*:*:compile</exclude>
<exclude>org.batoo.jpa:batoo-jpa:*:*:compile</exclude>
<exclude>jakarta.annotation:jakarta.annotation-api:*:*:compile</exclude>
<exclude>jakarta.activation:jakarta.activation-api:*:*:compile</exclude>
<exclude>jakarta.inject:jakarta.inject-api:*:*:compile</exclude>
<exclude>jakarta.persistence:jakarta.persistence-api:*:*:compile</exclude>
<exclude>jakarta.transaction:jakarta.transaction-api:*:*:compile</exclude>
<exclude>jakarta.validation:jakarta.validation-api:*:*:compile</exclude>
<exclude>jakarta.xml.bind:jakarta.xml.bind-api:*:*:compile</exclude>
<!-- Ban any API's that were moved to jakarta -->
<exclude>javax.*:*:*:*:*</exclude>
<!-- The following database drivers should be in test scope -->
<exclude>org.hsqldb:hsqldb:*:*:compile</exclude>
<exclude>com.h2database:h2:*:*:compile</exclude>
<exclude>org.apche.derby:derby:*:*:compile</exclude>
<exclude>mysql:mysql-connector-java:*:*:compile</exclude>
<exclude>com.microsoft.sqlserver:mssql-jdbc:*:*:compile</exclude>
<exclude>com.oracle:ojdbc8:*:*:compile</exclude>
<exclude>org.postgresql:postgresql:*:*:compile</exclude>
<exclude>cubrid:cubrid-jdbc:*:*:compile</exclude>
<exclude>org.firebirdsql.jdbc:jaybird:*:*:compile</exclude>
<exclude>org.xerial:sqlite-jdbc:*:*:compile</exclude>
<!-- hibernate-entitymanager is a legacy artefact and should not be used anymore -->
<exclude>org.hibernate:hibernate-entitymanager</exclude>
<!-- We favor JUL over Slf4j -->
<exclude>org.slf4j:slf4j-api:*:*:compile</exclude>
<exclude>org.slf4j:slf4j-log4j12:*:*:compile</exclude>
<exclude>junit:junit:*:*:*</exclude>
<exclude>cglib:cglib:*:*:*</exclude>
</excludes>
<searchTransitive>false</searchTransitive>
</bannedDependencies>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>