You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Kent Tong (JIRA)" <ji...@apache.org> on 2007/10/19 06:14:50 UTC
[jira] Created: (AXIS2-3290) surefire is still run even if
maven.test.skip is true
surefire is still run even if maven.test.skip is true
-----------------------------------------------------
Key: AXIS2-3290
URL: https://issues.apache.org/jira/browse/AXIS2-3290
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: samples, build,site
Affects Versions: 1.3
Environment: WinXP. Maven 2.0.4
Reporter: Kent Tong
Priority: Minor
"mvn install -Dmaven.test.skip=true" still runs surefire and all the tests. The relevant output is:
jar:
[INFO] Executed tasks
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [antrun:run {execution: test-compile}]
[INFO] Executing tasks
testsetup:
[INFO] Executed tasks
[INFO] [surefire:test]
[INFO] Setting reports dir: C:\axis2-1.3\modules\kernel\target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
log4j:WARN No appenders could be found for logger (org.apache.axis2.engine.Phase).
log4j:WARN Please initialize the log4j system properly.
[surefire] Running org.apache.axis2.addressing.AddressingHelperTest
[surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3290) surefire is still run even if
maven.test.skip is true
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen updated AXIS2-3290:
-----------------------------------
Fix Version/s: 1.6
Changed the POMs so that maven.test.skip now has the expected effect of skipping test compilation (including ant scripts) and execution. This also solves the mysterious AppleFinderService issue.
> surefire is still run even if maven.test.skip is true
> -----------------------------------------------------
>
> Key: AXIS2-3290
> URL: https://issues.apache.org/jira/browse/AXIS2-3290
> Project: Axis2
> Issue Type: Bug
> Components: samples, build,site
> Affects Versions: 1.5.1, 1.5, 1.4.1, 1.4, 1.3
> Environment: WinXP. Maven 2.0.4
> Reporter: Kent Tong
> Assignee: Andreas Veithen
> Priority: Minor
> Fix For: 1.6
>
>
> "mvn install -Dmaven.test.skip=true" still runs surefire and all the tests. The relevant output is:
> jar:
> [INFO] Executed tasks
> [INFO] [compiler:testCompile]
> [INFO] Not compiling test sources
> [INFO] [antrun:run {execution: test-compile}]
> [INFO] Executing tasks
> testsetup:
> [INFO] Executed tasks
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\axis2-1.3\modules\kernel\target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> log4j:WARN No appenders could be found for logger (org.apache.axis2.engine.Phase).
> log4j:WARN Please initialize the log4j system properly.
> [surefire] Running org.apache.axis2.addressing.AddressingHelperTest
> [surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (AXIS2-3290) surefire is still run even if
maven.test.skip is true
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen reassigned AXIS2-3290:
--------------------------------------
Assignee: Andreas Veithen
> surefire is still run even if maven.test.skip is true
> -----------------------------------------------------
>
> Key: AXIS2-3290
> URL: https://issues.apache.org/jira/browse/AXIS2-3290
> Project: Axis2
> Issue Type: Bug
> Components: samples, build,site
> Affects Versions: 1.3
> Environment: WinXP. Maven 2.0.4
> Reporter: Kent Tong
> Assignee: Andreas Veithen
> Priority: Minor
>
> "mvn install -Dmaven.test.skip=true" still runs surefire and all the tests. The relevant output is:
> jar:
> [INFO] Executed tasks
> [INFO] [compiler:testCompile]
> [INFO] Not compiling test sources
> [INFO] [antrun:run {execution: test-compile}]
> [INFO] Executing tasks
> testsetup:
> [INFO] Executed tasks
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\axis2-1.3\modules\kernel\target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> log4j:WARN No appenders could be found for logger (org.apache.axis2.engine.Phase).
> log4j:WARN Please initialize the log4j system properly.
> [surefire] Running org.apache.axis2.addressing.AddressingHelperTest
> [surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AXIS2-3290) surefire is still run even if
maven.test.skip is true
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen updated AXIS2-3290:
-----------------------------------
Affects Version/s: 1.5.1
1.5
1.4.1
1.4
> surefire is still run even if maven.test.skip is true
> -----------------------------------------------------
>
> Key: AXIS2-3290
> URL: https://issues.apache.org/jira/browse/AXIS2-3290
> Project: Axis2
> Issue Type: Bug
> Components: samples, build,site
> Affects Versions: 1.5.1, 1.5, 1.4.1, 1.4, 1.3
> Environment: WinXP. Maven 2.0.4
> Reporter: Kent Tong
> Assignee: Andreas Veithen
> Priority: Minor
>
> "mvn install -Dmaven.test.skip=true" still runs surefire and all the tests. The relevant output is:
> jar:
> [INFO] Executed tasks
> [INFO] [compiler:testCompile]
> [INFO] Not compiling test sources
> [INFO] [antrun:run {execution: test-compile}]
> [INFO] Executing tasks
> testsetup:
> [INFO] Executed tasks
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\axis2-1.3\modules\kernel\target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> log4j:WARN No appenders could be found for logger (org.apache.axis2.engine.Phase).
> log4j:WARN Please initialize the log4j system properly.
> [surefire] Running org.apache.axis2.addressing.AddressingHelperTest
> [surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AXIS2-3290) surefire is still run even if
maven.test.skip is true
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576622#action_12576622 ]
Andreas Veithen commented on AXIS2-3290:
----------------------------------------
This is because in (most of) the module POMs, the maven-surefire-plugin configuration contains <skip>false</skip>, which apparently takes precedence over -Dmaven.test.skip=true. I wonder what is the reason to force skip to false.
> surefire is still run even if maven.test.skip is true
> -----------------------------------------------------
>
> Key: AXIS2-3290
> URL: https://issues.apache.org/jira/browse/AXIS2-3290
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: samples, build,site
> Affects Versions: 1.3
> Environment: WinXP. Maven 2.0.4
> Reporter: Kent Tong
> Priority: Minor
>
> "mvn install -Dmaven.test.skip=true" still runs surefire and all the tests. The relevant output is:
> jar:
> [INFO] Executed tasks
> [INFO] [compiler:testCompile]
> [INFO] Not compiling test sources
> [INFO] [antrun:run {execution: test-compile}]
> [INFO] Executing tasks
> testsetup:
> [INFO] Executed tasks
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\axis2-1.3\modules\kernel\target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> log4j:WARN No appenders could be found for logger (org.apache.axis2.engine.Phase).
> log4j:WARN Please initialize the log4j system properly.
> [surefire] Running org.apache.axis2.addressing.AddressingHelperTest
> [surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-3290) surefire is still run even if
maven.test.skip is true
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-3290.
-------------------------------------
Resolution: Fixed
Please use "-Dtest=false" to skip the tests.
-- dims
> surefire is still run even if maven.test.skip is true
> -----------------------------------------------------
>
> Key: AXIS2-3290
> URL: https://issues.apache.org/jira/browse/AXIS2-3290
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: samples, build,site
> Affects Versions: 1.3
> Environment: WinXP. Maven 2.0.4
> Reporter: Kent Tong
> Priority: Minor
>
> "mvn install -Dmaven.test.skip=true" still runs surefire and all the tests. The relevant output is:
> jar:
> [INFO] Executed tasks
> [INFO] [compiler:testCompile]
> [INFO] Not compiling test sources
> [INFO] [antrun:run {execution: test-compile}]
> [INFO] Executing tasks
> testsetup:
> [INFO] Executed tasks
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\axis2-1.3\modules\kernel\target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> log4j:WARN No appenders could be found for logger (org.apache.axis2.engine.Phase).
> log4j:WARN Please initialize the log4j system properly.
> [surefire] Running org.apache.axis2.addressing.AddressingHelperTest
> [surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3290) surefire is still run even if
maven.test.skip is true
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805883#action_12805883 ]
Andreas Veithen commented on AXIS2-3290:
----------------------------------------
The reason for the particular approach used by the Axis2 build is probably related to [1].
[1] http://markmail.org/message/2l7gfuj7ef6lgdbo
> surefire is still run even if maven.test.skip is true
> -----------------------------------------------------
>
> Key: AXIS2-3290
> URL: https://issues.apache.org/jira/browse/AXIS2-3290
> Project: Axis2
> Issue Type: Bug
> Components: samples, build,site
> Affects Versions: 1.3
> Environment: WinXP. Maven 2.0.4
> Reporter: Kent Tong
> Priority: Minor
>
> "mvn install -Dmaven.test.skip=true" still runs surefire and all the tests. The relevant output is:
> jar:
> [INFO] Executed tasks
> [INFO] [compiler:testCompile]
> [INFO] Not compiling test sources
> [INFO] [antrun:run {execution: test-compile}]
> [INFO] Executing tasks
> testsetup:
> [INFO] Executed tasks
> [INFO] [surefire:test]
> [INFO] Setting reports dir: C:\axis2-1.3\modules\kernel\target/surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> log4j:WARN No appenders could be found for logger (org.apache.axis2.engine.Phase).
> log4j:WARN Please initialize the log4j system properly.
> [surefire] Running org.apache.axis2.addressing.AddressingHelperTest
> [surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.