Debian Codegraph @

assertj-guava/pom.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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 ">
3 <modelVersion>4.0.0</modelVersion>
4
5 <parent>
6 <groupId>org.assertj</groupId>
7 <artifactId>assertj-parent</artifactId>
8 <version>3.26.3</version>
9 <relativePath>../assertj-parent</relativePath>
10 </parent>
11
12 <artifactId>assertj-guava</artifactId>
13
14 <name>AssertJ Guava</name>
15 <description>Rich and fluent assertions for testing for Guava</description>
16 <url>${project.organization.url}#${project.artifactId}</url>
17
18 <properties>
19 <rootDirectory>${project.basedir}/../</rootDirectory>
20 <spotless.skip>false</spotless.skip>
21 <!-- Dependency versions -->
22 <guava.version>33.2.1-jre</guava.version>
23 </properties>
24
25 <dependencies>
26 <!-- Compile -->
27 <dependency>
28 <groupId>org.assertj</groupId>
29 <artifactId>assertj-core</artifactId>
30 <version>${project.version}</version>
31 </dependency>
32 <!-- Provided -->
33 <dependency>
34 <groupId>com.google.guava</groupId>
35 <artifactId>guava</artifactId>
36 <version>${guava.version}</version>
37 <scope>provided</scope>
38 </dependency>
39 <dependency>
40 <groupId>org.opentest4j</groupId>
41 <artifactId>opentest4j</artifactId>
42 <scope>provided</scope>
43 <optional>true</optional>
44 </dependency>
45 <!-- Test -->
46 <dependency>
47 <groupId>org.junit.jupiter</groupId>
48 <artifactId>junit-jupiter</artifactId>
49 <scope>test</scope>
50 </dependency>
51 </dependencies>
52
53 <build>
54 <pluginManagement>
55 <plugins>
56 <plugin>
57 <groupId>com.github.siom79.japicmp</groupId>
58 <artifactId>japicmp-maven-plugin</artifactId>
59 <configuration>
60 <parameter>
61 <excludes>
62 <exclude>org.assertj.guava.internal</exclude>
63 </excludes>
64 </parameter>
65 </configuration>
66 </plugin>
67 </plugins>
68 </pluginManagement>
69 <plugins>
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-enforcer-plugin</artifactId>
73 <executions>
74 <execution>
75 <id>enforce-dependencies</id>
76 <goals>
77 <goal>enforce</goal>
78 </goals>
79 <configuration>
80 <rules>
81 <bannedDependencies>
82 <includes>
83 <include>net.bytebuddy:byte-buddy</include>
84 <include>org.assertj:assertj-core</include>
85 </includes>
86 <excludes>
87 <exclude>org.assertj:assertj-guava</exclude>
88 <exclude>*:*:*:jar:compile</exclude>
89 </excludes>
90 </bannedDependencies>
91 <dependencyConvergence />
92 </rules>
93 </configuration>
94 </execution>
95 </executions>
96 </plugin>
97 <plugin>
98 <groupId>biz.aQute.bnd</groupId>
99 <artifactId>bnd-maven-plugin</artifactId>
100 <extensions>true</extensions>
101 <executions>
102 <execution>
103 <id>jar</id>
104 <goals>
105 <goal>jar</goal>
106 </goals>
107 <configuration>
108 <bnd><![CDATA[
109 -exportcontents: \
110 !org.assertj.guava.util.*,\
111 org.assertj.guava.*
112 -noclassforname: true
113 -noextraheaders: true
114 -snapshot: SNAPSHOT
115 -removeheaders: Private-Package
116 ]]></bnd>
117 </configuration>
118 </execution>
119 </executions>
120 </plugin>
121 <!-- Resolve bundles for OSGi integration tests -->
122 <plugin>
123 <groupId>biz.aQute.bnd</groupId>
124 <artifactId>bnd-resolver-maven-plugin</artifactId>
125 <executions>
126 <execution>
127 <id>osgi-integration-resolving</id>
128 <phase>pre-integration-test</phase>
129 <goals>
130 <goal>resolve</goal>
131 </goals>
132 <configuration>
133 <outputBndrunDir>${project.build.directory}</outputBndrunDir>
134 <bndruns>
135 <include>verify.bndrun</include>
136 </bndruns>
137 <bundles>
138 <bundle>target/${project.build.finalName}.jar</bundle>
139 </bundles>
140 <failOnChanges>false</failOnChanges>
141 <reportOptional>false</reportOptional>
142 <includeDependencyManagement>true</includeDependencyManagement>
143 <scopes>
144 <scope>provided</scope>
145 <scope>compile</scope>
146 <scope>runtime</scope>
147 <scope>test</scope>
148 </scopes>
149 </configuration>
150 </execution>
151 </executions>
152 </plugin>
153 <!-- generate jacoco report -->
154 <plugin>
155 <groupId>org.jacoco</groupId>
156 <artifactId>jacoco-maven-plugin</artifactId>
157 <configuration>
158 <excludes>
159 <!-- exclude deprecated classes -->
160 <exclude>org/assertj/guava/data/MapEntry*</exclude>
161 </excludes>
162 </configuration>
163 </plugin>
164 <plugin>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-javadoc-plugin</artifactId>
167 <configuration>
168 <links>
169 <link>https://javadoc.io/doc/com.google.guava/guava/${guava.version}</link>
170 <link>https://javadoc.io/doc/org.assertj/assertj-core/${project.version}</link>
171 </links>
172 </configuration>
173 </plugin>
174 <plugin>
175 <groupId>org.codehaus.mojo</groupId>
176 <artifactId>flatten-maven-plugin</artifactId>
177 <executions>
178 <execution>
179 <id>flatten</id>
180 <phase>process-resources</phase>
181 <goals>
182 <goal>flatten</goal>
183 </goals>
184 <configuration>
185 <flattenMode>ossrh</flattenMode>
186 <pomElements>
187 <build>remove</build>
188 </pomElements>
189 </configuration>
190 </execution>
191 <execution>
192 <id>flatten-clean</id>
193 <phase>clean</phase>
194 <goals>
195 <goal>clean</goal>
196 </goals>
197 </execution>
198 </executions>
199 </plugin>
200 <plugin>
201 <groupId>org.sonatype.plugins</groupId>
202 <artifactId>nexus-staging-maven-plugin</artifactId>
203 </plugin>
204 </plugins>
205 </build>
206
207 <profiles>
208 <profile>
209 <id>japicmp-branch</id>
210 <build>
211 <pluginManagement>
212 <plugins>
213 <plugin>
214 <groupId>com.github.siom79.japicmp</groupId>
215 <artifactId>japicmp-maven-plugin</artifactId>
216 <configuration>
217 <oldVersion>
218 <file>
219 <path>${japicmp.oldVersion.basedir}/target/${project.build.finalName}.${project.packaging}</path>
220 </file>
221 </oldVersion>
222 </configuration>
223 </plugin>
224 </plugins>
225 </pluginManagement>
226 </build>
227 </profile>
228 </profiles>
229
230 </project>