|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <parent> |
| 6 | + <groupId>org.openmrs.module</groupId> |
| 7 | + <artifactId>initializer</artifactId> |
| 8 | + <version>2.12.0-SNAPSHOT</version> |
| 9 | + </parent> |
| 10 | + <modelVersion>4.0.0</modelVersion> |
| 11 | + |
| 12 | + <artifactId>initializer-api-2.8</artifactId> |
| 13 | + <packaging>jar</packaging> |
| 14 | + <name>Initializer API 2.8</name> |
| 15 | + <description>API 2.8 project for Initializer</description> |
| 16 | + |
| 17 | + <properties> |
| 18 | + <openmrsPlatformVersion>${openmrsVersion2.8}</openmrsPlatformVersion> |
| 19 | + <emrapiVersion>3.4.0</emrapiVersion> |
| 20 | + </properties> |
| 21 | + |
| 22 | + <repositories> |
| 23 | + <repository> |
| 24 | + <id>openmrs-repo-snapshots</id> |
| 25 | + <name>OpenMRS Nexus Snapshots</name> |
| 26 | + <url>https://mavenrepo.openmrs.org/snapshots</url> |
| 27 | + <releases> |
| 28 | + <enabled>false</enabled> |
| 29 | + </releases> |
| 30 | + <snapshots> |
| 31 | + <enabled>true</enabled> |
| 32 | + </snapshots> |
| 33 | + </repository> |
| 34 | + </repositories> |
| 35 | + |
| 36 | + <dependencies> |
| 37 | + |
| 38 | + <dependency> |
| 39 | + <groupId>org.openmrs.test</groupId> |
| 40 | + <artifactId>openmrs-test</artifactId> |
| 41 | + <type>pom</type> |
| 42 | + <version>${openmrsPlatformVersion}</version> |
| 43 | + <scope>test</scope> |
| 44 | + <exclusions> |
| 45 | + <exclusion> |
| 46 | + <groupId>org.powermock</groupId> |
| 47 | + <artifactId>powermock-api-mockito2</artifactId> |
| 48 | + </exclusion> |
| 49 | + </exclusions> |
| 50 | + </dependency> |
| 51 | + |
| 52 | + <dependency> |
| 53 | + <groupId>${project.parent.groupId}</groupId> |
| 54 | + <artifactId>${project.parent.artifactId}-api</artifactId> |
| 55 | + <version>${project.parent.version}</version> |
| 56 | + <scope>provided</scope> |
| 57 | + </dependency> |
| 58 | + |
| 59 | + <dependency> |
| 60 | + <groupId>${project.parent.groupId}</groupId> |
| 61 | + <artifactId>${project.parent.artifactId}-api</artifactId> |
| 62 | + <version>${project.parent.version}</version> |
| 63 | + <scope>test</scope> |
| 64 | + <type>test-jar</type> |
| 65 | + </dependency> |
| 66 | + |
| 67 | + <dependency> |
| 68 | + <groupId>${project.parent.groupId}</groupId> |
| 69 | + <artifactId>${project.parent.artifactId}-api-2.2</artifactId> |
| 70 | + <version>${project.parent.version}</version> |
| 71 | + <scope>provided</scope> |
| 72 | + </dependency> |
| 73 | + |
| 74 | + <dependency> |
| 75 | + <groupId>${project.parent.groupId}</groupId> |
| 76 | + <artifactId>${project.parent.artifactId}-api-2.2</artifactId> |
| 77 | + <version>${project.parent.version}</version> |
| 78 | + <scope>test</scope> |
| 79 | + <type>test-jar</type> |
| 80 | + </dependency> |
| 81 | + |
| 82 | + <dependency> |
| 83 | + <groupId>org.openmrs.module</groupId> |
| 84 | + <artifactId>emrapi-api</artifactId> |
| 85 | + <version>${emrapiVersion}</version> |
| 86 | + <scope>provided</scope> |
| 87 | + </dependency> |
| 88 | + |
| 89 | + </dependencies> |
| 90 | + |
| 91 | + <build> |
| 92 | + <plugins> |
| 93 | + <!-- Inherited from parent pom; not used by api-2.8 and each breaks the Spring test context on Core 2.8. --> |
| 94 | + <plugin> |
| 95 | + <groupId>org.apache.maven.plugins</groupId> |
| 96 | + <artifactId>maven-surefire-plugin</artifactId> |
| 97 | + <configuration> |
| 98 | + <classpathDependencyExcludes> |
| 99 | + <classpathDependencyExclude>org.openmrs.module:providermanagement-api</classpathDependencyExclude> |
| 100 | + <classpathDependencyExclude>org.openmrs.module:htmlformentry-api</classpathDependencyExclude> |
| 101 | + <classpathDependencyExclude>org.openmrs.module:fhir2-api</classpathDependencyExclude> |
| 102 | + <classpathDependencyExclude>org.openmrs.module:fhir2-api-2.1</classpathDependencyExclude> |
| 103 | + <classpathDependencyExclude>org.openmrs.module:fhir2-api-2.2</classpathDependencyExclude> |
| 104 | + <classpathDependencyExclude>org.openmrs.module:tasks-api</classpathDependencyExclude> |
| 105 | + <classpathDependencyExclude>org.openmrs.module:reporting-api</classpathDependencyExclude> |
| 106 | + <classpathDependencyExclude>org.openmrs.module:reporting-api-2.0</classpathDependencyExclude> |
| 107 | + </classpathDependencyExcludes> |
| 108 | + </configuration> |
| 109 | + </plugin> |
| 110 | + </plugins> |
| 111 | + </build> |
| 112 | + |
| 113 | +</project> |
0 commit comments