Skip to content

Commit

Permalink
The osgi.bundle files removed from 'common' modules
Browse files Browse the repository at this point in the history
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>

# Conflicts:
#	appserver/common/glassfish-naming/osgi.bundle
  • Loading branch information
dmatej committed Jul 30, 2023
1 parent d6c3a3e commit a428ee8
Show file tree
Hide file tree
Showing 23 changed files with 156 additions and 497 deletions.
27 changes: 0 additions & 27 deletions appserver/common/amx-jakartaee/osgi.bundle

This file was deleted.

14 changes: 14 additions & 0 deletions appserver/common/amx-jakartaee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,18 @@
<optional>true</optional>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
23 changes: 0 additions & 23 deletions appserver/common/annotation-framework/osgi.bundle

This file was deleted.

14 changes: 14 additions & 0 deletions appserver/common/annotation-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,18 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
31 changes: 0 additions & 31 deletions appserver/common/container-common/osgi.bundle

This file was deleted.

11 changes: 11 additions & 0 deletions appserver/common/container-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,16 @@
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
29 changes: 0 additions & 29 deletions appserver/common/glassfish-naming/osgi.bundle

This file was deleted.

22 changes: 22 additions & 0 deletions appserver/common/glassfish-naming/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,26 @@
<artifactId>hamcrest</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
<Import-Package>
com.sun.corba.ee.impl.presentation.rmi.codegen;resolution:=optional,
javax.rmi.CORBA;resolution:=optional,
org.omg.CORBA;resolution:=optional,
org.omg.CORBA.portable;resolution:=optional,
org.omg.CORBA_2_3.portable;resolution:=optional,
*
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 Contributors to the Eclipse Foundation
* Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation
* Copyright (c) 2006, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -49,7 +49,7 @@
public class NamingUtilsImpl implements NamingUtils {

@LogMessageInfo(
message = "Exception in NamingManagerImpl copyMutableObject(): {0}",
message = "Exception in NamingUtilsImpl copyMutableObject(): {0}",
cause = "Problem with serialising or deserialising of the object",
action = "Check the class hierarchy to see if all the classes are Serializable.")
public static final String EXCEPTION_COPY_MUTABLE = "AS-NAMING-00006";
Expand Down Expand Up @@ -102,9 +102,8 @@ public <T> T makeCopyOfObject(T obj) {
return (T) AccessController.doPrivileged((PrivilegedExceptionAction<Object>) ois::readObject);
}
} catch (Exception ex) {
logger.log(Level.SEVERE, EXCEPTION_COPY_MUTABLE, ex);
RuntimeException re = new RuntimeException("Cant copy Serializable object:", ex);
throw re;
logger.log(Level.SEVERE, EXCEPTION_COPY_MUTABLE, obj);
throw new RuntimeException("Cant copy Serializable object " + obj, ex);
}
}
}
21 changes: 0 additions & 21 deletions appserver/common/stats77/osgi.bundle

This file was deleted.

37 changes: 0 additions & 37 deletions appserver/connectors/connectors-runtime/osgi.bundle

This file was deleted.

48 changes: 0 additions & 48 deletions appserver/deployment/dol/osgi.bundle

This file was deleted.

11 changes: 11 additions & 0 deletions appserver/deployment/dol/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,16 @@
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
36 changes: 0 additions & 36 deletions appserver/security/core-ee/osgi.bundle

This file was deleted.

Loading

0 comments on commit a428ee8

Please sign in to comment.