Thanks a lot Sam... It worked like a charm! My regards...
On Tue, Sep 30, 2008 at 4:33 PM, Samuel Le Berrigaud <[EMAIL PROTECTED]>wrote: > Hi Thor, > > the downloadSources flag is only used by some specific plugins. None > of them being bound to the clean or package lifecycles. > Depending whether you're using Eclipse or IntellIiJ IDEA you can run: > > mvn eclipse:eclipse -DdownloadSources > or > mvn idea:idea -DdownloadSources > > This will create the IDE project file for you with the sources maven > could download correctly set up. > If you don't want to be IDE specific but just download the sources I > would suggest using the dependency plugin > (http://maven.apache.org/plugins/maven-dependency-plugin/): > > mvn dependency:sources > > This will simply download the sources for all your dependencies (well > at least for those which have sources in the repo). > > HTH, > SaM > On Wed, Oct 1, 2008 at 8:19 AM, Thor <[EMAIL PROTECTED]> wrote: > > Hello everyone. Thanks for reading. > > I know this is really basic, but here goes... > > > > I'm having trouble downloading the sources from the central maven repo. > > I just created a project using the struts2-archetype-starter, updated the > > pom to the struts2's latest version (2.0.11.2) > > Then, when I ran mvn clean package with the -DdowloadSources=true flag, > > maven only got the binaries. > > > > I even tried deleting the group org.apache.struts from my local repo to > see > > if could get new copies of the files, but nothing seems to work. > > I also tried and failed to download the javadoc. > > > > I use maven 2.0.9 and Archiva 1.0.2 as my internal repository. > > > > Any ideas? > > Thanks in advice. > > -- > > > > (o_ \* > > / / ) | > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- (o_ \* / \ / / / )_ | | O | v v .... In a free world...
