Skip to content

Commit

Permalink
O3-3511: Project that publishes a content package as a Maven artifact… (
Browse files Browse the repository at this point in the history
#11)

* O3-3511: Project that publishes a content package as a Maven artifact - fix to build failure

* O3-3511: Project that publishes a content package as a Maven artifact - fix to build failure adding pluginRepository for snapshots

---------

Co-authored-by: Amos Laboso <alaboso@uonbi.ac.ke>
  • Loading branch information
alaboso and Amos Laboso authored Jan 6, 2025
1 parent 61b150f commit 073bc86
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>openmrs-repo-snapshots</id>
<name>OpenMRS Snapshots Repo</name>
<url>https://mavenrepo.openmrs.org/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<repository>
Expand All @@ -121,7 +129,7 @@
<plugin>
<groupId>org.openmrs.maven.plugins</groupId>
<artifactId>openmrs-packager-maven-plugin</artifactId>
<version>1.8.0</version>
<version>1.9.0-SNAPSHOT</version>
<executions>
<execution>
<id>validate-content-package</id>
Expand All @@ -147,7 +155,7 @@
<plugin>
<groupId>org.openmrs.maven.plugins</groupId>
<artifactId>openmrs-packager-maven-plugin</artifactId>
<version>1.8.0</version>
<version>1.9.0-SNAPSHOT</version>
<executions>
<execution>
<id>validate-content-package</id>
Expand All @@ -166,7 +174,7 @@
<goal>validate-configurations</goal>
</goals>
<configuration>
<sourceDir>${project.basedir}/configs/backend_config</sourceDir>
<sourceDir>${project.basedir}/configuration/backend_config</sourceDir>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 073bc86

Please sign in to comment.