|
8 | 8 | <version>7.22.1</version> |
9 | 9 | <inceptionYear>2016</inceptionYear> |
10 | 10 | <modules> |
11 | | - <module>release-parent</module> |
12 | 11 | <module>core</module> |
13 | 12 | <module>driver</module> |
14 | 13 | <module>shaded</module> |
|
42 | 41 | <sonar.java.spotbugs.reportPaths>target/spotbugsXml.xml</sonar.java.spotbugs.reportPaths> |
43 | 42 | <sonar.coverage.jacoco.xmlReportPaths>site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> |
44 | 43 | <graalvm.version>25.0.0</graalvm.version> |
| 44 | + <moduleName/> |
45 | 45 | </properties> |
46 | 46 |
|
47 | 47 | <developers> |
|
78 | 78 | <module>test-perf</module> |
79 | 79 | </modules> |
80 | 80 | </profile> |
| 81 | + <profile> |
| 82 | + <id>static-code-analysis</id> |
| 83 | + <build> |
| 84 | + <plugins> |
| 85 | + <plugin> |
| 86 | + <groupId>com.github.spotbugs</groupId> |
| 87 | + <artifactId>spotbugs-maven-plugin</artifactId> |
| 88 | + <version>4.9.6.0</version> |
| 89 | + <configuration> |
| 90 | + <excludeFilterFile>spotbugs/spotbugs-exclude.xml</excludeFilterFile> |
| 91 | + </configuration> |
| 92 | + <executions> |
| 93 | + <execution> |
| 94 | + <phase>compile</phase> |
| 95 | + <goals> |
| 96 | + <goal>check</goal> |
| 97 | + </goals> |
| 98 | + </execution> |
| 99 | + </executions> |
| 100 | + <dependencies> |
| 101 | + <dependency> |
| 102 | + <groupId>com.github.spotbugs</groupId> |
| 103 | + <artifactId>spotbugs</artifactId> |
| 104 | + <version>4.7.3</version> |
| 105 | + </dependency> |
| 106 | + </dependencies> |
| 107 | + </plugin> |
| 108 | + <plugin> |
| 109 | + <groupId>org.jacoco</groupId> |
| 110 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 111 | + <executions> |
| 112 | + <execution> |
| 113 | + <goals> |
| 114 | + <goal>report</goal> |
| 115 | + </goals> |
| 116 | + </execution> |
| 117 | + </executions> |
| 118 | + <configuration> |
| 119 | + <dataFile>../test-functional/target/jacoco.exec</dataFile> |
| 120 | + <formats> |
| 121 | + <format>XML</format> |
| 122 | + </formats> |
| 123 | + </configuration> |
| 124 | + </plugin> |
| 125 | + </plugins> |
| 126 | + </build> |
| 127 | + </profile> |
| 128 | + <profile> |
| 129 | + <id>release</id> |
| 130 | + <activation> |
| 131 | + <property> |
| 132 | + <name>maven.test.skip</name> |
| 133 | + <value>true</value> |
| 134 | + </property> |
| 135 | + </activation> |
| 136 | + <build> |
| 137 | + <plugins> |
| 138 | + <plugin> |
| 139 | + <groupId>org.apache.maven.plugins</groupId> |
| 140 | + <artifactId>maven-source-plugin</artifactId> |
| 141 | + <version>3.3.1</version> |
| 142 | + <executions> |
| 143 | + <execution> |
| 144 | + <goals> |
| 145 | + <goal>jar</goal> |
| 146 | + </goals> |
| 147 | + </execution> |
| 148 | + </executions> |
| 149 | + </plugin> |
| 150 | + <plugin> |
| 151 | + <groupId>org.apache.maven.plugins</groupId> |
| 152 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 153 | + <executions> |
| 154 | + <execution> |
| 155 | + <goals> |
| 156 | + <goal>jar</goal> |
| 157 | + </goals> |
| 158 | + <configuration> |
| 159 | + <excludePackageNames> |
| 160 | + com.arangodb.internal, |
| 161 | + com.arangodb.internal.*, |
| 162 | + com.arangodb.serde.jackson.internal, |
| 163 | + javax.* |
| 164 | + </excludePackageNames> |
| 165 | + <doclint>none</doclint> |
| 166 | + </configuration> |
| 167 | + </execution> |
| 168 | + </executions> |
| 169 | + </plugin> |
| 170 | + <plugin> |
| 171 | + <groupId>org.apache.maven.plugins</groupId> |
| 172 | + <artifactId>maven-gpg-plugin</artifactId> |
| 173 | + <version>3.2.8</version> |
| 174 | + <configuration> |
| 175 | + <gpgArguments> |
| 176 | + <arg>--pinentry-mode</arg> |
| 177 | + <arg>loopback</arg> |
| 178 | + </gpgArguments> |
| 179 | + </configuration> |
| 180 | + <executions> |
| 181 | + <execution> |
| 182 | + <id>sign-artifacts</id> |
| 183 | + <phase>verify</phase> |
| 184 | + <goals> |
| 185 | + <goal>sign</goal> |
| 186 | + </goals> |
| 187 | + </execution> |
| 188 | + </executions> |
| 189 | + </plugin> |
| 190 | + <plugin> |
| 191 | + <groupId>org.codehaus.mojo</groupId> |
| 192 | + <artifactId>flatten-maven-plugin</artifactId> |
| 193 | + <configuration> |
| 194 | + <flattenMode>oss</flattenMode> |
| 195 | + </configuration> |
| 196 | + <executions> |
| 197 | + <!-- enable flattening --> |
| 198 | + <execution> |
| 199 | + <id>flatten</id> |
| 200 | + <phase>package</phase> |
| 201 | + <goals> |
| 202 | + <goal>flatten</goal> |
| 203 | + </goals> |
| 204 | + </execution> |
| 205 | + <!-- ensure proper cleanup --> |
| 206 | + <execution> |
| 207 | + <id>flatten.clean</id> |
| 208 | + <phase>clean</phase> |
| 209 | + <goals> |
| 210 | + <goal>clean</goal> |
| 211 | + </goals> |
| 212 | + </execution> |
| 213 | + </executions> |
| 214 | + </plugin> |
| 215 | + <plugin> |
| 216 | + <groupId>org.apache.maven.plugins</groupId> |
| 217 | + <artifactId>maven-jar-plugin</artifactId> |
| 218 | + <configuration> |
| 219 | + <archive> |
| 220 | + <manifestEntries> |
| 221 | + <Implementation-Title>${project.name}</Implementation-Title> |
| 222 | + <Implementation-Version>${project.version}</Implementation-Version> |
| 223 | + <Automatic-Module-Name>${moduleName}</Automatic-Module-Name> |
| 224 | + </manifestEntries> |
| 225 | + </archive> |
| 226 | + <skipIfEmpty>true</skipIfEmpty> |
| 227 | + </configuration> |
| 228 | + </plugin> |
| 229 | + <plugin> |
| 230 | + <groupId>org.apache.maven.plugins</groupId> |
| 231 | + <artifactId>maven-clean-plugin</artifactId> |
| 232 | + <configuration> |
| 233 | + <filesets> |
| 234 | + <fileset> |
| 235 | + <directory>${project.basedir}</directory> |
| 236 | + <includes> |
| 237 | + <include>**/dependency-reduced-pom.xml</include> |
| 238 | + </includes> |
| 239 | + </fileset> |
| 240 | + </filesets> |
| 241 | + </configuration> |
| 242 | + </plugin> |
| 243 | + <plugin> |
| 244 | + <groupId>org.sonatype.central</groupId> |
| 245 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 246 | + <version>0.9.0</version> |
| 247 | + <extensions>true</extensions> |
| 248 | + <configuration> |
| 249 | + <publishingServerId>central</publishingServerId> |
| 250 | + <autoPublish>true</autoPublish> |
| 251 | + <waitUntil>published</waitUntil> |
| 252 | + </configuration> |
| 253 | + </plugin> |
| 254 | + </plugins> |
| 255 | + </build> |
| 256 | + </profile> |
81 | 257 | </profiles> |
82 | 258 |
|
83 | 259 | <dependencyManagement> |
|
0 commit comments