[jira] [Created] (SUREFIRE-1305) surefire fails on parallel tests when newline is character in test description

2016-11-19 Thread Piotr Turski (JIRA)
Piotr Turski created SUREFIRE-1305:
--

 Summary: surefire fails on parallel tests when newline is 
character in test description
 Key: SUREFIRE-1305
 URL: https://issues.apache.org/jira/browse/SUREFIRE-1305
 Project: Maven Surefire
  Issue Type: Bug
  Components: Junit 4.7+ (parallel) support
Affects Versions: 2.19.1
Reporter: Piotr Turski


zohhak runner may create test description with newline character in it. it runs 
without any problem with surefire and non-parallel build and with parallel 
build when there is no newline char in the description. furthermore it runs 
fine with plain junit in parallel mode

* original issue was reported here: 
https://github.com/piotrturski/zohhak/issues/14
* project that reproduces the issue: 
https://github.com/christophpickl/zohhak_parallel_bug
* working parallel junit tests without surefire: 
https://github.com/piotrturski/zohhak/commit/806aafc8e09fd843753d2940991f3ca0edd5120d



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SUREFIRE-1305) surefire fails on parallel tests when newline character is in test description

2016-11-19 Thread Piotr Turski (JIRA)

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

Piotr Turski updated SUREFIRE-1305:
---
Summary: surefire fails on parallel tests when newline character is in test 
description  (was: surefire fails on parallel tests when newline is character 
in test description)

> surefire fails on parallel tests when newline character is in test description
> --
>
> Key: SUREFIRE-1305
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1305
> Project: Maven Surefire
>  Issue Type: Bug
>  Components: Junit 4.7+ (parallel) support
>Affects Versions: 2.19.1
>Reporter: Piotr Turski
>
> zohhak runner may create test description with newline character in it. it 
> runs without any problem with surefire and non-parallel build and with 
> parallel build when there is no newline char in the description. furthermore 
> it runs fine with plain junit in parallel mode
> * original issue was reported here: 
> https://github.com/piotrturski/zohhak/issues/14
> * project that reproduces the issue: 
> https://github.com/christophpickl/zohhak_parallel_bug
> * working parallel junit tests without surefire: 
> https://github.com/piotrturski/zohhak/commit/806aafc8e09fd843753d2940991f3ca0edd5120d



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (MCHECKSTYLE-332) maven plugin not using cache property

2016-11-19 Thread richard (JIRA)
richard created MCHECKSTYLE-332:
---

 Summary: maven plugin not using cache property
 Key: MCHECKSTYLE-332
 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-332
 Project: Maven Checkstyle Plugin
  Issue Type: Bug
  Components: checkstyle:checkstyle
Affects Versions: 2.17
 Environment: Windows 7, 64 bit, JDK 8
Reporter: richard


When enabling cache in the pom for checkstyle via `cacheFile`, no cache file is 
ever created after the run and multiple runs are not using any cache as there 
is no speed up.

POM: 
https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492

I am specifying the cache after line 472 with the following:
`${project.build.directory}/cachefile-sevntu`

When I specify the cache directly into the configuration file, the file is 
created, so this looks like an issue directly related to the maven plugin.
I shouldn't need to specify it into the configuration since a property is 
available in the POM.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MCHECKSTYLE-332) maven plugin not using cache property

2016-11-19 Thread richard (JIRA)

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

richard updated MCHECKSTYLE-332:

Description: 
When enabling cache in the pom for checkstyle via `cacheFile`, no cache file is 
ever created after the run and multiple runs are not using any cache as there 
is no speed up.

POM: 
https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492

I am specifying the cache after line 472 with the following:
bq. ${project.build.directory}/cachefile-sevntu

When I specify the cache directly into the configuration file, the cache file 
is created, so this looks like an issue directly related to the maven plugin.
I shouldn't need to specify it into the configuration since a property is 
available in the POM.



  was:
When enabling cache in the pom for checkstyle via `cacheFile`, no cache file is 
ever created after the run and multiple runs are not using any cache as there 
is no speed up.

POM: 
https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492

I am specifying the cache after line 472 with the following:
bq. ${project.build.directory}/cachefile-sevntu

When I specify the cache directly into the configuration file, the file is 
created, so this looks like an issue directly related to the maven plugin.
I shouldn't need to specify it into the configuration since a property is 
available in the POM.




> maven plugin not using cache property
> -
>
> Key: MCHECKSTYLE-332
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-332
> Project: Maven Checkstyle Plugin
>  Issue Type: Bug
>  Components: checkstyle:checkstyle
>Affects Versions: 2.17
> Environment: Windows 7, 64 bit, JDK 8
>Reporter: richard
>
> When enabling cache in the pom for checkstyle via `cacheFile`, no cache file 
> is ever created after the run and multiple runs are not using any cache as 
> there is no speed up.
> POM: 
> https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492
> I am specifying the cache after line 472 with the following:
> bq. ${project.build.directory}/cachefile-sevntu
> When I specify the cache directly into the configuration file, the cache file 
> is created, so this looks like an issue directly related to the maven plugin.
> I shouldn't need to specify it into the configuration since a property is 
> available in the POM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MCHECKSTYLE-332) maven plugin not using cache property

2016-11-19 Thread richard (JIRA)

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

richard updated MCHECKSTYLE-332:

Description: 
When enabling cache in the pom for checkstyle via `cacheFile`, no cache file is 
ever created after the run and multiple runs are not using any cache as there 
is no speed up.

POM: 
https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492

I am specifying the cache after line 472 with the following:
bq. ${project.build.directory}/cachefile-sevntu

When I specify the cache directly into the configuration file, the file is 
created, so this looks like an issue directly related to the maven plugin.
I shouldn't need to specify it into the configuration since a property is 
available in the POM.



  was:
When enabling cache in the pom for checkstyle via `cacheFile`, no cache file is 
ever created after the run and multiple runs are not using any cache as there 
is no speed up.

POM: 
https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492

I am specifying the cache after line 472 with the following:
`${project.build.directory}/cachefile-sevntu`

When I specify the cache directly into the configuration file, the file is 
created, so this looks like an issue directly related to the maven plugin.
I shouldn't need to specify it into the configuration since a property is 
available in the POM.




> maven plugin not using cache property
> -
>
> Key: MCHECKSTYLE-332
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-332
> Project: Maven Checkstyle Plugin
>  Issue Type: Bug
>  Components: checkstyle:checkstyle
>Affects Versions: 2.17
> Environment: Windows 7, 64 bit, JDK 8
>Reporter: richard
>
> When enabling cache in the pom for checkstyle via `cacheFile`, no cache file 
> is ever created after the run and multiple runs are not using any cache as 
> there is no speed up.
> POM: 
> https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492
> I am specifying the cache after line 472 with the following:
> bq. ${project.build.directory}/cachefile-sevntu
> When I specify the cache directly into the configuration file, the file is 
> created, so this looks like an issue directly related to the maven plugin.
> I shouldn't need to specify it into the configuration since a property is 
> available in the POM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MCHECKSTYLE-332) maven plugin not using cache property

2016-11-19 Thread JIRA

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

Guillaume Boué commented on MCHECKSTYLE-332:


The 
[{{cacheFile}}|https://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html#cacheFile]
 has a default value so, even if left out, there should be a cache file 
created, by default it is {{target/checkstyle-cachefile}}.

Furthermore, I don't see any {{}} configuration for the 
{{checkstyle:checkstyle}} goal in the linked section of the POM, nor in its 
{{}}. Can you clarify what is the issue and make a sample project 
demonstrating it?

> maven plugin not using cache property
> -
>
> Key: MCHECKSTYLE-332
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-332
> Project: Maven Checkstyle Plugin
>  Issue Type: Bug
>  Components: checkstyle:checkstyle
>Affects Versions: 2.17
> Environment: Windows 7, 64 bit, JDK 8
>Reporter: richard
>
> When enabling cache in the pom for checkstyle via `cacheFile`, no cache file 
> is ever created after the run and multiple runs are not using any cache as 
> there is no speed up.
> POM: 
> https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492
> I am specifying the cache after line 472 with the following:
> bq. ${project.build.directory}/cachefile-sevntu
> When I specify the cache directly into the configuration file, the cache file 
> is created, so this looks like an issue directly related to the maven plugin.
> I shouldn't need to specify it into the configuration since a property is 
> available in the POM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MCHECKSTYLE-332) maven plugin not using cache property

2016-11-19 Thread richard (JIRA)

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

richard commented on MCHECKSTYLE-332:
-

Here is a working example:
https://github.com/rnveach/checkstyle/blob/MCHECKSTYLE-332/pom.xml#L473

After running 'mvn checkstyle:checkstyle', I am expecting to see the cache file 
'cachefile-sevntu' directly inside 'target'.
It doesn't appear after maven completes successfully.

> maven plugin not using cache property
> -
>
> Key: MCHECKSTYLE-332
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-332
> Project: Maven Checkstyle Plugin
>  Issue Type: Bug
>  Components: checkstyle:checkstyle
>Affects Versions: 2.17
> Environment: Windows 7, 64 bit, JDK 8
>Reporter: richard
>
> When enabling cache in the pom for checkstyle via `cacheFile`, no cache file 
> is ever created after the run and multiple runs are not using any cache as 
> there is no speed up.
> POM: 
> https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492
> I am specifying the cache after line 472 with the following:
> bq. ${project.build.directory}/cachefile-sevntu
> When I specify the cache directly into the configuration file, the cache file 
> is created, so this looks like an issue directly related to the maven plugin.
> I shouldn't need to specify it into the configuration since a property is 
> available in the POM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (MCHECKSTYLE-332) maven plugin not using cache property

2016-11-19 Thread richard (JIRA)

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

richard edited comment on MCHECKSTYLE-332 at 11/20/16 4:27 AM:
---

Here is a working example:
https://github.com/rnveach/checkstyle/blob/MCHECKSTYLE-332/pom.xml#L473

After running 'mvn checkstyle:checkstyle' or even 'mvn verify', I am expecting 
to see the cache file 'cachefile-sevntu' directly inside 'target'.
It doesn't appear after maven completes successfully.


was (Author: rveach):
Here is a working example:
https://github.com/rnveach/checkstyle/blob/MCHECKSTYLE-332/pom.xml#L473

After running 'mvn checkstyle:checkstyle', I am expecting to see the cache file 
'cachefile-sevntu' directly inside 'target'.
It doesn't appear after maven completes successfully.

> maven plugin not using cache property
> -
>
> Key: MCHECKSTYLE-332
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-332
> Project: Maven Checkstyle Plugin
>  Issue Type: Bug
>  Components: checkstyle:checkstyle
>Affects Versions: 2.17
> Environment: Windows 7, 64 bit, JDK 8
>Reporter: richard
>
> When enabling cache in the pom for checkstyle via `cacheFile`, no cache file 
> is ever created after the run and multiple runs are not using any cache as 
> there is no speed up.
> POM: 
> https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492
> I am specifying the cache after line 472 with the following:
> bq. ${project.build.directory}/cachefile-sevntu
> When I specify the cache directly into the configuration file, the cache file 
> is created, so this looks like an issue directly related to the maven plugin.
> I shouldn't need to specify it into the configuration since a property is 
> available in the POM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)