Skip to content

Commit

Permalink
AFKR-8: Add parent/child support for Odoo config
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuisson committed Feb 17, 2020
1 parent 2b69af2 commit 8ec5eb0
Showing 1 changed file with 30 additions and 9 deletions.
39 changes: 30 additions & 9 deletions pom.xml
Expand Up @@ -27,6 +27,7 @@
<!-- Configs -->
<child.openmrsconfigVersion>1.0.0-SNAPSHOT</child.openmrsconfigVersion>
<child.bahmniconfigVersion>1.0.0-SNAPSHOT</child.bahmniconfigVersion>
<child.odooconfigVersion>1.0.0-SNAPSHOT</child.odooconfigVersion>

</properties>

Expand All @@ -43,6 +44,12 @@
<type>zip</type>
<version>${child.bahmniconfigVersion}</version>
</dependency>
<dependency>
<groupId>net.mekomsolutions</groupId>
<artifactId>odoo-config-easydoc</artifactId>
<type>zip</type>
<version>${child.odooconfigVersion}</version>
</dependency>
</dependencies>

<build>
Expand All @@ -66,7 +73,7 @@
<includeArtifactIds>openmrs-config-easydoc</includeArtifactIds>
</configuration>
</execution>
<!-- Bahmni child config -->
<!-- Bahmni child config -->
<execution>
<id>unpack-bahmni-config-easydoc</id>
<phase>package</phase>
Expand All @@ -80,17 +87,31 @@
<includeArtifactIds>bahmni-config-easydoc</includeArtifactIds>
</configuration>
</execution>
<!-- Odoo child config -->
<execution>
<id>unpack-odoo-config-easydoc</id>
<phase>package</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<excludeTransitive>true</excludeTransitive>
<useBaseVersion>true</useBaseVersion>
<outputDirectory>${distro.odooconfigDir}</outputDirectory>
<includeArtifactIds>odoo-config-easydoc</includeArtifactIds>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>mks-nexus-public</id>
<url>https://nexus.mekomsolutions.net/repository/maven-public/</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<repository>
<id>mks-nexus-public</id>
<url>https://nexus.mekomsolutions.net/repository/maven-public/</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
</project>

0 comments on commit 8ec5eb0

Please sign in to comment.