Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...


Warning
titleWarning

This page is now hosted on https://odp.finos.org/docs/development-infrastructure/continuous-integration/java

The Foundation hosts several Java projects already and provides a good level of support for building, testing and releasing Java code.

The most adopted (68% in 2016, according to RebelLabs) build tool for Java is Apache Maven, which provides a standard, modular, convention-based model to build and publish your Java projects; as such, the Foundation provides a Maven Module called Parent POM, containing build configurations that can be easily inherited by the single projects; in provides:

...

  1. Sign up on https://issues.sonatype.org/ (note that this site uses the same credentials as http://oss.sonatype.org/).
  2. Raise a HELP issue or send an email to help@finos.org, with the GitHub URL of your project, and your Sonatype Jira ID (from step 1)
  3. Locate (or create) and edit the settings.xml file in your local file-system to add a <server> item; using Maven encrypted passwords is strongly advised, to avoid setting up the password in clear text

    Code Block
    titlesettings.xml
    linenumberstrue
    collapsetrue
    <settings>
      <servers>
        <server>
          <id>ossrh</id>
          <username>[your-sonatype-jira-id]</username>
          <password>[your-sonatype-jira-pwd]</password>
        </server>
        <server>
          <id>ossrh-distro</id>
          <username>[your-sonatype-jira-id]</username>
          <password>[your-sonatype-jira-pwd]</password>
        </server>
      </servers>
    </settings>


...

If the release command fails with "gpg: signing failed: Inappropriate ioctl for device", run the following command and try again; more info on stackexchange.

...