Re: GitHub Actions on Maven projects

2021-10-07 Thread Slawomir Jaranowski
Ok, if we want have to implement shared Github Action (I hope we do) I see such steps: - create repository for share / common GitHub Actions like maven-jenkins-lib maybe: maven-actions-lib - I need help what issue should be created for it - prepare proposition for shared workflows - I can try

Re: MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Mickael Istria
On Thu, Oct 7, 2021 at 3:51 PM Oliver Drotbohm wrote: > I have a bit of a hard time constructing the state I run into when Maven > is actually run in my project: all compile time dependencies available via > getArtifacts() but the complete list of declared ones available in >

Re: MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Mickael Istria
MavenPlugin.getMavenProjectRegistry().getProject(pomFile.getProject()).getMavenProject(monitor)

Re: MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Oliver Drotbohm
That's a bit embarrasing. That sort of does the trick but unfortunately fully resolves all artifacts. I have a bit of a hard time constructing the state I run into when Maven is actually run in my project: all compile time dependencies available via getArtifacts() but the complete list of

Re: MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Romain Manni-Bucau
Hi Olivier, did you try getProjectWithDependencies ? Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github | LinkedIn

Re: MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Oliver Drotbohm
Is there an easy way to obtain a MavenProject instance from an existing POM file in a test case? I have a sample file and have tried to load that in MavenProjectTest via getProject(File). That returns an instance but the artifacts remain completely uninitialized. Anything I am missing? > On 7.

Re: [VOTE] Release Maven Resolver version 1.7.2

2021-10-07 Thread Arnaud Héritier
+1 On Wed, Sep 8, 2021 at 10:27 PM Michael Osipov wrote: > Hi, > > We solved 13 issues: > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12320628=12344271 > > There are still a couple of issues left in JIRA: > >

Re: [VOTE] Release Maven SCM version 1.12.0

2021-10-07 Thread Arnaud Héritier
+1 On Mon, Sep 13, 2021 at 10:49 AM Michael Osipov wrote: > Hi, > > We solved 14 issues: > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317828=12350600 > > There are still a couple of issues left in JIRA: > >

Re: [VOTE] Release Apache Maven Shared Resources version 4

2021-10-07 Thread Arnaud Héritier
+1 On Sat, Oct 2, 2021 at 5:15 PM Sylwester Lachiewicz wrote: > Hi, > > We solved 1 issue: > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12349555=Text=12317922 > > Dependency upgrade > [MSHARED-990] - Swap scope and exclude scope to access modifier in > the check

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

Re: MavenProject.getRuntimeClasspathElements() not returning runtime elements

2021-10-07 Thread Mickael Istria
Hi, I don't know for sure, but your reasoning sounds good. So please try submitting a PR and we'll see if this change breaks things. Cheers,

Re: [VOTE] Release Apache Maven Shared Resources version 4

2021-10-07 Thread Hervé BOUTEMY
+1 Regards Hervé Le samedi 2 octobre 2021, 17:15:02 CEST Sylwester Lachiewicz a écrit : > Hi, > > We solved 1 issue: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12349555 > eName=Text=12317922 > > Dependency upgrade > [MSHARED-990] - Swap scope and exclude scope to access

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

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

Re: [VOTE] Release Apache Maven Shared Resources version 4

2021-10-07 Thread Karl Heinz Marbaise
On 02.10.21 17:15, Sylwester Lachiewicz wrote: +1 from me. Kind regards Karl Heinz Marbaise Hi, We solved 1 issue: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12349555=Text=12317922 Dependency upgrade [MSHARED-990] - Swap scope and exclude scope to access modifier in the

Re: [VOTE] Release Apache Maven Shared Resources version 4

2021-10-07 Thread Olivier Lamy
+1 On Sun, 3 Oct 2021 at 01:15, Sylwester Lachiewicz wrote: > Hi, > > We solved 1 issue: > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12349555=Text=12317922 > > Dependency upgrade > [MSHARED-990] - Swap scope and exclude scope to access modifier in > the check

Re: [VOTE] Release Apache Maven Shared Resources version 4

2021-10-07 Thread Tamás Cservenák
+1 On Thu, Oct 7, 2021 at 11:48 AM Sylwester Lachiewicz wrote: > Here my +1 > > Still waiting for binding votes.. > > sob., 2 paź 2021, 17:15 użytkownik Sylwester Lachiewicz < > slachiew...@gmail.com> napisał: > > > Hi, > > > > We solved 1 issue: > > > > >

Re: [VOTE] Release Apache Maven Shared Resources version 4

2021-10-07 Thread Sylwester Lachiewicz
Here my +1 Still waiting for binding votes.. sob., 2 paź 2021, 17:15 użytkownik Sylwester Lachiewicz < slachiew...@gmail.com> napisał: > Hi, > > We solved 1 issue: > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12349555=Text=12317922 > > Dependency upgrade > [MSHARED-990] -