No problem. I usually do it like this (in eclipse indigo and using subclipse (svn eclipse plugin)): 1, svn repository exploring editor 2, expand https://svn.apache.org/repos/asf/incubator/deft 3, right click sandbox 4, checkout 5, finish 6, java, java project 7, name it 8, finish (two dialoges might pop up, yes and yes) 9, right click the project in the 'package explorer' 10, configure -> convert to maven project 11, right click the project in the 'package explorer' (once again) 12, maven -> update project configuration 13, rock'n roll
// Roger On Jul 26, 2011, at 7:16 PM, Umesh Awasthi wrote: > i tried to import project in eclipse workbench and than tried to update > maven dependencies (using M2eclipse) > but console showing the following error > > > 26/7/11 10:38:26 PM IST: Missing artifact > com.google.guava:guava:jar:r08:compile > 26/7/11 10:38:26 PM IST: Missing artifact junit:junit:jar:4.8.2:test > 26/7/11 10:38:26 PM IST: Missing artifact > ch.qos.logback:logback-classic:jar:0.9.28:compile > 26/7/11 10:38:26 PM IST: Missing artifact > ch.qos.logback:logback-core:jar:0.9.28:compile > 26/7/11 10:38:26 PM IST: Missing artifact > org.slf4j:slf4j-api:jar:1.6.1:compile > 26/7/11 10:38:26 PM IST: Missing artifact > org.apache.httpcomponents:httpclient:jar:4.1:test > 26/7/11 10:38:26 PM IST: Missing artifact > org.apache.httpcomponents:httpcore:jar:4.1:test > 26/7/11 10:38:26 PM IST: Missing artifact > commons-logging:commons-logging:jar:1.1.1:test > 26/7/11 10:38:26 PM IST: Missing artifact > commons-codec:commons-codec:jar:1.4:test > 26/7/11 10:38:26 PM IST: Missing artifact > com.ning:async-http-client:jar:1.6.1:test > 26/7/11 10:38:26 PM IST: Missing artifact > org.jboss.netty:netty:jar:3.2.4.Final:test > 26/7/11 10:38:26 PM IST: Missing artifact > com.google.guava:guava:jar:r08:compile > 26/7/11 10:38:26 PM IST: Missing artifact junit:junit:jar:4.8.2:test > 26/7/11 10:38:26 PM IST: Missing artifact > ch.qos.logback:logback-classic:jar:0.9.28:compile > 26/7/11 10:38:26 PM IST: Missing artifact > ch.qos.logback:logback-core:jar:0.9.28:compile > 26/7/11 10:38:26 PM IST: Missing artifact > org.slf4j:slf4j-api:jar:1.6.1:compile > 26/7/11 10:38:26 PM IST: Missing artifact > org.apache.httpcomponents:httpclient:jar:4.1:test > 26/7/11 10:38:26 PM IST: Missing artifact > org.apache.httpcomponents:httpcore:jar:4.1:test > 26/7/11 10:38:26 PM IST: Missing artifact > commons-logging:commons-logging:jar:1.1.1:test > 26/7/11 10:38:26 PM IST: Missing artifact > commons-codec:commons-codec:jar:1.4:test > 26/7/11 10:38:26 PM IST: Missing artifact > com.ning:async-http-client:jar:1.6.1:test > 26/7/11 10:38:26 PM IST: Missing artifact > org.jboss.netty:netty:jar:3.2.4.Final:test > 26/7/11 10:38:27 PM IST: Downloaded > http://repo1.maven.org/maven2/org/apache/rat/apache-rat-plugin/maven-metadata.xml > 26/7/11 10:38:27 PM IST: [WARN] Could not transfer metadata > org.apache.rat:apache-rat-plugin/maven-metadata.xml from/to central ( > http://repo1.maven.org/maven2): ConnectException > 26/7/11 10:40:16 PM IST: Missing artifact > com.google.guava:guava:jar:r08:compile > 26/7/11 10:40:16 PM IST: Missing artifact junit:junit:jar:4.8.2:test > 26/7/11 10:40:16 PM IST: Missing artifact > ch.qos.logback:logback-classic:jar:0.9.28:compile > 26/7/11 10:40:16 PM IST: Missing artifact > ch.qos.logback:logback-core:jar:0.9.28:compile > 26/7/11 10:40:16 PM IST: Missing artifact > org.slf4j:slf4j-api:jar:1.6.1:compile > 26/7/11 10:40:16 PM IST: Missing artifact > org.apache.httpcomponents:httpclient:jar:4.1:test > 26/7/11 10:40:16 PM IST: Missing artifact > org.apache.httpcomponents:httpcore:jar:4.1:test > 26/7/11 10:40:16 PM IST: Missing artifact > commons-logging:commons-logging:jar:1.1.1:test > 26/7/11 10:40:16 PM IST: Missing artifact > commons-codec:commons-codec:jar:1.4:test > 26/7/11 10:40:16 PM IST: Missing artifact > com.ning:async-http-client:jar:1.6.1:test > 26/7/11 10:40:16 PM IST: Missing artifact > org.jboss.netty:netty:jar:3.2.4.Final:test > 26/7/11 10:40:17 PM IST: [WARN] Failure to transfer > org.apache.rat:apache-rat-plugin/maven-metadata.xml from > http://repo1.maven.org/maven2 was cached in the local repository, resolution > will not be reattempted until the update interval of central has elapsed or > updates are forced. Original error: Could not transfer metadata > org.apache.rat:apache-rat-plugin/maven-metadata.xml from/to central ( > http://repo1.maven.org/maven2): ConnectException > > > even pom.xml showing the following error > failed to read artifact descriptor for javax.activation:activation:jar:1.1.1 > > Sorry since i have limited idea about Maven structure and its working.so > should i import it as existing project in to Eclipse or as a maven project? > On Tue, Jul 26, 2011 at 9:11 PM, Umesh Awasthi <[email protected]>wrote: > >> Thanks really a good news for me :) >> >> On Tue, Jul 26, 2011 at 9:06 PM, Roger Schildmeijer < >> [email protected]> wrote: >> >>> …and 4.2mb out of those 5mb are from src/test/resources/ >>> >>> Everything seems to be in order >>> >>> Happy hacking' >>> >>> // Roger >>> >>> On Jul 26, 2011, at 5:23 PM, Umesh Awasthi wrote: >>> >>>> Just a quick question i did the checkout from >>>> http://svn.apache.org/repos/asf/incubator/deft/sandbox as suggested by >>>> Roger,whole checkout size is under 5mb is it true? >>>> >>>> i am bit confused looking at the checkout size :) >>>> >>>> On Tue, Jul 26, 2011 at 7:13 PM, Emmanuel Lécharny < >>> [email protected]>wrote: >>> >>>> >>>>> On 7/26/11 3:04 PM, Roger Schildmeijer wrote: >>>>> >>>>>> On Jul 26, 2011, at 2:57 PM, Emmanuel Lecharny wrote: >>>>>> >>>>>> On 7/26/11 2:44 PM, Roger Schildmeijer wrote: >>>>>>> >>>>>>>> The initial environment setup is pretty minimalistic. If you use >>> Eclipse >>>>>>>> or IDEA it simply just to (1) checkout from the svn repo (ie >>>>>>>> http://svn.apache.org/repos/**asf/incubator/deft/sandbox< >>> http://svn.apache.org/repos/asf/incubator/deft/sandbox>, >>>>>>>> will move from deft/sandbox to deft/trunk asap.) >>>>>>>> (2) enable maven dependency management. >>>>>>>> (3) rock'n roll >>>>>>>> >>>>>>> Rock and roll => mvn eclipse:eclipse to setup the project, and then >>> load >>>>>>> the project in eclipse (of course, if you are uisng another IDE, like >>>>>>> Intellij, you just have to load the base pom.xml). >>>>>>> >>>>>>> Even on Eclipse, with M2eclipse, I think you can just load the >>> project >>>>>>> without doing a mvn eclipse:eclipse. >>>>>>> >>>>>> Thats true. I never use mvn eclipse:eclipse. >>>>>> >>>>> >>>>> mvn eclipse:eclipse is not anymore maintained. This is sad, because I >>> don't >>>>> think that M2Eclipse support multi-level projects. Or does it ? >>>>> >>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> Cordialement, >>>>> Emmanuel Lécharny >>>>> www.iktek.com >>>>> >>>>> >>>> >>>> >>>> -- >>> >>>> With Regards >>>> Umesh Awasthi >>>> http://www.travellingrants.com/ >>> >>> >> >> >> -- >> With Regards >> Umesh Awasthi >> http://www.travellingrants.com/ >> >> >> > > > > -- > With Regards > Umesh Awasthi > http://www.travellingrants.com/
