Re: MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Oliver Drotbohm
?url=https%3A%2F%2Fwww.packtpub.com%2Fapplication-development%2Fjava-ee-8-high-performance&data=04%7C01%7Codrotbohm%40vmware.com%7Cc032104a78794cf6891208d989922cf0%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637692083177249862%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXV

Re: MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Oliver Drotbohm
n 7. Oct 2021, at 13:32, Oliver Drotbohm wrote: > > I'll give it a spin. Sorry for the apparent double post. I wasn't sure which > email address I was subscribed with and the original post didn't seem to > appear in my inbox, so I thought it was the wrong one. O:-)

Re: MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Oliver Drotbohm
I'll give it a spin. Sorry for the apparent double post. I wasn't sure which email address I was subscribed with and the original post didn't seem to appear in my inbox, so I thought it was the wrong one. O:-) > On 7. Oct 2021, at 13:16, Mickael Istria wrote: > > Hi, > > I don't know for sure

MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Oliver Drotbohm
Hi all, in a Maven Plugin project, we need to obtain all elements of the runtime classpath during the *compile* phase. The code is currently calling `project.getRuntimeClasspathElements()`. That in turn iterates over `MavenProject.getArtifacts()` which is documented to only return elements of a

MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Oliver Drotbohm
Hi all, in a Maven Plugin project, we need to obtain all elements of the runtime classpath during the *compile* phase. The code is currently calling `project.getRuntimeClasspathElements()`. That in turn iterates over `MavenProject.getArtifacts()` which is documented to only return elements of a

Resolving plugin dependency versions from

2021-04-13 Thread Oliver Drotbohm
Hi all, I was wondering if you have ever discussed to apply versions defined in to plugin dependencies? BOMs have become a ubiquitous thing today but as a BOM author, you currently have no way to define the version for dependencies to be used with plugins. Happy to file a ticket if you think

Re: Parsing pom.xml

2018-12-08 Thread Oliver Drotbohm
If it's about pure XML parsing and tweaking the information and building the model is not required, XmlBeam [0] is a lightweight alternative to map the entire file to a Java object. We use that in the Spring Data release automation. Declare an interface containing accessors backed by XPath expr