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
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
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
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
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
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. . .
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
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?
>
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
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
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
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
*/
> > 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
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
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
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
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
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
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
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
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
>
> --
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
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
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
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
25 matches
Mail list logo