maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Commented] (DOXIA-554) Parsing time for Markdown documents can take very long and hang site generation
Date Sun, 05 Mar 2017 00:00:47 GMT

    [ https://issues.apache.org/jira/browse/DOXIA-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15895955#comment-15895955
] 

Hervé Boutemy commented on DOXIA-554:
-------------------------------------

[~vsch] "JDK6 has reached EOL in 2012" = wrong info I often read, see slide #16 of http://events.linuxfoundation.org/sites/events/files/slides/ApacheConEU2015-Maven.pdf
for real info :)

Then Maven strategy is to support people who don't switch to latest Java versions as much
as possible, as reasonably as possible: Maven core changed Java prerequisite to Java 7 for
Maven 3.3 http://maven.apache.org/docs/history.html

We try to be consistent on Java and Maven core prerequisites: see https://lists.apache.org/thread.html/cd8f734c780d82ab3700a1568b28b02681dcb26ec2edf248065e4fa3@1425357923@%3Cdev.maven.apache.org%3E
for some work done a few years ago to really drop Maven 2.2.1 support

Then in general, we currently look for Maven 3.0 prerequisite, then Java 6: if possible, this
is where we stand. If we have a good reason for having other prerequisites, we must share
them and do the job: our convention is not a jail, exceptions just have to be thought and
documented

> Parsing time for Markdown documents can take very long and hang site generation
> -------------------------------------------------------------------------------
>
>                 Key: DOXIA-554
>                 URL: https://issues.apache.org/jira/browse/DOXIA-554
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Markdown
>    Affects Versions: 1.7
>            Reporter: Michael Benz
>         Attachments: maven-pom-sample-pegdown-performance.zip
>
>
> The parsing time for Markdown documents can take very long and hang site generation when
e.g. long tables are being generated.
> The author of pegdown has marked the pegdown project deprecated since 2016-12-14 [pegdown.org|https://github.com/sirthias/pegdown/]
and advises to switch to [flexmark-java|https://github.com/vsch/flexmark-java].
> {quote}
> The project is essentially unmaintained with tickets piling up and crucial bugs not being
fixed.
> pegdown's parsing performance isn't great. In some cases of pathological input runtime
can even become exponential, which means that the parser either appears to "hang" completely
or abort processing after a time-out.
> {quote}
> Since the parsing timeout was increased in DOXIA-498 it is now possible to "hang" the
site creation with a longer table like the one in this example.
> In case this sample is rendered using version 3.3 of the maven site



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message