Re: How to use Maven when libraries don't?

2007-02-17 Thread Wayne Fay
Build your 3rd party libraries using their build tools. Install those artifacts into your Maven repo using mvn install or mvn deploy. Add dependencies to those artifacts in your own poms. Or, write poms for those projects and start using Maven to manage them similar to your own projects/code. Wa

Re: Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Matt Brozowski
On Feb 17, 2007, at 4:54 PM, Scott Ryan wrote: I am trying to write a very simple Ant based script mojo. I need to define some taskdefs from within the build.xml based on the current classpath defined in the plugin pom. I have seen reference to using the maven.plugin.classpath but when I

Re: Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Scott Ryan
Thanks for the quick answer. I am not not 2.0.5 yet but I assume you mean any version of 2.0.x will not work. So that means there is no way to do a taskdef in an ant based mojo? I could have sworn I had it working a few months ago. Seems that an ant mojo is pretty hampered if I cannot

Re: Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Jason van Zyl
On 17 Feb 07, at 4:54 PM 17 Feb 07, Scott Ryan wrote: I am trying to write a very simple Ant based script mojo. I need to define some taskdefs from within the build.xml based on the current classpath defined in the plugin pom. I have seen reference to using the maven.plugin.classpath but

Getting JAR for current plugin

2007-02-17 Thread Howard Lewis Ship
I'm using javadoc to "scrape" a set of classes and annotations to form an XML file that, in turn, will generate some Doxia documentation as part of my site. I'm copying a lot of stuff from maven-javadoc-plugin. Here's my issue: I need to run Javadoc against a doclet defined within the plugin.

How to use Maven when libraries don't?

2007-02-17 Thread lightbulb432
How can I use Maven with external libraries that don't have Maven support? For example, my application uses libraries from sources that I get from CVS/SVN, and while there are some libraries that have Maven support (meaning there are plugins, repositories, etc that make it easy to get the source u

Accessing the POM classpath from within an Ant based mojo

2007-02-17 Thread Scott Ryan
I am trying to write a very simple Ant based script mojo. I need to define some taskdefs from within the build.xml based on the current classpath defined in the plugin pom. I have seen reference to using the maven.plugin.classpath but when I reference that I get an error that it is not pr

Maven Eclipse Plugin configuration

2007-02-17 Thread Morgovsky, Alexander \(US - Glen Mills\)
I would like to configure the maven eclipse plugin to exclude the /src directory from the metadata files mvn eclipse creates, and include /src/program and /src/information only. Is there a way to configure maven-eclipse-plugin to do this? If there is, please provide the solution. Thanks. This

Re: [m2] Making properties accessible in pom.xml

2007-02-17 Thread Jason van Zyl
On 17 Feb 07, at 1:35 PM 17 Feb 07, thuss2 wrote: We're in the process of migrating from Maven 1 to Maven 2 so we'd prefer to leave the actual database connection in a database.properties file and reference those values in the pom. However, as far as I can tell you can only hard code prop

Re: [m2] Making properties accessible in pom.xml

2007-02-17 Thread thuss2
We're in the process of migrating from Maven 1 to Maven 2 so we'd prefer to leave the actual database connection in a database.properties file and reference those values in the pom. However, as far as I can tell you can only hard code properties in the properties section of the POM, you can't tell

Re: maven proxy problem

2007-02-17 Thread Dan Tran
On 2/17/07, srinivas ramgopal <[EMAIL PROTECTED]> wrote: Hi all, I am new to Maven proxy. I recently installed it with the intent to cache (for a user specified time period), the downloaded information from ibiblio. In other words, during each maven build, I do not want the maven proxy to read

maven proxy problem

2007-02-17 Thread srinivas ramgopal
Hi all, I am new to Maven proxy. I recently installed it with the intent to cache (for a user specified time period), the downloaded information from ibiblio. In other words, during each maven build, I do not want the maven proxy to read from ibiblio but read from the its own cache. Also in ca

Re: Best way to extend install plugin?

2007-02-17 Thread Tim Moloney
Wendy Smoak wrote: On 2/17/07, Tim Moloney <[EMAIL PROTECTED]> wrote: I'd like to add a little extra functionality to the maven-install-plugin (create/update an xml file based on the jar being installed). Does your file go inside the jar, beside it in the repository, or somewhere else? Maven

Re: Best way to extend install plugin?

2007-02-17 Thread Wendy Smoak
On 2/17/07, Tim Moloney <[EMAIL PROTECTED]> wrote: I'd like to add a little extra functionality to the maven-install-plugin (create/update an xml file based on the jar being installed). Does your file go inside the jar, beside it in the repository, or somewhere else? Maven already writes and

Best way to extend install plugin?

2007-02-17 Thread Tim Moloney
I'd like to add a little extra functionality to the maven-install-plugin (create/update an xml file based on the jar being installed). I tried creating my own plugin which subclassed InstallMojo, but I ended up with a NPE inside InstallMojo. I think that InstallMojo's class variables aren't g

RE: Mojo accessing project properties

2007-02-17 Thread David Jackman
At this point, it's a simple mojo that I'm executing via the command line (trying to figure out how I can get at this information and what form it comes in since no docs explain this). This mojo will eventually be attached to the verify phase, and that's what's in the mojo now. Are the propert

Re: What happened to http://plexus.codehaus.org ??

2007-02-17 Thread Jason van Zyl
Rahul knows and will be fixing it. Jason. On 17 Feb 07, at 12:49 AM 17 Feb 07, Dan Tran wrote: The old beautiful plexus site is gone. What left is a dummy maven site :-) http://plexus.codehaus.org/ checkit out. -D - T

Re: Xdoclet plugin and multi module projects

2007-02-17 Thread Eric Helfrich
I realize the suggestion was meant to be helpful -- I think it has to do with properties being immutable in ant and xdoclet1 being dependent on ant. I am working with a substantial base of code and to attempt to reorg it efficiently at this point would be difficult. XD2 doesn't rely on ant -- but