Re: Maven Plugin Development and the @Produces

2018-07-17 Thread exabrial
Unfortunately, my module is not being called, so I don't think it's supported. Is there *ANY* way to inject Configuration parameters into sub-modules? ANY possible way? On 2018/07/16 19:53:33, Romain Manni-Bucau wrote: > Maven tries to limit that to jsr330 usage hoping it stays portable ( > h

Re: Maven plugin development: Getting a Set<Artifact> of an declared and transitive dependencies

2018-07-16 Thread exabrial
Thank you Robert! That fixed the issue with getArticats(). I didn't see that option beforehand. On 2018/07/16 19:44:36, "Robert Scholte" wrote: > See > https://maven.apache.org/plugin-tools/maven-plugin-tools-annotations/index.html > > if you want the jars, set requiresDependencyResolution

Re: Maven Plugin Development and the @Produces

2018-07-16 Thread exabrial
I tried the @Provides annotation but it could not get it to supply a value. Do you have an example? On 2018/07/12 06:33:19, Romain Manni-Bucau wrote: > Hi Jonathan, > > you can use Guice in plexus components but not CDI. the cdi-api.jar is a > transitive leaked dependency and almost nothing is

Maven plugin development: Getting a Set of an declared and transitive dependencies

2018-07-16 Thread exabrial
Hey guys, Right now, I'm doing the following: ``` ... @Inject private ProjectDependenciesResolver projectDependenciesResolver; ... final List scopes = Arrays.asList(new String[] { "compile", "runtime", "test" }); final Set artifacts = projectDependenciesResolver.resolve(mavenProject, sc

Maven Plugin Development and the @Produces

2018-07-11 Thread exabrial
Hey Guys, I'm developing my first maven plugin. I was curious, is there any way to use the @javax.enterprise.inject.Produces annotation? Here's why I ask. I have my main mojo, but it is composed of several dependencies that are @Inject'd into the mojo. These submodules ('components') may have