Re: Maven repository for org.apache.tomcat:jdbc-pool:jar:1.0.8.5

2010-03-22 Thread pubudu gunawardena
groupIdorg.apache.tomcat/groupId artifactIddbcp/artifactId The latest version in the default repo is 6.0.18

Get Model object of an Artifact object

2010-03-15 Thread pubudu gunawardena
Hi. If I have the org.apache.maven.artifact.Artifact object of a given artefact is there a way to access the org.apache.maven.model.Model object of the given artifact if the pom.xml file of the artifact is there in the local repository? Thanks in advance. Pubudu

Re: Write Maven plugin : read configuration in POM

2010-03-05 Thread pubudu gunawardena
/** * @parameter default-value=${project.build.plugins} * */ private List plugins; Would give you all the plugins as a list. You can get the configurations of other plugins via this list. On Fri, Mar 5, 2010 at 2:18 PM, Rémy remy.tempora...@gmail.com wrote: Hello, I

assembly descriptor include tag - which version of an artifact will be used?

2010-03-01 Thread pubudu gunawardena
If an artifact is included in the dependencySet section without specifying the exact version and if there are many versions of that artifact in the local repository, which version would get included in the assembly? Thanks, Pubudu

Get the effective pom to a program

2010-02-26 Thread pubudu gunawardena
I want to to use the maven help plugin classes inside a program I'm writing to generate the effective pom. But since the variables are set by Mojo parameters ${reactorProjects} and ${project} I cannot accomplish this. Is there a way to get these parameters programmatically and pass them to the