Note that there are some explanatory texts on larger screens.

plurals
  1. POMaven in Ubuntu 10.4 -
    text
    copied!<p>This is my first time asking for help in a public forum. So anyways Microsoft Windows has been my comfort zone as a development environment,recently I have been chucked into a linux environment at work, I seem to have got the hang of things, but when I tried to set up Maven2 I ran into some issues, I will get to the issue part later, but this is how I set up maven </p> <p>Extracted maven to <code>/usr/local/maven/apache-maven-2.2.1</code></p> <p>Created a symbolic link to '/usr/bin' using following command </p> <p><code>sudo ln -s /usr/local/maven/apache-maven-2.2.1 /usr/bin/mvn</code></p> <p>when I <code>mvn --version</code></p> <p>Output :</p> <blockquote> <p>Apache Maven 2.2.1 (r801777; 2009-08-07 00:46:01+0530) Java version: 1.7.0_25 Java home: /usr/local/java/jdk1.7.0_25/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "2.6.32-24-generic" arch: "i386" Family: "unix"</p> </blockquote> <p>but when I try to do </p> <p><code>mvn clean</code></p> <p>Output : </p> <pre><code>[INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload