RE: Parent POM and versions...

2007-09-18 Thread David Jackman
I'm interested in repeatable release builds, but not really interested in repeatable snapshot builds. It would be great to specify for a parent (or a dependency in some cases) to use the latest available release or snapshot version while my project is under development (i.e. in snapshot mode). Wh

RE: calling plugin in another plugin?

2007-06-07 Thread David Jackman
Here's another situation where I want to have a plugin call another plugin. Can you tell me the "right" way to accomplish this? In our group we have a release procedure that involves a few more steps beyond running the release:prepare mojo. In fact, some of the parameters into the release:pre

RE: M2 Repository Resolution

2007-05-18 Thread David Jackman
This sounds a lot like a problem I was seeing. I haven't have very much time to investigate, but it appears as though Maven gets to the first repository and it does have an entry for the groupId and artifactId, but not the particular version of the artifact. However, instead of going on to the ot

Using multiple versions of the same library side-by-side

2007-05-08 Thread David Jackman
I'm using a particular library and they've just released a new version. The new library's API has changed significantly enough that the publisher has changed all of the package names and made it possible for a project to use both the old and new versions of the library side-by-side as the project m

Native plugin and include files

2007-05-02 Thread David Jackman
I've taken a good look at the native plugin and its example projects in svn. I think I see how I can put it all together except for one thing: the header files. The example projects all share the same source directory, which contains the header files. For my own library project, that isn't possi

RE: maven and jmockit, problem with -javaagent jvm arg

2007-05-01 Thread David Jackman
I actually spent quite a bit of time trying to get this exact thing to work. The problem here is that you need the dependencies of jmockit to be on the surefire classpath when it's started up, but surefire provides no way to do this. I even tried creating my own jar with the jmockit classes and t

RE: How to run multiple "mvn" commands in a windows bat file?

2007-04-16 Thread David Jackman
Use "call mvn clean" and "call mvn install". mvn is a batch file, and Windows transfers processing to a batch file unless you specify the call command (that calls the batch file then returns processing back to the calling batch file at the location just after calling the other batch file). -O

RE: Specifying repository in the install goal

2007-04-16 Thread David Jackman
You can't deploy to an http url. It has to be something that can accept files, like scp, ftp, or file. -Original Message- From: mateamargo [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 8:45 AM To: users@maven.apache.org Subject: Re: Specifying repository in the install goal

RE: relase plugin, multimodule-project and internal depenencies

2007-04-13 Thread David Jackman
a 'clean' release-server no problems should occur... On Friday 13 April 2007 15:46, David Jackman wrote: > This shouldn't be the "correct" way to do this. If I'm releasing my > projects, I want to deploy the (only) release build of the projects, > not inst

RE: relase plugin, multimodule-project and internal depenencies

2007-04-13 Thread David Jackman
This shouldn't be the "correct" way to do this. If I'm releasing my projects, I want to deploy the (only) release build of the projects, not install one build and then deploy another build. This is especially true if a company "official" build server will be doing the deploy--if I've done an i

RE: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous

2007-04-12 Thread David Jackman
This has been an interesting discussion to read. I've been thinking about an issue I'm seeing within our development group with versioning of parent POMs. All of our projects reference the same root parent, which has been evolving. Every time any project needs to release, we have to release the

RE: What's the deal with MNG-2858??!?

2007-04-10 Thread David Jackman
Subject: Re: What's the deal with MNG-2858??!? On 4/10/07, David Jackman <[EMAIL PROTECTED]> wrote: > I've sent email to this group, I've written a bug > (http://jira.codehaus.org/browse/MNG-2858), but still no one has given > any kind of response. Maybe we'

What's the deal with MNG-2858??!?

2007-04-10 Thread David Jackman
I've sent email to this group, I've written a bug (http://jira.codehaus.org/browse/MNG-2858), but still no one has given any kind of response. Maybe we're the only ones on the planet that are having this problem, but it is happening repeatedly and is beginning to hinder my group's acceptance of Ma

RE: How to pass M2 properties to surefire plugin's argLine

2007-04-06 Thread David Jackman
2007 9:00 AM To: users@maven.apache.org Subject: Re: How to pass M2 properties to surefire plugin's argLine On 4/5/07, David Jackman <[EMAIL PROTECTED]> wrote: > I'm trying to do almost exactly the same thing (different agent jar, > though). Rather than trying to have the

RE: Manipulating the surefire booter classpath

2007-04-05 Thread David Jackman
27;ve never done exactly this myself, but I'd be curious about your configuration assuming you get it working... And I'm sure other people would find this useful, too. Wayne On 4/4/07, David Jackman <[EMAIL PROTECTED]> wrote: > To run my tests, I have to put in place an instrume

RE: How to pass M2 properties to surefire plugin's argLine

2007-04-05 Thread David Jackman
I'm trying to do almost exactly the same thing (different agent jar, though). Rather than trying to have the agent point to the repo, I used the dependency plugin to copy the jar from the repository to a location under the build directory, then reference it there. That much is working okay. Wha

Manipulating the surefire booter classpath

2007-04-04 Thread David Jackman
To run my tests, I have to put in place an instrumentation jar using the -javaagent commandline argument. I added this using the argLine property of the surefire configuration. However, the instrumentation jar has its own dependencies that aren't present in the surefire booter classpath. Adding

RE: How to access a dependency path in the pom?

2007-04-04 Thread David Jackman
Franz gave me the same "on top of my head" advice when I pretty much asked the same question earlier this week. I did some looking around, and it appears he's right--that's the only way to do it. This page shows the usage to make this work: http://maven.apache.org/plugins/maven-dependency-plugin/

Getting the full path of a dependency in a POM

2007-04-02 Thread David Jackman
For a particular project I have, I need to add a parameter to the JVM when running the tests (using the argLine configuration property for surefire, I assume) that includes the full path of a particular dependency jar. Is there some kind of property notation that I can use that Maven will resolve

RE: How can i run clover and cobertura permanantly?

2007-03-26 Thread David Jackman
Are you sure this is true? I just finished writing an EMMA plugin (based on the Cobertura code), and I only needed the node in the section for it to work (when running mvn site from the command line). I found I could even provide configuration properties for the instrumentation mojo in the repor

RE: Deploying to multiple repositories

2007-03-22 Thread David Jackman
Maven won't deploy to more than one repository at all, let alone having some artifacts go to one repository and a different set go to another. I've created a pom with two profiles indicating a different distributionManagement section and activated both, but the artifact was only deployed to the fir

RE: Any Archiva download soon?

2007-03-09 Thread David Jackman
I had no problem getting the sources and building it myself a couple of days ago. I can zip up the results and email it to you if you still can't get it to work. Let me know. -Original Message- From: Marziou, Gael [mailto:[EMAIL PROTECTED] Sent: Friday, March 09, 2007 10:12 AM To: use

RE: Custom plugins are not found in internal repository.

2007-03-07 Thread David Jackman
Of course, you are right. I forgot to change the repository tag to pluginRepository. I knew I should have looked at my own settings.xml file to be sure. ..David.. -Original Message- From: Marcos Silva Pereira [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 1:26 PM To: Maven

RE: Custom plugins are not found in internal repository.

2007-03-07 Thread David Jackman
I believe you have to specify your repository as a plugin repository (using the pluginRepository element) if you want Maven to look there for plugins. provider-profile provider-repository Repositorio de libs interno da Provider Si

Dependencies for aggregated projects

2007-03-05 Thread David Jackman
I thought I'd read somewhere that when compiling an aggregated group of projects (using the element in the aggregator project), Maven will use the target directories of the previously compiled projects when looking for dependencies. For example, say I have a project that aggregates projects A an

Releasing a multiproject

2007-03-02 Thread David Jackman
I've put together a group of projects as a multiproject (so the parent pom.xml references the others as modules). They all build just fine as snapshots. I'm now trying to do a release:prepare on the group as a whole (running from the parent pom directory). There are interdependencies within the

Maven gives up looking for parent pom

2007-02-28 Thread David Jackman
I've created a settings.xml that lists all of our internal repositories (some Maven 1, some Maven 2). One of these repositories contains the parent POM for the project I'm trying to build. However, Maven reports that it can't "locate resource in repository" and lists all of the repositories in se

RE: release:prepare problem with Perforce SCM

2007-02-27 Thread David Jackman
We're also using Perforce, and apparently Perforce support wasn't added to the release plugin until after the current (beta 4) release. I haven't seen anything about when beta 5 will release to fix this problem, but I was able to get the release plugin code and build it myself and releases work fi

RE: Passing parameter to mojo

2007-02-23 Thread David Jackman
The greeting field should be declared inside the class. Interesting, I would have expected a Java compile error instead of a qdox exception. ..David.. -Original Message- From: Kiruba Suthan [mailto:[EMAIL PROTECTED] Sent: Friday, February 23, 2007 12:26 AM To: users@maven.apache.org S

RE: Bug in Plexus code -- Maven 2.0.5 not using latest version?

2007-02-22 Thread David Jackman
:04 PM To: Maven Users List Subject: Re: Bug in Plexus code -- Maven 2.0.5 not using latest version? On 22 Feb 07, at 1:16 PM 22 Feb 07, David Jackman wrote: > In researching why project.properties was coming up empty for my > plugin, I found that the problem was in Plexus code >

RE: Mojo accessing project properties

2007-02-22 Thread David Jackman
Users List Subject: Re: Mojo accessing project properties On 22 Feb 07, at 3:11 PM 22 Feb 07, David Jackman wrote: > That works great--the perfect solution for right now as I wait until > this fix is available with Maven 2.0.6. > Once in JIRA you can watch it and use a snapshot build once

RE: Mojo accessing project properties

2007-02-22 Thread David Jackman
That works great--the perfect solution for right now as I wait until this fix is available with Maven 2.0.6. Thanks! ..David.. -Original Message- From: Marcos Silva Pereira [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 11:38 AM To: Maven Users List Subject: Re: Mojo acce

RE: Get the scm settings from plugin

2007-02-22 Thread David Jackman
can I use ${project.license} to get a License object from model? Is that functionality documented anywhere? David Jackman wrote: > It seems project.properties will always be empty (I've been working on > that issue in the "Mojo accessing project properties" thread in this >

Bug in Plexus code -- Maven 2.0.5 not using latest version?

2007-02-22 Thread David Jackman
In researching why project.properties was coming up empty for my plugin, I found that the problem was in Plexus code (plexus-container-default-1.0-alpha-9.jar to be exact). Looking up that project, it seems the latest release is 1.0-alpha-17, but if I try to have Maven use that instead, Maven dies

RE: Mojo accessing project properties

2007-02-22 Thread David Jackman
need to use the @requiresDependencyResolution. Hope this helps. On 2/17/07, David Jackman <[EMAIL PROTECTED]> wrote: > > 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 s

RE: Get the scm settings from plugin

2007-02-22 Thread David Jackman
It seems project.properties will always be empty (I've been working on that issue in the "Mojo accessing project properties" thread in this forum). However, what you want isn't in the properties anyway. What you want is the project.scm value. Declare your plugin field like this: /** *

RE: Specifying a New Package Type

2007-02-22 Thread David Jackman
Have you set true for the plugin execution (in the pom)? I'm not sure if this even applies for the case of a new packaging. I'm interested in how to get this sort of thing to work, though, since I think I'll be writing a custom packaging plugin before too long myself. ..David.. -Original

RE: Mojo accessing project properties

2007-02-17 Thread David Jackman
tLog().debug("Properties: " + properties); } } From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Fri 2/16/2007 8:38 PM To: Maven Users List Subject: Re: Mojo accessing project properties What's the rest of your mojo look like? Are you using @execute phase="so

Mojo accessing project properties

2007-02-16 Thread David Jackman
I'm trying to write a mojo that accesses the properties section of the project pom. I declared a member variable like this /** * Project properties. * * @parameter default-value="${project.properties}" * @required * @readonly */ private Properties properties;

[m2] --reactor command line switch

2007-02-16 Thread David Jackman
I would like to execute a goal like scm:update for all the projects in my multiproject pom. It seems like the --reactor switch on mvn command line should do this, but it doesn't ("Cannot execute mojo: update. It requires a project with an existing pom.xml, but the build is not using one."). Am

RE: Activating a profile with settings.xml

2007-01-30 Thread David Jackman
ssue, such that only external profiles listed in the activeProfiles section will be affected. Profiles in the POM are not included in that group. -j On 1/30/07, Eric Redmond <[EMAIL PROTECTED]> wrote: > > What version of Maven are you using? > > On 1/30/07, David Jackman <[EMAIL

RE: Activating a profile with settings.xml

2007-01-30 Thread David Jackman
such that only external profiles listed in the activeProfiles section will be affected. Profiles in the POM are not included in that group. -j On 1/30/07, Eric Redmond <[EMAIL PROTECTED]> wrote: > > What version of Maven are you using? > > On 1/30/07, David Jackman <[EMAIL P

RE: Activating a profile with settings.xml

2007-01-30 Thread David Jackman
AIL PROTECTED]> wrote: > Profiles should be activated in this way. > > Try: "mvn help:active-profiles" > See if your profile is active. > > Eric > > On 1/26/07, David Jackman <[EMAIL PROTECTED]> wrote: > > > > According to the documentati

Activating a profile with settings.xml

2007-01-26 Thread David Jackman
According to the documentation at http://maven.apache.org/settings.html: "Any profile id defined as an activeProfile will be active, reguardless of any environment settings. If no matching profile is found nothing will happen. For example, if env-test is an activeProfile, a profile in a pom.xml

Release plugin code moved?

2007-01-25 Thread David Jackman
According to the release plugin's web page, the code for the plugin is available from SVN at http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin . However, there is no such directory under trunk. Does anyone know where it really is? ..David.. FASTforward '07 The Industry'

RE: pom.xml editor

2007-01-25 Thread David Jackman
Does notepad++ utilize the xmlns attributes to provide additional assistance with the POM format (beyond just generic XML syntax support)? Are there any other standalone editors that do this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, Januar

Profile inheritance

2007-01-10 Thread David Jackman
I've searched the mail archives, and this question seems to be asked a lot and answered never. Are profiles inherited from parent poms? The scant (and confusing) docs seem to imply that they are, but doing a help:active-profiles command does not agree with this. Please someone explain how this

[m2] Official and unofficial repositories

2007-01-09 Thread David Jackman
Our team is producing a number of artifacts, some of which are considered "official" and others "unofficial". We want to have a separate repository for each. What I'd like to do is define both repositories in the parent pom, then each project will deploy to the correct repository based on a prope

RE: HOW TO - Use maven-eclipse-plugin to build a RCP Target Platform and an internal repository from an Eclipse installation

2007-01-09 Thread David Jackman
This looks like good information (though I haven't tried it yet). Why is it in a page that looks like it's about the Maven plugin for Eclipse (seeing how it's in the "Maven Plugins" section of the hierarchy) instead of the "Building Eclipse RCP and RCP-based Applications" page (which already exist

M2 project type for a standalone utility

2006-11-03 Thread David Jackman
I have a Java project that I want to build using Maven 2. This particular project doesn't really produce a jar as its main artifact, but instead needs to produce a zip file containing all of the runtime dependencies along with a batch file that users use to run the utility. Before I try to creat

RE: Maven 1.0.2 and Python

2006-06-20 Thread David Jackman
In our current Maven 1.0.2 environment, we have a few Python projects, and I wrote a Python plugin to handle compiling the Python code as well as running unit tests. It's been so long now (and I'm not really a Python person myself) that I don't think I can give a lot of help without doing a lot of

[m2] Building the official release artifact

2006-05-09 Thread David Jackman
We're using an automated build system to do all builds of our projects, and many others do the same. This works great for the snapshot builds, but we'd like the build system to do the official release builds as well. The automated system always gets the head and builds that, but when releasing th

RE: [m2] Deploying to more than one repository

2006-05-05 Thread David Jackman
branch in your scm and maintain two pom.xmls, but you would have to merge to the branch constantly to make sure your legacy branch copy kept up to date. Do you use continuum or another continuous build server? Kris -Original Message----- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: F

RE: [m2] Deploying to more than one repository

2006-05-05 Thread David Jackman
repository I would use a synchronization script between the two repositories. This is what Apache do. On 5/5/06, David Jackman <[EMAIL PROTECTED]> wrote: > While we transition our projects to Maven 2, I'd like to be able to > deploy artifacts built by Maven 2 to our internal Maven 2

[m2] Deploying to more than one repository

2006-05-05 Thread David Jackman
While we transition our projects to Maven 2, I'd like to be able to deploy artifacts built by Maven 2 to our internal Maven 2 repository as well as our internal Maven 1 repository for those project that haven't migrated yet. However, the element in the pom will only allow one . Is there a way to

[m2] Calling another plugin's goal from within my own

2006-05-01 Thread David Jackman
I've asked this question before long ago but got no real answer. Hopefully things have settled enough that there is something to say about doing this sort of thing. I'd like to essentially build a custom plugin that wraps the goals of an existing plugin. The specific use case I'm thinking of rig

RE: Maven2BookIsOut

2006-04-28 Thread David Jackman
I registered my email to get the book, but the download didn't work. Now it just gives me an "expired" page. -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 5:00 AM To: 'Maven Users List' Subject: RE: Maven2BookIsOut > -Original Mes

RE: [M2] - maven-javadoc-plugin showPrivate bug

2006-01-09 Thread David Jackman
/jira.codehaus.org/browse/MJAVADOC-37 ? On 1/10/06, David Jackman <[EMAIL PROTECTED]> wrote: > I reported this problem earlier and included a patch. That was before > they had separate JIRA projects for the plugins, so I can't find the > issue now. I did see MPJAVA

RE: [M2] - maven-javadoc-plugin showPrivate bug

2006-01-09 Thread David Jackman
I reported this problem earlier and included a patch. That was before they had separate JIRA projects for the plugins, so I can't find the issue now. I did see MPJAVADOC-37, which is marked as fixed. ..David.. -Original Message- From: Tim Davies [mailto:[EMAIL PROTECTED] Sent: Monday

RE: [m2] Overriding a configuration property

2006-01-05 Thread David Jackman
No one replied to then when I sent it originally. Does anyone have any thoughts before I write a JIRA about it? ..David.. -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 4:07 PM To: Maven Users List Subject: [m2] Overriding a

RE: [m2] Any additional docs for plugin maven-release-plugin?

2006-01-05 Thread David Jackman
I would say for something as crucial as a release plugin (or anything else that changes files and checks changes into SCM) the docs should be very explicit about what the plugin is doing--not just stating the options. ..David.. -Original Message- From: Chris Hagmann [mailto:[EMAIL PROTECTE

RE: [m2] production ready? any experience?

2005-12-21 Thread David Jackman
anisations. That's not something Maven 2 can do a lot about, and is a trade off for the person upgrading. Hope this helps in clarifying it. It's important that anyone who says it is not yet ready for production states a reason so we can focus on improving that experience. Cheers, Brett On

RE: [m2] production ready? any experience?

2005-12-20 Thread David Jackman
I didn't attend JavaPolis (sounds like I missed out), but I have been working for a few weeks to move our Maven 1 projects to Maven 2. At this point I would agree that Maven 2 is not quite ready for prime time. It's getting closer, though. I've found problems (both in the core and in plugins) and

RE: Maven and Continuous Integration

2005-12-20 Thread David Jackman
;nightly for site generation as the site gen takes hours to run. > >Just wondering if you have an trick to share :-D > > >-Original Message- >From: David Jackman [mailto:[EMAIL PROTECTED] >Sent: Monday, December 19, 2005 12:40 PM >To: Maven Users List >Subject: RE:

RE: Maven and Continuous Integration

2005-12-20 Thread David Jackman
build, compile and test, site too, etc? I have CI only on compile and test for all our product codelines, and 1 nightly for site generation as the site gen takes hours to run. Just wondering if you have an trick to share :-D -Original Message----- From: David Jackman [mailto:[EMAIL

RE: Maven and Continuous Integration

2005-12-19 Thread David Jackman
In our department, we use Maven (v1.0 currently) to do continuous integration builds and a few will use it to do builds on their own machines but most do their own builds using an IDE and use Maven only to update dependencies as necessary. We don't do separate nightly builds--only continuous bu

RE: Surefires test order

2005-12-16 Thread David Jackman
Actually, JUnit tests do run in a simple and predictable order (especially when a test class provides its own suite). I agree that it's a bad idea to write tests that depend on their ordering, but it should not be the build system that enforces this (especially when the XML report is the only way

RE: {m2] plugin execution order

2005-12-15 Thread David Jackman
Plugins that are executed with any given phase can come from three places: they can be associated with the phase by the definition of the packaging type for your project, they can come from the parent pom, and they can be given in your pom. According to the docs, the plugins from the packaging ar

RE: [m2] restricting javadoc

2005-12-15 Thread David Jackman
The javadoc plugin has a property for excluding packages, but it doesn't work (see http://jira.codehaus.org/browse/MNG-1768). The patch I attached to that jira issue fixes the problem by removing the source files for the excluded packages from the list given to the javadoc tool, which might addres

RE: Maven Plug-in for Eclipse

2005-12-15 Thread David Jackman
Well, the user-subscribe email worked, but the subscription confirmation fails (returned as undeliverable). Is anyone else seeing this problem? -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 8:05 AM To: Maven Users List Subject: RE

RE: Maven Plug-in for Eclipse

2005-12-15 Thread David Jackman
. ..David.. -Original Message----- From: David Jackman Sent: Thursday, December 15, 2005 7:55 AM To: 'Maven Users List' Subject: RE: Maven Plug-in for Eclipse According to the page right now, the link is to users-subscribe (with an 's'), not user-subscribe as you say. Whi

RE: Maven Plug-in for Eclipse

2005-12-15 Thread David Jackman
According to the page right now, the link is to users-subscribe (with an 's'), not user-subscribe as you say. Which is correct? I followed the users-subscribe link and didn't get anything back (neither a bounce back nor a "welcome to the list"). ..David.. -Original Message- From: Jason

[m2] Overriding a configuration property

2005-12-06 Thread David Jackman
In my parent pom, I have a configuration property set for a particular plugin. In one of the subprojects, I need to be able to override that configuration property with a different value. Should this sort of thing be possible? It isn't working for me. ..David..

RE: assemble binary during deploy

2005-12-01 Thread David Jackman
Use the source plugin instead of the assembly plugin. Just add this to your pom.xml: org.apache.maven.plugins maven-source-plugin jar

RE: dom.jar

2005-11-29 Thread David Jackman
Of Carlos Sanchez Sent: Tuesday, November 29, 2005 12:59 PM To: Maven Users List Subject: Re: dom.jar The dom jar is not from Sun, if you look at the manifest inside you'll see that it's just Xerces from apache (at least the one i have) On 11/29/05, David Jackman <[EMAIL PROTECTED]

dom.jar

2005-11-29 Thread David Jackman
Is there a consensus-standard groupId and artifactId to use for dom.jar, which is part of Sun's JAXP package? I didn't see anything for it listed on the "Coping with Sun Jars" page. ..David..

RE: inheriting from plugins

2005-11-28 Thread David Jackman
Please expound on what you mean by "using libraries in a dependency fashion". I want to do this as well, and I'm not sure how. Do you mean I should create an instance of the other Mojo within my Mojo class? If so, how does it get configured properly? ..David.. -Original Message- From:

RE: [m2] How to set a Mojo property from settings.xml

2005-11-25 Thread David Jackman
set a Mojo property from settings.xml Hi David, David Jackman wrote on Wednesday, November 23, 2005 6:12 PM: > true This does currently not work, see http://jira.codehaus.org/browse/MNG-1586 - Jörg

RE: Maven for enterprise projects

2005-11-23 Thread David Jackman
We've been using Maven 1.0 in our development team for some time now, with only a few hiccups (which Maven 2 will clear up nicely when all the bugs are fixed :). If an individual developer wants to build the project using Maven, then he will need a local copy of Maven running on his workstation

RE: [m2] How to set a Mojo property from settings.xml

2005-11-23 Thread David Jackman
rs List Subject: Re: [m2] How to set a Mojo property from settings.xml Hi David, Check out this url from the Maven documentation for setting the configuration in the settings.xml file: http://maven.apache.org/guides/introduction/introduction-to-profiles.htm l Regards, Deng David Jackman wrot

RE: [m2] Moving from project.xml to pom.xml

2005-11-23 Thread David Jackman
Is there a reason this information was dropped from the project descriptor? I'd like to have the version history information (including version numbers, SCM tag names, and possibly dates and descriptions) stay with the project description in source control. All I'd want in the repository is the v

[m2] Status of forking in surefire plugin

2005-11-22 Thread David Jackman
What's the latest status for forking support in the surefire plugin? A few of the projects I'm migrating to M2 use JNI to talk to Windows DLLs, and I need to fork the tests to make sure the test process can find the DLLs. Is support going to be available soon or is there another solution availabl

[m2] How to set a Mojo property from settings.xml

2005-11-22 Thread David Jackman
One of the properties for a Mojo I'm writing is really a user-specific thing, and ought to be set in each user's settings.xml file. The guide for configuring plugins only talks about setting configuration properties in pom.xml, but not how to reference values set in settings.xml. How do I do this

RE: [m2] Installing 3rd Party Jars with POMs

2005-11-21 Thread David Jackman
Done: http://jira.codehaus.org/browse/MNG-1646 ..David.. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 2:09 PM To: Maven Users List Subject: Re: [m2] Installing 3rd Party Jars with POMs On 11/22/05, David Jackman <[EMAIL PROTEC

RE: [m2] Is this correct behavior for optional dependency?

2005-11-21 Thread David Jackman
rrect behavior for optional dependency? I usually go to the 2.0.1 and use firefox's type-ahead find :) JIRA isn't easy to search quickly... but maybe "MNG optional" would do it. - Brett On 11/22/05, David Jackman <[EMAIL PROTECTED]> wrote: > I did do a little looking around

RE: [m2] Is this correct behavior for optional dependency?

2005-11-21 Thread David Jackman
t: Re: [m2] Is this correct behavior for optional dependency? I think this may have been fixed in 2.0.1 - check JIRA for an existing issue first. On 11/22/05, David Jackman <[EMAIL PROTECTED]> wrote: > Based on my reading of the docs and the mail archives, adding > true to a depende

[m2] Is this correct behavior for optional dependency?

2005-11-21 Thread David Jackman
Based on my reading of the docs and the mail archives, adding true to a dependency should affect other projects that depend on my project, but not affect the building of my own project. Is that true? Right now, I'm seeing otherwise. If I mark a dependency as optional, then it's not included in m

RE: [m2] Installing 3rd Party Jars with POMs

2005-11-21 Thread David Jackman
again with the groupId, artifactId, version of the jar you've installed and with a packaging of pom -allan David Jackman wrote: >I've read the GSG page for installing 3rd party jars, but it says >nothing about how to get a corresponding POM installed along with the >.jar. Is th

RE: [m2] "mvn deploy" hangs if groupId contains a dot.

2005-11-18 Thread David Jackman
I thought all of the Maven2 projects used "org.apache.maven" as their groupId. We're doing it here, too (though I'm not very far along as of yet--we don't have an internal repository set up to deploy to). ..David.. -Original Message- From: Paul Spencer [mailto:[EMAIL PROTECTED] Sent:

[m2] Installing 3rd Party Jars with POMs

2005-11-18 Thread David Jackman
I've read the GSG page for installing 3rd party jars, but it says nothing about how to get a corresponding POM installed along with the .jar. Is there a way for me to install a POM I've created for the jar at the same time, or is everyone pretty much copying that in by hand. Should I file an enhan

RE: [m2] Wrapping an existing Mojo with a proxy Mojo

2005-11-17 Thread David Jackman
/05, Eric Redmond <[EMAIL PROTECTED]> wrote: > archetype is for creating projects... there is not yet a POM to > inherity from. ;) > > On 11/15/05, David Jackman <[EMAIL PROTECTED]> wrote: > > > > Well, since it's the same value for all projects, you can ju

RE: [m2] Wrapping an existing Mojo with a proxy Mojo

2005-11-15 Thread David Jackman
e. In my case, maven-archetype-plugin requires a groupId, although it will always be the same for our projects. I'd love to be able to specify the groupId by default for all cases. Eric On 11/15/05, David Jackman <[EMAIL PROTECTED]> wrote: > > I don't want to modify th

RE: [m2] Wrapping an existing Mojo with a proxy Mojo

2005-11-15 Thread David Jackman
r as someone unfamiliar with the changes looking at the build will then get a surprise. - Brett On 11/16/05, David Jackman <[EMAIL PROTECTED]> wrote: > Just wondering if anyone has done this successfully and can recommend > some best practices. In an effort to make our build process

[m2] Wrapping an existing Mojo with a proxy Mojo

2005-11-15 Thread David Jackman
Just wondering if anyone has done this successfully and can recommend some best practices. In an effort to make our build process around M2 as automatic as possible with regards to our internal standards, I'd like to create some custom plugins that effectively wrap existing plugins for either or b

RE: how to create a site in maven 2

2005-11-11 Thread David Jackman
This is just a thought, meaning I haven't tried it yet, but I will be needing to do this at some point: How about creating a profile that the Continuum build uses that specifies running the site goal of the site plugin for all builds? The real question with creating the site is does the M2 vers

RE: [m2]Site directory

2005-11-10 Thread David Jackman
I believe it's specified by the siteDirectory property for the maven-site-plugin plugin. -Original Message- From: Alexandre Bairos [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 12:46 PM To: users@maven.apache.org Subject: [m2]Site directory Is there an available configura

RE: [m2] Inherited plugin execution order

2005-11-10 Thread David Jackman
. This order is reflected when iterating over the sorted map's collection views (returned by the entrySet, keySet and values methods)." This means that the values retrieved ARE in the order defined by the keys. -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Se

RE: [m2] Inherited plugin execution order

2005-11-10 Thread David Jackman
which sorts the entries by the "natural ordering of the keys". Since at the end of the merge process we take the values list, this will be completely arbitrary. I wrote a bug on this (MNG-1499). ..David.. -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Thur

[m2] Inherited plugin execution order

2005-11-10 Thread David Jackman
According to the docs (http://maven.apache.org/guides/introduction/introduction-to-the-lifecyc le.html): " When multiple executions are given that match a particular phase, they are executed in the order specified in the POM, with inherited executions running first." This much seems to be true.

RE: [m2] building non-jar projects

2005-11-10 Thread David Jackman
Is there a reference document for the components.xml file somewhere? -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 3:33 AM To: Maven Users List Subject: Re: [m2] building non-jar projects Ah, yes, now I see it under "Specifying a New P

  1   2   3   >