forked from dbeaver/dbeaver-common
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INF-9 dbeaver-common added. Deps fixed. Root module added
- Loading branch information
1 parent
c3306e0
commit fdba91b
Showing
5 changed files
with
166 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
modules/com.dbeaver.common.rest.client/META-INF/MANIFEST.MF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Manifest-Version: 1.0 | ||
Bundle-ManifestVersion: 2 | ||
Bundle-Vendor: DBeaver Corp | ||
Bundle-Name: DBeaver REST clients | ||
Bundle-SymbolicName: com.dbeaver.common.rest.client | ||
Bundle-Version: 1.0.0 | ||
Bundle-Release-Date: 20231225 | ||
Bundle-RequiredExecutionEnvironment: JavaSE-17 | ||
Export-Package: com.dbeaver.lm.api | ||
Bundle-ActivationPolicy: lazy | ||
Automatic-Module-Name: com.dbeaver.common.rest.client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<parent> | ||
<groupId>com.dbeaver.common</groupId> | ||
<artifactId>com.dbeaver.common.main</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<relativePath>../../pom.xml</relativePath> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>com.dbeaver.common.rest.client</artifactId> | ||
<packaging>jar</packaging> | ||
<name>REST clients</name> | ||
|
||
<properties> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>jakarta.annotation</groupId> | ||
<artifactId>jakarta.annotation-api</artifactId> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<configuration> | ||
<source>17</source> | ||
<target>17</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<configuration> | ||
<archive> | ||
<manifestFile>META-INF/MANIFEST.MF</manifestFile> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
22 changes: 22 additions & 0 deletions
22
...common.rest.client/src/main/java/com/dbeaver/common/rest/client/AbstractRemoteClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* DBeaver - Universal Database Manager | ||
* Copyright (C) 2010-2024 DBeaver Corp | ||
* | ||
* All Rights Reserved. | ||
* | ||
* NOTICE: All information contained herein is, and remains | ||
* the property of DBeaver Corp and its suppliers, if any. | ||
* The intellectual and technical concepts contained | ||
* herein are proprietary to DBeaver Corp and its suppliers | ||
* and may be covered by U.S. and Foreign Patents, | ||
* patents in process, and are protected by trade secret or copyright law. | ||
* Dissemination of this information or reproduction of this material | ||
* is strictly forbidden unless prior written permission is obtained | ||
* from DBeaver Corp. | ||
*/ | ||
package com.dbeaver.common.rest.client; | ||
|
||
|
||
public abstract class AbstractRemoteClient { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
|
||
<parent> | ||
<groupId>com.dbeaver.common</groupId> | ||
<artifactId>root</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<relativePath>root/pom.xml</relativePath> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>com.dbeaver.common.main</artifactId> | ||
<packaging>pom</packaging> | ||
|
||
<name>DBeaver Common Main</name> | ||
<description>DBeaver Common Modules</description> | ||
|
||
<modules> | ||
<module>modules/com.dbeaver.common.rest.client</module> | ||
</modules> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.dbeaver.common</groupId> | ||
<artifactId>root</artifactId> | ||
<packaging>pom</packaging> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<name>DBeaver build root</name> | ||
<description>DBeaver build root module</description> | ||
|
||
<properties> | ||
<tycho-version>4.0.4</tycho-version> | ||
<maven.compiler.source>17</maven.compiler.source> | ||
<maven.compiler.target>17</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<java.version>17</java.version> | ||
|
||
<maven.compiler.plugin.version>3.11.0</maven.compiler.plugin.version> | ||
<spring.boot.plugin.version>3.1.2</spring.boot.plugin.version> | ||
|
||
<dbeaver.common.version>1.0.0-SNAPSHOT</dbeaver.common.version> | ||
<lm.version>3.0.2-SNAPSHOT</lm.version> | ||
<dm.version>0.0.1-SNAPSHOT</dm.version> | ||
</properties> | ||
|
||
|
||
<repositories> | ||
<repository> | ||
<id>p2.jakarta</id> | ||
<url>https://download.eclipse.org/releases/2023-12</url> | ||
<layout>p2</layout> | ||
</repository> | ||
</repositories> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-maven-plugin</artifactId> | ||
<version>${tycho-version}</version> | ||
<extensions>true</extensions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-compiler-plugin</artifactId> | ||
<version>${tycho-version}</version> | ||
<configuration> | ||
<useProjectSettings>false</useProjectSettings> | ||
<source>${maven.compiler.source}</source> | ||
<target>${maven.compiler.target}</target> | ||
<compilerVersion>${maven.compiler.source}</compilerVersion> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |