Skip to content

Commit

Permalink
fix: add versions to exported packages for JAXB bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Oct 27, 2023
1 parent 5c040a0 commit b6fbbef
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 14 deletions.
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")
}
}

0 comments on commit b6fbbef

Please sign in to comment.