[JBoss JIRA] (WFLY-13908) quickstart - wildfly-checkstyle-config update to 1.0.8.Final
by Richard Chan (Jira)
[ https://issues.redhat.com/browse/WFLY-13908?page=com.atlassian.jira.plugi... ]
Richard Chan updated WFLY-13908:
--------------------------------
Description:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
# edit parent pom and update checkstyle 8.5 -> 8.35
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
# edit parent pom and update wildfly-checkstyle-config 1.0.7.Final -> 1.0.8.Final
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
Software versions:
* OS: Fedora 32, JDK 11.0.8
* Eclipse 2020-09
* JBoss Tools 4.17AM1
* Checkstyle configuration plugin for M2Eclipse 1.1.4.201906210825-r
* Eclipse Checkstyle Plug-in 8.35.0.202008141925
was:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
# edit parent pom and update checkstyle 8.5 -> 8.35
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
# edit parent pom and update wildfly-checkstyle-config 1.0.7.Final -> 1.0.8.Final
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
Software versions:
* OS: Fedora 32, JDK 11.0.8
* Eclipse 2020-09
* JBoss Tools 4.17AM1
> quickstart - wildfly-checkstyle-config update to 1.0.8.Final
> ------------------------------------------------------------
>
> Key: WFLY-13908
> URL: https://issues.redhat.com/browse/WFLY-13908
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 21.0.0.Beta1
> Reporter: Richard Chan
> Assignee: Eduardo Martins
> Priority: Trivial
>
> Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
> This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
>
> Summary:
> * pom.xml works in maven CLI
> * Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
>
> In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
> {code:java}
> # edit parent pom and update checkstyle 8.5 -> 8.35
> $ mvn clean checkstyle:checkstyle
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
> {code}
>
> Update parent pom to use 1.0.8.Final gives a clean goal:
> {code:java}
> # edit parent pom and update wildfly-checkstyle-config 1.0.7.Final -> 1.0.8.Final
> $ mvn clean checkstyle:checkstyle
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
> [INFO] Building Quickstart: helloworld 20.0.1.Final
> [INFO] --------------------------------[ war ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
> [INFO] Deleting /home/vagrant/quickstart/helloworld/target
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
> [INFO] Starting audit...
> Audit done.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.529 s
> [INFO] Finished at: 2020-09-26T10:11:57+08:00
> [INFO] ------------------------------------------------------------------------
> {code}
>
> Software versions:
> * OS: Fedora 32, JDK 11.0.8
> * Eclipse 2020-09
> * JBoss Tools 4.17AM1
> * Checkstyle configuration plugin for M2Eclipse 1.1.4.201906210825-r
> * Eclipse Checkstyle Plug-in 8.35.0.202008141925
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (WFLY-13908) quickstart - wildfly-checkstyle-config update to 1.0.8.Final
by Richard Chan (Jira)
[ https://issues.redhat.com/browse/WFLY-13908?page=com.atlassian.jira.plugi... ]
Richard Chan updated WFLY-13908:
--------------------------------
Description:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
# edit parent pom and update checkstyle 8.5 -> 8.35
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
# edit parent pom and update wildfly-checkstyle-config 1.0.7.Final -> 1.0.8.Final
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
Software versions:
* OS: Fedora 32, JDK 11.0.8
* Eclipse 2020-09
* JBoss Tools 4.17AM1
was:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
# edit parent pom and update checkstyle 8.5 -> 8.35
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
# edit parent pom and update wildfly-checkstyle-config 1.0.7.Final -> 1.0.8.Final
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
> quickstart - wildfly-checkstyle-config update to 1.0.8.Final
> ------------------------------------------------------------
>
> Key: WFLY-13908
> URL: https://issues.redhat.com/browse/WFLY-13908
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 21.0.0.Beta1
> Reporter: Richard Chan
> Assignee: Eduardo Martins
> Priority: Trivial
>
> Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
> This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
>
> Summary:
> * pom.xml works in maven CLI
> * Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
>
> In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
> {code:java}
> # edit parent pom and update checkstyle 8.5 -> 8.35
> $ mvn clean checkstyle:checkstyle
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
> {code}
>
> Update parent pom to use 1.0.8.Final gives a clean goal:
> {code:java}
> # edit parent pom and update wildfly-checkstyle-config 1.0.7.Final -> 1.0.8.Final
> $ mvn clean checkstyle:checkstyle
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
> [INFO] Building Quickstart: helloworld 20.0.1.Final
> [INFO] --------------------------------[ war ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
> [INFO] Deleting /home/vagrant/quickstart/helloworld/target
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
> [INFO] Starting audit...
> Audit done.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.529 s
> [INFO] Finished at: 2020-09-26T10:11:57+08:00
> [INFO] ------------------------------------------------------------------------
> {code}
>
> Software versions:
> * OS: Fedora 32, JDK 11.0.8
> * Eclipse 2020-09
> * JBoss Tools 4.17AM1
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (WFLY-13908) quickstart - wildfly-checkstyle-config update to 1.0.8.Final
by Richard Chan (Jira)
[ https://issues.redhat.com/browse/WFLY-13908?page=com.atlassian.jira.plugi... ]
Richard Chan updated WFLY-13908:
--------------------------------
Description:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
# edit parent pom and update checkstyle 8.5 -> 8.35
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
# edit parent pom and update wildfly-checkstyle-config 1.0.7.Final -> 1.0.8.Final
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
was:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
# edit parent pom and update checkstyle 8.5 -> 8.35
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
# edit parent pom and update wildflyecheckstyle-config 1.0.7.Final -> 1.0.8.Final
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
> quickstart - wildfly-checkstyle-config update to 1.0.8.Final
> ------------------------------------------------------------
>
> Key: WFLY-13908
> URL: https://issues.redhat.com/browse/WFLY-13908
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 21.0.0.Beta1
> Reporter: Richard Chan
> Assignee: Eduardo Martins
> Priority: Trivial
>
> Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
> This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
>
> Summary:
> * pom.xml works in maven CLI
> * Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
>
> In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
> {code:java}
> # edit parent pom and update checkstyle 8.5 -> 8.35
> $ mvn clean checkstyle:checkstyle
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
> {code}
>
> Update parent pom to use 1.0.8.Final gives a clean goal:
> {code:java}
> # edit parent pom and update wildfly-checkstyle-config 1.0.7.Final -> 1.0.8.Final
> $ mvn clean checkstyle:checkstyle
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
> [INFO] Building Quickstart: helloworld 20.0.1.Final
> [INFO] --------------------------------[ war ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
> [INFO] Deleting /home/vagrant/quickstart/helloworld/target
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
> [INFO] Starting audit...
> Audit done.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.529 s
> [INFO] Finished at: 2020-09-26T10:11:57+08:00
> [INFO] ------------------------------------------------------------------------
> {code}
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (WFLY-13908) quickstart - wildfly-checkstyle-config update to 1.0.8.Final
by Richard Chan (Jira)
[ https://issues.redhat.com/browse/WFLY-13908?page=com.atlassian.jira.plugi... ]
Richard Chan updated WFLY-13908:
--------------------------------
Description:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
# edit parent pom and update checkstyle 8.5 -> 8.35
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
# edit parent pom and update wildflyecheckstyle-config 1.0.7.Final -> 1.0.8.Final
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
was:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
# edit parent pom and update checkstyle 8.5 -> 8.35
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
> quickstart - wildfly-checkstyle-config update to 1.0.8.Final
> ------------------------------------------------------------
>
> Key: WFLY-13908
> URL: https://issues.redhat.com/browse/WFLY-13908
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 21.0.0.Beta1
> Reporter: Richard Chan
> Assignee: Eduardo Martins
> Priority: Trivial
>
> Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
> This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
>
> Summary:
> * pom.xml works in maven CLI
> * Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
>
> In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
> {code:java}
> # edit parent pom and update checkstyle 8.5 -> 8.35
> $ mvn clean checkstyle:checkstyle
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
> {code}
>
> Update parent pom to use 1.0.8.Final gives a clean goal:
> {code:java}
> # edit parent pom and update wildflyecheckstyle-config 1.0.7.Final -> 1.0.8.Final
> $ mvn clean checkstyle:checkstyle
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
> [INFO] Building Quickstart: helloworld 20.0.1.Final
> [INFO] --------------------------------[ war ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
> [INFO] Deleting /home/vagrant/quickstart/helloworld/target
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
> [INFO] Starting audit...
> Audit done.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.529 s
> [INFO] Finished at: 2020-09-26T10:11:57+08:00
> [INFO] ------------------------------------------------------------------------
> {code}
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (WFLY-13908) quickstart - wildfly-checkstyle-config update to 1.0.8.Final
by Richard Chan (Jira)
[ https://issues.redhat.com/browse/WFLY-13908?page=com.atlassian.jira.plugi... ]
Richard Chan updated WFLY-13908:
--------------------------------
Description:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
# edit parent pom and update checkstyle 8.5 -> 8.35
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
was:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
> quickstart - wildfly-checkstyle-config update to 1.0.8.Final
> ------------------------------------------------------------
>
> Key: WFLY-13908
> URL: https://issues.redhat.com/browse/WFLY-13908
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 21.0.0.Beta1
> Reporter: Richard Chan
> Assignee: Eduardo Martins
> Priority: Trivial
>
> Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
> This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
>
> Summary:
> * pom.xml works in maven CLI
> * Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
>
> In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
> {code:java}
> # edit parent pom and update checkstyle 8.5 -> 8.35
> $ mvn clean checkstyle:checkstyle
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
> {code}
>
> Update parent pom to use 1.0.8.Final gives a clean goal:
> {code:java}
> $ mvn clean checkstyle:checkstyle
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
> [INFO] Building Quickstart: helloworld 20.0.1.Final
> [INFO] --------------------------------[ war ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
> [INFO] Deleting /home/vagrant/quickstart/helloworld/target
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
> [INFO] Starting audit...
> Audit done.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.529 s
> [INFO] Finished at: 2020-09-26T10:11:57+08:00
> [INFO] ------------------------------------------------------------------------
> {code}
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (WFLY-13908) quickstart - wildfly-checkstyle-config update to 1.0.8.Final
by Richard Chan (Jira)
[ https://issues.redhat.com/browse/WFLY-13908?page=com.atlassian.jira.plugi... ]
Richard Chan updated WFLY-13908:
--------------------------------
Description:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
$ mvn clean checkstyle:checkstyle
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
$ mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
was:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
Forcing command line to use 1.0.7.Final + checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
> quickstart - wildfly-checkstyle-config update to 1.0.8.Final
> ------------------------------------------------------------
>
> Key: WFLY-13908
> URL: https://issues.redhat.com/browse/WFLY-13908
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 21.0.0.Beta1
> Reporter: Richard Chan
> Assignee: Eduardo Martins
> Priority: Trivial
>
> Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
> This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
>
> Summary:
> * pom.xml works in maven CLI
> * Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
>
> In shell, force mvn to use checkstyle 8.35 to reproduce the Ecipse error:
> {code:java}
> $ mvn clean checkstyle:checkstyle
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
> {code}
>
> Update parent pom to use 1.0.8.Final gives a clean goal:
> {code:java}
> $ mvn clean checkstyle:checkstyle
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
> [INFO] Building Quickstart: helloworld 20.0.1.Final
> [INFO] --------------------------------[ war ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
> [INFO] Deleting /home/vagrant/quickstart/helloworld/target
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
> [INFO] Starting audit...
> Audit done.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.529 s
> [INFO] Finished at: 2020-09-26T10:11:57+08:00
> [INFO] ------------------------------------------------------------------------
> {code}
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (WFLY-13908) quickstart - wildfly-checkstyle-config update to 1.0.8.Final
by Richard Chan (Jira)
[ https://issues.redhat.com/browse/WFLY-13908?page=com.atlassian.jira.plugi... ]
Richard Chan updated WFLY-13908:
--------------------------------
Description:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
Forcing command line to use 1.0.7.Final + checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /home/vagrant/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
was:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
Forcing command line to use 1.0.7.Final + checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /btrfs/richard.tmp/Projects.2020/Eclipse/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
> quickstart - wildfly-checkstyle-config update to 1.0.8.Final
> ------------------------------------------------------------
>
> Key: WFLY-13908
> URL: https://issues.redhat.com/browse/WFLY-13908
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 21.0.0.Beta1
> Reporter: Richard Chan
> Assignee: Eduardo Martins
> Priority: Trivial
>
> Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
> This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
>
> Summary:
> * pom.xml works in maven CLI
> * Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
>
> Forcing command line to use 1.0.7.Final + checkstyle 8.35 to reproduce the Ecipse error:
> {code:java}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
> {code}
>
> Update parent pom to use 1.0.8.Final gives a clean goal:
> {code:java}
> mvn clean checkstyle:checkstyle
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
> [INFO] Building Quickstart: helloworld 20.0.1.Final
> [INFO] --------------------------------[ war ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
> [INFO] Deleting /home/vagrant/quickstart/helloworld/target
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
> [INFO] Starting audit...
> Audit done.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.529 s
> [INFO] Finished at: 2020-09-26T10:11:57+08:00
> [INFO] ------------------------------------------------------------------------
> {code}
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (WFLY-13908) quickstart - wildfly-checkstyle-config update to 1.0.8.Final
by Richard Chan (Jira)
[ https://issues.redhat.com/browse/WFLY-13908?page=com.atlassian.jira.plugi... ]
Richard Chan updated WFLY-13908:
--------------------------------
Description:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
Forcing command line to use 1.0.7.Final + checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
Update parent pom to use 1.0.8.Final gives a clean goal:
{code:java}
mvn clean checkstyle:checkstyle
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
[INFO] Building Quickstart: helloworld 20.0.1.Final
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
[INFO] Deleting /btrfs/richard.tmp/Projects.2020/Eclipse/quickstart/helloworld/target
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.529 s
[INFO] Finished at: 2020-09-26T10:11:57+08:00
[INFO] ------------------------------------------------------------------------
{code}
was:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
Forcing command line to use 1.0.7.Final + checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
> quickstart - wildfly-checkstyle-config update to 1.0.8.Final
> ------------------------------------------------------------
>
> Key: WFLY-13908
> URL: https://issues.redhat.com/browse/WFLY-13908
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 21.0.0.Beta1
> Reporter: Richard Chan
> Assignee: Eduardo Martins
> Priority: Trivial
>
> Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
> This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
>
> Summary:
> * pom.xml works in maven CLI
> * Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
>
> Forcing command line to use 1.0.7.Final + checkstyle 8.35 to reproduce the Ecipse error:
> {code:java}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
> {code}
>
> Update parent pom to use 1.0.8.Final gives a clean goal:
> {code:java}
> mvn clean checkstyle:checkstyle
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------< org.wildfly.quickstarts:helloworld >-----------------
> [INFO] Building Quickstart: helloworld 20.0.1.Final
> [INFO] --------------------------------[ war ]---------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ helloworld ---
> [INFO] Deleting /btrfs/richard.tmp/Projects.2020/Eclipse/quickstart/helloworld/target
> [INFO]
> [INFO] --- maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) @ helloworld ---
> [INFO] Starting audit...
> Audit done.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.529 s
> [INFO] Finished at: 2020-09-26T10:11:57+08:00
> [INFO] ------------------------------------------------------------------------
> {code}
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (WFLY-13908) quickstart - wildfly-checkstyle-config update to 1.0.8.Final
by Richard Chan (Jira)
[ https://issues.redhat.com/browse/WFLY-13908?page=com.atlassian.jira.plugi... ]
Richard Chan updated WFLY-13908:
--------------------------------
Description:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
Forcing command line to use 1.0.7.Final + checkstyle 8.35 to reproduce the Ecipse error:
{code:java}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
was:
Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
Summary:
* pom.xml works in maven CLI
* Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
Forcing command line to use 1.0.7.Final + checkstyle 8.35:
{code:java}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
{code}
> quickstart - wildfly-checkstyle-config update to 1.0.8.Final
> ------------------------------------------------------------
>
> Key: WFLY-13908
> URL: https://issues.redhat.com/browse/WFLY-13908
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Affects Versions: 21.0.0.Beta1
> Reporter: Richard Chan
> Assignee: Eduardo Martins
> Priority: Trivial
>
> Eclipse m2e mapping for checkstyle uses version 8.35 (non-configurable - vs 8.5 in pom.xml). As a result, running inside Eclipse has the error (with any checkstyle >= 8.19): TreeWalker has no cacheFile property.
> This checkstyle config was updated in wildfly-config-checkstyle 1.0.8.Final to be >= 8.19 compatible.
>
> Summary:
> * pom.xml works in maven CLI
> * Importing into Eclipse does not work cleanly, due to error messages from newer checkstyle 8.35 and wildfly-checkstyle-config 1.0.7.Final
>
> Forcing command line to use 1.0.7.Final + checkstyle 8.35 to reproduce the Ecipse error:
> {code:java}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.1:checkstyle (default-cli) on project helloworld: An error has occurred in Checkstyle report generation.: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
> {code}
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months