Managing several maven artifacts in a delivery pipeline

+1 vote
We built several maven artifacts, which release SNAPSHOTS (2.0.1-SNAPSHOT) on a daily basis and release versions (2.0.1) on a weekly basis.Our artifacts get tested fully with snapshots of the other artifacts and all works well. In many cases artifacts get developed at the same time and so depend on eachother without backwards compatibility

The last stage of the pipeline tests the release candidate of a specific artifact with the release versions of other artifacts, so I'm trying to release 2.0.1 of artifact A, that was tested with 2.3.5-SNAPSHOT of artifact B and passed.

Here comes the dead-end, because artifact B hasn't released 2.3.5 yet (it will in a few hours). So obviously artifact A will fail in this stage because it's being tested against 2.3.4 of artifact B (which is B's latest release).

Let's assume that all artifacts have the same pipeline.

Just to sum it up:  Artifact A is at 2.0.1-SNAPSHOT attempting to release 2.0.1, its latest release is 2.0.0 Artifact B is at 2.5.2-SNAPSHOT attempting to release 2.5.2, its latest release is 2.5.1

stage 0 test -> A 2.0.0 with B 2.5.1 - PASSED

stage 1 test -> A 2.0.1-SNAPSHOT with B 2.5.2-SNAPSHOT - PASSED

stage 2 test -> A 2.0.1-SNAPSHOT with B 2.5.1- FAILED

I understand that it will continue to fail until B release 2.5.2, but how do I take that into consideration in my delivery pipeline. I want artifact A to be able to release weekly.

I’m to fix this in my delivery pipeline. Do I need another stage in the pipeline?
Jul 12, 2018 in Other DevOps Questions by Nilesh
• 6,880 points
38 views

1 answer to this question.

0 votes
If A depends on B as a module in multi module project, do the maven's work manually. You need to build first the B's release and afterwards the A's release
answered Jul 12, 2018 by Kalgi
• 2,620 points

Related Questions In Other DevOps Questions

0 votes
1 answer

Base a stage in pipeline by using a preloaded template

I don't think it's possible to load ...READ MORE

answered Jul 11, 2018 in Other DevOps Questions by ajs3033
• 7,280 points
44 views
0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,810 points
373 views
0 votes
1 answer

Setting up a dedicated Executor per ServerConnector in Jetty

Executors are server-wide, and many components within Jetty ...READ MORE

answered Jul 9, 2018 in Other DevOps Questions by Atul
• 10,240 points
42 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
177 views
0 votes
1 answer
0 votes
1 answer

How does horizontal scaling decrease load of a system?

If there are spare CPU cycles and ...READ MORE

answered Jul 11, 2018 in Other DevOps Questions by Kalgi
• 2,620 points
25 views
0 votes
1 answer