Skip to content

Commit 5fa7248

Browse files
olim7ttomekl007
andcommitted
Configure Revapi for mapper modules
Co-authored-by: tomekl007 <tomasz.lelek@datastax.com>
1 parent 5f7d0c3 commit 5fa7248

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

mapper-processor/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@
9494
</execution>
9595
</executions>
9696
</plugin>
97+
<plugin>
98+
<groupId>org.revapi</groupId>
99+
<artifactId>revapi-maven-plugin</artifactId>
100+
<configuration>
101+
<skip>true</skip>
102+
</configuration>
103+
</plugin>
97104
</plugins>
98105
</build>
99106
</project>

mapper-runtime/revapi.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Configures Revapi (https://revapi.org/getting-started.html) to check API compatibility between
2+
// successive driver versions.
3+
{
4+
"revapi": {
5+
"java": {
6+
"filter": {
7+
"packages": {
8+
"regex": true,
9+
"exclude": [
10+
"com\\.datastax\\.oss\\.protocol\\.internal(\\..+)?",
11+
"com\\.datastax\\.oss\\.driver\\.internal(\\..+)?",
12+
"com\\.datastax\\.oss\\.driver\\.shaded(\\..+)?",
13+
"com\\.datastax\\.oss\\.simulacron(\\..+)?",
14+
// Don't re-check sibling modules that this module depends on
15+
"com\\.datastax\\.oss\\.driver\\.api\\.core(\\..+)?",
16+
"com\\.datastax\\.oss\\.driver\\.api\\.querybuilder(\\..+)?"
17+
]
18+
}
19+
}
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)