Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [maven]

Maven is a build automation tool, the tag should be used in combination with programming language and programming environment tags.

0
votes
1answer
14 views

Transaction check error while installing maven on Centos7

I'm trying to install maven on Centos 7: [root@htm-psycho-401 htmpp]# yum install maven Loaded plugins: auto-update-debuginfo, fastestmirror Loading mirror speeds from cached hostfile * base: mirror....
-2
votes
1answer
29 views

how to get lines which has a string in the form of groupid:artifactid:version from maven build output? [closed]

I want only list of plugins from the output of mvn -B dependency:resolve-plugins maven build out has many other things like Downloading , build success and many more lines which don't have plugin ...
1
vote
1answer
33 views

How to disable stopping a bash script from executing after calling some command?

I am trying to create a bash script to deploy an application. Prior to deploying, the application must be built using maven. The problem is, once the maven build finishes, the next command is never ...
1
vote
0answers
90 views

Unable to run mvn clean install on macOS Sierra 10.12.6

I am using maven-3.1.1 along with eclipse neon for RCP and jdk-7. I am running into the following issue - Error with Maven command: mvn clean install Problem running the Maven command because the ...
1
vote
1answer
28 views

How to set global variable visible even for sudo commands?

I have installed Maven on Ubuntu 16.04 following instructions. I edited /etc/environmentand added path to maven/bin folder to $PATH variable. Under my normal user everything works just fine, but ...
4
votes
1answer
207 views

Getting “Could not create local repository” error when building Debian package

I am trying to build a debian package against Debian stretch. The debian/rules file is this: #!/usr/bin/make -f %: dh $@ override_dh_auto_build: mvn clean package When I build it ...
2
votes
2answers
534 views

Unable to locate the Javac Compiler in.ZKUI

I want install zkui on centos 7.1, But I have this error. [root@server-1 zkui]# mvn clean install [INFO] Scanning for projects... [INFO] [INFO] -------------------------------------------------------...
0
votes
1answer
247 views

How can I view files created on vagrant in finder

I installed jenkins through vagrant CLI from terminal and installed maven plugin from jenkins. Maven is working fine, I am able to give the goals through CLI. Where can I view the files I created on ...
1
vote
0answers
486 views

Installation Zeppelin issue: how to fix the dependencies without Internet?

I am installing Zeppelin in a private network. So far, four modules need a local repository to be built. zeppelin-beam zeppelin-bigquery zeppelin-postgresql zeppelin-shell I got this ...
1
vote
1answer
299 views

Maven Compilation error while building Lumify web-base project

I am trying to build lumify project with the following command mvn package -e -P web-war -pl web/war -am -DskipTests -Dsource.skip=true I am getting following compilation errors [INFO] Lumify .........
1
vote
0answers
162 views

Linux machine mvn command creates ? directory

In my Linux VM, I have "?" directory created everytime I run mvn clean install command. for ex: cd ~/project/ where pom.xml file is present. When I run mvn command it creates "?" under project folder ...
1
vote
0answers
302 views

Problem with downloading large file from internet

Since a while ago, whenever I am downloading a large file with maven it takes a long time. I also tried with just wget and still had the same problem. It will freeze for 10 or more minutes after ...
1
vote
0answers
732 views

How to configure maven plugin from command line?

I'm trying to configure JaCoCo maven plugin from command line insted of using pom.xml. I have managed to execute prepare-agent so far with command: mvn -X -Djacoco.destFile=./coverage/jacoco.exec ...
0
votes
0answers
1k views

Debian: mvn command not found

I am attempting to install Maven in my Debian 7 environment, but even having followed the instructions from this video, I can't seem to get Maven working. I have the folder apache-maven-3.1.1 in my /...
0
votes
1answer
791 views

SED find and replace element in filename with incremental values

A sample filename is Sample-0.0.1-SNAPSHOT.jar (result of a maven build in jenkins). My goal is to run a shell script that executes on failure and what that script does it adds incremental numbers to ...
0
votes
1answer
17k views

bash cannot find mvn command after install

I tried to install Maven on CentOS 7, but afterwards typing mvn -version in the terminal results in bash: mvn: command not found.... How can I fix this so that I can call maven from the CentOS 7 ...
2
votes
2answers
1k views

What is the meaning of local[4] in this example

I am looking at this example from the apache spark documentation. It seems to pass a variable called local[4] into the --master variable. I have not seen that before. What does it mean? I am using ...
0
votes
1answer
416 views

How to get pass a localisation issue when setting up a maven project?

I'm trying to install ovirt on my mint laptop. Installing oVirt on a debian distribution is expirimental and there is little knowledge about troubleshooting on the web. However, I have found the ...
1
vote
1answer
2k views

Install a different version of Maven from the one provided by Ubuntu

I would like to install a package on Ubuntu 10.04.4 but would like to not use the one available in the one repository that I get when I do: apt-cache policy ${package} I would actually like to use ...