Anyone knows any doc, article, tutorial about aggregator mojo development?

2015-09-18 Thread Cristiano Gavião
Hi, I'm looking for any information that would help me to develop an aggregator mojo. I've started to play with this code: List projects = getSession().getProjects(); for (MavenProject mavenProject : projects) { Plugin plugin = mavenProject

Re: why the defaultValue is not being injected in @Parameter inside a complex parameter bean?

2015-05-23 Thread Cristiano Gavião
11:22 GMT+03:00 Karl Heinz Marbaise khmarba...@gmx.de: Hi, On 5/23/15 12:32 AM, Cristiano Gavião wrote: Hello, I'm facing a problem and would like a help to figure it out. I'm developing a mojo (maven 3.3) that contains the following: @Parameter(required=true) private

why the defaultValue is not being injected in @Parameter inside a complex parameter bean?

2015-05-22 Thread Cristiano Gavião
Hello, I'm facing a problem and would like a help to figure it out. I'm developing a mojo (maven 3.3) that contains the following: @Parameter(required=true) private ManifestConfiguration manifest; and in the bean (in the same package) I have: @Parameter(defaultValue = ${project.name})

Re: Injection using Sisu doubt

2015-03-17 Thread Cristiano Gavião
component). If you’re still having trouble send me a link to the project and I’ll check it out. -- Cheers, Stuart On Tuesday, 17 March 2015 at 01:10, Cristiano Gavião wrote: Thanks Stuart, I tried it and it worked when the MyPojo class was in the same jar as MyMojo. But when I

Re: Injection using Sisu doubt

2015-03-16 Thread Cristiano Gavião
. anyone have any idea how I can resolve this ? or it is a kind of limitation? thanks, Cristiano 2015-03-16 16:57 GMT-03:00 Stuart McCulloch mccu...@gmail.com: Assuming you’re using Maven 3.1.1 or later then yes, that should work. -- Cheers, Stuart On Monday, 16 March 2015 at 18:09, Cristiano

Injection using Sisu doubt

2015-03-16 Thread Cristiano Gavião
Hello, I've create a mojo and set it to use sisu based injection. I added to this mojo a constructor like this: @Inject public MyMojo( RuntimeInformation runtimeInformation, MavenProjectHelper projectHelper, BuildContext buildContextr) {

takari-plugin-integration-testing requires one takari-jar project ?

2015-02-25 Thread Cristiano Gavião
Hi, It is necessary to concentrate the maven plugin integration tests in its own takari-jar project ? I'm asking because I have test poms inside src/test/projects being duplicated on both Plugin and Plugin IT projects. Maybe I could put both UT and IT in the same plugin project ? thanks,

How to extend the dependencies of a reused plugin ?

2014-09-10 Thread Cristiano Gavião
Hello, I have two maven plugins A and B. When used separated I can extend the dependencies of A using this: plugin artifactIdorg.A/artifactId dependencies dependency artifactIdanDependency/artifactId /dependency /dependencies

Re: How to extend the dependencies of a reused plugin ?

2014-09-10 Thread Cristiano Gavião
well, seems that there is no way to accomplish that easily. but I found a working solution. I created another mojo in project B extending the mojo class from project A and changed the lifecycle settings properly... best, Cristiano On 10-09-2014 12:18, Cristiano Gavião wrote: Hello, I

Re: [Announce] Release of SonarQube Maven Plugin 2.4

2014-07-17 Thread Cristiano Gavião
Hi Julien, I wasn't able to see this version at http://search.maven.org/#search|ga|1|sonar-maven-plugin could you check, please? thanks, Cristiano On 15-07-2014 12:08, Julien HENRY wrote: Hi, The Mojo team is pleased to announce the release of the SonarQube Maven Plugin version 2.4.

How to resolve and get the right packaging type?

2014-05-15 Thread Cristiano Gavião
Hello, I'm using maven-bundle-plugin in a project. it generates a jar but its packaging type is bundle. Maven doesn't complains when I declare a bundle dependency without the type property (that defaults to jar). In the plugin that I'm developing I need to create some files based on that

Re: How to deal with dependencies that need more info

2013-06-10 Thread Cristiano Gavião
Hi Jörg, I got the point now. thanks for the suggestion. regards, Cristiano 2013/6/10 Jörg Schaible joerg.schai...@scalaris.com Cristiano Gavião wrote: Hi Wayne, Let me explain a bit what I'm trying to achieve. I've created a plugin where I've defined a new packaging type. it uses

Re: How to deal with dependencies that need more info

2013-06-09 Thread Cristiano Gavião
Hi Wayne, Let me explain a bit what I'm trying to achieve. I've created a plugin where I've defined a new packaging type. it uses the declared dependencies to create a kind of manifest file called Subsystem manifest. A subsystem can be composed by one ore more components and each one could have

How to deal with dependencies that need more info

2013-06-08 Thread Cristiano Gavião
Hello, I'm developing a maven plugin to handle a kind of artifact to be installed in my system. When declaring a dependency I need to set an attribute start-order:=1 that tells me how I will install such dependency. Could someone give a tip how could I handle this case ? thanks book.book