From c5058481b6fe82f6ead511b924f61202c3b00a20 Mon Sep 17 00:00:00 2001 From: Abel Salgado Romero Date: Sat, 13 Jan 2024 17:28:30 +0100 Subject: [PATCH] WIP: manual rebase --- asciidoctor-converter-doxia-module/pom.xml | 55 +----------------- asciidoctor-parser-doxia-module/pom.xml | 56 ++----------------- .../src/it/maven-site-plugin/pom.xml | 2 +- .../it/maven-site-plugin/src/site/site.xml | 2 +- .../src/it/maven-site-plugin/validate.groovy | 2 +- .../OrderedListNodeProcessorTest.java | 10 ++-- pom.xml | 3 +- 7 files changed, 17 insertions(+), 113 deletions(-) diff --git a/asciidoctor-converter-doxia-module/pom.xml b/asciidoctor-converter-doxia-module/pom.xml index aab6077b..3f8a3976 100644 --- a/asciidoctor-converter-doxia-module/pom.xml +++ b/asciidoctor-converter-doxia-module/pom.xml @@ -17,12 +17,6 @@ Asciidoctor Doxia Parser based on Asciidoctor Html converter (for Maven Site integration) https://github.com/asciidoctor/asciidoctor-maven-plugin - - 2.0.0-M8 - 4.3.0 - 2.1.1 - - org.asciidoctor @@ -42,7 +36,7 @@ org.apache.maven maven-core - ${maven.project.version} + ${maven.version} provided @@ -53,7 +47,7 @@ org.apache.maven.doxia doxia-site-renderer - ${doxia.version} + ${doxia-site-renderer.version} test @@ -63,7 +57,7 @@ org.codehaus.plexus plexus-component-metadata - ${plexus.component.metadata.version} + ${plexus-component-metadata.version} @@ -75,51 +69,8 @@ org.eluder.coveralls coveralls-maven-plugin - ${maven.coveralls.plugin.version} - - - jakarta.xml.bind - jakarta.xml.bind-api - 2.3.3 - - - org.glassfish.jaxb - jaxb-runtime - 2.3.3 - - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.codehaus.plexus - plexus-component-metadata - [${plexus.component.metadata.version},) - - generate-metadata - - - - - - - - - - - - diff --git a/asciidoctor-parser-doxia-module/pom.xml b/asciidoctor-parser-doxia-module/pom.xml index a317851d..ce45159e 100644 --- a/asciidoctor-parser-doxia-module/pom.xml +++ b/asciidoctor-parser-doxia-module/pom.xml @@ -15,12 +15,7 @@ Asciidoctor Parser Doxia Module Asciidoctor Doxia Module based on Asciidoctor AST processing (for Maven Site integration) - - - 2.0.0-M6 - 4.3.0 - 2.1.1 - + https://github.com/asciidoctor/asciidoctor-maven-plugin @@ -41,7 +36,7 @@ org.apache.maven maven-core - ${maven.project.version} + ${maven.version} provided @@ -57,7 +52,7 @@ org.apache.maven.doxia doxia-site-renderer - ${doxia.version} + ${doxia-site-renderer.version} test @@ -67,7 +62,7 @@ org.codehaus.plexus plexus-component-metadata - ${plexus.component.metadata.version} + ${plexus-component-metadata.version} @@ -79,51 +74,8 @@ org.eluder.coveralls coveralls-maven-plugin - ${maven.coveralls.plugin.version} - - - jakarta.xml.bind - jakarta.xml.bind-api - 2.3.3 - - - org.glassfish.jaxb - jaxb-runtime - 2.3.3 - - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.codehaus.plexus - plexus-component-metadata - [${plexus.component.metadata.version},) - - generate-metadata - - - - - - - - - - - - diff --git a/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/pom.xml b/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/pom.xml index 29c78e0c..025e5409 100644 --- a/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/pom.xml +++ b/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/pom.xml @@ -23,7 +23,7 @@ org.apache.maven.plugins maven-site-plugin - 4.0.0-M8 + 4.0.0-M13 ${project.basedir}/src/site/asciidoc diff --git a/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/src/site/site.xml b/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/src/site/site.xml index 55fcb658..d03ea814 100644 --- a/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/src/site/site.xml +++ b/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/src/site/site.xml @@ -9,6 +9,6 @@ org.apache.maven.skins maven-fluido-skin - 2.0.0-M6 + 2.0.0-M8 diff --git a/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/validate.groovy b/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/validate.groovy index 940a4582..9c66ce92 100644 --- a/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/validate.groovy +++ b/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/validate.groovy @@ -127,7 +127,7 @@ class HtmlAsserter { } void containsOrderedList(String... values) { - def found = find("
  1. ${values.join('
  2. ')}
") + def found = find("
  1. ${values.join('
  2. ')}
") assertFound("Ordered list", values.join(','), found) } diff --git a/asciidoctor-parser-doxia-module/src/test/java/org/asciidoctor/maven/site/ast/processors/OrderedListNodeProcessorTest.java b/asciidoctor-parser-doxia-module/src/test/java/org/asciidoctor/maven/site/ast/processors/OrderedListNodeProcessorTest.java index 6fb7687f..d97ba86b 100644 --- a/asciidoctor-parser-doxia-module/src/test/java/org/asciidoctor/maven/site/ast/processors/OrderedListNodeProcessorTest.java +++ b/asciidoctor-parser-doxia-module/src/test/java/org/asciidoctor/maven/site/ast/processors/OrderedListNodeProcessorTest.java @@ -39,7 +39,7 @@ void should_convert_simple_list() { String html = process(content); assertThat(html) - .isEqualTo("
    " + + .isEqualTo("
      " + "
    1. ordered item 1
    2. " + "
    3. ordered item 2
    "); } @@ -51,15 +51,15 @@ void should_convert_nested_list() { String html = process(content); assertThat(html) - .isEqualTo("
      " + + .isEqualTo("
        " + "
      1. ordered item 1" + - "
          " + + "
            " + "
          1. ordered item 1 1
          " + "
        1. ordered item 1 2
        2. " + "
        3. ordered item 2" + - "
            " + + "
              " + "
            1. ordered item 2 1" + - "
                " + + "
                  " + "
                1. ordered item 2 1 1
            "); } diff --git a/pom.xml b/pom.xml index dfa74243..34d9b64e 100644 --- a/pom.xml +++ b/pom.xml @@ -72,7 +72,8 @@ UTF-8 11 3.9.6 - 1.12.0 + 2.0.0-M7 + 2.0.0-M6 2.2.0 2.5.11 9.4.5.0