Skip to content

Commit

Permalink
Add backbone_module.json for configurator support
Browse files Browse the repository at this point in the history
  • Loading branch information
qqndrew committed Oct 30, 2023
1 parent 444e17d commit 8a749ce
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
39 changes: 37 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.ohnlp.medxn</groupId>
<artifactId>medxn</artifactId>
<version>1.0.6</version>
<version>1.0.7</version>
<description>The MedXN medication Information extraction pipeline</description>

<repositories>
Expand All @@ -25,6 +25,22 @@

<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/backbone_module.json</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
<excludes>
<exclude>**/backbone_module.json</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -36,7 +52,26 @@
</configuration>
</plugin>


<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<goals>
<goal>set-system-properties</goal>
</goals>
<configuration>
<properties>
<property>
<name>tagversion</name>
<value>${project.version}</value>
</property>
</properties>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
9 changes: 9 additions & 0 deletions src/main/resources/backbone_module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "MedXN Information Extraction NLP Pipeline",
"desc": "Runs Symbolic Information Extraction on Drug Mentions and Associated Metadata",
"repo": "https://github.com/OHNLP/MedXN",
"packages": [
"org.ohnlp.medxn.backbone"
],
"version": "${version}"
}

0 comments on commit 8a749ce

Please sign in to comment.