Questions tagged [maven-install]
12 questions
4
votes
1 answer
Error or not error? What does this unreadable line in Maven install output mean?
The Maven install output in Eclipse writes several of such lines:
[ERROR] 50% 21/31 build modules 52% 22/31 build ....
I am putting here only part of one of these lines, they are extremely long. You can see the whole output on the Google Drive.…

Gangnus
- 24,044
- 16
- 90
- 149
1
vote
1 answer
How to stop Maven from installing project build JAR to local repository
I am building a JavaFX project using NetBeans. When I build the project, Maven builds and installs the project JAR to my local repository.
I don't want to install my project to local repository, how do I stop this?

Logesh-0304
- 109
- 9
1
vote
1 answer
Maven: How to manage dependency from one child module to another child module
I have maven parent-child project where parent has multiple child modules. One of the child module is generating a jar and other one is depending on that jar.
Project structure is like: One parent module which has three child modules. Each one has…

Pravin
- 195
- 1
- 4
- 15
0
votes
0 answers
Github actions maven failed to clean install project because cant create resource directory
Hello :) I am trying to run a pipeline on Github Actions in which I would like to clean and install a maven package, which I am trying to do like so:
- name: Clean and install package
run: mvn clean install -X
When I am doing that I see the…

marialadelbario
- 325
- 1
- 4
- 19
0
votes
1 answer
Package org.apache.commons.pool2.impl does not exist
when i use this maven project,mvn install .
[ERROR] hint
Package org.apache.commons.pool2.impl does not exist
error
pom.xml about redis
org.springframework.boot
…

Xy.dht
- 1
0
votes
0 answers
Ignoring wsimport in maven
I am using maven (install) and receiving errors like these
I want maven install to skip the wsimport part. Is it possible? I have seen only another answer that suggests using episodes, but I need a more straigthforward solution, something like…

Lore
- 1,286
- 1
- 22
- 57
0
votes
1 answer
MVN is not recognised as internal or external command. UPDATE: JAVA_HOME is not defined is error now in cmd
Whenever I type mvn -version to check version installed it says that "mvn is not an internal or external command" in cmd.
I have added images to show that I have added environmental variable and the path. do check those and help out.
UPDATE :
After…

Naveen patil
- 11
- 2
0
votes
0 answers
Can i make maven-war-plugin to *only* copy the classes.jar but not the .war into local repo?
OK, so i'm using the maven-war-plugin to build my war, which works fine.
I also have it setup to generate a -classes.jar.
When i run the build, both the war and -classes.jar gets copied into my .m2 repo, which takes up a lot of space.
I would like…

Mathias
- 3,879
- 5
- 36
- 48
0
votes
1 answer
livy-server build failing on Windows while running mvn -e clean install -DskipTests command in cmd prompt?
I'm executing cmd: mvn -e clean install -DskipTests on windows to set up apache livy which is giving livy-server build failure. The following are the error logs:
[INFO] Livy Project Parent POM ............................ SUCCESS [ 3.803 s]
[INFO]…

The Programmer
- 23
- 10
0
votes
1 answer
maven -P option not working with mvn clean install
When I try to build the project using
mvn clean package -P dev, it activates the dev profile and performs the build. But when I try with mvn clean install -P dev, it builds all the profiles.
I have more than one profiles in my pom.xml.
…

indranil9286
- 81
- 2
- 10
0
votes
1 answer
Is it possible to Install file to local cache in gradle similar to Maven install:install-file?
Currently I am using maven to install this file to maven local repo and then later in my application gradle build I have the dependency for this artifact.
mvn install:install-file -Dfile=locallib/wlthint3client.jar -DgeneratePom=true…

venu
- 71
- 5
0
votes
0 answers
Best way to attach additional jars to maven project [java]
I have a maven based project, which after execution I want to install all the generated jars to the maven repository.
I cannot add additional jar details in the pom.xml because the additional jars are not static.
The only option for me to add them…

Daisy
- 1
- 2