[ https://issues.apache.org/jira/browse/COMMONSSITE-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865527#comment-16865527 ]
Alex D Herbert commented on COMMONSSITE-100: -------------------------------------------- I ran {{mvn -X -e clean site}}. The final statement before it blows up is: {noformat} [DEBUG] Reading site descriptor from /home/ah403/git/commons-math/src/site/site.xml ... Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...thjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">... @86:122) {noformat} So looking at the difference between commons-math and commons-rng (where this works) is that the site.xml uses a CDATA tag around the mathjax script in commons-rng: {noformat} <head> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script> </head> {noformat} verses: {noformat} <head> <![CDATA[<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>]]> </head> {noformat} This is the documented way to [inject xhtml into <head>|https://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html#Inject_xhtml_into_.3Chead.3E] since version 3.5. This corresponds to the problem starting with commons parent 43 which changed 3.4 -> 3.6. I've pushed a commit to add this change to commons-math. Strangely even though the site now builds the mathjax script does not appear in the <head> tag of the generated pages. This used to happen as the live website for 3.6.1 [http://commons.apache.org/proper/commons-math/] contains the mathjax sccript. But my local site build for CM4 does not. > "mvn site" fails with commons-parent 43 > --------------------------------------- > > Key: COMMONSSITE-100 > URL: https://issues.apache.org/jira/browse/COMMONSSITE-100 > Project: Commons All > Issue Type: Bug > Components: Commons Parent Pom > Reporter: Gilles > Priority: Major > > See [this post|http://markmail.org/message/zgfb5h774aigatx2]. -- This message was sent by Atlassian JIRA (v7.6.3#76005)