RE: [m2] refering to the project root directory

2006-05-03 Thread David H. DeWolf
h to the top level > project from within the the module pom.xmls. > > On Wed, 2006-05-03 at 16:22 -0400, David H. DeWolf wrote: > > I think ${basedir} is what you're looking for. > > > > David > > > > > -Original Message- > > > From

RE: [m2] refering to the project root directory

2006-05-03 Thread David H. DeWolf
I think ${basedir} is what you're looking for. David > -Original Message- > From: Dan Adams [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 03, 2006 4:17 PM > To: Maven users list > Subject: [m2] refering to the project root directory > > How do you refer to the project root directory

RE: Profile Properties affecting another Profile

2006-05-03 Thread David H. DeWolf
Actually, it seems as thought if I use a normal property value in the plugin configuration vs. an escaped one everything works. I'm not sure I understand why. . . Solution: Change: $\{db.driver\} in plugin configuration TO: ${db.driver} David > -Original Message- > Fr

Profile Properties affecting another Profile

2006-05-03 Thread David H. DeWolf
I am unable to get profiles to cooperate with each other as I would like. Has anyone done something similar to the following: 1) setup one profile within my pom which includes several integration-test plugins which need to be executed on multiple environments. 2) setup several profiles wi

Re: Deploy to local tomcat

2006-03-15 Thread David H. DeWolf
Try using the tomcat-maven-plugin. Configure it like this in the webapp's pom. org.codehaus.mojo tomcat-maven-plugin 1.0-SNAPSHOT / On 3/15/06, A

Profiles Extending Profiles (or similar)

2006-03-08 Thread David H. DeWolf
I have some integration test plugins which I'm binding to my pom as follows: . . . local . . .with all dependencies, executions, configuration, etc. . . dev . . .with all dependencies, executions, configuration, etc. . .

Re: What scope is like 'provided' and 'test' together?

2006-02-04 Thread David H. DeWolf
Lee, Have you tried using the exclusions that are available within the dependency declarations? If this webservices.jar is needed in a project (say project-a) which is included within an ear (say ear-project), you would define the following dependency within the ear-project pom: whate

Re: [M2] Ant task

2006-01-24 Thread David H. DeWolf
Lee, I think that all of the plugin dependencies (for any plugin, including antrun) should be in your local repository. See: http://maven.apache.org/using/repositories.html David On 1/24/06, Lee Meador <[EMAIL PROTECTED]> wrote: > So, where are the ant jars kept for the Maven antrun plugin? >

Re: MavenProject

2005-12-15 Thread David H. DeWolf
To have it injected into your MoJo, use: /** * @parameter expression="${project}" * @required * @readonly */ protected MavenProject project; Jochen Wiedmann wrote: Christopher Cobb wrote: How do I give my plugin access to MavenProject?? org.apache.mav

AutoSynched Maven Repo for Apache Projects?

2005-12-10 Thread David H. DeWolf
Pluto 1.1 is about to be released. For the life of me, I can't seem to find the maven 2 repository for apache projects that is auto-synced to ibiblio. Is there one, or do I need upload the request to jira like everyone else? David

Re: Where is the source code for Maven?

2005-11-10 Thread David H. DeWolf
http://maven.apache.org/source-repository.html David On 11/10/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > > > From the Maven page, there is no link to source code? Why not? > Every other OSS project that I remember has an easy way to navigate to the > source code distribution. Does Maven has

Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-09 Thread David H. DeWolf
Hmmm. Definately a possibility. Thanks for the hint! David On 11/9/05, Jason van Zyl <[EMAIL PROTECTED]> wrote: > > On Tue, 2005-11-08 at 22:36 -0500, David H. DeWolf wrote: > > > > What are you trying to do exactly? > > > > I'm attempting to create a pl

Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-09 Thread David H. DeWolf
*/ > > private ArtifactFactory factory; > > > > (role is only necessary for a list of components or if it differs from > the type) > > > > - Brett > > > > On 11/9/05, David H. DeWolf <[EMAIL PROTECTED]> wrote: > > > >>Jason van Zyl

Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-09 Thread David H. DeWolf
from the type) - Brett On 11/9/05, David H. DeWolf <[EMAIL PROTECTED]> wrote: Jason van Zyl wrote: On Tue, 2005-11-08 at 22:08 -0500, David H. DeWolf wrote: I'm developing a plugin which requires an ArtifactFactory and ArtifactResolver and am attempting to get them injected. I hav

Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-08 Thread David H. DeWolf
Jason van Zyl wrote: On Tue, 2005-11-08 at 22:08 -0500, David H. DeWolf wrote: I'm developing a plugin which requires an ArtifactFactory and ArtifactResolver and am attempting to get them injected. I have tried two approaches: @component

[M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-08 Thread David H. DeWolf
I'm developing a plugin which requires an ArtifactFactory and ArtifactResolver and am attempting to get them injected. I have tried two approaches: @component role="org.apache.maven.artifact.resolver.ArtifactResolver" @component role="org.apache.maven.artifact.factory.ArtifactFactory" and @p

Re: Right way to structure a project (and its site)

2005-11-02 Thread David H. DeWolf
There may be a couple of options, however, the approach I prefer is the following: 1) leave the structure just as you have defined below 2) define the site distribution management section in your parent pom as follows: website scp://minotaur.apache.org/www/portals.apache.org/pluto because m2

Re: [m2] deployment of Jetty 6

2005-11-01 Thread David H. DeWolf
David Jencks wrote: On Oct 26, 2005, at 3:30 AM, Greg Wilkins wrote: Brett Porter wrote: . . . Ideally, I think apache should branch all the standard javax stuff into a project of it's own. That way tomcat, jetty and geronimo would all be siblings and there would be no cross dependanci

Re: [m2] What is the Maven 2 equivalent for site logos etc?

2005-10-25 Thread David H. DeWolf
This information now belongs in your site.xml. See: http://maven.apache.org/guides/mini/guide-site.html and specifically the part on creating the site "descriptor". David On 10/25/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > > > In Maven 1.0 you wrote this in your project.xml > > > CSFB (c

Re: any open source projects on M2 for an example ( Cargo ? )

2005-10-20 Thread David H. DeWolf
Yes, moving Pluto 1.1 to trunk is actually up for discussion right now on the pluto dev list. Thanks for the plug! David On 10/20/05, Jason van Zyl <[EMAIL PROTECTED]> wrote: > > On Thu, 2005-10-20 at 00:11 -0400, David H. DeWolf wrote: > > pluto 1.1 branch has made the switch

Re: [m2] Exception running site:site

2005-10-20 Thread David H. DeWolf
your descriptor (site.xml) -- probably located at /src/site/site.xml David On 10/20/05, Kees de Kooter <[EMAIL PROTECTED]> wrote: > > I have not attempted anything to change yet, just run site:site. > Which file are you referring to? > > Kees > > --

Re: [m2] Exception running site:site

2005-10-20 Thread David H. DeWolf
I experienced this issue when I attempted to nest items. To fix, change: to or something similar. David On 10/20/05, Kees de Kooter <[EMAIL PROTECTED]> wrote: > > Sorry Brett, > > I just installed maven 2 (congrats with the release!) but the error is > still happening: > > [ERROR

Re: any open source projects on M2 for an example ( Cargo ? )

2005-10-19 Thread David H. DeWolf
pluto 1.1 branch has made the switch and includes some custom plugins as well. Check out: http://svn.apache.org/repos/asf/portals/pluto/branches/pluto-1.1/ On 10/19/05, Jorg Heymans <[EMAIL PROTECTED]> wrote: > > > Pete Thomas wrote: > > I was looking for some example projects that are using M2 a

Re: [m2] NoSuchMethodError exception when executing site:site

2005-10-17 Thread David H. DeWolf
Zheng, I got the same thing over the weekend and found that Maven was downloading the most recent plugins but I didn't have the most recent dist to go with them. To get things working (at least partway), I cleared out my maven plugings from the repo and installed M2 RC. This got me further, but I

[M2] Mix between Provided and Test Scopes

2005-07-14 Thread David H. DeWolf
I'm attempting to utilize the servlet api within some mock tests (in addition to needing it to compile my main source). I have attempted to mark the scope of the servlet api in the following manners: 1) Provided Scope 2) Test Scope 3) Two Separate Dependencies of Provided Scope AND Test Scope