felix-atomos.git
22 hours agoMerge pull request #59 from tjwatson/issue57 master
Thomas Watson [Fri, 20 May 2022 17:37:07 +0000 (12:37 -0500)] 
Merge pull request #59 from tjwatson/issue57

Fix issues with native build of jaxrs example

22 hours agoFail build if native-image executable is not found. 59/head
Thomas Watson [Fri, 20 May 2022 17:25:52 +0000 (12:25 -0500)] 
Fail build if native-image executable is not found.

26 hours agoFix the jaxrs native build
Thomas Watson [Fri, 20 May 2022 13:12:54 +0000 (08:12 -0500)] 
Fix the jaxrs native build

3 days agoMerge pull request #58 from tjwatson/issue57
Thomas Watson [Tue, 17 May 2022 16:31:32 +0000 (11:31 -0500)] 
Merge pull request #58 from tjwatson/issue57

3 days agoAdd org.eclipse.jetty.util.ModuleLocation for the maven example 58/head
Thomas Watson [Tue, 17 May 2022 16:19:08 +0000 (11:19 -0500)] 
Add org.eclipse.jetty.util.ModuleLocation for the maven example

3 days agoFix native plugin for Graal VM 22.1
Thomas Watson [Tue, 17 May 2022 16:18:14 +0000 (11:18 -0500)] 
Fix native plugin for Graal VM 22.1

The --version option no longer has Version in the output

4 days agoUse native-maven-plugin for graalvm native builds
Thomas Watson [Tue, 17 May 2022 15:09:00 +0000 (10:09 -0500)] 
Use native-maven-plugin for graalvm native builds

The old plugin doesn't seem to work with the latest
22.0 versions fo GraalVM

4 days agoUpdate dependencies for equinox and log
Thomas Watson [Tue, 17 May 2022 15:07:39 +0000 (10:07 -0500)] 
Update dependencies for equinox and log

The log update is required to allow the latest SCR to work

2 weeks agoHint to use --add-modules=ALL-MODULE-PATH
Thomas Watson [Thu, 5 May 2022 16:08:55 +0000 (11:08 -0500)] 
Hint to use --add-modules=ALL-MODULE-PATH

Without --add-modules=ALL-MODULE-PATH only the required modules for the module specified with `-m` are loaded.

3 months agoEnable github issues for Atomos
Thomas Watson [Fri, 21 Jan 2022 13:36:17 +0000 (07:36 -0600)] 
Enable github issues for Atomos

4 months agoMerge pull request #49 from tjwatson/fixContentBreakOut
Thomas Watson [Fri, 14 Jan 2022 15:30:08 +0000 (09:30 -0600)] 
Merge pull request #49 from tjwatson/fixContentBreakOut

Fix case where directory content lookup can break out

4 months agoFix case where directory content lookup can break out 49/head
Thomas Watson [Thu, 13 Jan 2022 14:39:17 +0000 (08:39 -0600)] 
Fix case where directory content lookup can break out

4 months agoMerge pull request #48 from apache/issues/felix703
Thomas Watson [Mon, 10 Jan 2022 18:42:34 +0000 (12:42 -0600)] 
Merge pull request #48 from apache/issues/felix703

Update to latest framework implementations

4 months agoUpdate to Equinox framework 3.17.100 48/head
Thomas Watson [Mon, 10 Jan 2022 18:35:24 +0000 (12:35 -0600)] 
Update to Equinox framework 3.17.100

4 months agoUpdate to felix 7.0.3
Karl Pauls [Mon, 10 Jan 2022 17:02:51 +0000 (18:02 +0100)] 
Update to felix 7.0.3

14 months agoUpdate to Felix SCR 2.1.26 release
Thomas Watson [Tue, 23 Feb 2021 14:36:45 +0000 (08:36 -0600)] 
Update to Felix SCR 2.1.26 release

14 months agoRemove ghp_path setting
Thomas Watson [Mon, 22 Feb 2021 15:47:52 +0000 (09:47 -0600)] 
Remove ghp_path setting

14 months agoSet ghp_path: / for gh-pages
Thomas Watson [Fri, 19 Feb 2021 19:55:33 +0000 (13:55 -0600)] 
Set ghp_path: / for gh-pages

15 months ago[maven-release-plugin] prepare for next development iteration
Thomas Watson [Thu, 18 Feb 2021 16:10:49 +0000 (10:10 -0600)] 
[maven-release-plugin] prepare for next development iteration

15 months ago[maven-release-plugin] prepare release atomos-distribution-1.0.0 atomos-distribution-1.0.0
Thomas Watson [Thu, 18 Feb 2021 16:10:42 +0000 (10:10 -0600)] 
[maven-release-plugin] prepare release atomos-distribution-1.0.0

15 months agoRename atomos-reactor to atomos-distribution
Thomas Watson [Thu, 18 Feb 2021 14:56:01 +0000 (08:56 -0600)] 
Rename atomos-reactor to atomos-distribution

15 months agoAdd license headers to pom.xml files.
Thomas Watson [Thu, 18 Feb 2021 14:36:50 +0000 (08:36 -0600)] 
Add license headers to pom.xml files.

15 months agoRevert "[maven-release-plugin] prepare release atomos-1.0.0"
Thomas Watson [Thu, 18 Feb 2021 14:15:26 +0000 (08:15 -0600)] 
Revert "[maven-release-plugin] prepare release atomos-1.0.0"

This reverts commit 7ae7bfd0b9011983d21df514159b1820e95e2e7b.

15 months agoRevert "[maven-release-plugin] prepare for next development iteration"
Thomas Watson [Thu, 18 Feb 2021 14:15:06 +0000 (08:15 -0600)] 
Revert "[maven-release-plugin] prepare for next development iteration"

This reverts commit ab9bb233277f5eb18c203f2f2b38945dc820a527.

15 months ago[maven-release-plugin] prepare for next development iteration
Thomas Watson [Wed, 17 Feb 2021 21:37:40 +0000 (15:37 -0600)] 
[maven-release-plugin] prepare for next development iteration

15 months ago[maven-release-plugin] prepare release atomos-1.0.0
Thomas Watson [Wed, 17 Feb 2021 21:37:32 +0000 (15:37 -0600)] 
[maven-release-plugin] prepare release atomos-1.0.0

15 months agoComment out unit-test profile
Thomas Watson [Wed, 17 Feb 2021 20:09:27 +0000 (14:09 -0600)] 
Comment out unit-test profile

15 months agoAdd a headers provider hook (#46)
Karl Pauls [Wed, 17 Feb 2021 13:56:07 +0000 (14:56 +0100)] 
Add a headers provider hook (#46)

* Add a new HeaderProvider that can be used to augment existing bundle manifest headers or add completely new bundle manifest headers that are not present in the existing headers.
* Allow the HeaderProvider to provide headers for content that has no headers

Co-authored-by: Thomas Watson <tjwatson@us.ibm.com>
15 months agoUpdate to 21.0 native-image-maven-plugin for substrate lib example
Thomas Watson [Fri, 12 Feb 2021 19:22:11 +0000 (13:22 -0600)] 
Update to 21.0 native-image-maven-plugin for substrate lib example

Small updates to readme files.

15 months agoAdd new line to .asf.yaml
Thomas Watson [Fri, 12 Feb 2021 13:48:29 +0000 (07:48 -0600)] 
Add new line to .asf.yaml

gh-pages is not building.  Trying to add a newline
to see if it fixes it.

15 months agoMerge pull request #45 from apache/logDep
Karl Pauls [Fri, 12 Feb 2021 09:08:07 +0000 (10:08 +0100)] 
Merge pull request #45 from apache/logDep

Add the log service dependency back

15 months agoAdd the log service dependency back 45/head
Karl Pauls [Fri, 12 Feb 2021 08:38:47 +0000 (09:38 +0100)] 
Add the log service dependency back

15 months agoUse gh-pages branch for github pages.
Thomas Watson [Wed, 10 Feb 2021 18:50:32 +0000 (12:50 -0600)] 
Use gh-pages branch for github pages.

15 months agoSmall code fix in README example
Thomas Watson [Wed, 10 Feb 2021 14:46:18 +0000 (08:46 -0600)] 
Small code fix in README example

15 months agoAdd a default install() method that takes no prefix
Thomas Watson [Mon, 8 Feb 2021 23:42:05 +0000 (17:42 -0600)] 
Add a default install() method that takes no prefix

15 months agoMerge pull request #44 from tjwatson/readme
Thomas Watson [Mon, 8 Feb 2021 23:28:37 +0000 (17:28 -0600)] 
Merge pull request #44 from tjwatson/readme

Readme

15 months agoUpdate readme 44/head
Thomas Watson [Thu, 4 Feb 2021 04:37:28 +0000 (22:37 -0600)] 
Update readme

15 months agoSmall javadoc fixes
Thomas Watson [Mon, 8 Feb 2021 23:05:22 +0000 (17:05 -0600)] 
Small javadoc fixes

Also, fix test for use of the FrameworkFactory

15 months agoRename atomos.runtime -> atomos
Thomas Watson [Fri, 5 Feb 2021 17:17:21 +0000 (11:17 -0600)] 
Rename atomos.runtime -> atomos

15 months agoRemove AtomosLauncher
Thomas Watson [Fri, 5 Feb 2021 16:11:34 +0000 (10:11 -0600)] 
Remove AtomosLauncher

15 months agoMove newFramework to AtomosRuntime
Thomas Watson [Thu, 4 Feb 2021 21:23:12 +0000 (15:23 -0600)] 
Move newFramework to AtomosRuntime

15 months agoMake atomos osgi.core match the osgi.org:osgi.core R8 version
Thomas Watson [Thu, 4 Feb 2021 17:43:13 +0000 (11:43 -0600)] 
Make atomos osgi.core match the osgi.org:osgi.core R8 version

While not strictly necessary it makes it look more consistent
with the version required for the Framework impls.

15 months agoUse profiles to ensure we only compile against one source for org.osgi
Thomas Watson [Thu, 4 Feb 2021 16:39:35 +0000 (10:39 -0600)] 
Use profiles to ensure we only compile against one source for org.osgi

The default profile will use osgi.core from OSGi, equinox and felix
profiles will use osgi.core classes from the impls

15 months agoMerge pull request #43 from tjwatson/master
Thomas Watson [Thu, 4 Feb 2021 05:18:09 +0000 (23:18 -0600)] 
Merge pull request #43 from tjwatson/master

Create a single org.apache.felix.atomos:osgi.core project

15 months agoCreate a single org.apache.felix.atomos:osgi.core project 43/head
Thomas Watson [Wed, 3 Feb 2021 22:16:45 +0000 (16:16 -0600)] 
Create a single org.apache.felix.atomos:osgi.core project

This project now creates different classifiers for equinox
and felix

15 months agoRename atomos.osgi.framework artifacts to osgi.core
Thomas Watson [Mon, 1 Feb 2021 23:22:46 +0000 (17:22 -0600)] 
Rename atomos.osgi.framework artifacts to osgi.core

The facade atomos.osgi.framework modules should use the osgi.core module
name to allow osgi bundles to be produced that are not bound to atomos
name.

15 months agoSpecify Main-Class manifest header all in AtomosLauncher class
Thomas Watson [Mon, 1 Feb 2021 22:03:53 +0000 (16:03 -0600)] 
Specify Main-Class manifest header all in AtomosLauncher class

15 months agoEnable gh-pages
Thomas Watson [Mon, 1 Feb 2021 21:49:13 +0000 (15:49 -0600)] 
Enable gh-pages

15 months agoFix javadoc links to OSGi types
Thomas Watson [Mon, 1 Feb 2021 21:48:39 +0000 (15:48 -0600)] 
Fix javadoc links to OSGi types

15 months agoAllow atomos.runtime to be resolved on Java 8
Thomas Watson [Mon, 1 Feb 2021 18:59:26 +0000 (12:59 -0600)] 
Allow atomos.runtime to be resolved on Java 8

The latest BND will automatically add imports for java.* packages. In
addition BND provides no way to specify the resolution directive in
order to make the java.* package import optional. To get around this the
instruction !java.lang.module is added to Import-Package

15 months agoSkip javadoc generation for frameworks, tests, utils
Thomas Watson [Thu, 28 Jan 2021 19:07:04 +0000 (13:07 -0600)] 
Skip javadoc generation for frameworks, tests, utils

Also remove atomos.substrate.config from the main build

15 months agoStop using properties for atomos versions
Thomas Watson [Thu, 28 Jan 2021 16:58:45 +0000 (10:58 -0600)] 
Stop using properties for atomos versions

Using properties and variable substitution for versions messes with the
release process.

15 months agoMove atomos-maven-plugin down to 0.9.0 version
Thomas Watson [Thu, 28 Jan 2021 16:24:24 +0000 (10:24 -0600)] 
Move atomos-maven-plugin down to 0.9.0 version

For first release the maven plugin will not be at 1.0.0 to indicate that
it is a work in progress before claiming 1.0

15 months agoRemove need to hard code the atomos project version in test.
Thomas Watson [Thu, 28 Jan 2021 15:24:57 +0000 (09:24 -0600)] 
Remove need to hard code the atomos project version in test.

Also complete checks in testMultiParentResolve

15 months agoUpdate project version to 1.0.0-SNAPSHOT
Thomas Watson [Wed, 27 Jan 2021 22:08:29 +0000 (16:08 -0600)] 
Update project version to 1.0.0-SNAPSHOT

15 months agoAdd back method to have multi-parent layers
Thomas Watson [Wed, 27 Jan 2021 21:19:16 +0000 (15:19 -0600)] 
Add back method to have multi-parent layers

15 months agoFix ModuleConnectLoader for automatic modules
Thomas Watson [Wed, 27 Jan 2021 19:50:08 +0000 (13:50 -0600)] 
Fix ModuleConnectLoader for automatic modules

A module that can read an automatic module should get access to all
packages available from the module.

15 months agoRemove osgi.core dependency
Thomas Watson [Fri, 22 Jan 2021 20:19:06 +0000 (14:19 -0600)] 
Remove osgi.core dependency

We must depend on some flavor of the atomos.osgi.framework
in order to compile the module-info class for
the atomos runtime. We cannot use osgi.core
for this purpose

15 months agoProject POM cleanup
Thomas Watson [Thu, 21 Jan 2021 23:02:42 +0000 (17:02 -0600)] 
Project POM cleanup

Switch reactor to include atomos-parent as module
Add SCM tags

15 months agoSkip deployment for tests and examples
Thomas Watson [Thu, 21 Jan 2021 22:13:39 +0000 (16:13 -0600)] 
Skip deployment for tests and examples

15 months agoChange the framework impl dependency as provided
Thomas Watson [Thu, 21 Jan 2021 21:36:15 +0000 (15:36 -0600)] 
Change the framework impl dependency as provided

The atomos.runtime artifact should not pull in
a default framework implemention. Users of
atomos.runtime must select the OSGi R8
framework they want to use

15 months agoAdd Apache license headers
Thomas Watson [Thu, 21 Jan 2021 20:52:43 +0000 (14:52 -0600)] 
Add Apache license headers

15 months agoSplit reactor pom from atomos-parent pom
Thomas Watson [Thu, 21 Jan 2021 18:29:00 +0000 (12:29 -0600)] 
Split reactor pom from atomos-parent pom

15 months agoUse parent felix project parent pom
Thomas Watson [Thu, 21 Jan 2021 16:30:17 +0000 (10:30 -0600)] 
Use parent felix project parent pom

16 months agoRemove snapshot repositories
Thomas Watson [Wed, 13 Jan 2021 16:43:14 +0000 (10:43 -0600)] 
Remove snapshot repositories

16 months agoMerge pull request #41 from apache/felix7.0.0
Thomas Watson [Wed, 13 Jan 2021 15:59:14 +0000 (09:59 -0600)] 
Merge pull request #41 from apache/felix7.0.0

Update to felix framework 7.0.0

16 months agoUpdate to felix framework 7.0.0 41/head
Karl Pauls [Tue, 12 Jan 2021 21:31:13 +0000 (22:31 +0100)] 
Update to felix framework 7.0.0

16 months agoMerge pull request #42 from tjwatson/fixGraalBuild
Thomas Watson [Wed, 13 Jan 2021 14:41:28 +0000 (08:41 -0600)] 
Merge pull request #42 from tjwatson/fixGraalBuild

Remove usage of DeLaGuardo/setup-graalvm

16 months agoRemove use of DeLaGuardo/setup-graalvm 42/head
Thomas Watson [Wed, 13 Jan 2021 14:12:24 +0000 (08:12 -0600)] 
Remove use of DeLaGuardo/setup-graalvm

Apache repos currently restrict the use of actions to "official"
actions. Will need to revisit how to use graalvm in actions builds.

17 months agoMerge pull request #40 from tjwatson/updateFrameworks
Thomas Watson [Wed, 16 Dec 2020 18:56:21 +0000 (12:56 -0600)] 
Merge pull request #40 from tjwatson/updateFrameworks

Update frameworks

17 months agoUpdate bnd to 5.2.0 40/head
Thomas Watson [Wed, 16 Dec 2020 17:18:33 +0000 (11:18 -0600)] 
Update bnd to 5.2.0

17 months agoUpdate to Graal VM 20.3.0
Thomas Watson [Wed, 16 Dec 2020 17:02:31 +0000 (11:02 -0600)] 
Update to Graal VM 20.3.0

17 months agoUpdate to Java 15
Thomas Watson [Wed, 16 Dec 2020 17:01:53 +0000 (11:01 -0600)] 
Update to Java 15

17 months agoUpdate version of setup-graalvm github action
Thomas Watson [Wed, 16 Dec 2020 16:00:41 +0000 (10:00 -0600)] 
Update version of setup-graalvm github action

17 months agoUpdate version of setup-java github action
Thomas Watson [Wed, 16 Dec 2020 15:51:25 +0000 (09:51 -0600)] 
Update version of setup-java github action

17 months agoUpdate to latest Equinox Framework 2020-12 release
Thomas Watson [Wed, 16 Dec 2020 15:45:52 +0000 (09:45 -0600)] 
Update to latest Equinox Framework 2020-12 release

17 months agoUpdate to use apache snapshot repo for framework impl
Thomas Watson [Wed, 16 Dec 2020 15:40:20 +0000 (09:40 -0600)] 
Update to use apache snapshot repo for framework impl

17 months agoRemove repository setting where possible
Thomas Watson [Wed, 16 Dec 2020 14:54:13 +0000 (08:54 -0600)] 
Remove repository setting where possible

19 months agoUpdate name for substrate build in workflow
Thomas Watson [Mon, 28 Sep 2020 15:12:40 +0000 (10:12 -0500)] 
Update name for substrate build in workflow

19 months agoMerge pull request #39 from apache/removeLib2
Thomas Watson [Mon, 28 Sep 2020 15:10:38 +0000 (10:10 -0500)] 
Merge pull request #39 from apache/removeLib2

Enable felix cache locking again after it has been fixed

19 months agoEnable felix cache locking again after it has been fixed 39/head
Karl Pauls [Mon, 28 Sep 2020 15:01:06 +0000 (17:01 +0200)] 
Enable felix cache locking again after it has been fixed

19 months agoFix up readme.
Thomas Watson [Mon, 28 Sep 2020 13:27:53 +0000 (08:27 -0500)] 
Fix up readme.

19 months agoUpdate documentation after equionx and felix substrate example merge
Karl Pauls [Sun, 27 Sep 2020 20:27:24 +0000 (22:27 +0200)] 
Update documentation after equionx and felix substrate example merge

19 months agoMerge pull request #37 from apache/mergeLibExamples
Thomas Watson [Sun, 27 Sep 2020 15:47:41 +0000 (10:47 -0500)] 
Merge pull request #37 from apache/mergeLibExamples

Merge atomos.examples.substrate felix and equinox into a lib project

19 months agoUpdate workflows to match new subproject name 37/head
Karl Pauls [Fri, 25 Sep 2020 21:30:37 +0000 (23:30 +0200)] 
Update workflows to match new subproject name

19 months agoMerge atomos.examples.substrate felix and equinox into a lib project
Karl Pauls [Fri, 25 Sep 2020 21:18:20 +0000 (23:18 +0200)] 
Merge atomos.examples.substrate felix and equinox into a lib project

19 months agoAdd boolean reflection required for gogo
Thomas Watson [Wed, 23 Sep 2020 01:32:13 +0000 (20:32 -0500)] 
Add boolean reflection required for gogo

19 months agoFix errors in Eclipse m2e for the usages of atomos-maven-plugin
Thomas Watson [Tue, 22 Sep 2020 17:34:57 +0000 (12:34 -0500)] 
Fix errors in Eclipse m2e for the usages of atomos-maven-plugin

19 months agoMerge pull request #36 from tjwatson/felixProfile
Thomas Watson [Tue, 22 Sep 2020 17:07:07 +0000 (12:07 -0500)] 
Merge pull request #36 from tjwatson/felixProfile

Fix up maven build for felix profile

19 months agoFix up maven build for felix profile 36/head
Thomas Watson [Tue, 22 Sep 2020 15:57:33 +0000 (10:57 -0500)] 
Fix up maven build for felix profile

20 months agoMerge pull request #35 from tjwatson/equinoxRelease
Thomas Watson [Wed, 16 Sep 2020 16:58:07 +0000 (11:58 -0500)] 
Merge pull request #35 from tjwatson/equinoxRelease

Update org.eclipse.osgi to 3.16 release

20 months agoUpdate org.eclipse.osgi to 3.16 release 35/head
Thomas Watson [Wed, 16 Sep 2020 15:33:51 +0000 (10:33 -0500)] 
Update org.eclipse.osgi to 3.16 release

20 months agoMerge pull request #34 from tjwatson/sorting
Thomas Watson [Wed, 16 Sep 2020 14:54:58 +0000 (09:54 -0500)] 
Merge pull request #34 from tjwatson/sorting

Sort the bundles installed by default and exports from modules

20 months agoSort the bundles installed by default and exports from modules 34/head
Thomas Watson [Wed, 16 Sep 2020 14:26:02 +0000 (09:26 -0500)] 
Sort the bundles installed by default and exports from modules

To make it easier to observe the list of bundles installed by default
and the packages exported by modules this changes the order of both to
be sorted by name.

20 months agoMerge pull request #33 from tjwatson/updateReadme
Thomas Watson [Tue, 1 Sep 2020 15:11:39 +0000 (10:11 -0500)] 
Merge pull request #33 from tjwatson/updateReadme

Update readme

20 months agoSet system packages correctly when modules from boot layer are loaded 33/head
Thomas Watson [Tue, 1 Sep 2020 13:51:21 +0000 (08:51 -0500)] 
Set system packages correctly when modules from boot layer are loaded

The launcher needs to set the system packages to empty any time the boot
modules from the JVM are loaded as atomos content.  Otherwise the system
bundle will export duplicate packages that are exported by boot module
connect bundles.  This was not happening correctly for the case where
the old classpath mode was used on Java 11 because
org.apache.felix.atomos.runtime.AtomosLayer.isAddLayerSupported() was
returning false in this case.

The fix is to set the system packages to the empty string anytime the
AtomosRuntimeModules is used.

20 months agoUpdate Atomos READMEs for JAX-RS example.
Thomas Watson [Mon, 31 Aug 2020 20:55:02 +0000 (15:55 -0500)] 
Update Atomos READMEs for JAX-RS example.

20 months agoMerge pull request #32 from tjwatson/parallelStreams
Thomas Watson [Wed, 26 Aug 2020 19:08:58 +0000 (14:08 -0500)] 
Merge pull request #32 from tjwatson/parallelStreams

Stop using parallel stream

20 months agoStop using parallel stream 32/head
Thomas Watson [Wed, 26 Aug 2020 18:49:50 +0000 (13:49 -0500)] 
Stop using parallel stream

The Atomos maven plugin was using parallel streams in several places.
Unfortunately many of the consumers called in the parallel streams are
not thread safe.  This can lead to unpredictable behavior.  For example,
randomly the plugin would omit a few bundles to include in the
processing.

This change also sorts the atomos index file to be in bundle symbolic
name order.  This allows for a consistent install order for images that
use the Atomos index.

20 months agoMerge pull request #31 from tjwatson/jax-rs-example
Thomas Watson [Wed, 26 Aug 2020 13:48:00 +0000 (08:48 -0500)] 
Merge pull request #31 from tjwatson/jax-rs-example

Add JAX-RS example