>
> This might be helpful:
> http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook#MojoDeveloperCookbook-Creatingandresolvinganartifact
>
I think that's all deprecated now. Anybody know what the new way of
creating Artifacts and resolving them is?
>
> Benjamin
>
> --
On 18 February 2011 14:41, Benjamin Bentmann wrote:
> Johannes Ruscheinski wrote:
>
>> private void resolveDendencies(final Artifact artifact) {
>> getLog().info("+++ ProfilerMojo: attempting resolution
>> from " + localRepository.getUrl()
Hi,
I am using the Maven 2 API to write a mojo. (Should I be using the
Maven 3 API?) My problem is that I am trying to retrieve the jar for
an artifact and I have a problem with finding a snapshot jar. I use
the following code:
private void resolveDendencies(final Artifact artifact) {
On 17 February 2011 09:38, Wayne Fay wrote:
>> the baseline version. Any tips on how I might tackle this would be
>> greatly appreciated!
>
> You should probably take a look a the Sonar project and their Maven
> plugin to see how they are doing similar things, and perhaps Cobertura
> as well, an
Hi,
We have the probably ambitious goal to create a new mojo that catches
performance regressions. I should also mention that I have never
written a mojo before and that so far I am just a tiny step beyond a
"Hello, world!"-style mojo that I have successfully invoked from one
of our poms. The p