[
https://issues.apache.org/jira/browse/TEZ-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
László Bodor updated TEZ-4314:
------------------------------
Description:
{code}
mvn site
{code}
command failed for me with various errors, which I fixed as below:
{code}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on project
tez-docs: failed to get report for
org.apache.maven.plugins:maven-project-info-reports-plugin: Could not find goal
'project-team' in plugin
org.apache.maven.plugins:maven-project-info-reports-plugin:3.0.0 among
available goals ci-management, dependencies, dependency-convergence,
dependency-info, dependency-management, distribution-management, help, index,
issue-management, licenses, mailing-lists, modules, plugin-management, plugins,
scm, summary, team -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :tez-docs
{code}
1. maven-site-plugin
3.x doesn't like some html elements within XML, instead of CDATA and other
hacks, I fixed with an old plugin version to pass for now
error was like:
{code}
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
...</script>\n End of Google analytics -->\n <style>... @76:15)
{code}
2. maven-project-info-reports-plugin
changed to the latest version 3.1.2 and changed report names as described here:
https://maven.apache.org/plugins/maven-project-info-reports-plugin/
was:
{code}
mvn site
{code}
command failed for me with various errors, which I fixed as below:
1. maven-site-plugin
3.x doesn't like some html elements within XML, instead of CDATA and other
hacks, I fixed with an old plugin version to pass for now
error was like:
{code}
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
...</script>\n End of Google analytics -->\n <style>... @76:15)
{code}
2. maven-project-info-reports-plugin
changed to the latest version 3.1.2 and changed report names as described here:
https://maven.apache.org/plugins/maven-project-info-reports-plugin/
> Fix some plugin versions in site generation
> -------------------------------------------
>
> Key: TEZ-4314
> URL: https://issues.apache.org/jira/browse/TEZ-4314
> Project: Apache Tez
> Issue Type: Bug
> Reporter: László Bodor
> Assignee: László Bodor
> Priority: Major
>
> {code}
> mvn site
> {code}
> command failed for me with various errors, which I fixed as below:
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.7.1:site (default-site) on
> project tez-docs: failed to get report for
> org.apache.maven.plugins:maven-project-info-reports-plugin: Could not find
> goal 'project-team' in plugin
> org.apache.maven.plugins:maven-project-info-reports-plugin:3.0.0 among
> available goals ci-management, dependencies, dependency-convergence,
> dependency-info, dependency-management, distribution-management, help, index,
> issue-management, licenses, mailing-lists, modules, plugin-management,
> plugins, scm, summary, team -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <args> -rf :tez-docs
> {code}
> 1. maven-site-plugin
> 3.x doesn't like some html elements within XML, instead of CDATA and other
> hacks, I fixed with an old plugin version to pass for now
> error was like:
> {code}
> 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 ...</script>\n End of Google analytics -->\n
> <style>... @76:15)
> {code}
> 2. maven-project-info-reports-plugin
> changed to the latest version 3.1.2 and changed report names as described
> here: https://maven.apache.org/plugins/maven-project-info-reports-plugin/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)