Result Library BOM

Bill of Materials for Result libraries

Result Library BOM

This project contains Bill of Materials (BOM) POM for Result libraries, which is a special POM file that groups dependency versions that are known to be valid and tested to work together, reducing the chances to have version mismatches.

The basic idea is that, instead of specifying a version number for every Result library that you want to use in your project, you can use this BOM POM to get a full set of consistent versions to use.

Adding Result BOM to Your Build

Artifact coordinates:

To import the BOM using Maven, use the following:

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>com.leakyabstractions</groupId>
      <artifactId>result-bom</artifactId>
      <version>0.3.1.0</version>
      <scope>import</scope>
      <type>pom</type>
    </dependency>   
  </dependencies>
</dependencyManagement>

To import the BOM using Gradle, use the following:

dependencies {
    // Import the BOM
    implementation platform('com.leakyabstractions:result-bom:0.3.1.0')

    // Define dependencies without version numbers
    implementation 'com.leakyabstractions:result'
    implementation 'com.leakyabstractions:result-jackson'
    implementation 'com.leakyabstractions:result-lazy'
    testImplementation 'com.leakyabstractions:result-assertj'
}

Releases

This library adheres to Pragmatic Versioning.

Artifacts are available in Maven Central.

Javadoc

Here you can find the full Javadoc documentation.

Looking for Support?

We’d love to help. Check out the support guidelines.

Contributions Welcome

If you’d like to contribute to this project, please start here.

Code of Conduct

This project is governed by the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.

Author

Copyright 2024 Guillermo Calvo.

License

This library is licensed under the Apache License, Version 2.0 (the “License”); you may not use it except in compliance with the License.

You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Permitted:

Required:

Forbidden: