You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Max Bowsher (JIRA)" <ji...@codehaus.org> on 2008/02/01 19:15:58 UTC
[jira] Created: (MECLIPSE-383) Tests should be independent of
downloadSources set in settings.xml
Tests should be independent of downloadSources set in settings.xml
------------------------------------------------------------------
Key: MECLIPSE-383
URL: http://jira.codehaus.org/browse/MECLIPSE-383
Project: Maven 2.x Eclipse Plugin
Issue Type: Bug
Reporter: Max Bowsher
Priority: Trivial
Currently, some tests fail if the user has configured downloadSources=true in their settings.xml:
testProject13(org.apache.maven.plugin.eclipse.EclipsePluginTest)
testProject22(org.apache.maven.plugin.eclipse.EclipsePluginTest)
testProject29(org.apache.maven.plugin.eclipse.EclipsePluginTest)
testProject30(org.apache.maven.plugin.eclipse.EclipsePluginTest)
These are comparison failures because the actual .classpath then includes sourcepath="..." which is not present in the expected.
Ideally the tests would force downloadSources one way or the other, for reproducible results independent of the local settings.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MECLIPSE-383) Tests should be independent of
downloadSources set in settings.xml
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MECLIPSE-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122076 ]
Arnaud Heritier commented on MECLIPSE-383:
------------------------------------------
I began to force the download but I probably forgot some of them. I'l try to review this. What I'll probably do is to add a parent pom where I set it for all tests.
> Tests should be independent of downloadSources set in settings.xml
> ------------------------------------------------------------------
>
> Key: MECLIPSE-383
> URL: http://jira.codehaus.org/browse/MECLIPSE-383
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Reporter: Max Bowsher
> Priority: Trivial
>
> Currently, some tests fail if the user has configured downloadSources=true in their settings.xml:
> testProject13(org.apache.maven.plugin.eclipse.EclipsePluginTest)
> testProject22(org.apache.maven.plugin.eclipse.EclipsePluginTest)
> testProject29(org.apache.maven.plugin.eclipse.EclipsePluginTest)
> testProject30(org.apache.maven.plugin.eclipse.EclipsePluginTest)
> These are comparison failures because the actual .classpath then includes sourcepath="..." which is not present in the expected.
> Ideally the tests would force downloadSources one way or the other, for reproducible results independent of the local settings.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira