The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
100 views

Maven environment variable not working on other terminal

When I run echo $PATH and echo $JAVA_HOME command as a normal user, I get jdk path variables set. But when I run as a root user, the variables are not set there. I copied maven binary folder to /opt ...
0
votes
1answer
368 views

mvn package error: unknown host repo.maven.apache.org

I'm using intelliJ IDEA 14.1.4 and when mvn package is entered I get this message [INFO] Scanning for projects... [INFO] ...
0
votes
1answer
120 views

mvn --version says permission denied

I have extracted the maven binary files to my home directory i.e /home/pranish then ran the following commands to install maven environment variables: export M2_HOME=/home/pranish/apache-maven-3.3.3 ...
-1
votes
1answer
213 views

Problem with Maven execution after installation

when i run mvn -v i get the below error: bash: /usr/local/apache-maven/apache-maven-3.3.1/bin/mvn: No such file or directory At /usr/local/ there was a apache-maven directory and i deleted it. ...
0
votes
0answers
217 views

Trying to install Maven, getting JAVA_HOME error

I already have jdk installed and now I would like to learn Maven. When I run mvn -version I get: Error: JAVA_HOME is not defined correctly. We cannot execute /usr/local/java/jdk.1.8.0_60/bin/java ...
1
vote
1answer
170 views

How to configure environment variables in Ubuntu? [duplicate]

My environment variables are correct? What is the correct way to use them in Ubuntu? I put them at the end of .bashrc file or edit the end of /etc/environment to able to use the $JAVA_HOME and ...
0
votes
2answers
3k views

The program can be found in the following packages

When i write mvn command in Terminal i get this message: The program 'mvn' can be found in the following packages: * maven * maven2 Try: sudo apt-get install <selected package> I also get ...
1
vote
1answer
3k views

mvn --version -Dmaven.multiModuleProjectDirectory system propery is not set

I have downloaded and installed maven3.3.3. on uBuntu 14.04 and when I run the command mvn --version I get this error -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME ...
0
votes
0answers
39 views

How do I setup a github for maven and then package it to launchpad?

How do you create a Maven project in eclipse and link it to Github? I've looked it up in Google multiple times and haven't found anything.
2
votes
1answer
492 views

Maven: JAVA_HOME is not defined correctly

I've installed and configured Maven and Java. I can successfully run mvn spring-boot:run But when I run sudo mvn spring-boot:run I am getting Maven: JAVA_HOME is not defined correctly When I ...
2
votes
1answer
78 views

Big size difference between apt-get install and binary file of apache Maven

I am installing Apache Maven onto my Ubuntu 12.04; and sudo apt-get install maven gives me 229 MB of file to download. On the other hand, going to Apache Maven site, I can download a 7 MB file. What ...
0
votes
1answer
1k views

Install Eclipse Marketplace - which Maven plugin for my configuration?

I've had some struggles getting Java, Eclipse and Maven to work properly on my configuration. environment: Ubuntu 12.04 Java 8 Eclipse Indigo 3.7 Maven 3.0 Task: Install Maven plug in through ...
0
votes
1answer
989 views

What version of “mysql-connector-java” to include in pom.xml for ubuntu 14.04

The mysql server version installed is 5.5.38 as verified by sanchit@sanchit-3560:/$ mysql --version mysql Ver 14.14 Distrib 5.5.38, for debian-linux-gnu (x86_64) using readline 6.3 But in the ...
0
votes
2answers
8k views

Unable to remove maven using 'sudo apt-get remove maven2'

I want to upgrade to newer version of maven. For that i first want to remove the existing version of maven in the computer as told here. I tried sudo apt-get remove maven2. But it is saying ...
0
votes
1answer
2k views

Maven only invokable from terminal while root

I'm following the directions laid out here: http://java.dzone.com/articles/installing-maven-304-ubuntu Everything is in the right place and the sym link is working correctly. However whenever I try ...
1
vote
1answer
75 views

juju charm failed in local lxc

So I want to run my web application in the local lxc provider using juju.my web application is maven build application. So I create my charm and try to run it locally. In hooks I have installed java ...
1
vote
2answers
3k views

How to install previous version of Maven (3.0.4)?

The way my Maven packages are configured, something breaks when I have the latest version installed (I think 3.4). On another computer, where I have 3.0.4, the build runs fine. I am looking for a ...
2
votes
1answer
660 views

Why doesn't ps -al display my java programs?

I don't understand why ps -al or sudo ps -al won't display for instance my java processes. If I do ps -al then I don't see for example my java jobs but I see them when I do the (strange and ...
38
votes
7answers
59k views

How to update maven 3.0.4 - 3.1.1

First of all am new to Ubuntu as well as Maven. Does anyone know how to update maven. My current version of maven is 3.0.4. I would like to update it to 3.1.1 which is the latest version. I tried ...
2
votes
3answers
746 views

Help identify confusing way Maven is running with no M2_HOME?

I am running Ubuntu 12.04 and am a Java developer who has recently moved off his desktop and started working on a new laptop. I have a few build issues and am investigating my install of Maven. I got ...
1
vote
0answers
243 views

Itellij debug problem with maven

When I try to make a debug with intellij in a maven project in Ubuntu 13.04 i get this error, I try with another ports, remote debug, and check the host file, have the same result. Tested in a clean ...
0
votes
1answer
249 views

How do I install the Jetspeed Maven plugin if .m2 file is read-only?

I am currently trying to go through the Jetspeed portal tutorial. However, once I made it to the "Configure Maven Build" section, I ran into a problem. The tutorial asks that in order to setup the ...
3
votes
3answers
25k views

Error: JAVA_HOME is not defined correctly - after maven installation

I installed Java JDK on Ubuntu 12.04 and added Java home to my path at ~/.bashrc: export PATH=/opt/jdk1.7.0_40/jdk1.7.0_40/bin:$PATH This looks a little bit strange but it's really my path. After ...
0
votes
1answer
805 views

Building maven from source

I'm trying to build maven from source (on Ubuntu 12.04) following the tutorial: http://maven.apache.org/guides/development/guide-building-m2.html I installed a previous version of maven using sudo ...
1
vote
1answer
23 views

from where should i learn about functionality of maven package

I am working on a project which works through maven package Is there any documentation available for maven package linux so that i can learn it in best way .. thanks
1
vote
2answers
13k views

Ubuntu adding path/Environment variables

I am trying to install apache maven 3 in Ubuntu 12.04 lts. What I did was open the terminal then I typed the following commands export M2_HOME=/usr/local/apache-maven/apache-maven-3.0.5 [Then ...
18
votes
2answers
123k views

How to permanently set environmental variables PATH and M2_HOME in ubuntu for maven3?

I have downloaded the latest apache-maven3.zip file and extracted it to the folder: /home/gaurav/Java/maven3. I don't know how to set the environmental variables for maven - such as PATH and M2_HOME. ...
0
votes
2answers
357 views

How to stop firewall

I am new to Ubuntu. I am developer and working with maven3. I am unable to download dependencies from this site. When I tried in Windows it was a 404 exception but when I stopped my anti-virus it was ...
3
votes
0answers
342 views

Maven not working after updating java

I have recently updated my java version to jdk7u9 in my ubuntu 11.04 Natty after which my previous maven projects have stopped working. I have installed using this script When I run maven install in ...
0
votes
2answers
2k views

jenkins-maven-android when running throwing the error “android-sdk-linux/platforms” is not a directory"

I start setting up the jenkins-maven-android and i'm facing an issue when running the jenkin job. My Machine Details $uname -a Linux development2 3.0.0-12-virtual #20-Ubuntu SMP Fri Oct ...
14
votes
1answer
21k views

What is the correct way to install Maven and Eclipse?

I have installed Maven and Eclipse using the Software Center in Ubuntu 12.04. There is no sign of Maven integration in Eclipse. ("new Maven project" and such) What is the correct way to install? (to ...
2
votes
4answers
9k views

Oracle JDK 7 with Maven and Eclipse [duplicate]

Possible Duplicate: How do I install Oracle Java JDK 7? I'm running Ubuntu 12.04 I know this has been asked many times but I just recently switched to linux and I'm having a hard time ...
0
votes
1answer
682 views

How do I run Maven 2?

I have installed Maven 2.2.1-5 via the Ubuntu Software Center. How do I run it? Why does it not appear in Ubuntu Software Center / Installed Software? (Ubuntu Software Center / Get Software shows ...
2
votes
2answers
1k views

Maven Repository Manager Package

Is there any package for a Maven repository manager? I searched for some of the ones I know, but couldn't find any. I'm wondering if they are just not available, if they have names different than what ...
31
votes
7answers
57k views

How do I install Maven 3?

Maven 2 is in the repositories, but not Maven 3. How do I properly install Maven 3? Guides that I found don't really work properly. I am using Natty, but I am sure this won't change anything.