Skip to content

Commit 875c799

Browse files
authored
Merge pull request #407 from cicirello/no-fat-jar
Discontinue publishing jar-with-dependencies effective with next release
2 parents 9cf6b9e + d80d1c5 commit 875c799

File tree

4 files changed

+6
-46
lines changed

4 files changed

+6
-46
lines changed

.github/workflows/maven-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,5 @@ jobs:
6161
gh release upload ${TAG} target/${{ env.artifact_name }}-${{ steps.get_version.outputs.VERSION }}.jar
6262
gh release upload ${TAG} target/${{ env.artifact_name }}-${{ steps.get_version.outputs.VERSION }}-sources.jar
6363
gh release upload ${TAG} target/${{ env.artifact_name }}-${{ steps.get_version.outputs.VERSION }}-javadoc.jar
64-
gh release upload ${TAG} target/${{ env.artifact_name }}-${{ steps.get_version.outputs.VERSION }}-jar-with-dependencies.jar
6564
env:
6665
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3636
* Fixed potential finalizer vulnerability in org.cicirello.sequences.distance.EditDistance, detected by SpotBugs analysis.
3737

3838
### Dependencies
39-
* Bump rho-mu from 3.1.0 to 3.2.0
39+
* Bump rho-mu from 3.1.0 to 4.0.0
4040
* Bump org.cicirello:core from 2.5.0 to 2.7.0
4141

4242
### CI/CD
4343
* Integrated SpotBugs static analysis into build process.
4444
* Integrated Find Security Bugs static analysis into build process.
45+
* Discontinued publication of a `jar-with-dependencies` (BREAKING CHANGE only if you were using the fat jar).
4546

4647
### Other
4748

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,10 @@ and (2) add the following to the repositories section of your pom.xml:
154154

155155
If you don't use a dependency manager that supports importing from Maven Central,
156156
or if you simply prefer to download manually, prebuilt jars are also attached to
157-
each [GitHub Release](https://github.com/cicirello/JavaPermutationTools).
158-
159-
In addition to the regular jar of the library, we also regularly publish a
160-
`jar-with-dependencies`. The `jar-with-dependencies` does not contain any module
161-
declarations (unlike the regular jar file which does). Therefore, the
162-
`jar-with-dependencies` should be used on the classpath.
157+
each [GitHub Release](https://github.com/cicirello/JavaPermutationTools). If you
158+
manually download jar files, make sure you also get the relevant versions of the
159+
dependencies. The simplest way to do this is to import from Maven Central, which
160+
will obtain the relevant dependencies automatically.
163161

164162
## License
165163

pom.xml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -300,44 +300,6 @@
300300
</includes>
301301
</configuration>
302302
</plugin>
303-
<plugin>
304-
<groupId>org.apache.maven.plugins</groupId>
305-
<artifactId>maven-shade-plugin</artifactId>
306-
<version>3.5.3</version>
307-
<configuration>
308-
<shadedArtifactAttached>true</shadedArtifactAttached>
309-
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
310-
<createDependencyReducedPom>false</createDependencyReducedPom>
311-
<filters>
312-
<filter>
313-
<artifact>*:*</artifact>
314-
<excludes>
315-
<exclude>module-info.class</exclude>
316-
</excludes>
317-
</filter>
318-
<filter>
319-
<artifact>org.cicirello:core</artifact>
320-
<excludes>
321-
<exclude>META-INF/MANIFEST.MF</exclude>
322-
</excludes>
323-
</filter>
324-
<filter>
325-
<artifact>org.cicirello:rho-mu</artifact>
326-
<excludes>
327-
<exclude>META-INF/MANIFEST.MF</exclude>
328-
</excludes>
329-
</filter>
330-
</filters>
331-
</configuration>
332-
<executions>
333-
<execution>
334-
<phase>package</phase>
335-
<goals>
336-
<goal>shade</goal>
337-
</goals>
338-
</execution>
339-
</executions>
340-
</plugin>
341303
<plugin>
342304
<groupId>com.spotify.fmt</groupId>
343305
<artifactId>fmt-maven-plugin</artifactId>

0 commit comments

Comments
 (0)