Skip to content

Commit c9a4bd2

Browse files
authored
Merge pull request #41 from basis-technology-corp/COMN-310
COMN-310: Remove OSGi support
2 parents fbc561c + e23d4b6 commit c9a4bd2

File tree

6 files changed

+13
-148
lines changed

6 files changed

+13
-148
lines changed

RELEASE-NOTES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Cumulative Release Notes for rosette-common-java-api
22

3-
## 37.6.0
3+
## 38.0.0
4+
5+
OSGi support has been removed.
6+
7+
## 37.5.5
48

59
Add ISO 639-2B support to all language codes
610

api-jackson/pom.xml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@
1818
<modelVersion>4.0.0</modelVersion>
1919
<artifactId>common-api-jackson</artifactId>
2020
<name>common-api-jackson</name>
21-
<version>37.5.6-SNAPSHOT</version>
21+
<version>38.0.0-SNAPSHOT</version>
2222
<parent>
2323
<groupId>com.basistech</groupId>
2424
<artifactId>rosette-common-api</artifactId>
25-
<version>37.5.6-SNAPSHOT</version>
25+
<version>38.0.0-SNAPSHOT</version>
2626
</parent>
27-
<packaging>bundle</packaging>
2827
<description>Jackson support for Java API classes for Rosette</description>
2928
<dependencies>
3029
<dependency>
@@ -60,18 +59,6 @@
6059
</testResource>
6160
</testResources>
6261
<plugins>
63-
<plugin>
64-
<groupId>org.apache.felix</groupId>
65-
<artifactId>maven-bundle-plugin</artifactId>
66-
<extensions>true</extensions>
67-
<configuration>
68-
<instructions>
69-
<Export-Package>com.basistech.util.jackson</Export-Package>
70-
<Bundle-Version>${osgi-version}</Bundle-Version>
71-
<Include-Resource>{META-INF/maven/dependencies.properties=${project.build.directory}/classes/META-INF/maven/dependencies.properties},{maven-resources}</Include-Resource>
72-
</instructions>
73-
</configuration>
74-
</plugin>
7562
<plugin>
7663
<groupId>org.apache.maven.plugins</groupId>
7764
<artifactId>maven-failsafe-plugin</artifactId>

api/pom.xml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@
1818
<modelVersion>4.0.0</modelVersion>
1919
<artifactId>common-api</artifactId>
2020
<name>common-api</name>
21-
<version>37.5.6-SNAPSHOT</version>
21+
<version>38.0.0-SNAPSHOT</version>
2222
<parent>
2323
<groupId>com.basistech</groupId>
2424
<artifactId>rosette-common-api</artifactId>
25-
<version>37.5.6-SNAPSHOT</version>
25+
<version>38.0.0-SNAPSHOT</version>
2626
</parent>
27-
<packaging>bundle</packaging>
2827
<description>Common Java API classes for Rosette</description>
2928
<properties>
3029
<spring.version>5.3.27</spring.version>
@@ -58,12 +57,6 @@
5857
<version>${spring.version}</version>
5958
<scope>test</scope>
6059
</dependency>
61-
<dependency>
62-
<groupId>com.basistech</groupId>
63-
<artifactId>pax-exam-test-composite</artifactId>
64-
<version>0.0.5</version>
65-
<scope>test</scope>
66-
</dependency>
6760
<dependency>
6861
<groupId>com.google.guava</groupId>
6962
<artifactId>guava</artifactId>
@@ -122,18 +115,6 @@
122115
</execution>
123116
</executions>
124117
</plugin>
125-
<plugin>
126-
<groupId>org.apache.felix</groupId>
127-
<artifactId>maven-bundle-plugin</artifactId>
128-
<extensions>true</extensions>
129-
<configuration>
130-
<instructions>
131-
<Export-Package>com.basistech.rosette.*,com.basistech.util.*</Export-Package>
132-
<Bundle-Version>${osgi-version}</Bundle-Version>
133-
<Include-Resource>{META-INF/maven/dependencies.properties=${project.build.directory}/classes/META-INF/maven/dependencies.properties},{maven-resources}</Include-Resource>
134-
</instructions>
135-
</configuration>
136-
</plugin>
137118
<plugin>
138119
<artifactId>maven-assembly-plugin</artifactId>
139120
<inherited>false</inherited>

api/src/main/java/com/basistech/rosette/RosetteSystemBundlePackage.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014 Basis Technology Corp.
2+
* Copyright 2015-2024 Basis Technology Corp.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -22,8 +22,7 @@
2222
import java.lang.annotation.Target;
2323

2424
/**
25-
* Mark a package for inclusion in the system bundle
26-
* when Rosette is deployed in an embedded OSGi container..
25+
* Mark a package that contains classes relevant to Rosette Server.
2726
*/
2827
@Retention(RetentionPolicy.RUNTIME)
2928
@Target({ ElementType.PACKAGE })

api/src/test/java/com/basistech/util/OsgiIT.java

Lines changed: 0 additions & 75 deletions
This file was deleted.

pom.xml

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<!--
3-
Copyright 2010-2022 Basis Technology Corp.
3+
Copyright 2010-2024 Basis Technology Corp.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
1818
<modelVersion>4.0.0</modelVersion>
1919
<artifactId>rosette-common-api</artifactId>
2020
<name>rosette-common-api</name>
21-
<version>37.5.6-SNAPSHOT</version>
21+
<version>38.0.0-SNAPSHOT</version>
2222
<parent>
2323
<artifactId>open-source-parent</artifactId>
2424
<groupId>com.basistech</groupId>
@@ -37,9 +37,6 @@
3737
<developerConnection>scm:git:[email protected]:basis-technology-corp/rosette-common-java-api.git</developerConnection>
3838
<tag>rosette-common-api-37.5.3</tag>
3939
</scm>
40-
<properties>
41-
<skip-dependency-convergence>true</skip-dependency-convergence>
42-
</properties>
4340
<distributionManagement>
4441
<site>
4542
<id>site</id>
@@ -56,34 +53,6 @@
5653
<plugin>
5754
<artifactId>maven-source-plugin</artifactId>
5855
</plugin>
59-
<plugin>
60-
<groupId>com.basistech</groupId>
61-
<artifactId>bbh-maven-plugin</artifactId>
62-
<version>1.0.1</version>
63-
<executions>
64-
<execution>
65-
<id>osgi-version</id>
66-
<phase>validate</phase>
67-
<goals>
68-
<goal>osgi-version</goal>
69-
</goals>
70-
</execution>
71-
</executions>
72-
</plugin>
73-
<plugin>
74-
<groupId>org.apache.servicemix.tooling</groupId>
75-
<artifactId>depends-maven-plugin</artifactId>
76-
<version>1.2</version>
77-
<executions>
78-
<execution>
79-
<id>generate-depends-file</id>
80-
<phase>generate-resources</phase>
81-
<goals>
82-
<goal>generate-depends-file</goal>
83-
</goals>
84-
</execution>
85-
</executions>
86-
</plugin>
8756
</plugins>
8857
</build>
8958
</project>

0 commit comments

Comments
 (0)