You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Kr. Andersen (JIRA)" <ji...@codehaus.org> on 2009/02/02 13:18:19 UTC

[jira] Commented: (MNG-3989) Simple handling of external jars

    [ http://jira.codehaus.org/browse/MNG-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163539#action_163539 ] 

Anders Kr. Andersen commented on MNG-3989:
------------------------------------------

Hi Greg
It seems like it is up to you to come with a solution :-)

I have the same issue with weblogic jar files.

What we need is a well defined way to load artifacts as jar,war, zip etc into a repository. mostly local repository

Consider we made a plugin that could:
a) read from a directory "repository" and load all files it finds there into repository.  Where the maven coordinaes will be read from the file structure. (so repository should be structured as a maven 2 repository)
b) construct poms as long as they where not there.

I think this could be great.
The problem I have left is to get mvn clean install executed on this pom, so developers can get started ?



> Simple handling of external jars
> --------------------------------
>
>                 Key: MNG-3989
>                 URL: http://jira.codehaus.org/browse/MNG-3989
>             Project: Maven 2
>          Issue Type: New Feature
>    Affects Versions: 2.0.9
>            Reporter: Greg Wilkins
>
> For whatever reason, there will always be jars that don't exist in a maven repository.
> There are numerous techniques for these - installing them in your local repo (either manually or with
> some bootstrap.sh script or special profile activation).   Checking in the jars into a local maven repository that is checked into svn 
> and then point to it from your settings.xml and/or top level pom (with aid of an env variable).
> But all these methods lack a very important features.  You can just do: "svn co http:/myproj.com/foo; cd foo; mvn"
> If the jars change, you can't just do "svn up; mvn", you have to re-run whatever script/profile installed the repo.
> It's all rather a PITA.
> What I want, is some way to have a module of a project that contains some non-maven jars that when I
> do a "mvn install" in that project, install those jars in my local repository for use by my other modules. If the
> jars are not updated, then nothing is done.
> With something like this, projects that have external dependencies could describe them to maven and 
> make them available for use, without manual steps and special scripts.

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