You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by ji...@codehaus.org on 2004/09/07 15:53:10 UTC

[jira] Closed: (MNG-74) remove need for maven.properties

Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Tue, 7 Sep 2004 9:52 AM

there are some outstanding issues such as jar overrides and properties being defined/interpolated, which will all have separate issues assigned.
However, maven.properties is no longer read.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MNG-74

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MNG-74
    Summary: remove need for maven.properties
       Type: Task

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: m2
   Fix Fors:
             1.0-alpha-1
   Versions:
             1.0-alpha-1

   Assignee: Brett Porter
   Reporter: Brett Porter

    Created: Sun, 22 Aug 2004 10:42 PM
    Updated: Tue, 7 Sep 2004 9:52 AM

Description:
currentl maven.properties is only used for a handful of properties. Push them into the POM and then get rid of maven.properties altogether.

This will also affect the bootstrap, as it uses maven.repo.local.

Properties like localRepository may not be valid in a propert POM, only the user POM, so consider adding a feature request to modello for this.

Finally, there needs to be a way to do command-line overrides. Come up with a way to do this: probably it is a standard notation of system properties, eg:
-Dmaven.localRepository=...
which overrides <localRepository />

-Dmaven.scm.url=...
which overrides
<scm>
  <url>...</url>
</scm>
but not other elements of the scm tag

also something like
-Dmaven.build.unitTest.excludes=**/FooTest.java,**/BadTest.java
which would simulate:
<excludes>
 <exclude>**/FooTest.java</exclude>
 <exclude>**/BadTest.java</exclude>
</excludes>



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