You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/11/14 19:09:02 UTC
[jira] Created: (MAVEN-1505) Allow project layout other than src/java & src/test
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1505
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1505
Summary: Allow project layout other than src/java & src/test
Type: Improvement
Status: Unassigned
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Versions:
1.0.1
Assignee:
Reporter: sebb@apache.org
Created: Sun, 14 Nov 2004 1:08 PM
Updated: Sun, 14 Nov 2004 1:08 PM
Description:
At present, maven does not work properly unless the java source files are contained under the directory src/java.
Seems wrong to have to change the project directory struture just in order to use maven.
Would it not be possible to add some information to the project xml file to tell maven where to find the source files?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MAVEN-1505) Allow project layout other than src/java & src/test
Posted by ji...@codehaus.org.
The following issue has been updated:
Updater: Brett Porter (mailto:brett@codehaus.org)
Date: Sat, 20 Nov 2004 6:10 PM
Changes:
Fix Version changed to 1.1
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MAVEN-1505?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1505
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1505
Summary: Allow project layout other than src/java & src/test
Type: Improvement
Status: Reopened
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Fix Fors:
1.1
Versions:
1.0.1
Assignee:
Reporter: sebb@apache.org
Created: Sun, 14 Nov 2004 1:08 PM
Updated: Sat, 20 Nov 2004 6:10 PM
Description:
At present, maven does not work properly unless the java source files are contained under the directory src/java.
Seems wrong to have to change the project directory struture just in order to use maven.
Would it not be possible to add some information to the project xml file to tell maven where to find the source files?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MAVEN-1505) Allow project layout other than src/java & src/test
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: David Eric Pugh
Created: Mon, 15 Nov 2004 8:59 AM
Body:
you are right. Out of curiosity, why do you need multiple /src trees?
I can't really think of the usecase why you would HAVE to have this. To my mind, multiple /src trees translate to multiple projects?
There is some support right now for supporting a source tree for generated code in some of the plugins, but not for multiple /src trees.
In Maven2 there is much more sophisticated support for this type of thing I believe...
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1505?page=comments#action_26424
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1505
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1505
Summary: Allow project layout other than src/java & src/test
Type: Improvement
Status: Reopened
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Versions:
1.0.1
Assignee: David Eric Pugh
Reporter: sebb@apache.org
Created: Sun, 14 Nov 2004 1:08 PM
Updated: Mon, 15 Nov 2004 8:59 AM
Description:
At present, maven does not work properly unless the java source files are contained under the directory src/java.
Seems wrong to have to change the project directory struture just in order to use maven.
Would it not be possible to add some information to the project xml file to tell maven where to find the source files?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MAVEN-1505) Allow project layout other than src/java & src/test
Posted by ji...@codehaus.org.
Message:
The following issue has been closed.
Resolver: David Eric Pugh
Date: Sun, 14 Nov 2004 1:48 PM
Actually, you do definie where to put the java code in your POM. See http://maven.apache.org/reference/project-descriptor.html#sourceDirectory and http://maven.apache.org/reference/project-descriptor.html#build_unitTestSourceDirectory
.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1505
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1505
Summary: Allow project layout other than src/java & src/test
Type: Improvement
Status: Closed
Priority: Blocker
Resolution: INCOMPLETE
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Versions:
1.0.1
Assignee: David Eric Pugh
Reporter: sebb@apache.org
Created: Sun, 14 Nov 2004 1:08 PM
Updated: Sun, 14 Nov 2004 1:48 PM
Description:
At present, maven does not work properly unless the java source files are contained under the directory src/java.
Seems wrong to have to change the project directory struture just in order to use maven.
Would it not be possible to add some information to the project xml file to tell maven where to find the source files?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MAVEN-1505) Allow project layout other than src/java & src/test
Posted by ji...@codehaus.org.
Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Thu, 24 Feb 2005 8:34 PM
ok, this has been revisted. The same solution will be kept. You will specify one source directory, but can easily add additional ones using plugins when source is generated, or if you have an existing build to convert (using <maven:addPath /> as per the FAQ).
What will happen is that all plugins should become fully aware of the multiple source directories, and this is happening where possible.
For the previous commenter - it is wise to generate your sources to target/generated-sources/foo, then add them to the compile.src.set so they get cleaned up afterwards. Many plugins do this - eg antlr, jaxb, etc.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1505
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1505
Summary: Allow project layout other than src/java & src/test
Type: Improvement
Status: Closed
Priority: Blocker
Resolution: WON'T FIX
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Versions:
1.0.1
Assignee:
Reporter: sebb@apache.org
Created: Sun, 14 Nov 2004 1:08 PM
Updated: Thu, 24 Feb 2005 8:34 PM
Description:
At present, maven does not work properly unless the java source files are contained under the directory src/java.
Seems wrong to have to change the project directory struture just in order to use maven.
Would it not be possible to add some information to the project xml file to tell maven where to find the source files?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MAVEN-1505) Allow project layout other than src/java & src/test
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Nick Matthews
Created: Thu, 24 Feb 2005 8:28 PM
Body:
Another use for this feature is keeping generated code seperate from the main source tree. In some large projects that we have, it makes it much easier to keep the source which is held under source control under a central directory (the src/ directory) and a tree containing source that is automatically generated (what we have as the autogen/ directory). Currently, to do this in maven is quite awkward.
This also makes it simpler to do a 'clean' build. Removing the contents of the autogen/ directory is much simpler than a script which selectively prunes portions of the src/ directory.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1505?page=comments#action_30292
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1505
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1505
Summary: Allow project layout other than src/java & src/test
Type: Improvement
Status: Reopened
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Fix Fors:
1.1
Versions:
1.0.1
Assignee:
Reporter: sebb@apache.org
Created: Sun, 14 Nov 2004 1:08 PM
Updated: Thu, 24 Feb 2005 8:28 PM
Description:
At present, maven does not work properly unless the java source files are contained under the directory src/java.
Seems wrong to have to change the project directory struture just in order to use maven.
Would it not be possible to add some information to the project xml file to tell maven where to find the source files?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Reopened: (MAVEN-1505) Allow project layout other than src/java & src/test
Posted by ji...@codehaus.org.
Message:
The following issue has been reopened.
Reopener: sebb@apache.org
Date: Mon, 15 Nov 2004 7:47 AM
For the project I'm interested in, there are several source directory trees, not just one. The description of the properties starts:
"This element specifies a directory ..."
However, AFAICS I need to be able to specify a list (or set) of directories.
If a list is allowed, then the above documentation needs to say so, and how to define the list.
Also, if a list is allowed, then the page:
http://maven.apache.org/reference/dirlayout.html
needs to be changed, as under "Common Directory Layout", "src/" it says:
"The separation into directories according to function (src/share, src/core, src/web) is currently not supported by Maven. "
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1505
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1505
Summary: Allow project layout other than src/java & src/test
Type: Improvement
Status: Reopened
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Versions:
1.0.1
Assignee: David Eric Pugh
Reporter: sebb@apache.org
Created: Sun, 14 Nov 2004 1:08 PM
Updated: Mon, 15 Nov 2004 7:47 AM
Description:
At present, maven does not work properly unless the java source files are contained under the directory src/java.
Seems wrong to have to change the project directory struture just in order to use maven.
Would it not be possible to add some information to the project xml file to tell maven where to find the source files?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MAVEN-1505) Allow project layout other than src/java & src/test
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: sebb@apache.org
Created: Mon, 15 Nov 2004 10:50 AM
Body:
Re use-case:
It's not that I want to separate the project into separate directories; the project (Jakarta-JMeter) is already split into separate directories.
Makes sense to me, as there are various different protocols that are supported, and each has its own top-level directory.
This could have been done differently, of course, but it seems to me that Maven should not dictate the structure a project uses.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1505?page=comments#action_26428
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1505
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1505
Summary: Allow project layout other than src/java & src/test
Type: Improvement
Status: Reopened
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Versions:
1.0.1
Assignee:
Reporter: sebb@apache.org
Created: Sun, 14 Nov 2004 1:08 PM
Updated: Mon, 15 Nov 2004 10:50 AM
Description:
At present, maven does not work properly unless the java source files are contained under the directory src/java.
Seems wrong to have to change the project directory struture just in order to use maven.
Would it not be possible to add some information to the project xml file to tell maven where to find the source files?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MAVEN-1505) Allow project layout other than src/java & src/test
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Brett Porter
Created: Mon, 15 Nov 2004 2:40 PM
Body:
your current alternatives are to:
- use separate projects (and produce separate jars) for each of the protocols
- write a custome preGoal in maven.xml to add the extra source directories to the path
I will have to get a vote for this, but I think we may bite the bullet and allow it implicitly in future versions so that generated sources can be dealt with easily from separate trees. However, structuring your project that way, for one that you control of, is strongly discouraged: you either want to separate them, so build separate JARS, or you don't - one source tree (sure, use separate packages, but not trees - it just adds unnecessary complexity).
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1505?page=comments#action_26433
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1505
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1505
Summary: Allow project layout other than src/java & src/test
Type: Improvement
Status: Reopened
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Versions:
1.0.1
Assignee:
Reporter: sebb@apache.org
Created: Sun, 14 Nov 2004 1:08 PM
Updated: Mon, 15 Nov 2004 2:40 PM
Description:
At present, maven does not work properly unless the java source files are contained under the directory src/java.
Seems wrong to have to change the project directory struture just in order to use maven.
Would it not be possible to add some information to the project xml file to tell maven where to find the source files?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MAVEN-1505) Allow project layout other than src/java & src/test
Posted by ji...@codehaus.org.
The following issue has been updated:
Updater: David Eric Pugh (mailto:epugh@opensourceconnections.com)
Date: Mon, 15 Nov 2004 8:59 AM
Comment:
I'll leave it up to someone more in tune with the future of Maven to address this one!
Changes:
assignee changed from David Eric Pugh
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MAVEN-1505?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1505
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1505
Summary: Allow project layout other than src/java & src/test
Type: Improvement
Status: Reopened
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Versions:
1.0.1
Assignee:
Reporter: sebb@apache.org
Created: Sun, 14 Nov 2004 1:08 PM
Updated: Mon, 15 Nov 2004 8:59 AM
Description:
At present, maven does not work properly unless the java source files are contained under the directory src/java.
Seems wrong to have to change the project directory struture just in order to use maven.
Would it not be possible to add some information to the project xml file to tell maven where to find the source files?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org