You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jodi (JIRA)" <ji...@apache.org> on 2016/08/22 14:31:20 UTC

[jira] [Issue Comment Deleted] (SUREFIRE-1273) Adding plugin inside Maven profile breaks mvn:build on project

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

Jodi updated SUREFIRE-1273:
---------------------------
    Comment: was deleted

(was: This issue seems to be highly intermittent, which is telling me there is a problem with the plugin, it wasn't happening before moving to profiles.

Pointing me at the project source repository doesn't really tell me much about what I am doing wrong, it looks to me like some sort of issue related to the threading, but I don't have the experience to know for sure, but I do think dismissing it because of the error message may be a mistake unless there is a concrete cause, ie Netbeans executing the test using the wrong command line call, or some clear directive regarding setting the main class when calling a specific test (or any tests if inside the profile))

> Adding plugin inside Maven profile breaks mvn:build on project
> --------------------------------------------------------------
>
>                 Key: SUREFIRE-1273
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1273
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.19.1
>         Environment: Windows 10 x64 Professional version 6.3
> Netbeans 8.1 Release
> Maven v3.0.5
> OracleJDKx64 v1.8.0_11
>            Reporter: Jodi
>              Labels: newbie, windows
>         Attachments: pom-jacoco.xml, pom.xml, surefire-plugin-success-jacoco.log, surefire-profiles-error.log
>
>
> ##Conditions which led to the issue
> Prior to the issue occurring, jacoco-maven-plugin OR maven-surefire-plugin failed to work consistently when using docker-maven-plugin, this is an issue which is to be followed up next.
> ##Maven configuration
> After: 
> 1. Opening a project POM which hasn't yet been migrated to docker
> 2. Disabling jacoco-maven-plugin
> 3. Moving maven-surefire-plugin to a "test" profile
> 4. Setting plugin version to 2.19.1 in POM
> 5. Switching to "test" profile
> 6. Run mvn:build from Netbeans
> ##Outcome
> maven-surefire-plugin fails during a normal build command - see attachments



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