The following issue has been updated:
Updater: dion gillard (mailto:[EMAIL PROTECTED])
Date: Wed, 24 Sep 2003 2:26 AM
Changes:
Fix Version changed to 1.1
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-806&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-806
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-806
Summary: Dependencies and build/test/run configurations : Addition of flexibility
Type: New Feature
Status: Unassigned
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
core
Fix Fors:
1.1
Versions:
1.1
Assignee:
Reporter: Andy Jefferson
Created: Wed, 10 Sep 2003 4:48 AM
Updated: Wed, 24 Sep 2003 2:26 AM
Description:
I would like to have the ability to have different test and runtime configurations
within Maven. Currently there are limitations with how Maven's test process works.
a). Dependencies for testing have to be put in the overall dependencies section.
b). There is no separation of the different types of dependencies.
How about a revision to the POM as follows ...
<build>
<sourceDirectory>...</sourceDirectory>
<dependencies>
...
</dependencies>
<configurations>
<configuration name="Windows">
<dependencies>
...
</dependencies>
</configuration>
</configurations>
</build>
<test>
<sourceDirectory>...</sourceDirectory>
<dependencies>
...
</dependencies>
<configurations>
<configuration name="MySQL">
<dependencies>
....
</dependencies>
</configuration>
</configurations>
</test>
<run>
<dependencies>
...
</dependencies>
<configurations>
<configuration name="Linux">
<dependencies>
....
</dependencies>
</configuration>
</configurations>
</run>
This provides the separation of the different types of dependencies. It provides for
* platform specific builds
* different test configurations (e.g with different DB's).
* different runtime dependencies dependent on the deployment environment
* ability to specify dependencies for all build configurations, and to add ones
specific to particular configs.
* ability to specify dependencies for all test configurations, and to add ones
particular to particular configs.
The above is intended as a talking point and as provocation :-) to getting Maven up to
a point where it can cope with the various situations found in typical projects.
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]