I believe that's the whole point of open source , helping each other and using each others expertise . Glad to help . Just to clarify Org.clojure is the group id Clojure is the artifact id Jar is type of packaging And 1.4.0 is the version Tutorials on maven are available on net if you want to dog deeper
-----Original Message----- From: researcher cs Sent: 20-08-2014 AM 09:18 To: [email protected] Subject: Re: Maven error Thanks for helping me and for your effort and time . i'm new in maven . what about 1.4.0 ? is it a version or what ? and what exactly should i write it ? On Tue, Aug 19, 2014 at 9:01 PM, Georgy Abraham <[email protected]> wrote: Hope you have given the required repositories in pom.xml for the dependencies U need . Some jars are not available in basic or default maven repository. U may need to add clojars or others repositories From: researcher cs Sent: 19-08-2014 AM 11:41 To: [email protected] Subject: Re: Maven error i got this after deleted folder [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: org.clojure:clojure:jar:1.4.0 Reason: Cannot find parent: org.sonatype.oss:oss-parent for project: org.clojure:clojure:jar:1.4.0 for project org.clojure:clojure:jar:1.4.0 On Tue, Aug 19, 2014 at 8:14 AM, Georgy Abraham <[email protected]> wrote: Yes i meant delete the folder , but still the error isn't it ?? Try running a simple maven clean compile package install command .. Don't know what's causing your error From: researcher cs Sent: 19-08-2014 AM 08:20 To: [email protected] Subject: Re: Maven error are you mean delete jar file or the folder which contain jar file ? for example here /home/usrs/.m2/repository/com/google/guava/guava/13.0/guava- 13.0.jar; i deleted folder 13.0 only and still error On Tue, Aug 19, 2014 at 4:31 AM, Georgy Abraham <[email protected]> wrote: Yes .. The jars may be corrupted or not fully downloaded one one try . Delete the folders of all jars causing the problem and build or compile again , maven seeing the dependencies are not there, will download it again. If you have manually installed the jars , please do it again with non corrupted jars. From: Anand Nalya Sent: 19-08-2014 AM 07:20 To: [email protected] Subject: Re: Maven error Hi, It seems that the maven dependencies are not properly downloaded. Can you try deleting these jar file and compile again? -Anand On 19 August 2014 05:00, researcher cs <[email protected]> wrote: when i executed this command mvn compile exec:java -Dexec.classpathScope=compile -Dexec.mainClass=trident.Myclass i got this [ERROR] BUILD FAILURE [INFO] Compilation failure error: error reading /home/usrs/.m2/repository/com/google/guava/guava/13.0/guava- 13.0.jar; error in opening zip file error: error reading /home/usrs/.m2/repository/com/fasterxml/jackson/core/jackson- core/2.0.0/jackson-core-2.0.0.jar; error in opening zip file error: error reading /home/usrs/.m2/repository/org/twitter4j/twitter4j-core/3.0.3/twitter4j-core-3.0.3.jar; error in opening zip filecan anyone help me ?
