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]
