Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update groupId #19

Merged
merged 1 commit into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions NOTICE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Notices for jakartarest-osgi

This content is produced and maintained by the OSGi Technology Project.

* Project home: https://projects.eclipse.org/projects/technology.osgi-technology

## Trademarks

OSGi and the OSGi Logo are trademarks of the Eclipse Foundation. Eclipse and
the Eclipse Logo are registered trademarks of the Eclipse Foundation.

## Copyright

All content is the property of the respective authors or their employers.
For more information regarding authorship of content, please consult the
listed source code repository logs.

## Declared Project Licenses

This program and the accompanying materials are made available under the terms of the
Eclipse Public License v2.0 which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html

SPDX-License-Identifier: EPL-2.0

## Source Code

The project maintains the following source code repositories:

* https://github.com/osgi/jakartarest-osgi.git
30 changes: 18 additions & 12 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,27 @@ You will find the Release and Snapshot artifacts at Maven Central, respectively

```
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.config</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.sse</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.jetty</artifactId>
<version>${version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.servlet.whiteboard</artifactId>
<version>${version}</version>
</dependency>
Expand All @@ -58,9 +58,9 @@ You will find the Release and Snapshot artifacts at Maven Central, respectively
For those, who use Gradle:

```
org.eclipse.osgitech.rest:org.eclipse.osgitech.rest:${version}
org.eclipse.osgitech.rest:org.eclipse.osgitech.rest.config:${version}
org.eclipse.osgitech.rest:org.eclipse.osgitech.rest.sse:${version}
org.eclipse.osgi-technology.rest:org.eclipse.osgitech.rest:${version}
org.eclipse.osgi-technology.rest:org.eclipse.osgitech.rest.config:${version}
org.eclipse.osgi-technology.rest:org.eclipse.osgitech.rest.sse:${version}
```

## Jetty Setup
Expand Down Expand Up @@ -139,6 +139,7 @@ Therefore you may set the system property `org.osgi.service.http.port=-1` to dea
## Example Resource

When using the Jakarta REST Whiteboard, you just have to register your REST resources and extensions as a service. There are some useful Meta-Annotations, that create component properties for you.

```java
@RequireJakartarsWhiteboard
@JakartarsResource
Expand Down Expand Up @@ -168,7 +169,7 @@ To create a sample project call:

```bash
mvn archetype:generate
-DarchetypeGroupId=org.eclipse.osgitech.rest
-DarchetypeGroupId=org.eclipse.osgi-technology.rest
-DarchetypeArtifactId=org.eclipse.osgitech.rest.archetype
-DarchetypeVersion=1.0.0-SNAPSHOT
-DgroupId=<your-group-id>
Expand All @@ -182,22 +183,27 @@ The generated project contains a ready to run [example](org.eclipse.osgitech.res
## Gradle Bnd Library Support

When adding the Jakarta REST Library to you dependencies:

```
org.eclipse.osgitech.rest:org.eclipse.osgitech.rest.bnd.library:${version}
org.eclipse.osgi-technology.rest:org.eclipse.osgitech.rest.bnd.library:${version}
```

you can simply but the instruction `-library: jakartaREST` and you will find a repository in you bnd workspace after reloading the workspace.

It brings you all dependencies, you need to run Jersey. In addition to that it also brings a dependency to:

```
org.eclipse.osgitech.rest:org.eclipse.osgitech.rest.bnd.project.library:${version}
org.eclipse.osgi-technology.rest:org.eclipse.osgitech.rest.bnd.project.library:${version}
```

This library adds support for *bndrun* files. Calling the instruction `-library: enableJakartaREST` within a *bndrun* adds automatically all Jersey and Jakarta REST Whiteboard dependencies to the *runbundles* section.

If you use the library instruction within a *bnd.bnd* file, it adds the JakartaRs API to the buildpath.

Furthermore this dependency brings three bndtools project templates:

1. Jakarta REST Resource with a default configuration
2. Jakarta REST Resource with Jetty Runtime and a corresponding configuration file
3. Jakarta REST Resource with a configuration for the use with the OSGI Servlet Whiteboard

All these projects can be imported using the bndtools project wizard.
All these projects can be imported using the bndtools project wizard.
2 changes: 1 addition & 1 deletion org.eclipse.osgitech.rest.archetype/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.servlet.whiteboard</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.sse</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>runtime</scope>
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.osgitech.rest.bnd.library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.osgitech.rest.bnd.project.library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand Down
4 changes: 2 additions & 2 deletions org.eclipse.osgitech.rest.config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
Expand Down
10 changes: 5 additions & 5 deletions org.eclipse.osgitech.rest.jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -15,10 +15,10 @@

<dependencies>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<artifactId>org.eclipse.osgitech.rest</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.osgitech.rest.multipart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand Down
8 changes: 4 additions & 4 deletions org.eclipse.osgitech.rest.servlet.whiteboard.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -17,17 +17,17 @@

<dependencies>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.servlet.whiteboard</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.sse</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions org.eclipse.osgitech.rest.servlet.whiteboard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -15,7 +15,7 @@

<dependencies>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.osgitech.rest.sse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand Down
10 changes: 5 additions & 5 deletions org.eclipse.osgitech.rest.tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -17,22 +17,22 @@

<dependencies>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.jetty</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.servlet.whiteboard</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.sse</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
Expand Down
8 changes: 4 additions & 4 deletions org.eclipse.osgitech.rest.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -17,17 +17,17 @@

<dependencies>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.servlet.whiteboard</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>org.eclipse.osgitech.rest.sse</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.osgitech.rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.eclipse.osgitech.rest</groupId>
<groupId>org.eclipse.osgi-technology.rest</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
Expand Down