Stack Exchange Network

Stack Exchange network consists of 175 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]

For question about the use of Apache Maven, a build automation tool mostly used for Java projects, in a DevOps setting.

0
votes
0answers
21 views

Remote Maven build server

Is there any way how to remotely build maven projects. I want to use remote maven container for this, but the problem is with caching of the downloaded dependencies (as it is not always easy to ...
0
votes
1answer
26 views

Maven dependencies that are downloaded not available in JFrog Artifactory server

I have the following repositories structure created in my newly installed Artifactory instance. And we are using this artifactory instance to store the Maven artifacts. Most of our projects are in ...
0
votes
1answer
32 views

Docker machine connection with https

I am new to Docker .I am install docker tool box on my window machine . Using pom.xml i want to generate docker image . pom.xml:- <plugin> <groupId>com.spotify</groupId> <...
0
votes
1answer
32 views

M2 Repo contents is not available in artifactory server

We have recently installed artifactory OSS 6.2.0 and then created the following repositories (with Package Type - Maven). Local - wellows Remote - wellows-remote Virtual - wellows-virtual And in ...
0
votes
0answers
43 views

Archiving artifacts after build stage

How to archive the artifacts in Jenkins? Each time I build through Jenkins, maven overwrites the existing version with a new version. I need all the new/old versions to be saved, which I should be ...
0
votes
0answers
72 views

./mvnw -Pprod package command fails to download Maven

We have a new Jenkins-instance build from scratch as the old one started to have issues. While moving our pipelines we have encountered strange new error while trying to run a job for Maven project. ...
0
votes
1answer
607 views

Deploy war/ear to a container' marked build as failure

I have Jenkins installed in my system, on which the following are installed: Maven Integration Plugin Deploy to Container Plugin Ant Plugin Copy Artifact Plugin GitHub plugin GitHub Branch Source ...
0
votes
0answers
24 views

Configure Jenkins to take Artifact and Deploy Server Information

I have configured Frontend and Backend of a project in Jenkins. Frontend using npm and Backend using maven as build tools. For repository management nexus has been configured. Now I want to do the ...
-1
votes
1answer
262 views

Jenkins executes Selenium test in headless mode while use `Jenkins as Service`

I have recently installed the Jenkins on Windows 10 Machine (Jenkins as Service) and configured one Maven Project (Selenium project which open chrome browser and executes some testcase). If i build ...
1
vote
1answer
10 views

How to use remote Ivy artefacts in Maven jobs with different binary repository managers?

Consider the following situation: Alice ----- { Firewall } Bob | | Artifactory / Ivy repos - --- --- Nexus / Maven Repos That is, Alice uses ...
3
votes
1answer
56 views

When to get rid of '-SNAPSHOT'

I'm working on a Git workflow (not git-flow) for a Java project that uses Maven and Artifactory for artifact storage. On develop and feature/* branches the version number contains '-SNAPSHOT'. It is ...
2
votes
3answers
89 views

What is the Maven versioning strategy for Continuous Delivery or Deployment?

At the moment, we're doing "traditional" deployment, where every couple of weeks, we roll a release. We rely on Semantic Versioning, which has worked well for us. However, we now want to release ...
0
votes
1answer
116 views

Directory structure - how do I upload it as-is to an artifactory?

I am new to Artifactory, and I wonder how to upload a directory structure containing many different binaries -- keeping the structure intact -- to an artifactory?
2
votes
2answers
191 views

Does building a Docker image require the Docker daemon to be running?

I am trying to get my feet wet with Docker/containers. I started with this tutorial: Getting Started · Spring Boot with Docker It works fine, but I was surprised it is necessary to have the "dockerd"...
2
votes
1answer
287 views

Jenkins Artifactory Integration - Custom Maven plugin creating dynamic version/build

I am currently working on a custom Maven plugin that generates a build artifact in the form of a zip file with a dynamic version or build number. The format of the file is something like target/[...
0
votes
0answers
19 views

Reference DevOps process implementation in Maven or Gradle containing working examples for acceptance testing

Back in the Java world.. Maven and Gradle are quite advanced tools offering sophisticated configuration capabilities. For example, you might want to have a fast-fail build stage in your CI to find ...
2
votes
2answers
2k views

Can Ansible alone be a complete CI-CD tool?

I am new to Ansible and was wondering about the capabilities of Ansible. Can Ansible alone be a complete CI-CD tool? Scenario that needs to be implemented: As soon as a developer perform a git ...
2
votes
0answers
1k views

Multiple job plugin running job multiple time - Jenkins [closed]

I'm using multijob plugin, Where I have created a Job using it and configured 2 Job in it as shown here: I've configured to run both job sequentially. But while I do build Its execution order is Job ...
3
votes
1answer
543 views

Is it possible to run every testing.xml file with different jenkins job?

I've around 100 test method in my testing.xml file. and that testing.xml configured in pom.xml file so I'm able to run my all those testcase as maven test and I'm getting the proper reports and all. ...
2
votes
2answers
3k views

What is the best way to share maven repository using Docker build (dynamic) image with maven?

We have created a Docker build container to be run by Jenkins for Java based projects. We are using Maven for building our software. The problem we are facing is that, the builds are taking way to ...
1
vote
0answers
522 views

How to generate a Maven.pom file (not pom.xml)?

This seems not so easy to google because results about the normal pom.xml are overwhelming. So, I just have learned there are also Maven artefact related files with .pom extension. This seems to be ...
5
votes
2answers
316 views

Make use of CIs as Maven Repository in order to use it for building Docker images without including dependencies

I am trying to make images from our company Maven based applications. These apps are using some libraries which are included in a Maven repository, but fills a lot of disk space. They also have some ...
0
votes
1answer
26 views

Different execution contexts for same POM - use properties files?

Imagine that a Maven POM configures a set of integration tests for web apps (could be a functional test as well). in developer context, you would clearly use Chrome and configure that accordingly in ...
1
vote
1answer
39 views

How to automate control of synchronization between Maven artefact version and Git tag?

Given the following situation: in a POM file in the repo root (Atlassian BitBucket) I can define that this POM has e.g. the version 0.0.1-SNAPSHOT then I can tag the codebase whatever I want like v.0....