Skip to content
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
4 changes: 4 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Copyright (2026) Databricks, Inc.

This Software includes software developed at Databricks (https://www.databricks.com/) and its use
is subject to the included LICENSE file.
96 changes: 95 additions & 1 deletion server/opensharing-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<artifactId>opensharing-server</artifactId>

<name>OpenSharing Reference Server</name>
<description>Runnable OpenSharing server for standalone deployments</description>
<description>Standalone OpenSharing server built on opensharing-server-core</description>

<dependencies>
<dependency>
Expand Down Expand Up @@ -82,13 +82,107 @@
</configuration>
<executions>
<execution>
<id>exec-jar</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Fails the build on a runtime dependency whose license is missing or not allowed. It runs
after packaging so that the THIRD-PARTY.txt it writes stays out of the jar. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<excludedScopes>test,provided,system</excludedScopes>
<failOnMissing>true</failOnMissing>
<failOnBlacklist>true</failOnBlacklist>
<includedLicenses>
<includedLicense>Apache-2.0</includedLicense>
<includedLicense>BSD-2-Clause</includedLicense>
<includedLicense>BSD-3-Clause</includedLicense>
<includedLicense>CC0-1.0</includedLicense>
<includedLicense>EDL-1.0</includedLicense>
<includedLicense>EPL-1.0</includedLicense>
<includedLicense>EPL-2.0</includedLicense>
<includedLicense>MIT</includedLicense>
<includedLicense>MIT-0</includedLicense>
<includedLicense>MPL-2.0</includedLicense>
<!-- Allowed as unmodified dependencies; reviewed per artifact, as listed below. -->
<includedLicense>LGPL-2.1-or-later</includedLicense>
<includedLicense>GPL-2.0-with-classpath-exception</includedLicense>
<includedLicense>GPL-2.0-with-universal-FOSS-exception</includedLicense>
</includedLicenses>
<licenseMerges>
<licenseMerge>
Apache-2.0 | Apache License, Version 2.0 | The Apache Software License, Version 2.0
| Apache License 2.0 | The Apache License, Version 2.0 | Apache 2
| Apache Software License - Version 2.0 | Apache 2.0 | Apache License, version 2.0
| Apache License Version 2.0
</licenseMerge>
<licenseMerge>BSD-2-Clause | BSD 2-Clause License</licenseMerge>
<licenseMerge>BSD-3-Clause | BSD New license | Go License</licenseMerge>
<licenseMerge>CC0-1.0 | Public Domain, per Creative Commons CC0</licenseMerge>
<licenseMerge>
EDL-1.0 | Eclipse Distribution License v. 1.0 | Eclipse Distribution License - v 1.0
| EDL 1.0
</licenseMerge>
<licenseMerge>
EPL-1.0 | Eclipse Public License - v 1.0 | Eclipse Public License - Version 1.0
| EPL 1.0
</licenseMerge>
<licenseMerge>EPL-2.0 | Eclipse Public License v. 2.0 | EPL 2.0</licenseMerge>
<licenseMerge>LGPL-2.1 | GNU Lesser General Public License</licenseMerge>
<!-- hibernate-core, hibernate-hikaricp -->
<licenseMerge>
LGPL-2.1-or-later | GNU Library General Public License v2.1 or later
</licenseMerge>
<!-- jakarta.transaction-api, javax.annotation-api -->
<licenseMerge>
GPL-2.0-with-classpath-exception | GPL2 w/ CPE | CDDL + GPLv2 with classpath exception
</licenseMerge>
<!-- mysql-connector-j -->
<licenseMerge>
GPL-2.0-with-universal-FOSS-exception
| The GNU General Public License, v2 with Universal FOSS Exception, v1.0
</licenseMerge>
<licenseMerge>MIT | The MIT License (MIT) | The MIT License | MIT license</licenseMerge>
<licenseMerge>MPL-2.0 | MPL 2.0</licenseMerge>
</licenseMerges>
</configuration>
<executions>
<execution>
<id>third-party</id>
<phase>verify</phase>
<goals>
<goal>add-third-party</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<!-- Maven Central gets the library jar only. -->
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>exec-jar</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
174 changes: 173 additions & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
child.project.url.inherit.append.path="false">
<modelVersion>4.0.0</modelVersion>

<groupId>io.opensharing</groupId>
Expand All @@ -11,6 +12,7 @@

<name>OpenSharing</name>
<description>Reference implementation of the OpenSharing protocol</description>
<url>https://github.com/OpenSharing-IO/OpenSharing</url>

<modules>
<module>opensharing-server-core</module>
Expand All @@ -21,9 +23,41 @@
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<id>chakankardb</id>
<name>Abhijit Chakankar</name>
<url>https://github.com/chakankardb</url>
</developer>
<developer>
<id>hueyhuilonghan</id>
<name>Huey Han</name>
<url>https://github.com/hueyhuilonghan</url>
</developer>
<developer>
<id>linzhou-db</id>
<name>Lin Zhou</name>
<url>https://github.com/linzhou-db</url>
</developer>
<developer>
<id>littlegrasscao</id>
<name>Sun Cao</name>
<url>https://github.com/littlegrasscao</url>
</developer>
</developers>

<scm child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">
<connection>scm:git:https://github.com/OpenSharing-IO/OpenSharing.git</connection>
<developerConnection>scm:git:git@github.com:OpenSharing-IO/OpenSharing.git</developerConnection>
<url>https://github.com/OpenSharing-IO/OpenSharing</url>
</scm>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>21</maven.compiler.release>
Expand Down Expand Up @@ -117,7 +151,145 @@
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.7</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.23.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.5.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.8.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.4</version>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
<!-- Maven Central requires sources and javadoc jars and a GPG signature for every file. -->
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Signs with the default key; -Dgpg.skip builds without one. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<!-- Only the modules are published, so each pom carries the parent's metadata and
dependency versions instead of referring to it. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<configuration>
<flattenMode>ossrh</flattenMode>
<pomElements>
<dependencyManagement>resolve</dependencyManagement>
</pomElements>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Loading