Roger i am using Eclipse Helios i followed the step up to 9 but not able to find the step 10
still i updated dependencies by maven->update dependencies and than followed step 11 and 12 but still it is showed me following log when i updated dependencies 26/7/11 11:31:04 PM IST: Update started 26/7/11 11:31:04 PM IST: Missing artifact com.google.guava:guava:jar:r08:compile 26/7/11 11:31:04 PM IST: Missing artifact junit:junit:jar:4.8.2:test 26/7/11 11:31:04 PM IST: Missing artifact ch.qos.logback:logback-classic:jar:0.9.28:compile 26/7/11 11:31:04 PM IST: Missing artifact ch.qos.logback:logback-core:jar:0.9.28:compile 26/7/11 11:31:04 PM IST: Missing artifact org.slf4j:slf4j-api:jar:1.6.1:compile 26/7/11 11:31:04 PM IST: Missing artifact org.apache.httpcomponents:httpclient:jar:4.1:test 26/7/11 11:31:04 PM IST: Missing artifact org.apache.httpcomponents:httpcore:jar:4.1:test 26/7/11 11:31:04 PM IST: Missing artifact commons-logging:commons-logging:jar:1.1.1:test 26/7/11 11:31:04 PM IST: Missing artifact commons-codec:commons-codec:jar:1.4:test 26/7/11 11:31:04 PM IST: Missing artifact com.ning:async-http-client:jar:1.6.1:test 26/7/11 11:31:04 PM IST: Missing artifact org.jboss.netty:netty:jar:3.2.4.Final:test 26/7/11 11:31:04 PM IST: Generating sources /deft/pom.xml 26/7/11 11:31:04 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 26/7/11 11:31:04 PM IST: Build error for /deft/pom.xml; org.apache.maven.plugin.version.PluginVersionResolutionException: Error resolving version for plugin 'org.apache.rat:apache-rat-plugin' from the repositories [local (C:\Users\Raisonne\.m2\repository), central ( http://repo1.maven.org/maven2)]: Plugin not found in any plugin repository 26/7/11 11:31:04 PM IST: Adding source folder /deft/src/main/java 26/7/11 11:31:04 PM IST: Adding resource folder /deft/src/main/resources 26/7/11 11:31:04 PM IST: Adding source folder /deft/src/test/java 26/7/11 11:31:04 PM IST: Adding resource folder /deft/src/test/resources 26/7/11 11:31:04 PM IST: Update completed: 0 sec 26/7/11 11:31:05 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 26/7/11 11:31:43 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 26/7/11 11:31:44 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 Additionaly it showing me three more issue in build path Description Resource Path Location Type Could not calculate build plan: Error resolving version for plugin 'org.apache.rat:apache-rat-plugin' from the repositories [local (C:\Users\Raisonne\.m2\repository), central (http://repo1.maven.org/maven2)]: Plugin not found in any plugin repository deft Unknown Maven Problem Description Resource Path Location Type The container 'Maven Dependencies' references non existing library 'C:\Users\Raisonne\.m2\repository\com\google\guava\guava\r08\guava-r08.jar' deft Build path Build Path Problem and last one is Description Resource Path Location Type The project cannot be built until build path errors are resolved deft Unknown Java Problem so i am still wondering where i am doing wrong? On Tue, Jul 26, 2011 at 10:58 PM, Roger Schildmeijer <[email protected] > wrote: > 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/ > > -- With Regards Umesh Awasthi http://www.travellingrants.com/
