diff --git a/README.md b/README.md index d327f2c..0f05e0a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ PRONOM ====== -At present this repository only holds Maven build configuration for creating Maven artifacts for both the PRONOM Signature File and Conatiner Signature File. +This repository only holds Maven build configuration for creating Maven +artifacts for both the PRONOM Signature File and Container Signature File. The +signature file versions need to be specified in the respective pom files; the +files are automatically downloaded for the National Archives web site, license +information inserted, and then assembled in a zip file. -These artifacts are published to Maven Central - http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22uk.gov.nationalarchives.pronom%22 \ No newline at end of file +These artifacts are published to Maven Central - http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22uk.gov.nationalarchives.pronom%22 diff --git a/pronom-container-signature-file/pom.xml b/pronom-container-signature-file/pom.xml index c24233f..d5e16a0 100644 --- a/pronom-container-signature-file/pom.xml +++ b/pronom-container-signature-file/pom.xml @@ -13,7 +13,7 @@ jar - 20131112-SNAPSHOT + 20150218 ${project.artifactId} @@ -38,7 +38,7 @@ download-single - http://www.nationalarchives.gov.uk/pronom + http://apps.nationalarchives.gov.uk/pronom container-signature.xml ${project.build.directory}/generated-resources/wagon/container-signature-file.xml @@ -61,6 +61,12 @@ ${project.build.directory}/generated-resources/wagon ${project.basedir}/../pronom-parent/add-licence.xslt + + + version + ${signature.version} + + @@ -79,4 +85,4 @@ - \ No newline at end of file + diff --git a/pronom-parent/add-licence.xslt b/pronom-parent/add-licence.xslt index fc22fc2..edf0b80 100644 --- a/pronom-parent/add-licence.xslt +++ b/pronom-parent/add-licence.xslt @@ -4,10 +4,15 @@ version="2.0"> - + + - - + + + Signature file version: + + + diff --git a/pronom-parent/pom.xml b/pronom-parent/pom.xml index dabf320..8148eae 100644 --- a/pronom-parent/pom.xml +++ b/pronom-parent/pom.xml @@ -50,12 +50,12 @@ - + org.codehaus.mojo versions-maven-plugin 1.3.1 - + org.apache.maven.plugins maven-resources-plugin diff --git a/pronom-signature-file/pom.xml b/pronom-signature-file/pom.xml index c5e911e..c0dcf0d 100644 --- a/pronom-signature-file/pom.xml +++ b/pronom-signature-file/pom.xml @@ -13,8 +13,7 @@ jar - - 72-SNAPSHOT + 81 ${project.artifactId} @@ -40,7 +39,7 @@ http://nationalarchives.gov.uk/documents - DROID_SignatureFile_V${project.version}.xml + DROID_SignatureFile_V${signature.version}.xml ${project.build.directory}/generated-resources/wagon/signature-file.xml diff --git a/pronom-signature-files/pom.xml b/pronom-signature-files/pom.xml index 13727d5..a959a90 100644 --- a/pronom-signature-files/pom.xml +++ b/pronom-signature-files/pom.xml @@ -14,25 +14,23 @@ jar pronom-signature-files - http://maven.apache.org UTF-8 - ${project.groupId} pronom-signature-file - 0 - runtime + ${project.version} + runtime ${project.groupId} pronom-container-signature-file - 0 - runtime + ${project.version} + runtime diff --git a/pronom-signature-files/src/main/assembly/zipped-output.xml b/pronom-signature-files/src/main/assembly/zipped-output.xml index c59b79d..eb4cf0b 100644 --- a/pronom-signature-files/src/main/assembly/zipped-output.xml +++ b/pronom-signature-files/src/main/assembly/zipped-output.xml @@ -5,12 +5,13 @@ zip + false / - true + false true runtime