| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-commons</artifactId> |
| <version>1.19.0</version> |
| </parent> |
| |
| <artifactId>nifi-hl7-query-language</artifactId> |
| <packaging>jar</packaging> |
| <build> |
| <plugins> |
| <plugin> |
| <!-- TODO should plugin config be removed so that it is inherited from the root pom, or does nifi-hl7-query-language need to be compiled at the 1.7 bytecode version? --> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.7</source> |
| <target>1.7</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr3-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>antlr</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin><!-- workaround for https://github.com/antlr/antlr3/pull/209 --> |
| <groupId>com.google.code.maven-replacer-plugin</groupId> |
| <artifactId>replacer</artifactId> |
| <version>1.5.3</version> |
| <executions> |
| <execution> |
| <phase>process-sources</phase> |
| <goals> |
| <goal>replace</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <basedir>${project.build.directory}/generated-sources/antlr3/org/apache/nifi/hl7/query/antlr</basedir> |
| <includes> |
| <include>*.java</include> |
| </includes> |
| <replacements> |
| <replacement> |
| <token>(// .ANTLR .+) ....-..-.. ..:..:..</token> |
| <value>$1</value> |
| </replacement> |
| <replacement> |
| <token>(// elements: ).*</token> |
| <value>$1</value> |
| </replacement> |
| </replacements> |
| <regex>true</regex> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <excludes>**/HL7QueryParser.java,**/HL7QueryLexer.java</excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr-runtime</artifactId> |
| <version>3.5.2</version> |
| </dependency> |
| |
| <!-- HAPI to parse v2 messages --> |
| <dependency> |
| <groupId>ca.uhn.hapi</groupId> |
| <artifactId>hapi-base</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>ca.uhn.hapi</groupId> |
| <artifactId>hapi-structures-v21</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>ca.uhn.hapi</groupId> |
| <artifactId>hapi-structures-v22</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>ca.uhn.hapi</groupId> |
| <artifactId>hapi-structures-v23</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>ca.uhn.hapi</groupId> |
| <artifactId>hapi-structures-v231</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>ca.uhn.hapi</groupId> |
| <artifactId>hapi-structures-v24</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>ca.uhn.hapi</groupId> |
| <artifactId>hapi-structures-v25</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>ca.uhn.hapi</groupId> |
| <artifactId>hapi-structures-v251</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>ca.uhn.hapi</groupId> |
| <artifactId>hapi-structures-v26</artifactId> |
| <version>2.3</version> |
| </dependency> |
| </dependencies> |
| </project> |