AbstractArtifactMetadata deprecation?

2016-05-06 Thread Cristiano Gavião
Hello, I'm developing a plugin where I need to download a file from a place and install it with a created pom for it in a local maven repository. while investigating how to do that I found that AbstractArtifactMetadata class is deprecated. It is there a replacement for it or a newest way

Re: Would be possible to inject com.google.inject.Injector in a mojo or other component?

2016-01-07 Thread Cristiano Gavião
rs.get(pTracker.getNamed()); -- Cheers, Stuart On Wednesday, 6 January 2016 at 19:27, Cristiano Gavião wrote: Hi, I have some components that implement the same interface. all of them are being properly registered by sisu. @Named(CommonMojoConstants.OCUS_PACKAGING) @Typed(Arcr.class) @Sin

Strange problem with custom ArtifactHandler

2016-01-07 Thread Cristiano Gavião
Hello, I'm facing a problem with a plugin that has a custom ArtifactHandler for a custom packaging type. The custom class is being registered by sisu and no problem was reported while running a build, except when a project artifact has one artifact of this custom type as a dependency. The

Re: Strange problem with custom ArtifactHandler

2016-01-07 Thread Cristiano Gavião
Well, is not the dot the culprit... I tried with another packaging name and I got the same result. I still don't know who injects the ArtifactHandler in the dependency... any idea ? - To unsubscribe, e-mail:

Re: Strange problem with custom ArtifactHandler

2016-01-07 Thread Cristiano Gavião
After having lost many hours I finally found where the problem is likely to be... :-( maven is using aether for dependency resolution, but aether has not a concept of packaging and extension as maven has. it only has extension. as a workaround maven is saving the packaging type inside the

Would be possible to inject com.google.inject.Injector in a mojo or other component?

2016-01-06 Thread Cristiano Gavião
Hi, I have some components that implement the same interface. all of them are being properly registered by sisu. @Named(CommonMojoConstants.OCUS_PACKAGING) @Typed(Arcr.class) @Singleton public class IpArcrComponent implements Arcr I'm needing to control the injection in one

Re: found some errors running takari-lifecycle build with java 1.8

2015-02-23 Thread Cristiano Gavião
? -- Regards, Igor On 2015-02-21 19:44, Cristiano Gavião wrote: Hi again, In order to investigate a bit more this strange behavior, I downloaded the apache-maven archive by hand (from http://search.maven.org/#artifactdetails|org.apache.maven|apache-maven|3.2.3|pom). Note that this is not the version

Re: found some errors running takari-lifecycle build with java 1.8

2015-02-21 Thread Cristiano Gavião
-lifecycle tests again. It seems that exists some issue related to downloading this apache-maven archive. regards, Cristiano On 21-02-2015 20:40, Cristiano Gavião wrote: Hi Igor, That is strange... I deleted all versions of apache-maven from local my repo. Then I built (package) the takari

Re: found some errors running takari-lifecycle build with java 1.8

2015-02-21 Thread Cristiano Gavião
. If not, file github issue like Jason suggested. -- Regards, Igor On 2015-02-21 16:08, Cristiano Gavião wrote: Hello, I'm trying to learn how to use the new testing tools provided by takari. Started by the tests in takari-lifecycle-plugin-its from github master branch. but I'm getting errors

found some errors running takari-lifecycle build with java 1.8

2015-02-21 Thread Cristiano Gavião
Hello, I'm trying to learn how to use the new testing tools provided by takari. Started by the tests in takari-lifecycle-plugin-its from github master branch. but I'm getting errors when running the build. I'm using maven 3.2.5 in linux with java 1.8.0_31: Tests in error:

POM mixins ?

2014-05-13 Thread Cristiano Gavião
Hi, couple years ago I read an interview from Jason where he talk about pom mixins [1]. But I couldn't find any information about it since then. Was this feature already implemented ? thanks [1] - http://blog.sonatype.com/2010/03/eclipsemagazine-interview-with-jason-van-zyl