Fred Bricon wrote:
> 
> This feature is available under the Import menu.
> For example, right click on a jar file in your workspace, select Import >
> Maven > Install or Deploy an artifact (archive) into a Maven repository
> 

Got it! I guess the use case is say a project where some of the dependencies
are not on any repo and are present in a lib dir within the project, so you
can select the jar and import it into the local maven repo using the wizard. 

Some notes of mine:
- the reference to "install or deploy to a Maven repository" looks
misleading to me, as it just installs the jar into the local repository,
maybe the text should be something more like "install into the local Maven
repository" and "deploy to a Maven repository" should be a separate action
under "Export..."
- the install artifact action didn't trigger a maven project update
configuration, so I had to manually do it before having the missing artifact
error go away
- as it is, it would be much more useful if the install artifact action was
also a quick fix provided for the missing artifact error, which already
populates the groupId-artifactId-version fields in the form

what do you think?

--m
-- 
View this message in context: 
http://www.nabble.com/How-to-installing-artifacts-to-the-local-Maven-repository-with-m2eclipse--tp21890448p21893080.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to