Yes, Maven expects that the sources to build a given module are attached to that module and not in another location.
-----Original Message----- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 10:09 AM To: Maven Users List Subject: Re: RE: how to dependency:sources if sources at different location This sounds like work you probably should not be doing. I'd complain to the Spring folks and see if they won't perhaps publish separate sources. Wayne On 3/5/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > the point is, that springframework put their sources only as one part to > > http://repo1.maven.org/maven2/org/springframework/spring/2.0.2/ > spring-2.0.2-sources.jar > The sources are bundled in one large zip for all the separate modules! > > In my pom.xml the dependency goes to parts of spring, because I don´t need > all. > ... > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-core</artifactId> > <version>2.0.2</version> > </dependency> > ... > > So if I dependency:sources, there´s no source-jar to download at > http://repo1.maven.org/maven2/org/springframework/spring-core/2.0.2/ > How can I tell Maven to download the sources for spring-core, spring-web, > spring-remoting and so on all from the same location (see above). > > Thanx, Torsten > > > > > "Brian E. Fox" <[EMAIL PROTECTED]> > 04.03.2008 18:03 > Bitte antworten an > "Maven Users List" <[email protected]> > > > An > "Maven Users List" <[email protected]> > Kopie > > Thema > RE: how to dependency:sources if sources at different location > > > > > > > The sources goal tries to find sources for all your dependencies. What > else is it you want to do? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 04, 2008 11:35 AM > To: [email protected] > Subject: how to dependency:sources if sources at different location > > Hi, > > I want to dependency:sources the sources from > http://repo1.maven.org/maven2/org/springframework/spring/2.0.2/ > > But in my pom.xml I have only references to parts of spring, for example > > > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-core</artifactId> > <version>2.0.2</version> > </dependency> > > Any idea how to solve this? > > thanx, torsten > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
