Giter Site home page Giter Site logo

fj-bom's People

Contributors

daneeldeveloper avatar dependabot[bot] avatar fugerit79 avatar mttfranci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fj-bom's Issues

Sonar cloud maven build

Add sonar cloud maven build github action workflow

The workflow will activate for commit on :

  • main
  • branch-sonarcloud
  • pull requests

Quality gate will be shown on the readme :

Quality Gate Status

Sonar keys are passed as maven parameters to avoid child projects have import them

mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=fugerit-org -Dsonar.projectKey=fugerit-org_fj-bom

Fix to license url

The license url in the license section of the pom is diffierent from the default property.
Set the project to use the same.

Add fj-bom documentation

The goal is to create markdown documentation for :

  • scope of the bom
  • profile usage
  • dependancy management

General support for sonar cloud scan

To be able to run sonar cloud scan via maven build on github action, it is required to activate the 'coverage' profile.

The coverage maven profivole activate the test and add the jacoco-maven-plugin for coverage reporting.

Add build metadata to MANIFEST

  • Maven profile 'doRelease' should activate buildnumber-maven-plugin and add metadata to MANIFEST.MF

The properties added are :

  • 'Bundle-License' (values is the 'licenseURL' maven property)
  • 'Bundle-Description' (values is the 'project.description' maven property)
  • 'Bundle-Name' (values is the 'project.name' maven property)
  • 'Bundle-ManifestVersion' set to 4 (https://docs.osgi.org/download/r8/osgi.core-8.0.0.pdf)
  • 'Implementation-Build' (values is the 'buildNumber' from buildnumber-maven-plugin)
  • 'addDefaultImplementationEntries' from maven-jar-plugin

Starting with version 1.0.0 : Java 11 should be used for building (maven.compiler.release can still be set to java 8)

To comply with some test time libraries (for instnace hsqldb) library should be built with java11.
It is still possibile to use java 1.8 (8) as compliance level, for instance :

            <java-version-compliance>8</java-version-compliance>
	    <maven.compiler.source>${java-version-compliance}</maven.compiler.source>
	    <maven.compiler.target>${java-version-compliance}</maven.compiler.target>	
	    <maven.compiler.release>${java-version-compliance}</maven.compiler.release>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.