Questions tagged [maven]
For question about the use of Apache Maven, a build automation tool mostly used for Java projects, in a DevOps setting.
8
questions with no upvoted or accepted answers
0
votes
0
answers
4
views
Recover maven central publishing rights
I believe I created a Sonatype.org account some years ago, back before it went from .org to .com. Their modern site doesn't seem to recognize me. (Password reset does nothing.)
So I created a new ...
0
votes
0
answers
15
views
In Gradle, how can I determine what dependency is accessing an external Maven repo?
I implemented an internal Nexus server to cache our build artifacts. In one of my Java modules, I removed all the references to external repos and replaced them with our internal repo in its build....
0
votes
0
answers
9
views
How to install a project into the file system with Maven
I have a Maven project using the NAR Maven plugin to compile and link a C project. This works, but I can't seem to work out how to actually install and run the resulting project. The maven steps of &...
0
votes
0
answers
93
views
Why Maven ignore logging options?
Can you explain why maven ignores log options and output info log level instead of warning?
$ mvn ${MAVEN_CLI_OPTS} clean install test -Drevision=${MAVEN_REVISION} -Dchangelist=${MAVEN_CHANGELIST} -...
0
votes
1
answer
280
views
Deploy A War/Ear To Container Marked build As failure When Deploying To Tomcat 9 Server
When I was Deploying A Sample Application On Tomcat9 I Faced This Issue.
This is the Tomact9 Users File where I added credentials do I need to add anything more,
Is There Any Configuration Which I ...
0
votes
1
answer
35
views
How come Maven's validate and verify phases execute without goals bound to them?
Maven's documentation states the following: "If a build phase has no goals bound to it, that build phase will not execute"
However, according to the same documentation, the validate and ...
-1
votes
0
answers
1k
views
Cant access gitlab ci variables from inside python script building with maven
I have a python project which I build using maven. In my .gitlab-ci.yaml file I set some global variables.
variables:
MAVEN_BASE_CLI_OPTS: ""
MAVEN_CLI_OPTS: ${MAVEN_BASE_CLI_OPTS}
...
-1
votes
0
answers
789
views
How to add jar to java.library.path in a docker container?
My java app has an X dependency as jar. This will be downloaded from mvn repo and added to target/libs. When I containerize the app, it runs without any issue. When I run the container in non-root ...