diff --git a/peppol-codelist-tools/src/main/java/eu/peppol/codelist/main/MainProcessExcel_v7_2.java b/peppol-codelist-tools/src/main/java/eu/peppol/codelist/main/MainProcessExcel_v7_2.java index c7be0ad..38f9f9d 100644 --- a/peppol-codelist-tools/src/main/java/eu/peppol/codelist/main/MainProcessExcel_v7_2.java +++ b/peppol-codelist-tools/src/main/java/eu/peppol/codelist/main/MainProcessExcel_v7_2.java @@ -15,6 +15,9 @@ */ package eu.peppol.codelist.main; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + import eu.peppol.codelist.ConvertV7_2; /** @@ -24,8 +27,12 @@ */ public final class MainProcessExcel_v7_2 { + private static final Logger LOGGER = LoggerFactory.getLogger (MainProcessExcel_v7_2.class); + public static void main (final String [] args) throws Exception { new ConvertV7_2 ().run (); + LOGGER.info ("Now run 'mvn license:format' on this project"); + LOGGER.info ("Than copy the output from 'ceated-codelists/vX.Y' to the respective 'publication/vX.Y' folder in the parent project"); } } diff --git a/peppol-codelist-tools/src/test/java/eu/peppol/codelist/jaxb/ConvertV7_1ResultFuncTest.java b/peppol-codelist-tools/src/test/java/eu/peppol/codelist/jaxb/ConvertV7_2ResultFuncTest.java similarity index 79% rename from peppol-codelist-tools/src/test/java/eu/peppol/codelist/jaxb/ConvertV7_1ResultFuncTest.java rename to peppol-codelist-tools/src/test/java/eu/peppol/codelist/jaxb/ConvertV7_2ResultFuncTest.java index 6dd384e..0d96c4c 100644 --- a/peppol-codelist-tools/src/test/java/eu/peppol/codelist/jaxb/ConvertV7_1ResultFuncTest.java +++ b/peppol-codelist-tools/src/test/java/eu/peppol/codelist/jaxb/ConvertV7_2ResultFuncTest.java @@ -22,25 +22,25 @@ import org.junit.Test; -import eu.peppol.codelist.ConvertV7_1; +import eu.peppol.codelist.ConvertV7_2; import eu.peppol.codelist.model.DocTypeRow; import eu.peppol.codelist.model.ParticipantIdentifierSchemeRow; import eu.peppol.codelist.model.ProcessRow; import eu.peppol.codelist.model.TransportProfileRow; /** - * Check if the create lists match the XSD. + * Check if the created lists match the XSD. * * @author Philip Helger */ -public final class ConvertV7_1ResultFuncTest +public final class ConvertV7_2ResultFuncTest { @Test public void testReadDocTypes () { final DocumentTypeCodeListMarshaller m = new DocumentTypeCodeListMarshaller (); - final File f = new File (ConvertV7_1.DESTINATION_BASE_PATH, - DocTypeRow.CODE_LIST_NAME + ConvertV7_1.DESTINATION_FILENAME_SUFFIX + ".xml"); + final File f = new File (ConvertV7_2.DESTINATION_BASE_PATH, + DocTypeRow.CODE_LIST_NAME + ConvertV7_2.DESTINATION_FILENAME_SUFFIX + ".xml"); assertTrue (f.exists ()); final DocumentTypesType aList = m.read (f); assertNotNull (aList); @@ -50,8 +50,8 @@ public void testReadDocTypes () public void testReadParticipantIdentifierSchemes () { final ParticipantIdentifierSchemeCodeListMarshaller m = new ParticipantIdentifierSchemeCodeListMarshaller (); - final File f = new File (ConvertV7_1.DESTINATION_BASE_PATH, - ParticipantIdentifierSchemeRow.CODE_LIST_NAME + ConvertV7_1.DESTINATION_FILENAME_SUFFIX + ".xml"); + final File f = new File (ConvertV7_2.DESTINATION_BASE_PATH, + ParticipantIdentifierSchemeRow.CODE_LIST_NAME + ConvertV7_2.DESTINATION_FILENAME_SUFFIX + ".xml"); assertTrue (f.exists ()); final ParticipantIdentifierSchemesType aList = m.read (f); assertNotNull (aList); @@ -61,8 +61,8 @@ public void testReadParticipantIdentifierSchemes () public void testReadProcesses () { final ProcessCodeListMarshaller m = new ProcessCodeListMarshaller (); - final File f = new File (ConvertV7_1.DESTINATION_BASE_PATH, - ProcessRow.CODE_LIST_NAME + ConvertV7_1.DESTINATION_FILENAME_SUFFIX + ".xml"); + final File f = new File (ConvertV7_2.DESTINATION_BASE_PATH, + ProcessRow.CODE_LIST_NAME + ConvertV7_2.DESTINATION_FILENAME_SUFFIX + ".xml"); assertTrue (f.exists ()); final ProcessesType aList = m.read (f); assertNotNull (aList); @@ -72,8 +72,8 @@ public void testReadProcesses () public void testReadTransportProfiles () { final TransportProfileCodeListMarshaller m = new TransportProfileCodeListMarshaller (); - final File f = new File (ConvertV7_1.DESTINATION_BASE_PATH, - TransportProfileRow.CODE_LIST_NAME + ConvertV7_1.DESTINATION_FILENAME_SUFFIX + ".xml"); + final File f = new File (ConvertV7_2.DESTINATION_BASE_PATH, + TransportProfileRow.CODE_LIST_NAME + ConvertV7_2.DESTINATION_FILENAME_SUFFIX + ".xml"); assertTrue (f.exists ()); final TransportProfilesType aList = m.read (f); assertNotNull (aList);