Advertisement
gitahinganga

BOMRS OMOD POM

Jun 28th, 2022
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 15.11 KB | None | 0 0
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  2.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3.     <modelVersion>4.0.0</modelVersion>
  4.     <parent>
  5.         <groupId>org.openmrs.module</groupId>
  6.         <artifactId>botswanaemr</artifactId>
  7.         <version>1.0.0-SNAPSHOT</version>
  8.     </parent>
  9.     <artifactId>botswanaemr-omod</artifactId>
  10.     <packaging>jar</packaging>
  11.     <name>The EMR for Botswana OMOD</name>
  12.     <description>Omod submodule for The EMR for Botswana</description>
  13.  
  14.     <dependencies>
  15.         <dependency>
  16.             <groupId>org.openmrs.module</groupId>
  17.             <artifactId>botswanaemr-api</artifactId>
  18.             <version>1.0.0-SNAPSHOT</version>
  19.         </dependency>
  20.         <dependency>
  21.             <groupId>org.openmrs.module</groupId>
  22.             <artifactId>patientqueueing-api</artifactId>
  23.         </dependency>
  24.         <dependency>
  25.             <groupId>org.openmrs.module</groupId>
  26.             <artifactId>locationbasedaccess-api</artifactId>
  27.         </dependency>
  28.         <dependency>
  29.             <groupId>org.openmrs.module</groupId>
  30.             <artifactId>legacyui-omod</artifactId>
  31.         </dependency>
  32.         <dependency>
  33.             <groupId>org.openmrs.module</groupId>
  34.             <artifactId>uiframework-api</artifactId>
  35.         </dependency>
  36.         <dependency>
  37.             <groupId>org.openmrs.module</groupId>
  38.             <artifactId>appframework-api</artifactId>
  39.         </dependency>
  40.         <dependency>
  41.             <groupId>org.openmrs.module</groupId>
  42.             <artifactId>referenceapplication-omod</artifactId>
  43.         </dependency>
  44.         <dependency>
  45.             <groupId>org.openmrs.module</groupId>
  46.             <artifactId>appui-omod</artifactId>
  47.         </dependency>
  48.         <dependency>
  49.             <groupId>org.openmrs.module</groupId>
  50.             <artifactId>emrapi-api</artifactId>
  51.         </dependency>
  52.         <dependency>
  53.             <groupId>org.openmrs.module</groupId>
  54.             <artifactId>coreapps-api</artifactId>
  55.         </dependency>
  56.         <dependency>
  57.             <groupId>org.openmrs.module</groupId>
  58.             <artifactId>reporting-api</artifactId>
  59.             <exclusions>
  60.                 <exclusion>
  61.                     <groupId>com.fasterxml.jackson.core</groupId>
  62.                     <artifactId>jackson-databind</artifactId>
  63.                 </exclusion>
  64.             </exclusions>
  65.         </dependency>
  66.         <dependency>
  67.             <groupId>org.openmrs.module</groupId>
  68.             <artifactId>htmlformentryui-api</artifactId>
  69.             <scope>provided</scope>
  70.         </dependency>
  71.         <dependency>
  72.             <groupId>org.openmrs.module</groupId>
  73.             <artifactId>htmlformentry-api</artifactId>
  74.             <scope>provided</scope>
  75.         </dependency>
  76.         <dependency>
  77.             <groupId>org.openmrs.module</groupId>
  78.             <artifactId>appointmentscheduling-api</artifactId>
  79.         </dependency>
  80.         <dependency>
  81.             <groupId>org.openmrs.api</groupId>
  82.             <artifactId>openmrs-api</artifactId>
  83.             <type>jar</type>
  84.             <scope>provided</scope>
  85.             <exclusions>
  86.                 <exclusion>
  87.                     <groupId>com.fasterxml.jackson.core</groupId>
  88.                     <artifactId>jackson-databind</artifactId>
  89.                 </exclusion>
  90.             </exclusions>
  91.         </dependency>
  92.         <dependency>
  93.             <groupId>org.openmrs.web</groupId>
  94.             <artifactId>openmrs-web</artifactId>
  95.             <type>jar</type>
  96.             <scope>provided</scope>
  97.         </dependency>
  98.         <dependency>
  99.             <groupId>org.openmrs.test</groupId>
  100.             <artifactId>openmrs-test</artifactId>
  101.             <type>pom</type>
  102.         </dependency>
  103.         <dependency>
  104.             <groupId>org.openmrs.module</groupId>
  105.             <artifactId>appframework-api</artifactId>
  106.             <version>2.14.0</version>
  107.             <type>test-jar</type>
  108.             <scope>test</scope>
  109.         </dependency>
  110.         <dependency>
  111.             <groupId>org.openmrs.module</groupId>
  112.             <artifactId>webservices.rest-omod</artifactId>
  113.             <scope>provided</scope>
  114.         </dependency>
  115.         <dependency>
  116.             <groupId>org.openmrs.module</groupId>
  117.             <artifactId>webservices.rest-omod-common</artifactId>
  118.             <scope>provided</scope>
  119.             <type>test-jar</type>
  120.         </dependency>
  121.         <dependency>
  122.             <groupId>org.projectlombok</groupId>
  123.             <artifactId>lombok</artifactId>
  124.             <version>1.18.22</version>
  125.         </dependency>
  126.         <dependency>
  127.             <groupId>javax.servlet</groupId>
  128.             <artifactId>javax.servlet-api</artifactId>
  129.             <version>4.0.1</version>
  130.             <scope>provided</scope>
  131.         </dependency>
  132.         <dependency>
  133.             <groupId>javax.xml.bind</groupId>
  134.             <artifactId>jaxb-api</artifactId>
  135.             <version>2.3.0</version>
  136.             <scope>test</scope>
  137.         </dependency>
  138.         <dependency>
  139.             <groupId>com.jayway.jsonpath</groupId>
  140.             <artifactId>json-path-assert</artifactId>
  141.             <version>0.8.1</version>
  142.             <scope>test</scope>
  143.         </dependency>
  144.         <dependency>
  145.             <groupId>com.jayway.jsonpath</groupId>
  146.             <artifactId>json-path</artifactId>
  147.             <version>2.7.0</version>
  148.             <scope>test</scope>
  149.         </dependency>
  150.         <dependency>
  151.             <groupId>net.minidev</groupId>
  152.             <artifactId>asm</artifactId>
  153.             <version>1.0.2</version>
  154.             <scope>test</scope>
  155.         </dependency>
  156.  
  157.         <dependency>
  158.             <groupId>net.minidev</groupId>
  159.             <artifactId>json-smart</artifactId>
  160.             <version>2.2.1</version>
  161.             <scope>test</scope>
  162.         </dependency>
  163.         <dependency>
  164.             <groupId>org.openmrs.module</groupId>
  165.             <artifactId>registrationcore-api</artifactId>
  166.             <version>1.11.0</version>
  167.             <scope>provided</scope>
  168.         </dependency>
  169.         <dependency>
  170.             <groupId>com.google.code.gson</groupId>
  171.             <artifactId>gson</artifactId>
  172.             <version>2.8.6</version>
  173.             <scope>test</scope>
  174.         </dependency>
  175.         <dependency>
  176.             <groupId>org.openmrs.module</groupId>
  177.             <artifactId>webservices.rest-omod-common</artifactId>
  178.             <version>2.32.0</version>
  179.             <scope>provided</scope>
  180.         </dependency>
  181.         <dependency>
  182.             <groupId>org.openmrs.module</groupId>
  183.             <artifactId>idgen-api</artifactId>
  184.             <version>4.7.0</version>
  185.             <scope>provided</scope>
  186.         </dependency>
  187.         <dependency>
  188.             <groupId>org.openmrs.module</groupId>
  189.             <artifactId>uicommons-omod</artifactId>
  190.         </dependency>
  191.         <dependency>
  192.             <groupId>org.openmrs.module</groupId>
  193.             <artifactId>htmlformentryui-omod</artifactId>
  194.             <version>2.0.0</version>
  195.         </dependency>
  196.         <dependency>
  197.             <groupId>org.openmrs.module</groupId>
  198.             <artifactId>metadatamapping-api</artifactId>
  199.             <version>1.2.1</version>
  200.             <scope>provided</scope>
  201.             <exclusions>
  202.                 <exclusion>
  203.                     <groupId>com.fasterxml.jackson.core</groupId>
  204.                     <artifactId>jackson-databind</artifactId>
  205.                 </exclusion>
  206.             </exclusions>
  207.         </dependency>
  208.         <dependency>
  209.             <groupId>org.springframework</groupId>
  210.             <artifactId>spring-websocket</artifactId>
  211.             <exclusions>
  212.                 <exclusion>
  213.                     <groupId>org.springframework</groupId>
  214.                     <artifactId>spring-context</artifactId>
  215.                 </exclusion>
  216.                 <exclusion>
  217.                     <groupId>org.springframework</groupId>
  218.                     <artifactId>spring-core</artifactId>
  219.                 </exclusion>
  220.                 <exclusion>
  221.                     <groupId>org.springframework</groupId>
  222.                     <artifactId>spring-web</artifactId>
  223.                 </exclusion>
  224.             </exclusions>
  225.         </dependency>
  226.         <dependency>
  227.             <groupId>org.springframework</groupId>
  228.             <artifactId>spring-messaging</artifactId>
  229.             <exclusions>
  230.                 <exclusion>
  231.                     <groupId>org.springframework</groupId>
  232.                     <artifactId>spring-beans</artifactId>
  233.                 </exclusion>
  234.                 <exclusion>
  235.                     <groupId>org.springframework</groupId>
  236.                     <artifactId>spring-core</artifactId>
  237.                 </exclusion>
  238.             </exclusions>
  239.         </dependency>
  240.         <dependency>
  241.             <groupId>javax.websocket</groupId>
  242.             <artifactId>javax.websocket-api</artifactId>
  243.         </dependency>
  244.         <dependency>
  245.             <groupId>com.google.code.gson</groupId>
  246.             <artifactId>gson</artifactId>
  247.         </dependency>
  248.     </dependencies>
  249.  
  250.     <build>
  251.         <finalName>${project.parent.artifactId}-${project.parent.version}</finalName>
  252.         <resources>
  253.             <resource>
  254.                 <directory>src/main/resources</directory>
  255.                 <filtering>true</filtering>
  256.             </resource>
  257.             <resource>
  258.                 <directory>src/main/webapp</directory>
  259.                 <filtering>false</filtering>
  260.                 <excludes>
  261.                     <exclude>resources</exclude>
  262.                 </excludes>
  263.                 <targetPath>web/module</targetPath>
  264.             </resource>
  265.             <resource>
  266.                 <directory>src/main/webapp</directory>
  267.                 <filtering>false</filtering>
  268.                 <includes>
  269.                     <include>resources</include>
  270.                 </includes>
  271.                 <targetPath>web/module</targetPath>
  272.             </resource>
  273.         </resources>
  274.  
  275.         <testResources>
  276.             <testResource>
  277.                 <directory>../api/src/test/resources</directory>
  278.                 <filtering>true</filtering>
  279.             </testResource>
  280.             <testResource>
  281.                 <directory>src/test/resources</directory>
  282.                 <filtering>true</filtering>
  283.             </testResource>
  284.         </testResources>
  285.  
  286.         <pluginManagement>
  287.             <plugins>
  288.                 <plugin>
  289.                     <artifactId>maven-resources-plugin</artifactId>
  290.                     <configuration>
  291.                         <includeEmptyDirs>true</includeEmptyDirs>
  292.                     </configuration>
  293.                 </plugin>
  294.                 <!--This plugin's configuration is used to store Eclipse m2e settings
  295.                    only. It has no influence on the Maven build itself. -->
  296.                 <plugin>
  297.                     <groupId>org.eclipse.m2e</groupId>
  298.                     <artifactId>lifecycle-mapping</artifactId>
  299.                     <version>1.0.0</version>
  300.                     <configuration>
  301.                         <lifecycleMappingMetadata>
  302.                             <pluginExecutions>
  303.                                 <pluginExecution>
  304.                                     <pluginExecutionFilter>
  305.                                         <groupId>org.openmrs.maven.plugins</groupId>
  306.                                         <artifactId>maven-openmrs-plugin</artifactId>
  307.                                         <versionRange>[1.0.1,)</versionRange>
  308.                                         <goals>
  309.                                             <goal>initialize-module</goal>
  310.                                         </goals>
  311.                                     </pluginExecutionFilter>
  312.                                     <action>
  313.                                         <ignore/>
  314.                                     </action>
  315.                                 </pluginExecution>
  316.                                 <pluginExecution>
  317.                                     <pluginExecutionFilter>
  318.                                         <groupId>org.apache.maven.plugins</groupId>
  319.                                         <artifactId>maven-dependency-plugin</artifactId>
  320.                                         <versionRange>[2.4,)</versionRange>
  321.                                         <goals>
  322.                                             <goal>unpack-dependencies</goal>
  323.                                         </goals>
  324.                                     </pluginExecutionFilter>
  325.                                     <action>
  326.                                         <ignore/>
  327.                                     </action>
  328.                                 </pluginExecution>
  329.                             </pluginExecutions>
  330.                         </lifecycleMappingMetadata>
  331.                     </configuration>
  332.                 </plugin>
  333.             </plugins>
  334.         </pluginManagement>
  335.  
  336.         <plugins>
  337.             <plugin>
  338.                 <groupId>org.openmrs.maven.plugins</groupId>
  339.                 <artifactId>maven-openmrs-plugin</artifactId>
  340.                 <extensions>true</extensions>
  341.                 <executions>
  342.                     <execution>
  343.                         <id>init</id>
  344.                         <phase>initialize</phase>
  345.                         <goals>
  346.                             <goal>initialize-module</goal>
  347.                         </goals>
  348.                     </execution>
  349.                     <execution>
  350.                         <id>pack</id>
  351.                         <phase>package</phase>
  352.                         <goals>
  353.                             <goal>package-module</goal>
  354.                         </goals>
  355.                     </execution>
  356.                 </executions>
  357.             </plugin>
  358.             <plugin>
  359.                 <groupId>org.apache.maven.plugins</groupId>
  360.                 <artifactId>maven-dependency-plugin</artifactId>
  361.                 <executions>
  362.                     <execution>
  363.                         <id>Expand moduleApplicationContext and messages</id>
  364.                         <goals>
  365.                             <goal>unpack-dependencies</goal>
  366.                         </goals>
  367.                         <phase>generate-resources</phase>
  368.                         <configuration>
  369.                             <includeGroupIds>${project.parent.groupId}</includeGroupIds>
  370.                             <includeArtifactIds>${project.parent.artifactId}-api</includeArtifactIds>
  371.                             <includeScope>compile</includeScope>
  372.                             <includes>**\/*.xml,**\/*.properties</includes>
  373.                             <outputDirectory>${project.build.directory}/classes</outputDirectory>
  374.                         </configuration>
  375.                     </execution>
  376.                 </executions>
  377.             </plugin>
  378.             <plugin>
  379.                 <groupId>org.apache.maven.plugins</groupId>
  380.                 <artifactId>maven-compiler-plugin</artifactId>
  381.             </plugin>
  382.         </plugins>
  383.     </build>
  384.  
  385. </project>
  386.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement