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]


Reply via email to