diff --git a/build.gradle b/build.gradle index 9ba180e..12bea83 100644 --- a/build.gradle +++ b/build.gradle @@ -54,8 +54,6 @@ include { from 'modules/shared/adaptions' // all adaptions - from 'modules/resources' // resource bundles - from('modules/geotools.gradle') { geotools geotoolsVersion, [ 'geotools', diff --git a/modules/resources/build.gradle b/modules/resources/build.gradle deleted file mode 100644 index 6a49251..0000000 --- a/modules/resources/build.gradle +++ /dev/null @@ -1,723 +0,0 @@ -// -// Build bundles with online resources for fast access in HALE. -// -// It should be executed manually to update the resource bundles from time to -// time, e.g. using this command from the repository root: -// > ./gradlew -p modules/resources/ -// - -buildscript { - repositories { - mavenCentral() - } - dependencies { - classpath 'de.undercouch:gradle-download-task:5.5.0' - } -} - -apply plugin: 'de.undercouch.download' - - - -defaultTasks 'clean', 'resourceBundles' - -ext { - // where inspire schemas are downloaded to - inspireSchemas = new File(buildDir, 'inspire-schemas.zip') - // inspire application schemas index file - applicationSchemasFile = new File(buildDir, 'applicationSchemas.xml') - // where w3 schemas are downloaded to - w3Schemas = new File(buildDir, 'w3-schemas.zip') - // where inspire code lists are stored after download - inspireCodeListsFixed = new File(buildDir, 'inspire-codelists-fixed.zip') - inspireCodeListsGeneric = new File(buildDir, 'inspire-codelists-generic.zip') - // where schemas from portele.de are stored after download - porteleSchemas = new File(buildDir, 'portele-schemas.zip') - // where inspire feature concept files are downloaded to - inspireFeatureConcepts = new File(buildDir, 'inspire-feature-concepts.zip') - // where AAA NAS schema files are downloaded to - aaaSchemas = new File(buildDir, 'aaa-nas-schemas.zip') - // where XPlanung schema files are downloaded to - xPlanungSchemas = new File(buildDir, 'xplanung-schemas.zip') -} - -task clean() { - doLast { - buildDir.deleteDir() - } -} - -task resourceBundles() { -} - -/* - * Creates a resource bundle from ZIP archive provided on schemas.opengis.net - */ - -task opengisBundle(type: ResourceBundleTask) { - bundleId = 'schemas.opengis.net' - host = 'schemas.opengis.net' - archiveUrl = 'http://schemas.opengis.net/SCHEMAS_OPENGIS_NET.zip' - destDir = projectDir -} - -resourceBundles.dependsOn('opengisBundle') - -/* - * Creates a resource bundle from schemas provided in INSPIRE schema repository - */ - -// create application schema index file -def inspireSchemaIndex(def project, File target, List folders) { - // get application schemas from INSPIRE registry - def registry - new URL('https://inspire.ec.europa.eu/applicationschema/applicationschema.en.json').withReader { reader -> - registry = new groovy.json.JsonSlurper().parse(reader) - } - def appSchemas = [] - registry.register.containeditems*.applicationschema.each { - def theme = it.theme - if (!theme) { - theme = it.themes?.getAt(0)?.theme - } - - appSchemas << [id: it.id, name: it.label.text, theme: theme?.label?.text, themeId: theme?.id] - } - - def inspireShortIdRegex = '^http://inspire.ec.europa.eu/applicationschema/([^/]*)$' - - target.withWriter { - it << '\n' - def xml = new groovy.xml.MarkupBuilder(it) - xml.applicationSchemas { - appSchemas.each { appSchema -> - xml.applicationSchema(id: appSchema.id, name: appSchema.name, theme: appSchema.theme, - themeId: appSchema.themeId) { - // find corresponding schema files - - // extract short identifier - def matcher = ( appSchema.id =~ inspireShortIdRegex ) - def shortId = matcher[0][1] - - // replace abandoned(?) Geology schema with Geology core - if (shortId == 'ge') shortId = 'ge-core' - - folders.each { File folder -> - File asDir = new File(folder, shortId) - if (asDir.exists()) { - // find version subfolders - asDir.eachDir { File versionDir -> - versionDir.eachFileMatch(~/.*\.xsd/) { File xsd -> - xml.schema( - version: versionDir.name, - url: "https://inspire.ec.europa.eu/${folder.name}/${asDir.name}/${versionDir.name}/${xsd.name}" - ) - } - } - } - } - } - } - } - } -} - -// download schema files based on directory listing (requires wget) -task downloadInspireSchemas() { - doFirst { - // need a clean tmp dir - temporaryDir.deleteDir() - temporaryDir.mkdir() - // delete existing schema archive - inspireSchemas.delete() - - // download Zip (TODO better way, e.g. Gradle download task?) - exec { - workingDir = temporaryDir - executable = 'wget' - args 'https://github.com/INSPIRE-MIF/application-schemas/archive/refs/heads/main.zip' - } - // unzip - def zipFile = new File(temporaryDir, 'main.zip') - ant.unzip(src: zipFile, dest: temporaryDir) - // delete zip file - zipFile.delete() - // move content up out of "application-schemas-main" - ant.move(todir: temporaryDir) { - ant.fileset(dir: new File(temporaryDir, 'application-schemas-main')) { - // only include XML schemas - include( name: '**/*.xsd' ) - // README that includes information about the state/date - include( name: '**/readme.txt' ) - } - } - // delete remainder - delete(new File(temporaryDir, 'application-schemas-main')) - - /* - * The website does redirect for some schemas to a subfolder with older versions. - * For example `hy-p/3.0/HydroPhysicalWaters.xsd` is redirected to `2021.1/hy-p/3.0/HydroPhysicalWaters.xsd` - * The resource bundles don't know about these redirects, the file from the original folder is accessed. - * Loading the full schema may fail though, because some schema have been removed from the root and are only - * available in folders representing older versions. - * Examples: - * - `lc/0.0/LandCover.xsd` - * - `wfd/0.0/WaterFrameworkDirective.xsd` - * - * Since we don't know the exact redirection rules we attempt to have a copy of al schemas in the root, in - * their respective newest version, by copying newer versions over older versions. - */ - def tempRoot = new File(temporaryDir, 'tmp-schemas') - def versions = ['2021.1', '2021.2', '2022.1', '2022.2'] - // copy all versions in order - versions.each { v -> - copy { - from new File(temporaryDir, "schemas/$v") - into tempRoot - include '**/*' - } - } - // copy current root - copy { - from new File(temporaryDir, "schemas") - into tempRoot - include '**/*' - } - // delete old root - delete(new File(temporaryDir, 'schemas')) - // rename - ant.move(file: tempRoot, tofile: new File(temporaryDir, 'schemas')) - - // add fixups - copy { - from new File(projectDir, 'inspire-fixup') - into temporaryDir - include '**/*' - } - // generate schema index file - inspireSchemaIndex(project, applicationSchemasFile, - [new File(temporaryDir, 'schemas')] - ) - // copy to be included in bundle - copy { - from buildDir - into temporaryDir - include 'applicationSchemas.xml' - } - // create ZIP archive - ant.zip( - destfile: inspireSchemas, - basedir: temporaryDir) - } -} - -// create the bundle -task inspireSchemasBundle(type: ResourceBundleTask, dependsOn: downloadInspireSchemas) { - bundleId = 'schemas.inspire' - host = 'inspire.ec.europa.eu' - archive = inspireSchemas - destDir = projectDir - pluginExtra = { xml -> - // read application schemas file - def appSchemas = new groovy.xml.XmlSlurper().parse(applicationSchemasFile) - - def themeShortIdRegex = '^http://inspire.ec.europa.eu/theme/([^/]*)$' - - xml.extension(point: 'eu.esdihumboldt.hale.ui.schema.presets') { - println appSchemas - appSchemas.applicationSchema.each { appSchema -> - def id = appSchema.@id - - appSchema.schema.each { schema -> - def theme = appSchema.@theme as String - def descr = theme ? "GML Application Schema from the INSPIRE Data Specification on ${theme}." : "Application Schema from the INSPIRE Data Specifications (not associated to a theme)." - - def themeId = appSchema.@themeId as String - def iconPath = 'icons/inspire.gif' - if (themeId) { - // extract short identifier - def matcher = ( themeId =~ themeShortIdRegex ) - def shortId = matcher[0][1] - - iconPath = "icons/themes/16_${shortId}.png" - } - - xml.schema( - description: descr, - icon: iconPath, - id: id, - name: "INSPIRE ${appSchema.'@name'}", -// tag: 'Bundled', - version: schema.@version - ) { - xml.uri(value: schema.@url) - } - } - } - } - } -} - -resourceBundles.dependsOn('inspireSchemasBundle') - -/* - * Creates a resource bundle from code lists provided in INSPIRE code list registry - */ - -// download code list files based on registry (requires wget, XML content type) -task downloadInspireCodeLists { - doLast { - // need a clean tmp dir - temporaryDir.deleteDir() - temporaryDir.mkdir() - // delete existing archives - inspireCodeListsFixed.delete() - inspireCodeListsGeneric.delete() - - // determine resources to retrieve from registry - def registry - new URL('https://inspire.ec.europa.eu/codelist/codelist.en.json').withReader { reader -> - registry = new groovy.json.JsonSlurper().parse(reader) - } - - def languages = ['en', 'bg', 'cs', 'hr', 'da', 'de', 'el', 'es', 'et', 'fi', 'fr', - 'hu', 'it', 'lt', 'lv', 'mt', 'nl', 'pl', 'pt', 'ro', 'sk', 'sl', 'sv'] - - def genericUrls = [] - def fixedUrls = [] - registry.register.containeditems*.codelist.id.each { id -> - // the ID is the URI to retrieve the code list by default - genericUrls << id - // extract code list name - def regex = '/([^/]*)$' - def matcher = ( id =~ regex ) - def name = matcher[0][1] - // add fixed urls TODO in all languages? - fixedUrls << "${id}/${name}.en.xml" - fixedUrls << "${id}/${name}.en.json" - } - - // problem is, we can't download both generic and fixed, - // because the fixed URLs require a directory with the name - // of the generic URL -> so we create two archives/bundles - - def genericDir = new File(temporaryDir, "generic") - genericDir.mkdirs() - genericUrls.each { url -> - exec { - workingDir = genericDir - executable = 'wget' - args '--force-directories', '--no-host-directories', "--header=Accept: application/xml", "--header=Accept-Language: en", url - } - } - - def fixedDir = new File(temporaryDir, "fixed") - fixedDir.mkdirs() - fixedUrls.each { url -> - exec { - workingDir = fixedDir - executable = 'wget' - args '--force-directories', '--no-host-directories', url - } - } - - // create ZIP archives - ant.zip( - destfile: inspireCodeListsGeneric, - basedir: genericDir) - ant.zip( - destfile: inspireCodeListsFixed, - basedir: fixedDir) - } -} - -// create the bundles -task inspireCodeListsBundleGeneric(type: ResourceBundleTask, dependsOn: downloadInspireCodeLists) { - bundleId = 'codelists.inspire.accept-xml' - host = 'inspire.ec.europa.eu' - archive = inspireCodeListsGeneric - destDir = projectDir - resourceType = 'xmlCodeList' -} -task inspireCodeListsBundleFixed(type: ResourceBundleTask, dependsOn: downloadInspireCodeLists) { - bundleId = 'codelists.inspire' - host = 'inspire.ec.europa.eu' - archive = inspireCodeListsFixed - destDir = projectDir - resourceType = 'xmlCodeList' -} - -resourceBundles.dependsOn('inspireCodeListsBundleGeneric') -resourceBundles.dependsOn('inspireCodeListsBundleFixed') - -/* - * Creates a resource bundle from schemas provided on www.w3.org (which can be very slow to access) - */ - -// download schema files individually (requires wget) -task downloadW3Schemas { - doLast { - // need a clean tmp dir - temporaryDir.deleteDir() - temporaryDir.mkdir() - // delete existing schema archive - w3Schemas.delete() - - def downloadSchema = { path -> - exec { - workingDir = temporaryDir - executable = 'wget' - args '--force-directories', '--no-host-directories', "http://www.w3.org/$path" - } - } - downloadSchema('1999/xlink.xsd') - downloadSchema('2001/xml.xsd') - downloadSchema('2001/XMLSchema.xsd') - ant.zip( - destfile: w3Schemas, - basedir: temporaryDir) - } -} - -// create the bundle -task w3SchemasBundle(type: ResourceBundleTask, dependsOn: downloadW3Schemas) { - bundleId = 'w3.org' - host = 'www.w3.org' - archive = w3Schemas - destDir = projectDir -} - -resourceBundles.dependsOn('w3SchemasBundle') - -/* - * Creates a resource bundle including the FeatureConcept information from the - * INSPIRE registry, which is used in HALE when generating an INSPIRE Dataset Feed. - */ - -// download JSON representation (requires wget) -task downloadInspireFeatureConcepts { - doLast { - // need a clean tmp dir - temporaryDir.deleteDir() - temporaryDir.mkdir() - // delete existing schema archive - inspireFeatureConcepts.delete() - - def downloadFile = { path -> - exec { - workingDir = temporaryDir - executable = 'wget' - args '--force-directories', '--no-host-directories', "https://inspire.ec.europa.eu/featureconcept/$path" - } - } - downloadFile('featureconcept.en.json') - ant.zip( - destfile: inspireFeatureConcepts, - basedir: temporaryDir) - } -} - -// create the bundle -task inspireFeatureConceptsBundle(type: ResourceBundleTask, dependsOn: downloadInspireFeatureConcepts) { - bundleId = 'featureconcepts.inspire' - host = 'inspire.ec.europa.eu' - archive = inspireFeatureConcepts - destDir = projectDir - //TODO resource type? -} - -resourceBundles.dependsOn('inspireFeatureConceptsBundle') - -/* - * Creates a resource bundle from schemas provided on portele.de (which are needed by some INSPIRE schemas) - */ - -// download schema files individually (requires wget) -task downloadPorteleSchemas { - doLast { - // need a clean tmp dir - temporaryDir.deleteDir() - temporaryDir.mkdir() - // delete existing schema archive - porteleSchemas.delete() - - def downloadSchema = { path -> - exec { - workingDir = temporaryDir - executable = 'wget' - args '--force-directories', '--no-host-directories', "http://portele.de/$path" - } - } - downloadSchema('ShapeChangeAppinfo.xsd') - ant.zip( - destfile: porteleSchemas, - basedir: temporaryDir) - } -} - -// create the bundle -task porteleSchemasBundle(type: ResourceBundleTask, dependsOn: downloadPorteleSchemas) { - bundleId = 'schemas.portele.de' - host = 'portele.de' - archive = porteleSchemas - destDir = projectDir -} - -resourceBundles.dependsOn('porteleSchemasBundle') - -/* - * Creates a resource bundle from AAA NAS application schemas - */ - -// Map version number used in URLs to version number displayed to user -def aaaVersions = [ - /* - * XXX the versions offered on the repository seem to be subject to change - */ - - '6.0' : '6.0.1', - // '7.0' : '7.0.3', no longer available directly as schema files (though there seem to be archives of versions that were dropped at https://repository.gdi-de.org/schemas/adv/nas/) - '7.1' : '7.1.2' // was: 7.1.0 -] - -def wfsExtVersions = [ '1.0', '2.0' ] -def shapeChangeVersions = [ '1.0' ] - -// download schema files based on directory listing (requires wget) -task downloadAAASchemas { - doLast { - // need a clean tmp dir - temporaryDir.deleteDir() - temporaryDir.mkdir() - // delete existing schema archive - aaaSchemas.delete() - - aaaVersions.each { urlVersion, displayVersion -> - exec { - workingDir = temporaryDir - executable = 'wget' - args '-e', 'robots=off', '-r', '--no-parent', '--no-host-directories', '-A', 'xsd,xml,txt', "http://repository.gdi-de.org/schemas/adv/nas/${urlVersion}/" - } - } - wfsExtVersions.each { version -> - exec { - workingDir = temporaryDir - executable = 'wget' - args '-e', 'robots=off', '-r', '--no-parent', '--no-host-directories', '-A', 'xsd,xml,txt', "http://repository.gdi-de.org/schemas/adv/wfsext/${version}/" - } - } - shapeChangeVersions.each { version -> - exec { - workingDir = temporaryDir - executable = 'wget' - args '-e', 'robots=off', '-r', '--no-parent', '--no-host-directories', '-A', 'xsd,xml,txt', "http://repository.gdi-de.org/schemas/adv/sc/${version}/" - } - } - - // create ZIP archive - ant.zip( - destfile: aaaSchemas, - basedir: temporaryDir) - } -} - -// create the bundle -task aaaSchemasBundle(type: ResourceBundleTask, dependsOn: downloadAAASchemas) { - bundleId = 'schemas.adv-online.de' - host = 'repository.gdi-de.org' - archive = aaaSchemas - destDir = projectDir - pluginExtra = { xml -> - xml.extension(point: 'eu.esdihumboldt.hale.ui.schema.presets') { - aaaVersions.each { urlVersion, displayVersion -> - xml.schema( - category: 'de', - description: "AAA (ATKIS, ALKIS, AFIS) Modell der Arbeitsgemeinschaft der Vermessungsverwaltungen der Länder der Bundesrepublik Deutschland (AdV)", - id: "de.adv-online.aaa.${urlVersion.replace('.', '_')}", - name: "AAA XML Schema", - version: "${displayVersion}" - ) { - xml.uri(value: "http://repository.gdi-de.org/schemas/adv/nas/${urlVersion}/aaa.xsd") - } - } - } - } -} - -resourceBundles.dependsOn('aaaSchemasBundle') - -/* - * Creates a resource bundle from XPlanung application schemas - */ - -// Map version number used in URLs to version number displayed to user -def xplanungVersions = [ - '4.0.2' :'4.0.2', - '4.1-Kernmodell' : '4.1', - '5.0' : '5.0.1', - '5.1' : '5.1.2', - '5.2' : '5.2.1', - '5.3' : '5.3', - '5.4' : '5.4', - '6.0' : '6.0' -] - -// download schema files based on directory listing (requires wget) -task downloadXPlanungSchemas { - doLast { - // need a clean tmp dir - temporaryDir.deleteDir() - temporaryDir.mkdir() - // delete existing schema archive - xPlanungSchemas.delete() - - xplanungVersions.each { urlVersion, displayVersion -> - exec { - workingDir = temporaryDir - executable = 'wget' - args '-e', 'robots=off', '-r', '--no-parent', '--no-host-directories', '-A', 'xsd,xml,txt', "https://repository.gdi-de.org/schemas/de.xleitstelle.xplanung/${urlVersion}/" - } - } - // add fixups - copy { - from new File(projectDir, 'xplanung-fixup') - into temporaryDir - include '**/*' - } - // create ZIP archive - ant.zip( - destfile: xPlanungSchemas, - basedir: temporaryDir) - } -} - -// create the bundle -task xPlanungSchemasBundle(type: ResourceBundleTask, dependsOn: downloadXPlanungSchemas) { - bundleId = 'schemas.xplanung.de' - host = 'www.xplanungwiki.de' - archive = xPlanungSchemas - destDir = projectDir - pluginExtra = { xml -> - xml.extension(point: 'eu.esdihumboldt.hale.ui.schema.presets') { - xplanungVersions.each { urlVersion, displayVersion -> - xml.schema( - category: 'de', - description: "XPlanung GML Application Schema", - icon: 'icons/xplanung.png', - id: "de.xplanung.xplangml.${urlVersion.replace('.', '_')}", - name: "XPlanGML", - version: "${displayVersion}" - ) { - xml.uri(value: "https://repository.gdi-de.org/schemas/de.xleitstelle.xplanung/${urlVersion}/XPlanung-Operationen.xsd") - } - } - } - } -} - -resourceBundles.dependsOn('xPlanungSchemasBundle') - -/* - * Common task definition - */ - -class ResourceBundleTask extends DefaultTask { - // the host that the resource bundle mirrors resources from - @Input - def host - // the remote URL to retrieve the resource ZIP archive from - @Input - @Optional - def archiveUrl - // the local ZIP archive file containing the resources - @Input - @Optional - def archive - // the prefix for the symbolic name - @Input - def symbolicNamePrefix = 'eu.esdihumboldt.util.resource' - // the bundle identifier (is appended to prefix sepearate by a dot) - @Input - def bundleId - // the served resource type - @Input - def resourceType = 'xmlSchema' - // the destination dir - @Input - def destDir = project.buildDir - // extra content for the plugin.xml - must be a closure taking a markup builder as argument - @Internal - java.util.function.Consumer pluginExtra - - ResourceBundleTask() { - getOutputs().upToDateWhen { - // we don't support proper up-to-date checking here - false - } - } - - @TaskAction - def createBundle() { - assert host - assert archiveUrl || archive - assert bundleId - assert symbolicNamePrefix - assert resourceType // the primary resource type - assert destDir - - // schemas from schemas.opengis.net - def stamp = new Date().format('yyyy.MM.dd') - def version = stamp //"1.0.0.$stamp" - def symbolicName = "$symbolicNamePrefix.$bundleId" - File bundle = new File(destDir, "${symbolicName}_${version}.jar") - - File tmpDir = temporaryDir //File.createTempFile('resources', 'bundle') - tmpDir.delete() - tmpDir.mkdir() - - File tmpSchemas - if (archive) { - // use existing schema archive - tmpSchemas = archive as File - } - else { - // download schema archive - tmpSchemas = new File(tmpDir, 'schemas.zip') - project.download.run { - src archiveUrl - dest tmpSchemas - } - } - - // create plugin.xml - File tmpPluginXml = new File(tmpDir, 'plugin.xml') - tmpPluginXml.withWriter { - it << '\n' - it << '\n' - def xml = new groovy.xml.MarkupBuilder(it) - xml.plugin { - extension(point: 'eu.esdihumboldt.util.resource') { - resolver(id: bundleId, resourceType: resourceType) { - xml.host(name: host) - bundleResolver() - } - } - if (pluginExtra != null) { - pluginExtra.accept(xml) - } - } - } - - // build jar - ant.jar(destfile: bundle) { - zipfileset (src: tmpSchemas, excludes: '**/*.zip') - fileset (dir: tmpPluginXml.parentFile, includes: tmpPluginXml.name) - manifest { - attribute(name: 'Bundle-Version', value: version) - attribute(name: 'Bundle-Name', value: "Resources from $host") - attribute(name: 'Bundle-ManifestVersion', value: 2) - attribute(name: 'Bundle-SymbolicName', value: "$symbolicName;singleton:=true") - } - } - } -} diff --git a/modules/resources/eu.esdihumboldt.util.resource.codelists.inspire.accept-xml_2023.10.28.jar b/modules/resources/eu.esdihumboldt.util.resource.codelists.inspire.accept-xml_2023.10.28.jar deleted file mode 100644 index b583e9f..0000000 Binary files a/modules/resources/eu.esdihumboldt.util.resource.codelists.inspire.accept-xml_2023.10.28.jar and /dev/null differ diff --git a/modules/resources/eu.esdihumboldt.util.resource.codelists.inspire_2023.10.28.jar b/modules/resources/eu.esdihumboldt.util.resource.codelists.inspire_2023.10.28.jar deleted file mode 100644 index 84d8ee7..0000000 Binary files a/modules/resources/eu.esdihumboldt.util.resource.codelists.inspire_2023.10.28.jar and /dev/null differ diff --git a/modules/resources/eu.esdihumboldt.util.resource.featureconcepts.inspire_2023.10.28.jar b/modules/resources/eu.esdihumboldt.util.resource.featureconcepts.inspire_2023.10.28.jar deleted file mode 100644 index ef08822..0000000 Binary files a/modules/resources/eu.esdihumboldt.util.resource.featureconcepts.inspire_2023.10.28.jar and /dev/null differ diff --git a/modules/resources/eu.esdihumboldt.util.resource.schemas.adv-online.de_2023.10.28.jar b/modules/resources/eu.esdihumboldt.util.resource.schemas.adv-online.de_2023.10.28.jar deleted file mode 100644 index 485c767..0000000 Binary files a/modules/resources/eu.esdihumboldt.util.resource.schemas.adv-online.de_2023.10.28.jar and /dev/null differ diff --git a/modules/resources/eu.esdihumboldt.util.resource.schemas.inspire_2023.10.28.jar b/modules/resources/eu.esdihumboldt.util.resource.schemas.inspire_2023.10.28.jar deleted file mode 100644 index 687a705..0000000 Binary files a/modules/resources/eu.esdihumboldt.util.resource.schemas.inspire_2023.10.28.jar and /dev/null differ diff --git a/modules/resources/eu.esdihumboldt.util.resource.schemas.opengis.net_2023.10.28.jar b/modules/resources/eu.esdihumboldt.util.resource.schemas.opengis.net_2023.10.28.jar deleted file mode 100644 index d1f2e58..0000000 Binary files a/modules/resources/eu.esdihumboldt.util.resource.schemas.opengis.net_2023.10.28.jar and /dev/null differ diff --git a/modules/resources/eu.esdihumboldt.util.resource.schemas.portele.de_2023.10.28.jar b/modules/resources/eu.esdihumboldt.util.resource.schemas.portele.de_2023.10.28.jar deleted file mode 100644 index b5b8fa4..0000000 Binary files a/modules/resources/eu.esdihumboldt.util.resource.schemas.portele.de_2023.10.28.jar and /dev/null differ diff --git a/modules/resources/eu.esdihumboldt.util.resource.schemas.xplanung.de_2023.10.28.jar b/modules/resources/eu.esdihumboldt.util.resource.schemas.xplanung.de_2023.10.28.jar deleted file mode 100644 index e3e8741..0000000 Binary files a/modules/resources/eu.esdihumboldt.util.resource.schemas.xplanung.de_2023.10.28.jar and /dev/null differ diff --git a/modules/resources/eu.esdihumboldt.util.resource.w3.org_2023.10.28.jar b/modules/resources/eu.esdihumboldt.util.resource.w3.org_2023.10.28.jar deleted file mode 100644 index bc5bd46..0000000 Binary files a/modules/resources/eu.esdihumboldt.util.resource.w3.org_2023.10.28.jar and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/inspire.gif b/modules/resources/inspire-fixup/icons/inspire.gif deleted file mode 100644 index 2bc7345..0000000 Binary files a/modules/resources/inspire-fixup/icons/inspire.gif and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_ac.png b/modules/resources/inspire-fixup/icons/themes/16_ac.png deleted file mode 100644 index bdee9bf..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_ac.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_ad.png b/modules/resources/inspire-fixup/icons/themes/16_ad.png deleted file mode 100644 index 7ab6e75..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_ad.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_af.png b/modules/resources/inspire-fixup/icons/themes/16_af.png deleted file mode 100644 index 5cde7f5..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_af.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_am.png b/modules/resources/inspire-fixup/icons/themes/16_am.png deleted file mode 100644 index 7a8874e..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_am.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_au.png b/modules/resources/inspire-fixup/icons/themes/16_au.png deleted file mode 100644 index 99d09c9..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_au.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_br.png b/modules/resources/inspire-fixup/icons/themes/16_br.png deleted file mode 100644 index 342666f..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_br.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_bu.png b/modules/resources/inspire-fixup/icons/themes/16_bu.png deleted file mode 100644 index 7a304dd..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_bu.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_cp.png b/modules/resources/inspire-fixup/icons/themes/16_cp.png deleted file mode 100644 index 1b83a9e..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_cp.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_ef.png b/modules/resources/inspire-fixup/icons/themes/16_ef.png deleted file mode 100644 index 28b7484..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_ef.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_el.png b/modules/resources/inspire-fixup/icons/themes/16_el.png deleted file mode 100644 index 6494e62..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_el.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_er.png b/modules/resources/inspire-fixup/icons/themes/16_er.png deleted file mode 100644 index 922f288..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_er.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_ge.png b/modules/resources/inspire-fixup/icons/themes/16_ge.png deleted file mode 100644 index 8cdd961..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_ge.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_gg.png b/modules/resources/inspire-fixup/icons/themes/16_gg.png deleted file mode 100644 index 9f82731..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_gg.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_gn.png b/modules/resources/inspire-fixup/icons/themes/16_gn.png deleted file mode 100644 index 22d9714..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_gn.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_hb.png b/modules/resources/inspire-fixup/icons/themes/16_hb.png deleted file mode 100644 index 9dd0373..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_hb.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_hh.png b/modules/resources/inspire-fixup/icons/themes/16_hh.png deleted file mode 100644 index 60d95c8..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_hh.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_hy.png b/modules/resources/inspire-fixup/icons/themes/16_hy.png deleted file mode 100644 index be8c5e9..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_hy.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_lc.png b/modules/resources/inspire-fixup/icons/themes/16_lc.png deleted file mode 100644 index 8b1bf7b..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_lc.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_lu.png b/modules/resources/inspire-fixup/icons/themes/16_lu.png deleted file mode 100644 index 464f50c..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_lu.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_mf.png b/modules/resources/inspire-fixup/icons/themes/16_mf.png deleted file mode 100644 index 3f4010c..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_mf.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_mr.png b/modules/resources/inspire-fixup/icons/themes/16_mr.png deleted file mode 100644 index c79efa8..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_mr.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_nz.png b/modules/resources/inspire-fixup/icons/themes/16_nz.png deleted file mode 100644 index 6d1aec5..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_nz.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_of.png b/modules/resources/inspire-fixup/icons/themes/16_of.png deleted file mode 100644 index c282bea..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_of.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_oi.png b/modules/resources/inspire-fixup/icons/themes/16_oi.png deleted file mode 100644 index 1ff55b5..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_oi.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_pd.png b/modules/resources/inspire-fixup/icons/themes/16_pd.png deleted file mode 100644 index 3465f22..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_pd.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_pf.png b/modules/resources/inspire-fixup/icons/themes/16_pf.png deleted file mode 100644 index 15d6c00..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_pf.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_ps.png b/modules/resources/inspire-fixup/icons/themes/16_ps.png deleted file mode 100644 index fe39fe0..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_ps.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_rs.png b/modules/resources/inspire-fixup/icons/themes/16_rs.png deleted file mode 100644 index 9bbb9e3..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_rs.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_sd.png b/modules/resources/inspire-fixup/icons/themes/16_sd.png deleted file mode 100644 index 86eaad4..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_sd.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_so.png b/modules/resources/inspire-fixup/icons/themes/16_so.png deleted file mode 100644 index 6454084..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_so.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_sr.png b/modules/resources/inspire-fixup/icons/themes/16_sr.png deleted file mode 100644 index 704ad4b..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_sr.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_su.png b/modules/resources/inspire-fixup/icons/themes/16_su.png deleted file mode 100644 index 89b0507..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_su.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_tn.png b/modules/resources/inspire-fixup/icons/themes/16_tn.png deleted file mode 100644 index c3bcedc..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_tn.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/16_us.png b/modules/resources/inspire-fixup/icons/themes/16_us.png deleted file mode 100644 index 14b47e0..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/16_us.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/ac.png b/modules/resources/inspire-fixup/icons/themes/ac.png deleted file mode 100644 index d594102..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/ac.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/ad.png b/modules/resources/inspire-fixup/icons/themes/ad.png deleted file mode 100644 index 492dacb..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/ad.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/af.png b/modules/resources/inspire-fixup/icons/themes/af.png deleted file mode 100644 index 6e35c7c..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/af.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/am.png b/modules/resources/inspire-fixup/icons/themes/am.png deleted file mode 100644 index 8afddba..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/am.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/au.png b/modules/resources/inspire-fixup/icons/themes/au.png deleted file mode 100644 index 09204db..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/au.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/br.png b/modules/resources/inspire-fixup/icons/themes/br.png deleted file mode 100644 index 754399a..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/br.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/bu.png b/modules/resources/inspire-fixup/icons/themes/bu.png deleted file mode 100644 index 698ab3d..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/bu.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/cp.png b/modules/resources/inspire-fixup/icons/themes/cp.png deleted file mode 100644 index 8ebdf7f..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/cp.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/ef.png b/modules/resources/inspire-fixup/icons/themes/ef.png deleted file mode 100644 index 4e99850..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/ef.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/el.png b/modules/resources/inspire-fixup/icons/themes/el.png deleted file mode 100644 index 5835ac7..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/el.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/er.png b/modules/resources/inspire-fixup/icons/themes/er.png deleted file mode 100644 index c68fb55..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/er.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/ge.png b/modules/resources/inspire-fixup/icons/themes/ge.png deleted file mode 100644 index d52464e..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/ge.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/gg.png b/modules/resources/inspire-fixup/icons/themes/gg.png deleted file mode 100644 index cd8a60e..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/gg.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/gn.png b/modules/resources/inspire-fixup/icons/themes/gn.png deleted file mode 100644 index ca63c98..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/gn.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/hb.png b/modules/resources/inspire-fixup/icons/themes/hb.png deleted file mode 100644 index 14fcf1f..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/hb.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/hh.png b/modules/resources/inspire-fixup/icons/themes/hh.png deleted file mode 100644 index 1212422..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/hh.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/hy.png b/modules/resources/inspire-fixup/icons/themes/hy.png deleted file mode 100644 index aca166d..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/hy.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/lc.png b/modules/resources/inspire-fixup/icons/themes/lc.png deleted file mode 100644 index 8b56e24..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/lc.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/lu.png b/modules/resources/inspire-fixup/icons/themes/lu.png deleted file mode 100644 index 940aaa4..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/lu.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/mf.png b/modules/resources/inspire-fixup/icons/themes/mf.png deleted file mode 100644 index 5ebd35c..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/mf.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/mr.png b/modules/resources/inspire-fixup/icons/themes/mr.png deleted file mode 100644 index e0cfdd8..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/mr.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/nz.png b/modules/resources/inspire-fixup/icons/themes/nz.png deleted file mode 100644 index 728e422..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/nz.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/of.png b/modules/resources/inspire-fixup/icons/themes/of.png deleted file mode 100644 index 8f39317..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/of.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/oi.png b/modules/resources/inspire-fixup/icons/themes/oi.png deleted file mode 100644 index aaeed2c..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/oi.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/pd.png b/modules/resources/inspire-fixup/icons/themes/pd.png deleted file mode 100644 index 4a962b4..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/pd.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/pf.png b/modules/resources/inspire-fixup/icons/themes/pf.png deleted file mode 100644 index 89805da..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/pf.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/ps.png b/modules/resources/inspire-fixup/icons/themes/ps.png deleted file mode 100644 index 5abad79..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/ps.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/rs.png b/modules/resources/inspire-fixup/icons/themes/rs.png deleted file mode 100644 index 0623478..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/rs.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/sd.png b/modules/resources/inspire-fixup/icons/themes/sd.png deleted file mode 100644 index eaf30d6..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/sd.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/so.png b/modules/resources/inspire-fixup/icons/themes/so.png deleted file mode 100644 index d88ce5b..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/so.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/sr.png b/modules/resources/inspire-fixup/icons/themes/sr.png deleted file mode 100644 index d11e0bc..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/sr.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/su.png b/modules/resources/inspire-fixup/icons/themes/su.png deleted file mode 100644 index 48fa7ea..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/su.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/tn.png b/modules/resources/inspire-fixup/icons/themes/tn.png deleted file mode 100644 index f16ecb4..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/tn.png and /dev/null differ diff --git a/modules/resources/inspire-fixup/icons/themes/us.png b/modules/resources/inspire-fixup/icons/themes/us.png deleted file mode 100644 index 29fc03e..0000000 Binary files a/modules/resources/inspire-fixup/icons/themes/us.png and /dev/null differ diff --git a/modules/resources/resources.gradle b/modules/resources/resources.gradle deleted file mode 100644 index 16d285a..0000000 --- a/modules/resources/resources.gradle +++ /dev/null @@ -1,13 +0,0 @@ -platform { - feature id: 'eu.esdihumboldt.hale.platform.resources', - name: 'Cached resources bundles (e.g. schemas)', { - // add resource bundle jars - // even include code list bundles as they should only be used as fall-back - bundle(fileTree(thisDir) { include '*.jar' }) { - bnd { - // prevent package exports - instruction 'Export-Package', '!*' - } - } - } -} diff --git a/modules/resources/settings.gradle b/modules/resources/settings.gradle deleted file mode 100644 index e69de29..0000000 diff --git a/modules/resources/xplanung-fixup/icons/xplanung.png b/modules/resources/xplanung-fixup/icons/xplanung.png deleted file mode 100644 index 88953d3..0000000 Binary files a/modules/resources/xplanung-fixup/icons/xplanung.png and /dev/null differ