|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +
|
| 4 | + Copyright © 2025, Ozone HIS <[email protected]> |
| 5 | +
|
| 6 | + This Source Code Form is subject to the terms of the Mozilla Public |
| 7 | + License, v. 2.0. If a copy of the MPL was not distributed with this |
| 8 | + file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 9 | +
|
| 10 | +--> |
| 11 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 12 | + <modelVersion>4.0.0</modelVersion> |
| 13 | + <parent> |
| 14 | + <groupId>com.ozonehis</groupId> |
| 15 | + <artifactId>eip-odoo-openelis-parent</artifactId> |
| 16 | + <version>1.0.0-SNAPSHOT</version> |
| 17 | + </parent> |
| 18 | + |
| 19 | + <artifactId>eip-odoo-openelis</artifactId> |
| 20 | + <packaging>jar</packaging> |
| 21 | + <name>EIP Odoo OpenELIS</name> |
| 22 | + <description>EIP Odoo OpenELIS</description> |
| 23 | + |
| 24 | + <properties> |
| 25 | + <maven.compiler.source>17</maven.compiler.source> |
| 26 | + <maven.compiler.target>17</maven.compiler.target> |
| 27 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 28 | + <camel.version>4.1.0</camel.version> |
| 29 | + <camel.openmrs.fhir.version>4.2.0-SNAPSHOT</camel.openmrs.fhir.version> |
| 30 | + |
| 31 | + <!-- Classifier for the dependency report artifact --> |
| 32 | + <dependencyReportClassifier>dependencies</dependencyReportClassifier> |
| 33 | + </properties> |
| 34 | + |
| 35 | + <dependencies> |
| 36 | + <dependency> |
| 37 | + <groupId>org.openmrs.eip</groupId> |
| 38 | + <artifactId>camel-openmrs-fhir</artifactId> |
| 39 | + <version>${camel.openmrs.fhir.version}</version> |
| 40 | + </dependency> |
| 41 | + <dependency> |
| 42 | + <groupId>org.apache.xmlrpc</groupId> |
| 43 | + <artifactId>xmlrpc-client</artifactId> |
| 44 | + <version>${xmlRpcClientVersion}</version> |
| 45 | + </dependency> |
| 46 | + <dependency> |
| 47 | + <groupId>com.jayway.jsonpath</groupId> |
| 48 | + <artifactId>json-path</artifactId> |
| 49 | + <version>2.9.0</version> |
| 50 | + <scope>test</scope> |
| 51 | + </dependency> |
| 52 | + </dependencies> |
| 53 | + |
| 54 | + <build> |
| 55 | + <plugins> |
| 56 | + <plugin> |
| 57 | + <groupId>org.apache.maven.plugins</groupId> |
| 58 | + <artifactId>maven-shade-plugin</artifactId> |
| 59 | + <version>3.2.4</version> |
| 60 | + <executions> |
| 61 | + <execution> |
| 62 | + <goals> |
| 63 | + <goal>shade</goal> |
| 64 | + </goals> |
| 65 | + <phase>package</phase> |
| 66 | + <configuration> |
| 67 | + <artifactSet> |
| 68 | + <includes> |
| 69 | + <include>org.openmrs.eip:*</include> |
| 70 | + <include>org.apache.xmlrpc:xmlrpc-client</include> |
| 71 | + <include>org.liquibase:*</include> |
| 72 | + <include>com.ozonehis:*</include> |
| 73 | + <include>org.apache.camel:camel-fhir</include> |
| 74 | + <include>org.apache.camel:camel-fhir-api</include> |
| 75 | + <include>org.apache.commons:*</include> |
| 76 | + <include>commons-io:commons-io</include> |
| 77 | + <include>ca.uhn.hapi.fhir:*</include> |
| 78 | + <include>com.fasterxml.jackson.core:jackson-databind</include> |
| 79 | + <include>org.apache.httpcomponents:*</include> |
| 80 | + <include>com.google.guava:*</include> |
| 81 | + </includes> |
| 82 | + </artifactSet> |
| 83 | + <filters> |
| 84 | + <filter> |
| 85 | + <artifact>*:*</artifact> |
| 86 | + <excludes> |
| 87 | + <exclude>META-INF/*.SF</exclude> |
| 88 | + <exclude>META-INF/*.DSA</exclude> |
| 89 | + <exclude>META-INF/*.RSA</exclude> |
| 90 | + <exclude>META-INF/MANIFEST.MF</exclude> |
| 91 | + <exclude>META-INF/okio.kotlin_module</exclude> |
| 92 | + <exclude>META-INF.versions.9.module-info</exclude> |
| 93 | + </excludes> |
| 94 | + </filter> |
| 95 | + </filters> |
| 96 | + </configuration> |
| 97 | + </execution> |
| 98 | + </executions> |
| 99 | + </plugin> |
| 100 | + <plugin> |
| 101 | + <groupId>net.mekomsolutions.maven.plugin</groupId> |
| 102 | + <artifactId>dependency-tracker-maven-plugin</artifactId> |
| 103 | + <version>1.1.0-SNAPSHOT</version> |
| 104 | + <executions> |
| 105 | + <execution> |
| 106 | + <id>Compile dependency report</id> |
| 107 | + <goals> |
| 108 | + <goal>track</goal> |
| 109 | + </goals> |
| 110 | + <phase>compile</phase> |
| 111 | + </execution> |
| 112 | + </executions> |
| 113 | + </plugin> |
| 114 | + <!-- Attach the dependency report to the build --> |
| 115 | + <plugin> |
| 116 | + <groupId>org.codehaus.mojo</groupId> |
| 117 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 118 | + <version>3.5.0</version> |
| 119 | + <executions> |
| 120 | + <execution> |
| 121 | + <id>Attach the dependency report</id> |
| 122 | + <goals> |
| 123 | + <goal>attach-artifact</goal> |
| 124 | + </goals> |
| 125 | + <phase>package</phase> |
| 126 | + <configuration> |
| 127 | + <artifacts> |
| 128 | + <artifact> |
| 129 | + <file>${project.build.directory}/${project.artifactId}-${project.version}-dependencies.txt</file> |
| 130 | + <type>txt</type> |
| 131 | + <classifier>${dependencyReportClassifier}</classifier> |
| 132 | + </artifact> |
| 133 | + </artifacts> |
| 134 | + </configuration> |
| 135 | + </execution> |
| 136 | + </executions> |
| 137 | + </plugin> |
| 138 | + </plugins> |
| 139 | + </build> |
| 140 | + |
| 141 | +</project> |
0 commit comments