ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Vinogradov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-4770) Script inside javadoc bottom cause compilation error at 1.8.0_121-b13
Date Thu, 02 Mar 2017 12:23:46 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anton Vinogradov updated IGNITE-4770:
-------------------------------------
    Description: 
Problem:
parent/pom.xml:455 contains following:

{noformat}
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document,
'script', 'twitter-wjs');</script>
{noformat}

this script generates "Follow us" at the bottom of the incubator-ignite/target/javadoc/core/index.html.


this cause compilation error during
{noformat}
mvn clean package -DskipTests
{noformat}

error
{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:jar (module-javadoc)
on project ignite-tools: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - javadoc: error - Argument for -bottom contains JavaScript.
[ERROR] Use --allow-script-in-comments to allow use of JavaScript.
{noformat}

addition of "--allow-script-in-comments"
cause compilation issues on any JDK8 before 1.8.0_121-b13
{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:
maven-javadoc-plugin:2.10.1:jar (module-javadoc) on project ignite-tools:
MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - javadoc: error - invalid flag:
--allow-script-in-comments
{noformat}

Solution:
Need to keep button at the bottom of the page, but fix compilation errors.

  was:
Problem:
parent/pom.xml:455 contains following:

{noformat}
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document,
'script', 'twitter-wjs');</script>
{noformat}

this script generates "Follow us" at the bottom of the incubator-ignite/target/javadoc/core/index.html.


this cause compilation error during
{noformat}
mvn clean package -DskipTests
{noformat}

error
{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:jar (module-javadoc)
on project ignite-tools: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - javadoc: error - Argument for -bottom contains JavaScript.
[ERROR] Use --allow-script-in-comments to allow use of JavaScript.
{noformat}

Solution:
Need to keep button at the bottom of the page, but fix compilation errors.


> Script inside javadoc bottom cause compilation error at 1.8.0_121-b13
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-4770
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4770
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Anton Vinogradov
>            Assignee: Vyacheslav Daradur
>             Fix For: 2.0
>
>
> Problem:
> parent/pom.xml:455 contains following:
> {noformat}
> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document,
'script', 'twitter-wjs');</script>
> {noformat}
> this script generates "Follow us" at the bottom of the incubator-ignite/target/javadoc/core/index.html.

> this cause compilation error during
> {noformat}
> mvn clean package -DskipTests
> {noformat}
> error
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:jar
(module-javadoc) on project ignite-tools: MavenReportException: Error while creating archive:
> [ERROR] Exit code: 1 - javadoc: error - Argument for -bottom contains JavaScript.
> [ERROR] Use --allow-script-in-comments to allow use of JavaScript.
> {noformat}
> addition of "--allow-script-in-comments"
> cause compilation issues on any JDK8 before 1.8.0_121-b13
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-javadoc-plugin:2.10.1:jar (module-javadoc) on project ignite-tools:
> MavenReportException: Error while creating archive:
> [ERROR] Exit code: 1 - javadoc: error - invalid flag:
> --allow-script-in-comments
> {noformat}
> Solution:
> Need to keep button at the bottom of the page, but fix compilation errors.



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

Mime
View raw message