OpusCapitaPeppolModels

Common models for the Peppol services running on Andariel Platform

License

License

GroupId

GroupId

com.opuscapita.peppol
ArtifactId

ArtifactId

peppol-models
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

OpusCapitaPeppolModels
Common models for the Peppol services running on Andariel Platform
Project URL

Project URL

https://github.com/OpusCapita/peppol-models
Source Code Management

Source Code Management

https://github.com/OpusCapita/peppol-models

Download peppol-models

How to add to project

<!-- https://jarcasting.com/artifacts/com.opuscapita.peppol/peppol-models/ -->
<dependency>
    <groupId>com.opuscapita.peppol</groupId>
    <artifactId>peppol-models</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.opuscapita.peppol/peppol-models/
implementation 'com.opuscapita.peppol:peppol-models:0.0.2'
// https://jarcasting.com/artifacts/com.opuscapita.peppol/peppol-models/
implementation ("com.opuscapita.peppol:peppol-models:0.0.2")
'com.opuscapita.peppol:peppol-models:jar:0.0.2'
<dependency org="com.opuscapita.peppol" name="peppol-models" rev="0.0.2">
  <artifact name="peppol-models" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.opuscapita.peppol', module='peppol-models', version='0.0.2')
)
libraryDependencies += "com.opuscapita.peppol" % "peppol-models" % "0.0.2"
[com.opuscapita.peppol/peppol-models "0.0.2"]

Dependencies

compile (4)

Group / Artifact Type Version
mysql : mysql-connector-java jar 5.1.25
org.springframework.boot : spring-boot-starter-web jar 2.1.3.RELEASE
org.springframework.boot : spring-boot-starter-data-jpa jar 2.1.3.RELEASE
org.springframework.cloud : spring-cloud-starter-consul-config jar 2.1.0.RELEASE

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.springframework.boot : spring-boot-starter-test jar 2.1.3.RELEASE

Project Modules

There are no modules declared in this project.

peppol-models CircleCI

Common models for the Peppol services running on Andariel Platform.

Common models include;

  • Access Point
  • Customer
  • Email Info
  • File Info
  • Message
  • Event

This project is being published as a library to Maven Central Repository

Publishing

Every changes pushed to master branch will trigger a new release and auto-publish to maven central.

For a manuel publish, first you need to populate a gradle.properties file. (note that this file is ignored by git, please DO NOT push it).

# sample gradle.properties file
version=<VERSION_TO_PUBLISH>
signing.keyId=<GPG_KEY_SHORT_ID>
signing.password=<GPG_KEY_PASSWORD>
signing.secretKeyRingFile=<PATH_TO_YOUR_GPG_SECRET_KEY>
nexusUsername=<YOUR_SONATYPE_USERNAME>
nexusPassword=<YOUR_SONATYPE_PASSWORD>

After you created gradle.properties file, run the following commands:

# simple clean and build
./gradlew clean
./gradlew build

# sign and upload artifacts to
# sonatype staging repo: https://oss.sonatype.org
./gradlew uploadArchives

# close and release the new version of library
# it will be available in ~10m in Maven Central Repo: http://repo1.maven.org/maven2/com/opuscapita/peppol/peppol-models/
# and it will be available in ~2h in Maven Central Search: https://search.maven.org/
./gradlew closeAndReleaseRepository

If you want to test your changes locally, you can publish to your local repository and depend it from your service. To publish to your local maven repository (~/m2) execute:

./gradlew publishToMavenLocal

Versioning

The version number has 3 parts: [major].[minor].[patch].

The major and minor version numbers are being fetched from the VERSION file. If you want to release a new major or minor version, edit the VERSION file and push it to master.

The patch version number is auto generated using git tags. Every release from master tagged with the version number which has 1 more patch number from the previous one.

com.opuscapita.peppol

OpusCapita Solutions

Versions

Version
0.0.2
0.0.1