The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
45 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
111 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
402 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
19 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
234 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
43 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
0answers
120 views

Cannot build with maven using docker on a ubuntu server 14.04 vm machine

I'm using Ubuntu Server 14.04 on a local virtual machine for compiling. I have issues with the docker maven plugin, when I want to compile my Java Application with mvn clean install resigning in a ...
0
votes
1answer
576 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
0answers
185 views

Installing maven w/out X11/Dependency-hell?

I'm trying to provision my Vagrant box with some Java tools. Unfortunately, I get into dependency hell all the time. I had to use a script to dl and install Oracle Java, because openjdk-7-jdk is ...
0
votes
1answer
620 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
1answer
4k 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
797 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 ...
0
votes
1answer
67 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 ...
0
votes
2answers
2k 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 ...
1
vote
1answer
461 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 ...
26
votes
5answers
35k 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
496 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
192 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
202 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
20k 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
558 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
21 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
11k 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 ...
13
votes
2answers
91k 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
320 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
298 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 ...
12
votes
1answer
17k 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
8k 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
541 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
991 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 ...
28
votes
5answers
48k 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.