You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2009/07/01 21:53:05 UTC

[jira] Created: (MECLIPSE-581) Test source directories appear before Main source directories

Test source directories appear before Main source directories
-------------------------------------------------------------

                 Key: MECLIPSE-581
                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: Core : .project
    Affects Versions: 2.7
         Environment: Maven 2.0.10
            Reporter: Paul Benedict


This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
(1) the sibling projects become a dependent project, not jar dependencies
(2) src/test appears before src/main in the package explorer.

I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Jilles van Gurp (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201719#action_201719 ] 

Jilles van Gurp commented on MECLIPSE-581:
------------------------------------------

Sorry, but this is really annoying behavior. Basically, the order of stuff in eclipse classpath has no relevance whatsoever in terms of semantics as far as I can see. Basically you should be able to randomize the order and not have any functional difference. 

The main argument in MECLIPSE-318 seems to be that maven resolves dependencies in some order, which has changed recently. Fine, but the eclipse classpath represents the outcome of that process, not the actual process. And if the outcome is that main depends on test somehow, that would be pretty messed up. Also, from usability point of view, not having the first thing listed being the main src package is not the best thing to have.

So, I would like to request this ticket be reopened and fixed. This "it's a feature not a bug" kind of reflex is the easy way out here. Fixing the behavior to be logical is better than documenting why it is counter intuitive (which it is). 

If it is actually required, i.e. there exist eclipse projects that do not work unless test is listed before main, which I strongly doubt, it needs to be documented why things will break otherwise. Even so, that is probably something you would want to fix in your project rather than in maven. 

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182617#action_182617 ] 

Paul Benedict commented on MECLIPSE-581:
----------------------------------------

There is no good reason to put src/test in front of src/main for an IDE setup. It is only applicable for running tests (mvn test) so test classes can replace main classes.

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198427#action_198427 ] 

Paul Benedict commented on MECLIPSE-581:
----------------------------------------

Sure. Let's keep this issue closed and open up a new related ticket.

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Rustam Abdullaev (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198222#action_198222 ] 

Rustam Abdullaev commented on MECLIPSE-581:
-------------------------------------------

This needs to be made configurable!!!

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198417#action_198417 ] 

Arnaud Heritier commented on MECLIPSE-581:
------------------------------------------

Hi paul, I forgot to reply to your previous comment. Yes this is probably a problem of documentation. It should be reviewed. I saw many problem with it.
I don't think using sibling projects instead of jar dependencies i sa bad thing (it should improve the speed of the build) but we should provide an option to deactivate it and perhaps we shouldn't activate it by default

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201735#action_201735 ] 

Paul Benedict commented on MECLIPSE-581:
----------------------------------------

Jilles, but this is not a bug. The fact that the Eclipse IDE *displays* the classpath entries in the same order as the configuration file is not a problem *of* this plugin. Any tool will have this problem that puts their test directories first. The issue needs to be addressed in Eclipse itself. Granted, the problem is annoying, but the itch needs to be scratched correctly.

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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] Updated: (MECLIPSE-581) Test source directories appear before Main source directories

Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated MECLIPSE-581:
-----------------------------------

    Affects Version/s:     (was: 2.7)
                       2.6

I had my team verify this issue occurs starting 2.6. Using 2.5.1 works just fine.

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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] Closed: (MECLIPSE-581) Test source directories appear before Main source directories

Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict closed MECLIPSE-581.
----------------------------------

    Resolution: Won't Fix

This issue cannot be fixed by any Maven plugin. The "problem" is inside Eclipse, which orders the folders as listed in the configuration. To change the order, an RFE with Eclipse should be created.

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183267#action_183267 ] 

Paul Benedict commented on MECLIPSE-581:
----------------------------------------

Arnaud, your point is solid. I concede this is not a bug.... However, this is a PRETTY BIG CHANGE opinion and nowhere does the site documentation call this out.

Perhaps I wouldn't be so alarmed by this new feature if #1 (as stated above) didn't come with it:
(1) the sibling projects become a dependent project, not jar dependencies

Seriously, no one on my team can upgrade to 2.6 because of this. We do not want sibling projects to be dependent projects. Is this another documentation deficit?

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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] Issue Comment Edited: (MECLIPSE-581) Test source directories appear before Main source directories

Posted by "Paul Benedict (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183267#action_183267 ] 

Paul Benedict edited comment on MECLIPSE-581 at 7/10/09 11:07 PM:
------------------------------------------------------------------

Arnaud, your point is solid. I concede this is not a bug.... However, this is a PRETTY BIG CHANGE and nowhere does the site documentation call this out.

Perhaps I wouldn't be so alarmed by this new feature if #1 (as stated above) didn't come with it:
(1) the sibling projects become a dependent project, not jar dependencies

Seriously, no one on my team can upgrade to 2.6 because of this. We do not want sibling projects to be dependent projects. Is this another documentation deficit?

      was (Author: paul4christ79):
    Arnaud, your point is solid. I concede this is not a bug.... However, this is a PRETTY BIG CHANGE opinion and nowhere does the site documentation call this out.

Perhaps I wouldn't be so alarmed by this new feature if #1 (as stated above) didn't come with it:
(1) the sibling projects become a dependent project, not jar dependencies

Seriously, no one on my team can upgrade to 2.6 because of this. We do not want sibling projects to be dependent projects. Is this another documentation deficit?
  
> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Andrea Aime (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182611#action_182611 ] 

Andrea Aime commented on MECLIPSE-581:
--------------------------------------

I was cooking up a patch for another issue when I noticed the block of code responsible for this:

{code}
        // NOTE: Since MNG-3118, test classes come before main classes
        boolean testBeforeMain = isMavenVersion( "[2.0.8,)" );

        if ( testBeforeMain )
        {
            directories.addAll( testDirectories );
            directories.removeAll( mainDirectories );
            directories.addAll( mainDirectories );
        }
        else
        {
            directories.addAll( mainDirectories );
            directories.addAll( testDirectories );
        }
{code}

So it would seem it's a maven wide change.  I too find having the test directories first very annoying, it should be possible to have an option to get back the old order. It could simply be <testBeforeMain>false</testBeforeMain> in the eclipse configuration. Not hard to make a patch for this too, provided the plugin developers are interested in merging it. I can cook up a patch if the devs provide directions on how they would like the option to be exposed.

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Andrea Aime (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182723#action_182723 ] 

Andrea Aime commented on MECLIPSE-581:
--------------------------------------

It actually does, building projects with the eclipse plugin < 2.6 does not create problems.

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183189#action_183189 ] 

Arnaud Heritier commented on MECLIPSE-581:
------------------------------------------

Paul aren't you launching your tests in eclipse ? Don't you want to have the same behavior in Eclipse and in Maven ?
I'll perhaps be the evil advocate but I think if there's an issue to open it's not in our plugin which tries to have a coherent behavior between maven and eclipse but in eclipse. You can ask them to be able to manage several classpath or just to be able to have a different order in the UI and in the project's classpath.
WDYT ?

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "Oleksandr Maksymchuk (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183179#action_183179 ] 

Oleksandr Maksymchuk commented on MECLIPSE-581:
-----------------------------------------------

I use test before main feature in my project to be able to override log4j.xml in development to show all messages or any other configuration which I can do in test classpath. So please maintain both possibilities with option.

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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-581) Test source directories appear before Main source directories

Posted by "John Newman (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MECLIPSE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182392#action_182392 ] 

John Newman commented on MECLIPSE-581:
--------------------------------------

still seeing this in 2.7, main should come before test

> Test source directories appear before Main source directories
> -------------------------------------------------------------
>
>                 Key: MECLIPSE-581
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-581
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : .project
>    Affects Versions: 2.6
>         Environment: Maven 2.0.10
>            Reporter: Paul Benedict
>
> This is either a bug or a questionable feature. When I run eclipse:eclipse on a project that has siblings in its parent POM, two things happen:
> (1) the sibling projects become a dependent project, not jar dependencies
> (2) src/test appears before src/main in the package explorer.
> I can handle #1, but #2 really is a tough adjustment.

-- 
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