Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Paweł Gesek
Paweł GesekReporter
Josh Zamor
Josh Zamor(Deactivated)Story Points
13
Time tracking
1w 1d 30m logged
Components
Sprint
None
Fix versions
Priority
Time Assistant
Time Assistant
Created October 31, 2016 at 11:51 PM
Updated April 4, 2018 at 6:02 PM
Resolved December 7, 2016 at 12:54 PM
In previous work on Extension Modules and Points we've noted that we will need to publish a Service's relevant classes (at the very least Extension Points and supporting types) to Maven so that an Extension Module may declare that service code as a dependency and compile against it.
For more on Maven JAR requirements: http://central.sonatype.org/pages/ossrh-guide.html
Acceptance:
we have our namespace in the Maven central repository (@Josh Zamor to get this)
a JAR is generated or the Spring Boot JAR is as-is determined to be appropriate to deploy to Maven
a POM is created, potentially generated through https://docs.gradle.org/current/userguide/publishing_maven.html , the group id, artifact and version should come through Gradle.
there is a gradle task that publishes the correct JAR to the Maven Central Repository using the versioning information (group, artifact, version) already provided in Gradle. e.g. https://github.com/OpenLMIS/openlmis-requisition/blob/master/build.gradle#L23 and https://github.com/OpenLMIS/openlmis-requisition/blob/master/gradle.properties
the above solution is implemented in openlmis-example
another gradle project may declare the requisition service as a dependency with a line in it's build.gradle like: compile "org.openlmis:requisition:3.0.0-beta". Implement this in openlmis-example-extension and document this in the README
This story should likely be broken out