Skip to content

Commit

Permalink
[DOXIA-684] avoid flexmark-all: declare used extensions only
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Dec 28, 2022
1 parent bfee281 commit 539428b
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 9 deletions.
61 changes: 52 additions & 9 deletions doxia-modules/doxia-module-markdown/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,62 @@ under the License.
</contributor>
</contributors>

<properties>
<flexmarkVersion>0.42.14</flexmarkVersion>
</properties>

<dependencies>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-all</artifactId>
<version>0.42.14</version>
<exclusions>
<!-- exclude to PDF converter -->
<exclusion>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-pdf-converter</artifactId>
</exclusion>
</exclusions>
<artifactId>flexmark</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-util</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-ext-abbreviation</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-ext-autolink</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-ext-definition</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-ext-escaped-character</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-ext-gfm-strikethrough</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-ext-tables</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-ext-typographic</artifactId>
<version>${flexmarkVersion}</version>
</dependency>
<dependency>
<groupId>com.vladsch.flexmark</groupId>
<artifactId>flexmark-ext-wikilink</artifactId>
<version>${flexmarkVersion}</version>
</dependency>

<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-xhtml</artifactId>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ under the License.
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.15</version>
<configuration>
<excludes combine.children="append">
<exclude>src/test/resources/**/*.apt</exclude>
Expand Down

0 comments on commit 539428b

Please sign in to comment.