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

fix: add versions to exported packages for JAXB bundles #51

Merged
merged 1 commit into from
Oct 27, 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
13 changes: 8 additions & 5 deletions jaxb/alignment/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ dependencies {

// https://github.com/bndtools/bnd/blob/master/gradle-plugins/README.md#replacing-use-of-gradles-deprecated-osgi-plugin
jar {
bnd('Bundle-Name': 'HALE Alignment Format Model',
'Bundle-SymbolicName': 'eu.esdihumboldt.hale.common.align.io.model.jaxb',
'Bundle-License': 'http://www.gnu.org/licenses/lgpl.html;description=Lesser General Public License (LGPL) Version 3',
'Bundle-Vendor': 'data harmonisation panel',
'Require-Bundle': 'org.glassfish.jaxb.runtime')
bundle {
bnd('Bundle-Name': 'HALE Alignment Format Model',
'Bundle-SymbolicName': 'eu.esdihumboldt.hale.common.align.io.model.jaxb',
'Bundle-License': 'http://www.gnu.org/licenses/lgpl.html;description=Lesser General Public License (LGPL) Version 3',
'Bundle-Vendor': 'data harmonisation panel',
'Require-Bundle': 'org.glassfish.jaxb.runtime',
'Export-Package': "eu.esdihumboldt.hale.common.align.io.impl.internal.generated.*;version=$version")
}
}
7 changes: 5 additions & 2 deletions jaxb/oml/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ dependencies {

// https://github.com/bndtools/bnd/blob/master/gradle-plugins/README.md#replacing-use-of-gradles-deprecated-osgi-plugin
jar {
bnd('Bundle-Name': 'Ontology Mapping Language Model',
'Bundle-SymbolicName': 'eu.esdihumboldt.hale.io.oml.model.jaxb')
bundle {
bnd('Bundle-Name': 'Ontology Mapping Language Model',
'Bundle-SymbolicName': 'eu.esdihumboldt.hale.io.oml.model.jaxb',
'Export-Package': "eu.esdihumboldt.hale.io.oml.internal.model.generated.oml.*;version=$version")
}
}
13 changes: 8 additions & 5 deletions jaxb/project/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ dependencies {

// https://github.com/bndtools/bnd/blob/master/gradle-plugins/README.md#replacing-use-of-gradles-deprecated-osgi-plugin
jar {
bnd('Bundle-Name': 'HALE Project Format Model',
'Bundle-SymbolicName': 'eu.esdihumboldt.hale.common.core.io.project.model.jaxb',
'Bundle-License': 'http://www.gnu.org/licenses/lgpl.html;description=Lesser General Public License (LGPL) Version 3',
'Bundle-Vendor': 'data harmonisation panel',
'Require-Bundle': 'org.glassfish.jaxb.runtime')
bundle {
bnd('Bundle-Name': 'HALE Project Format Model',
'Bundle-SymbolicName': 'eu.esdihumboldt.hale.common.core.io.project.model.jaxb',
'Bundle-License': 'http://www.gnu.org/licenses/lgpl.html;description=Lesser General Public License (LGPL) Version 3',
'Bundle-Vendor': 'data harmonisation panel',
'Require-Bundle': 'org.glassfish.jaxb.runtime',
'Export-Package': "eu.esdihumboldt.hale.common.core.io.project.model.internal.generated.*;version=$version")
}
}
7 changes: 5 additions & 2 deletions jaxb/wadl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ dependencies {

// https://github.com/bndtools/bnd/blob/master/gradle-plugins/README.md#replacing-use-of-gradles-deprecated-osgi-plugin
jar {
bnd('Bundle-Name': 'WADL Model',
'Bundle-SymbolicName': 'eu.esdihumboldt.hale.server.api.wadl.model.jaxb')
bundle {
bnd('Bundle-Name': 'WADL Model',
'Bundle-SymbolicName': 'eu.esdihumboldt.hale.server.api.wadl.model.jaxb',
'Export-Package': "eu.esdihumboldt.hale.server.api.wadl.internal.generated.*;version=$version")
}
}
Loading