-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
173 lines (173 loc) · 7.62 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.basistech</groupId>
<artifactId>sqlite-kb-connector</artifactId>
<version>1.0</version>
<name>sqlite-kb-connector</name>
<description>SQLite Knowledge Base Connector for Rosette Server</description>
<properties>
<rosapi.home>/must-be-specified</rosapi.home> <!-- where Rosette Server is installed -->
<rosapi-version>1.24.0</rosapi-version>
<rex-je-version>7.55.0.c68.0</rex-je-version>
<rex-osgi-version>7.55.0.c68_0</rex-osgi-version>
<flinx-version>0.4.36.c68.0</flinx-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<shade-prefix>com.basistech.rosette.rex_je.</shade-prefix>
<slash-shade-prefix>com/basistech/rosette/rex_je/</slash-shade-prefix>
<skip-manifest-check>false</skip-manifest-check>
<slash-shade-resource-prefix>com/basistech/rosette/rex_je</slash-shade-resource-prefix>
</properties>
<build>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>org.xerial:sqlite-jdbc</include>
<include>com.fasterxml.jackson.core:jackson-core</include>
<include>com.fasterxml.jackson.core:jackson-databind</include>
<include>com.google.guava:guava</include>
<include>commons-io:commons-io</include>
</includes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifestFile>MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.14.0</version>
<systemPath>${rosapi.home}/launcher/bundles/com.fasterxml.jackson.core.jackson-core-2.14.0.jar</systemPath>
<scope>system</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
<systemPath>${rosapi.home}/launcher/bundles/org.apache.commons.commons-io-2.11.0.jar</systemPath>
<scope>system</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.14.0</version>
<systemPath>${rosapi.home}/launcher/bundles/com.fasterxml.jackson.core.jackson-databind-2.14.0.jar</systemPath>
<scope>system</scope>
</dependency>
<dependency>
<groupId>com.basistech.rex-je</groupId>
<artifactId>rex-osgi</artifactId>
<version>${rex-je-version}</version>
<systemPath>${rosapi.home}/launcher/bundles/loadLast/rex-osgi-${rex-osgi-version}.jar</systemPath>
<scope>system</scope>
</dependency>
<dependency>
<groupId>com.basistech</groupId>
<artifactId>adm-model</artifactId>
<version>2.7.4</version>
<systemPath>${rosapi.home}/launcher/bundles/adm-model-2.7.4.jar</systemPath>
<scope>system</scope>
</dependency>
<dependency>
<groupId>com.basistech</groupId>
<artifactId>btcommon-bundle</artifactId>
<version>37.5.1</version>
<systemPath>${rosapi.home}/launcher/bundles/com.basistech.common-api-37.5.1.jar</systemPath>
<scope>system</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>com.google.auto.service</groupId>
<artifactId>auto-service</artifactId>
<version>1.0-rc1</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.32.3.3</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>extract-flinx-api-jar</id>
<build>
<defaultGoal>generate-sources</defaultGoal>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>extract-flinx-api-jar</id>
<goals>
<goal>exec</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<executable>jar</executable>
<workingDirectory>${project.build.directory}</workingDirectory>
<arguments>
<argument>-xf</argument>
<argument>${rosapi.home}/launcher/bundles/loadLast/rex-osgi-${rex-osgi-version}.jar</argument>
<argument>lib/flinx-api-internal-${flinx-version}.jar</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>build-kb-connector</id>
<dependencies>
<dependency>
<groupId>com.basistech.flinx</groupId>
<artifactId>flinx-api-internal</artifactId>
<version>${flinx-version}</version>
<systemPath>${project.build.directory}/lib/flinx-api-internal-${flinx-version}.jar</systemPath>
<scope>system</scope>
</dependency>
</dependencies>
</profile>
</profiles>
</project>