A question here... Let's say that my project depends on project A that depends on project B. Project A has a correct pom but project B does not. Can I do something that makes maven generate a pom for project B when looking for dependencies? /Ludwig
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Anders Hammar Sent: den 25 maj 2010 06:48 To: Maven Users List Subject: Re: Why is maven trying to download installed jars? Please remember that this generated minimal pom just holds the required GAV info. There is no info about dependencies, which makes it...well, minimal. Maven will then not be able to help you with transitive deps and dependency management. So, you should always create a correct pom (including dependency info) IMO. /Anders On Mon, May 24, 2010 at 23:13, Wayne Fay <[email protected]> wrote: > > So is this flag (generatePom) not default because of a bug or should I > just > > add it every time I add file to the repository? > > It is the default in sufficiently recent versions of the install > plugin. To be safe, just add the -D flag when you install artifacts > locally. > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
