Apache Maven is a software project management and comprehension tool.

learn more… | top users | synonyms

1
vote
0answers
9 views

Running Gitlab and Maven repo on the same server

I was wondering, I am currently setting up Gitlab for versioning and Artefactory for Maven - Gitlab is currently running on a VM on my server. What would you do, make a new VM for Artefactory or use ...
0
votes
0answers
42 views

Install and run opengamma

I am trying to install Opengamma on Arch Linux as per this wiki https://github.com/OpenGamma/OG-Platform also there is a reference docker image available https://hub.docker.com/r/ptimof/opengamma/ ...
0
votes
0answers
8 views

Sync entire repository to directory without a settings.xml

I have a custom maven repository (for the build) and a 3rd party repository (for the applications dependencies). I would like to pull down the 3rd party repository similar to how maven pulls down the ...
0
votes
0answers
59 views

How to pass maven param “-T” to Eclipse for parallel builds?

Is there a way to pass maven param "-T" to Eclipse for parallel builds? More info about Maven parallel build (Required Maven 3+) ...
0
votes
1answer
86 views

Remove version information from maven generated war file

I am trying to automate the deployment of war files that are generated by our build server using maven. I need to be able to extract the project name from the war filename so I can rename the file ...
0
votes
0answers
132 views

Issue when trying to publish with weblogic server

I'm not sure why but when I try to run my server and see my software I get the error "'Publishing to Oracle WebLogic Server 12c (12.1.2) at localhost' has encountered a problem. Publish was canceled." ...
0
votes
0answers
59 views

Keytool without root access and leiningen

My traffic goes through proxy which replaces SSL certificate. This causes problems when accessing the maven/leiningen packages through HTTPS. I tried to install the cert in my keytool but that ...
0
votes
1answer
145 views

How to save settings in IntelliJ IDEA?

A couple of months ago I installed IntelliJ IDEA on my Windows 7 development computer. I also installed Maven. Unfortunately I provided IntelliJ with the wrong path to Maven. Now it seems to be ...
1
vote
1answer
136 views

FAR Maven 'mvn' is not recognized as an internal or external command,

I have working installation of Maven. If I use 'mvn whatever' commands in FAR it works. If, however, I try to use the view feature - 'view: < mvn whatever', I get the 'mvn' is not recognized as an ...
1
vote
1answer
202 views

Clean up Android Studio's maven

My C:\Users\me\.AndroidStudioBeta\system\Maven folder is almost 5 gigabytes I cannot afford. Is there any safe way of cleaning this folder?
2
votes
1answer
5k views

How to run single Maven test case in Jenkins

In Jenkins my job is of type "Build a maven2/3 project" and project name is "SeleniumProject" and project source is "SVN" contains around 40 test cases. When I build this, it runs all test cases and 3 ...
2
votes
1answer
966 views

How to configure maven to use -source 5 or higher to enable annotations?

I need to install a project into my local repository. During mvn install I'm getting compilation error. > [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ > ...
1
vote
2answers
944 views

I cannot remove 'target' folder on Windows 7 generated by Maven

I am getting a strange error since I compiled, cleaned and recompiled a project with Maven 3.1.1 using Windows 7. Basically the 'target' folder generated is no more "removable" and it looks like has ...
7
votes
2answers
6k views

Can intellij be set to automatically “Download Sources and Documentation”

I seem to have to maunally click "Download Sources and Documentation" after each clean install, is there a way to get this to happen by default?
0
votes
0answers
310 views

Why is Eclipse/m2e not using my computer's PATH when executing command line Maven tasks?

My project uses a Maven build system, and the Maven build includes a command line call to thrift to compile some files. In bash, mvn generate-sources successfully completes. But when I use m2e's Run ...
0
votes
1answer
72 views

How to resume maven downloads

I have a very slow connection, I would like to resume the downloads. Till now I don't have any idea how to do it in the settings, I've searched on oogle for a while and nothing. Just found another ...
0
votes
1answer
2k views

How can I stop maven from downloading transitive dependencies?

I have a Maven call that downloads artifacts for the purpose of running integration tests: mvn -Dmdep.useRepositoryLayout=true -Dmdep.copyPom=true -Dmdep.useBaseVersion=true ...
7
votes
1answer
2k views

What does “delete all disabled modules” do in Jenkins?

In Jenkins, I have the option to "delete all disabled modules" on main page of some projects. What does that do? Edit: What is a "disabled module"? Jenkins doesn't have modules, it has projects and ...
2
votes
1answer
4k views

How to specify ANDROID_HOME path for Maven under IntelliJ

I'm very new to Maven, and on top of that I'm forced to use the IntelliJ which is new environment as well for me. While building project with the Maven in IntelliJ 12.0.3 I'm getting compilation ...
1
vote
1answer
4k views

'mvn' is not recognized as an internal or external command

I get the following error when i type the command mvn --version 'mvn' is not recognized as an internal or external command, operable program or batch file. I have also followed this but still i am ...
0
votes
2answers
316 views

How can install maven2 and maven3 and have them coexist on the same ubuntu host

I found that maven2 install is via apt-get and maven3 is manual, but i could not find any information on how i an install maven3 without uninstalling maven2
0
votes
1answer
595 views

Deploy error using JBoss Application Server

I have problems with installation of ovirt engine on Fedora. Ovirt is open source virtualization solution. I am trying to deploy ovirt engine setup with maven2. I have install all prerequirements: ...
1
vote
1answer
5k views

How to update maven version on ubuntu machine?

I am working on Ubuntu linux machine. When I open a terminal window and type : mvn -v I got the output: Apache Maven 2.2.1 (rdebian-1) Java version: 1.6.0_26 Java home: ...
0
votes
1answer
699 views

maven not running under mintty

im running windows 7 and cygwin (latest) when i use the cygwin basic console, maven works great when i open mintty and run mvn, i get this exception $ mvn --version java.lang.NoClassDefFoundError: ...
25
votes
4answers
40k views

How do I install Maven 3?

I am using Ubuntu and need to upgrade to Maven 3 from Maven 2. Can someone please help me install Maven 3?
1
vote
2answers
747 views

How to set Environmental Variable?

Please tell me how to set environment variables JAVA_HOME MAVEN_HOME TOMCAT_HOME PATH I installed Java via terminal apt-get command, Tomcat and Eclipse by downloading tar.gz files and extracting ...
3
votes
1answer
672 views

How to do Maven install or deploy only, without re-package/re-test?

Sometimes I wanted to deploy, but I typed mvn package. Sometimes I want to deploy to another alternative repository (using mvn deploy -DaltDeploymentRepository=...), immediately after the default ...