kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
62 stars 63 forks source link

Replace web files with local ones #4962

Open matthias-ronge opened 2 years ago

matthias-ronge commented 2 years ago

Description

The Production building process downloads files from the Internet, namely from the Library of Congress, to generate Java files from them. Whenever the LOC's server is unavailable, building Production is not possible. I don't want to think what would happen if these files were unexpectedly completely changed or never available again.

 [INFO] Kitodo - Data Format ............................... FAILURE [  2.098 s]

Error:  Failed to execute goal com.googlecode.maven-download-plugin:download-
maven-plugin:1.3.0:wget (mets) on project kitodo-data-format: IO Error: Could
not get content -> [Help 1]

Regarding the question of what license the generated files are under: This post explains very rationally that the generated Java files should have the same license as the source files. The source files are a public standard, with no explicit mention of a license. So, IMHO, the generated files should refer to the source URL, and shouldn't name a license either.

To do

Estimated Costs and Complexity

This is a low-ranged project with 2 PT.

henning-gerhardt commented 2 years ago

This would not be a issue, if this code (as is this is already a maven module) would be in a separate repository, rebuilded only on changes and included as as regular maven based dependency.