Skip to content

Commit e6640a2

Browse files
committed
Refresh site
1 parent e52ba7a commit e6640a2

File tree

2 files changed

+59
-15
lines changed

2 files changed

+59
-15
lines changed

pom.xml

Lines changed: 54 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,19 @@
4848
<lombok.version>1.18.16</lombok.version>
4949
<main.class>hm.binkley.math.MainKt</main.class>
5050
<maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
51+
<maven-dependency-plugin.version>3.1.2</maven-dependency-plugin.version>
5152
<maven-enforcer-plugin.version>3.0.0-M3</maven-enforcer-plugin.version>
5253
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
5354
<maven-project-info-reports-plugin.version>3.1.1</maven-project-info-reports-plugin.version>
5455
<maven-release-plugin.version>3.0.0-M1</maven-release-plugin.version>
5556
<maven-site-plugin.version>3.9.1</maven-site-plugin.version>
5657
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
5758
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
58-
<maven-versions-plugin.version>2.8.1</maven-versions-plugin.version>
5959
<pitest-junit5-plugin.version>0.12</pitest-junit5-plugin.version>
6060
<pitest-maven.version>1.5.2</pitest-maven.version>
6161
<project.build.sourceEncoding>${java.charset}</project.build.sourceEncoding>
6262
<project.reporting.outputEncoding>${java.charset}</project.reporting.outputEncoding>
63+
<versions-maven-plugin.version>2.8.1</versions-maven-plugin.version>
6364
<!-- @formatter:on -->
6465
</properties>
6566

@@ -138,7 +139,7 @@
138139
<plugin>
139140
<groupId>org.codehaus.mojo</groupId>
140141
<artifactId>versions-maven-plugin</artifactId>
141-
<version>${maven-versions-plugin.version}</version>
142+
<version>${versions-maven-plugin.version}</version>
142143
</plugin>
143144
<plugin>
144145
<artifactId>kotlin-maven-plugin</artifactId>
@@ -367,8 +368,8 @@
367368
</executions>
368369
</plugin>
369370
<plugin>
370-
<artifactId>maven-release-plugin</artifactId>
371-
<version>${maven-release-plugin.version}</version>
371+
<artifactId>maven-site-plugin</artifactId>
372+
<version>${maven-site-plugin.version}</version>
372373
</plugin>
373374
</plugins>
374375

@@ -394,22 +395,65 @@
394395
<reporting>
395396
<plugins>
396397
<plugin>
397-
<groupId>com.github.gantsign.maven</groupId>
398-
<artifactId>ktlint-maven-plugin</artifactId>
399-
<version>${ktlint-maven-plugin.version}</version>
398+
<groupId>org.apache.maven.plugins</groupId>
399+
<artifactId>maven-dependency-plugin</artifactId>
400+
<version>${maven-dependency-plugin.version}</version>
400401
</plugin>
401402
<plugin>
402-
<groupId>org.pitest</groupId>
403-
<artifactId>pitest-maven</artifactId>
404-
<version>${pitest-maven.version}</version>
403+
<groupId>org.owasp</groupId>
404+
<artifactId>dependency-check-maven</artifactId>
405+
<version>${dependency-check-maven.version}</version>
406+
<configuration>
407+
<name>Dependency Check Report</name>
408+
</configuration>
409+
</plugin>
410+
<plugin>
411+
<groupId>org.codehaus.mojo</groupId>
412+
<artifactId>versions-maven-plugin</artifactId>
413+
<version>${versions-maven-plugin.version}</version>
414+
<reportSets>
415+
<reportSet>
416+
<reports>
417+
<report>dependency-updates-report</report>
418+
<report>plugin-updates-report</report>
419+
</reports>
420+
</reportSet>
421+
</reportSets>
422+
</plugin>
423+
<plugin>
424+
<groupId>org.apache.maven.plugins</groupId>
425+
<artifactId>maven-project-info-reports-plugin</artifactId>
426+
<version>${maven-project-info-reports-plugin.version}
427+
</version>
428+
</plugin>
429+
<plugin>
430+
<groupId>org.jacoco</groupId>
431+
<artifactId>jacoco-maven-plugin</artifactId>
432+
<version>${jacoco-maven-plugin.version}</version>
405433
<reportSets>
406434
<reportSet>
407435
<reports>
436+
<!-- Must specify to avoid aggregate report -->
408437
<report>report</report>
409438
</reports>
410439
</reportSet>
411440
</reportSets>
412441
</plugin>
442+
<plugin>
443+
<groupId>com.github.gantsign.maven</groupId>
444+
<artifactId>ktlint-maven-plugin</artifactId>
445+
<version>${ktlint-maven-plugin.version}</version>
446+
</plugin>
447+
<plugin>
448+
<groupId>org.apache.maven.plugins</groupId>
449+
<artifactId>maven-surefire-report-plugin</artifactId>
450+
<version>${maven-surefire-plugin.version}</version>
451+
</plugin>
452+
<plugin>
453+
<groupId>org.pitest</groupId>
454+
<artifactId>pitest-maven</artifactId>
455+
<version>${pitest-maven.version}</version>
456+
</plugin>
413457
</plugins>
414458
</reporting>
415459

src/main/kotlin/hm/binkley/math/ranges.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ private class BigRationalProgression<T : BigRationalBase<T>>(
6767
IncrementingBigRationalIterator(start, endInclusive, step)
6868

6969
override fun equals(other: Any?) = this === other ||
70-
other is BigRationalProgression<*> &&
71-
javaClass == other.javaClass &&
72-
start == other.start &&
73-
endInclusive == other.endInclusive &&
74-
step == other.step
70+
other is BigRationalProgression<*> &&
71+
javaClass == other.javaClass &&
72+
start == other.start &&
73+
endInclusive == other.endInclusive &&
74+
step == other.step
7575

7676
override fun hashCode() = hash(javaClass, start, endInclusive, step)
7777

0 commit comments

Comments
 (0)