Skip to content

Commit abd53fb

Browse files
committed
Merge branch 'DBTOOLS-1687_add_osgi_manifest' into 'master'
DBTOOLS-1687 added osgi manifest See merge request codekeeper/pgcodekeeper-core!62
2 parents 53629d2 + 2b48468 commit abd53fb

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Added
1111

1212
- Added analysis of functions returning the RECORD type.
13+
- Added OSGI manifest generation.
1314

1415
### Changed
1516

CHANGELOG.ru.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
### Добавлено
1111

1212
- Добавлен анализ функций, возвращающих тип RECORD.
13+
- Добавлена генерация OSGI манифеста.
1314

1415
### Изменено
1516

pom.xml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<groupId>org.pgcodekeeper</groupId>
99
<artifactId>pgcodekeeper-core</artifactId>
1010
<version>11.1.0</version>
11-
<packaging>jar</packaging>
11+
<packaging>bundle</packaging>
1212

1313
<name>pgcodekeeper-core</name>
1414
<description>A tool for easier PostgreSQL, GreenPlum, MS SQL, ClickHouse development.</description>
@@ -184,6 +184,31 @@
184184
</execution>
185185
</executions>
186186
</plugin>
187+
<plugin>
188+
<groupId>org.apache.felix</groupId>
189+
<artifactId>maven-bundle-plugin</artifactId>
190+
<version>5.1.8</version>
191+
<extensions>true</extensions>
192+
<configuration>
193+
<instructions>
194+
<Export-Package>
195+
!org.pgcodekeeper.core.localizations.*,
196+
org.pgcodekeeper.core.*
197+
</Export-Package>
198+
<Import-Package>
199+
org.slf4j.*;resolution:=optional,
200+
</Import-Package>
201+
<Require-Bundle>
202+
wrapped.com.github.technology16.pgpass;bundle-version="[2.0.1,3.0.0)",
203+
org.postgresql.jdbc;bundle-version="[42.7.3,43.0.0)",
204+
com.microsoft.sqlserver.mssql-jdbc;bundle-version="[12.4.2,13.0.0)",
205+
org.antlr.antlr4-runtime;bundle-version="[4.13.1,5.0.0)",
206+
org.jgrapht.core;bundle-version="[1.5.1,2.0.0)",
207+
lz4-java;bundle-version="[1.8.0,2.0.0)"
208+
</Require-Bundle>
209+
</instructions>
210+
</configuration>
211+
</plugin>
187212
</plugins>
188213
</build>
189214

0 commit comments

Comments
 (0)