Skip to content

Commit

Permalink
A few more 2023 tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
beamerblvd committed Oct 27, 2023
1 parent a0cb334 commit b93a0cc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

2.3 (2023-10-??)
----------------
- [MINOR] Bumped several plugin versions because it has been four years since the last update
- [MINOR] Made improvements to Checkstyle configuration in alignment with latest version
- [MINOR] Reverted to ``maven-deploy-plugin``
- [MINOR] Updated the Enforcer configuration to require one of the four current LTS Java versions
(1.8, 11, 17, and 21).

2.2 (2019-01-26)
----------------
- [MINOR] Some improvements to support needs of Raw Sockets
Expand All @@ -14,7 +22,7 @@ Changelog
----------------
- [MAJOR] Re-branded all projects from NWTSJavaCode to OddSource Code
- [MAJOR] Switched to using Travis CI for all continuous integration
- [MAJOR] Switched to the `nexus-staging-maven-plugin` for deployments instead of `maven-deploy-plugin`
- [MAJOR] Switched to the ``nexus-staging-maven-plugin`` for deployments instead of ``maven-deploy-plugin``
- [MAJOR] Switched from tabs to spaces
- [MINOR] Codified explicit code style rules
- [MINOR] Configured mandatory license header check in Maven build
Expand Down
11 changes: 6 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Java projects sponsored and hosted by OddSource Code must put the following at t
<parent>
<groupId>io.oddsource.java</groupId>
<artifactId>oss-parent</artifactId>
<version>2.0</version>
<version>2.3</version>
</parent>
Coding Standards
Expand Down Expand Up @@ -58,7 +58,8 @@ full code styling rules, see the Checkstyle config in ``pom.xml``.

* Standard ``java`` and ``javax`` imports
* Third party imports
* Imports starting with ``io.oddsource.java``
* External imports starting with ``io.oddsource.java``
* Internal imports from the same project

* There shall be one blank line between the package statement and imports, between imports and class definition,
between class definitions, between class field definitions, and between constructor and method definitions.
Expand All @@ -71,6 +72,6 @@ full code styling rules, see the Checkstyle config in ``pom.xml``.
than two ``return`` statements.
* Methods and constructors shall not ``throws`` more than four different exception types.
* Any native code, which should be rare, shall be compiled and bundled within the JAR of the code that uses it for
easier distributions. A given JAR should contain a ``.dll`` for Windows, a ``.so`` for Linux, and a separate ``.so``
for macOS if the Linux shared library is not compatible with macOS. Other, more obscure operating systems shall not
be required to be supported with bundled libraries.
easier distributions. A given JAR should contain a ``.dll`` for Windows, an ``.so`` for Linux (or multiple ``.so``
files for different Linux distributions, if necessary), and a ``.dylib`` for macOS. Other, more obscure operating
systems shall not be required to be supported with bundled libraries, but may.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
<version>[3.0.5,4.0)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[11.0,12),[17.0,18),[21.0,22)</version>
<version>[1.8,1.9),[11.0,12),[17.0,18),[21.0,22)</version>
</requireJavaVersion>
</rules>
</configuration>
Expand Down

0 comments on commit b93a0cc

Please sign in to comment.