I guess Sonatype's Tycho is my answer: "Tycho currently builds Maven pom.xml using a local installation of Eclipse which should contain the Plugin Development Environment (PDE) and other Eclipse components your specific plugin depends on." (http://www.sonatype.com/people/2008/11/building-eclipse-plugins-with-maven-tycho/)
Thanks! On Thu, Nov 11, 2010 at 11:31 AM, Antonio Petrelli <[email protected]> wrote: > Sorry I completely missed the point. > Please ignore me (only this time) > > Antonio > > 2010/11/11 Antonio Petrelli <[email protected]>: >> 2010/11/11 Gabriel Petrovay <[email protected]>: >>> - I don't want maven to get things from the internet because they are all >>> local. >> >> With Maven, you need to do it at least once, just to call >> mvn dependency:go-offline >> to download all your dependencies (plugins and project dependencies) >> in one shot. >> >>> - I was to define in my POM file something like: >>> <repositories> >>> <repository> >>> <id>my_local_repo</id> >>> <url>file://path/to/my/eclipse/installation/</url> >>> <layout>???</layout> >>> </repository> >>> </repositories> >> >> Useless. >> >>> Do you know something that handles this case: a repository layout that >>> can pick things from a local eclipse installation? >>> >>> Currently I use "p2" repository layouts and I have to >>> find/define/maintain every single Eclipse update site that I used to >>> configure my Eclipse installation. Having such a solution in place I >>> only have to instruct maven to pick all the dependencies form my local >>> installation. >>> >>> An alternative equivalent solution would be to generate a POM file out >>> of an eclipse installation. Any ideas? >> >> It's better doing the opposite: convert manually all your local >> libraries into dependencies, manually construct your pom and, when >> you're finished, use m2eclipse to manage your Maven project as an >> Eclipse project. >> >> Antonio >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- MSc Gabriel Petrovay Mobile: +41(0)787978034 www.28msec.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
