[ http://jira.codehaus.org/browse/MNG-804?page=comments#action_52990 ]
Natalie Burdick commented on MNG-804:
-------------------------------------
Please note the the text wrapping is not correct -- should not be so much space
after 'repository' and 'issues'
use formatting below:
In Maven 1.0, the maven.jar.override property allowed users to use artifacts
outside the maven local repository. Maven 2 now enforces the best practice of
storing all artifacts in a single repository, to optimize performance, reduce
storage management requirements and mitigate issues related to building
projects that are dependent on a particular user's environment.
Please change formatting here:
To override a jar's version, enter the dependency's version in the
\<dependencyManagement\>.
Maven 2.0 uses \<dependencyManagement\> to specify and manage all
dependency information.
Here is a snippet on how to declare it on the pom.xml.
to:
To override a jar's version, enter the dependency's version in the
\<dependencyManagement\>. Maven 2.0
uses \<dependencyManagement\> to specify and manage all dependency
information.
Following is a sample showing how to declare dependencies in the pom.xml.
Please change formatting to following:
Maven 2 uses a goal called install-file from the maven-install-plugin to
override files. The install-file goal
places the artifact in the local repository. Please refer to
{{{http://docs.codehaus.org/display/MAVENUSER/FAQs}Maven user FAQs}} for
more information on this
goal.
Lastly, you use 'goal' in one place but mechanism in another -- is this
technically correct, i.e., are these different, or are they both goals?
> maven.jar.override usage in m2
> ------------------------------
>
> Key: MNG-804
> URL: http://jira.codehaus.org/browse/MNG-804
> Project: Maven 2
> Type: Sub-task
> Components: documentation - general
> Reporter: Natalie Burdick
> Assignee: Allan Ramirez
> Priority: Minor
> Fix For: 2.0.2
> Attachments: m1-m2-changes (revised).txt, m1-m2-changes-b.apt,
> m1-m2-changes.apt
>
>
> refer to:
> http://mail-archives.apache.org/mod_mbox/maven-users/200508.mbox/[EMAIL
> PROTECTED]
> to document that unlike m1, m2 no longer allow jar overrides via the
> maven.jar.override property
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]