Re: Maven 3.9.7 generates dodgy snapshot maven-metadata.xml

2024-10-14 Thread Dale Ogilvie
Thanks for that. Our artifactory release predates 7.68 so this could well be the culprit. On Tue, Oct 15, 2024 at 7:16 AM Richard Eckart de Castilho wrote: > Hi > > > On 14. Oct 2024, at 01:31, Dale Ogilvie > wrote: > > > > The trick is, the generated maven-metadata.xml is fine when we use mave

Re: Maven 3.9.7 generates dodgy snapshot maven-metadata.xml

2024-10-14 Thread Richard Eckart de Castilho
Hi > On 14. Oct 2024, at 01:31, Dale Ogilvie wrote: > > The trick is, the generated maven-metadata.xml is fine when we use maven > 3.8.5. This is a very mature build pipeline, and we have just started > noticing this, after a switch to 3.9.x > > I'm taking a look at this off of our build infras

Re: Maven 3.9.7 generates dodgy snapshot maven-metadata.xml

2024-10-13 Thread Dale Ogilvie
I don't follow your suggestion "you deploy separately classified artifacts from the same reactor". The only item in the build section of our pom.xml is the maven-source-plugin. The trick is, the generated maven-metadata.xml is fine when we use maven 3.8.5. This is a very mature build pipeline, an

Re: Maven 3.9.7 generates dodgy snapshot maven-metadata.xml

2024-10-13 Thread Tamás Cservenák
The only thing I can imagine this to happen is if you do something funky about deployment, like you deploy separately classified artifacts from the same reactor? Thanks T On Sun, Oct 13, 2024 at 11:24 PM Tamás Cservenák wrote: > > Howdy, > > can you create a reproducer that reproduces this behav

Re: Maven 3.9.7 generates dodgy snapshot maven-metadata.xml

2024-10-13 Thread Tamás Cservenák
Howdy, can you create a reproducer that reproduces this behaviour? Thanks T On Sun, Oct 13, 2024 at 9:55 PM Dale Ogilvie wrote: > > 3.9.9 demonstrates similar behaviour, where one of the snapshotVersions in > maven-metadata.xml lags one build behind. In this case it is not the jar, > but the so

Re: Maven 3.9.7 generates dodgy snapshot maven-metadata.xml

2024-10-13 Thread Dale Ogilvie
3.9.9 demonstrates similar behaviour, where one of the snapshotVersions in maven-metadata.xml lags one build behind. In this case it is not the jar, but the sources which lags. Should this be an issue in maven jira? On Fri, Oct 11, 2024 at 4:52 PM Dale Ogilvie wrote: > Hello, > > we do builds

Maven 3.9.7 generates dodgy snapshot maven-metadata.xml

2024-10-10 Thread Dale Ogilvie
Hello, we do builds up against the latest snapshot in our dev environment. After switching our builds from maven 3.8.5 to 3.9.7 we find that the maven-metadata.xml generated for our snapshot libraries is incorrect, resulting in a build up against the **previous** snapshot. Switching back to 3.8.5