Re: How to add a dependency programmatically for the compile phase?

2013-12-19 Thread William Ferguson
There are only a few consumers of aar (which is a newish packaging type) artifacts from a Maven repository. 1. People that build using Maven and our plugin. 2. People that build using Gradle. 3. Building from an IDE like IntelliJ/Eclipse This solution would appears to solve 1 and

Re: How to add a dependency programmatically for the compile phase?

2013-12-19 Thread Anders Hammar
This is the page is quickly glanced through before replying: http://blog.sonatype.com/2009/08/create-a-customized-build-process-in-maven/ As I've never written an ArtifactHandler I don't really know what the limitations are. Maybe there is someone else here who knows more on this? /Anders On

Maven PDF support

2013-12-19 Thread Robert Wettergren
We have a need to archive site documentation (markdown) and Javadoc for each release so I thought I'd generate these as pdf. To my surprise this turned out to be really difficult. The maven-pdf-plugin doesn't support markdown. It's also unable to aggregate reports, like Javadoc, due to

Searching for artifacts which are used as a dependency by other artifacts

2013-12-19 Thread Karl Heinz Marbaise
Hi, currently i'm searching for a solution to the given problem: Given maven coordinates: GAV I would like to know of which other artifacts (GAV) this given GAV is used by. Or in other words which artifacts having a dependency to the above artifact. I've found in the meantime the

Re: Searching for artifacts which are used as a dependency by other artifacts

2013-12-19 Thread Tamás Cservenák
You are right for maven-indexer, it does not have dependency information indexed, hence it cannot help you in cases like this. Thanks, ~t~ On Thu, Dec 19, 2013 at 3:36 PM, Karl Heinz Marbaise khmarba...@gmx.dewrote: Hi, currently i'm searching for a solution to the given problem: Given

Re: Searching for artifacts which are used as a dependency by other artifacts

2013-12-19 Thread Ron Wheeler
What is the scope of your interest? Known universe or only your own projects? If it is just your own projects, you should be able to automate a search of the POM.XMLs looking for depedencies/dependency/GAV Ron On 19/12/2013 9:42 AM, Tamás Cservenák wrote: You are right for maven-indexer,

Re: Searching for artifacts which are used as a dependency by other artifacts

2013-12-19 Thread Lyons, Roy
I can say that Sonatype has a solution for this in CLM - as long as you scan everything it will maintain the relationships for the reverse dependency lookup. I think I heard that they were thinking about bringing this capability to Nexus (by querying CLM in the backend). Other than that, I

Re: Searching for artifacts which are used as a dependency by other artifacts

2013-12-19 Thread Alejandro . Endo
Another workaround if you want to do this only for projects in your current reactor and it is done sporadically + not programatically would be to use the maven-graph-plugin. From the image you will see the incoming arrows. Just an extra idea... Alejandro Endo | Software Designer/Concepteur de

Residual package goal state affects outcome of Mojo definition in descriptor file.

2013-12-19 Thread Jeremy Whiting
Hi, I am using the maven-plugin-plugin for a hibernate project to provide a user plugin. I am finding the Mojo definition is not generated. I found a workaround for the issue. This discussion is related to the issue discussed here

Re: Residual package goal state affects outcome of Mojo definition in descriptor file.

2013-12-19 Thread Stuart McCulloch
On 19 Dec 2013, at 15:31, Jeremy Whiting jwhit...@redhat.com wrote: Hi, I am using the maven-plugin-plugin for a hibernate project to provide a user plugin. I am finding the Mojo definition is not generated. I found a workaround for the issue. This discussion is related to the issue

Re: Residual package goal state affects outcome of Mojo definition in descriptor file.

2013-12-19 Thread Jeremy Whiting
On 19/12/13 15:47, Stuart McCulloch wrote: Based on the log output below this looks like http://jira.codehaus.org/browse/MNG-5346 ie. the descriptor goal is running before the classes are compiled, and the Java5 annotation extractor works off the classes. You’ll need to update your plugin

Re: [ANN] Tidy Maven Plugin 1.0-alpha-2 Released

2013-12-19 Thread Curtis Rueden
Hi Anders, The Mojo team is pleased to announce another pre-release of the Tidy Maven Plugin, version 1.0-alpha-2. Thanks for the update. Nice progress. I tested it a bit more, and filed a couple of new tickets: https://jira.codehaus.org/browse/MOJO-1991

Re: property relative to pom

2013-12-19 Thread Curtis Rueden
Hi Alejandro, I am trying to create a property outputFolder in a parent pom since I want all children modules to use a single output folder. This is a variation of the ${basedir}/.. hack. See this thread:

Re: Maven for C/C++ development usable as well? Hudson server?

2013-12-19 Thread pizaninja
My development has become a dream since I use maven and maven native plugin to compile my c++ code with g++. I also use maven and ANT maven plugin to make package like debian ones (ipk for uCLinux). All is versionned, dependencies are resolved... A real dream! Yes, a dream! I use jenkins a lot

Re: Maven for C/C++ development usable as well? Hudson server?

2013-12-19 Thread Dan Tran
wow, there is a happy user of native-maven-plugin. what is JIRA case with the patch? -D On Wed, Dec 18, 2013 at 9:26 PM, pizaninja poubelle2...@limule.com wrote: My development has become a dream since I use maven and maven native plugin to compile my c++ code with g++. I also use maven

Re: Maven for C/C++ development usable as well? Hudson server?

2013-12-19 Thread pizaninja
All is here: http://jira.codehaus.org/browse/MOJO-1647 -- View this message in context: http://maven.40175.n5.nabble.com/Maven-for-C-C-development-usable-as-well-Hudson-server-tp5430131p5779091.html Sent from the Maven - Users mailing list archive at Nabble.com.