Re: New packaging type HOWTO?

2010-06-14 Thread Adam Leggett
This should provide you with the info you need: http://www.sonatype.com/people/2009/08/create-a-customized-build-process-in-maven/ On Mon, 2010-06-14 at 09:06 -0400, Laird Nelson wrote: Hello; I'd like to add a new packaging type for our builds. Strictly speaking, I could just pack up the

Re: [ANN] New repository search site - srchmvn.com

2010-04-08 Thread Adam Leggett
...@maven.apache.org -- Adam Leggett Chief Architect Mike CI - Hosted Continuous Integration http://mikeci.com https://twitter.com/builtbyadam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail

Re: File name filtering in maven-archetype plugin

2010-02-19 Thread Adam Leggett (UPCO)
? Thanks and best regards, Aleksey Didik. -- Adam Leggett Chief Architect Mike CI - Hosted Continuous Integration http://mikeci.com https://twitter.com/builtbyadam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: skip run of a plugin in a phase without changing pom.xml

2010-01-27 Thread Adam Leggett (UPCO)
...@maven.apache.org -- Adam Leggett Chief Architect Mike CI - Hosted Continuous Integration http://mikeci.com https://twitter.com/builtbyadam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e

Re: install maven project from repository to local fs

2010-01-18 Thread Adam Leggett (UPCO)
this plugin is what i need. what i would want is simply to run mvn install project-name from any directory on the fs and maven will run the 'install' phase without having the pom code locally (will read it from the repo). Eyal. -- Adam Leggett Chief Architect Mike CI - Hosted Continuous

Re: How to customize the project info reports-project-info-reports:project-team

2010-01-11 Thread Adam Leggett (UPCO)
seem to remember adding a patch for this a while back - http://jira.codehaus.org/browse/MPIR-35 The text you mention is contained in a properties file. I added a mojo param to allow you to specify a custom file location. Adam -- Adam Leggett Chief Architect Mike CI - Hosted Continuous

Re: If there any way to execute plugin conditionally?

2009-12-10 Thread Adam Leggett (UPCO)
No problem Dmitry, glad to share the knowledge :). On Wed, 2009-12-09 at 13:08 -0500, Dmitry Skavish wrote: Thanks a lot! Works perfectly! That's exactly what I was looking for. On Wed, Dec 9, 2009 at 12:28 PM, Adam Leggett (UPCO) adam.legg...@upco.co.uk wrote: Did you look at profiles

Re: How to prevent deployment on release

2009-12-10 Thread Adam Leggett (UPCO)
I believe its the default release profile that triggers the site deployment stuff. There is an option for setting custom ones on the perform mojo: http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#releaseProfiles On Thu, 2009-12-10 at 09:25 -0500, Jim Collings wrote: The

Re: How to prevent deployment on release

2009-12-10 Thread Adam Leggett (UPCO)
at 10:08 -0500, Jim Collings wrote: How complicated is that to do? We don't generally use profiles around here so I've little experience with them. On Thu, Dec 10, 2009 at 9:48 AM, Adam Leggett (UPCO) adam.legg...@upco.co.uk wrote: I believe its the default release profile that triggers

Re: release plugin: Why is allowTimestampedSnapshots being ignored?

2009-12-10 Thread Adam Leggett (UPCO)
You dont need to use the release plugin to deploy a snapshot. A simple 'mvn deploy' will suffice. Thanks Adam On Thu, 2009-12-10 at 07:35 -0800, laredotornado wrote: Hi, I'm using Maven 2 and trying to release a snapshot version of my Java web app. Here is the command I'm running from my

Re: If there any way to execute plugin conditionally?

2009-12-09 Thread Adam Leggett (UPCO)
Did you look at profiles for this - http://maven.apache.org/guides/introduction/introduction-to-profiles.html ? They can be activated with an env var. Thanks Adam On Wed, 2009-12-09 at 12:24 -0500, Dmitry Skavish wrote: Hi, I need to run dependency-copy plugin only when some environment

[ANN] Hosted CI For Open Source Maven-based projects

2009-12-07 Thread Adam Leggett
Dear Maven Users, Mike (http://mikeci.com) is pleased to be able to offer *free* hosted continuous integration for open source Maven projects. Please see here for further details: http://bit.ly/6gurGG. Many Thanks Adam Leggett Chief Architect Mike http://www.mikeci.com

Re: Automating dependencyManagement enforcement

2009-12-01 Thread Adam Leggett (UPCO)
Have you checked the possibility of using the enforcer plugin for your use case? This does something close: http://maven.apache.org/enforcer/enforcer-rules/bannedDependencies.html or you could try creating a custom rule: http://maven.apache.org/enforcer/enforcer-api/writing-a-custom-rule.html

Re: particular version of maven-dependency-plugin

2009-11-12 Thread Adam Leggett (UPCO)
Try using the FQ plugin name/coordinates: mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:tree Cheers Adam On Thu, 2009-11-12 at 10:49 +0100, Karl Heinz Marbaise wrote: Hi, i'm trying to run the maven-dependency-plugin from command line without putting the information into the

Re: adding jdbc for ms-sql as dependency from maven

2009-11-12 Thread Adam Leggett (UPCO)
You can get the deploy-file/install-file goals to generate a POM for you: http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html#generatePom http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html#generatePom On Thu, 2009-11-12 at 12:17 +0200, eyal edri

Re: debug

2009-11-11 Thread Adam Leggett (UPCO)
If you created your added your project vy using the maven-eclipse-plugin i.e mvn eclipse:eclipse, it will not by default create the appropriate eclipse web tools platform metadata that results in you being able to do Run AsRun On Server etc. There is helpful page on the plug-in site that shows

Re: There are no tests to run

2009-11-11 Thread Adam Leggett (UPCO)
If you absolutely *must* put your tests in a dir other than the convention then you can configure that too: http://maven.apache.org/pom.html#Directories On Wed, 2009-11-11 at 09:48 -0600, Wayne Fay wrote: includes

Re: File system repo

2009-11-11 Thread Adam Leggett (UPCO)
Have you considered/tried specifying the arbitrary jars as system scoped dependencies? http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope On Wed, 2009-11-11 at 08:34 -0800, monkeyden wrote: I own and have read the book. Perhaps repo is

RE: Several questions regarding release-plugin/scm/multi-module

2009-03-13 Thread Adam Leggett
- On mvn release:prepare -Ddry-run=true the POMs are changed and testMain is checked (so no dry-run). I think that's because you should use -DdryRun=true. Thanks Adam -Original Message- From: Dev at weitling [mailto:d...@weitling.net] Sent: 13 March 2009 10:57 To:

RE: Several questions regarding release-plugin/scm/multi-module

2009-03-13 Thread Adam Leggett
How can I exclude modules from being versioned/tagged You could use a profile where you specify a set of modules you want to activate for the release. -Original Message- From: Dev at weitling [mailto:d...@weitling.net] Sent: 13 March 2009 10:57 To: users@maven.apache.org Subject:

Re: How to execute Java task within a Archetype

2009-02-25 Thread Adam Leggett
the generated project as indicated in my previous response. What exactly is your requirement here? What does your additional step need to do? -- Adam Leggett BuildFactory Principal Architect UPCO Office: 0113 20 10 600 Direct Line: 0113 20 10 631 Mobile: 07801 269056

RE: How to execute Java task within a Archetype

2009-02-25 Thread Adam Leggett
it seems like post process the custom task in to the new project's scope is the only solution here . I will try to achieve this as a plug-in . Thanks , On Wed, Feb 25, 2009 at 2:23 PM, Adam Leggett adam.legg...@upco.co.uk wrote: how can enforce Maven to execute custom task with mvn

Re: How to execute Java task within a Archetype

2009-02-24 Thread Adam Leggett
-- Adam Leggett BuildFactory Principal Architect UPCO Office: 0113 20 10 600 Direct Line: 0113 20 10 631 Mobile: 07801 269056 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h

RE: 5 minute guide - Incorrect documentation/documentation improvement?

2009-02-03 Thread Adam Leggett
I recently gave a talk on Maven to the Java London Users group. Which I attended and found to be very good :-) -Original Message- From: Martijn Verburg [mailto:martijnverb...@gmail.com] Sent: 02 February 2009 10:37 To: users@maven.apache.org Subject: 5 minute guide - Incorrect

RE: Using maven with eclipse

2009-01-15 Thread Adam Leggett
Try this if you want an Eclipse plug-in to manage the integration: http://m2eclipse.sonatype.org/ [1] Try this if you want a Maven plug-in instead: http://maven.apache.org/plugins/maven-eclipse-plugin/ [2] I tend to lean to [2], but then I'm happier just using command line mojos to get some of

RE: Skipping a lifecycle phase

2009-01-08 Thread Adam Leggett
Can you not place the soapui-plugin in a profile and trigger its activation via a command line parameter a la maven.test.skip? http://maven.apache.org/guides/introduction/introduction-to-profiles.htm l -Original Message- From: Marc Rolly [mailto:marc.ro...@gmail.com] Sent: 08 January

RE: reporting plugin dependency question

2009-01-08 Thread Adam Leggett
I think you need to specify the dependency within the build section of the pom and then reference in the reporting section: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId dependencies dependency

RE: reporting plugin dependency question

2009-01-08 Thread Adam Leggett
in maven-3.0. txs and LieGrue, strub Multiple exclamation marks are a sure sign of a diseased mind! (Sir Terry Pratchett) --- Adam Leggett adam.legg...@upco.co.uk schrieb am Do, 8.1.2009: Von: Adam Leggett adam.legg...@upco.co.uk

RE: something like 'ant -propertyfile ...'

2008-12-10 Thread Adam Leggett
I've never used it, but there is properties-maven-plugin in the mojo sandbox. http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/index.html You'll have to build it first I guess: https://svn.codehaus.org/mojo/trunk/sandbox/properties-maven-plugin/ Adam -Original Message-

RE: something like 'ant -propertyfile ...'

2008-12-10 Thread Adam Leggett
you want to substitute are ones that need to be resolved before starting the lifecycle, then that plugin is of no use to you... -Stephen 2008/12/10 Adam Leggett [EMAIL PROTECTED] I've never used it, but there is properties-maven-plugin in the mojo sandbox. http://haroon.sis.utoronto.ca/zarar

RE: Maven Jaxb plugin?

2008-12-09 Thread Adam Leggett
Try http://mojo.codehaus.org/jaxb2-maven-plugin/index.html For example: plugin groupIdorg.codehaus.mojo/groupId artifactIdjaxb2-maven-plugin/artifactId executions execution goals goalxjc/goal

RE: cruisecontol plugin for maven 2.0

2006-08-17 Thread Adam Leggett
AFAIK Cruise Control now has built in support for m2 from version 2.4.1 onwards: http://cruisecontrol.sourceforge.net/main/configxml.html#maven2 -Original Message- From: manoj kaushik [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 4:14 AM To: Maven Users List Cc: [EMAIL

[m2] Overriding default components

2006-08-03 Thread Adam Leggett
params? If it is done by plexus, how do I configure m2 to read my custom config? TIA Adam Adam Leggett [EMAIL PROTECTED] Senior Consultant UPCO Direct Line: 0113 20 10 631 Fax: 0113 20 10 666 http://www.upco.co.uk

RE: [m2] Overriding default components

2006-08-03 Thread Adam Leggett
help:describe -DgroupId=org.apache.maven.plugins -DartifactId=maven-surefire-plugin -Dfull=true Good luck. --- On Thu 08/03, Adam Leggett [EMAIL PROTECTED] wrote: From: Adam Leggett [mailto: [EMAIL PROTECTED] To: users@maven.apache.org Date: Thu, 3 Aug 2006 13:54:41 +0100 Subject: [m2

RE: Generated sources by an archetype

2006-08-03 Thread Adam Leggett
Ive never tried it, but I believe using -Dpackage=[my.group.id.my.artifactid for example] will override the default behaviour of simply substituting groupId for ${package} in your sources. -Original Message- From: COUVREUR jacques [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006

RE: extracting zip file?

2006-07-17 Thread Adam Leggett
Im not aware of a dedicated zip/unzip plugin. You could try the dependency plugin (dependency:unpack) http://mojo.codehaus.org/dependency-maven-plugin/ if the zip is listed as a dependency and this fits with what you want. Otherwise I'd suggest binding an execution of the maven-antrun-plugin to

RE: extracting zip file?

2006-07-17 Thread Adam Leggett
. Regards, Kapil -Original Message- From: Adam Leggett [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 7:12 PM To: Maven Users List Subject: RE: extracting zip file? Im not aware of a dedicated zip/unzip plugin. You could try the dependency plugin (dependency:unpack) http

RE: building twice - version 1.0.3

2006-06-23 Thread Adam Leggett
Warning have any significance? TIA Adam -Original Message- From: Adam Leggett [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 1:09 PM To: continuum-users@maven.apache.org Subject: RE: building twice - version 1.0.3 Emmanuel I also seem to be getting this problem. I have a single

RE: building twice - version 1.0.3

2006-06-23 Thread Adam Leggett
Emmanuel I also seem to be getting this problem. I have a single build definition. Selecting 'build now' results in two builds of the same m2 project. Env: Cn 1.0.3 XP pro Jdk 1.5 Thanks Adam -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31,

Build Version Numbering

2006-06-16 Thread Adam Leggett
have an idea of how to best approach this issue of versioning builds with continuum? TIA Adam Adam Leggett [EMAIL PROTECTED] Senior Consultant UPCO Direct Line: 0113 20 10 631 Fax: 0113 20 10 666 http://www.upco.co.uk

RE: Build Version Numbering

2006-06-16 Thread Adam Leggett
Does anyone have an idea of how to best approach this issue of versioning builds with continuum? TIA Adam Adam Leggett [EMAIL PROTECTED] Senior Consultant UPCO Direct Line: 0113 20 10 631 Fax: 0113 20 10 666 http://www.upco.co.uk

RE: Issue in using Maven2 with CruiseControl Jcoverage

2006-06-08 Thread Adam Leggett
With regard to plugin status im unsure but Cruise 2.4.1 has built in support for m2 projects. -Original Message- From: shinjan sen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 8:50 AM To: users@maven.apache.org Subject: Issue in using Maven2 with CruiseControl Jcoverage Hi,

Multi-module question

2006-06-06 Thread Adam Leggett
Hi all, When adding an m2 multi-module project via a url (file based) I always get multiple continuum projects for the parent and children. Is there a way to make continuum not add the children as projects? I simply want the parent to be added. TIA Adam Adam Leggett [EMAIL PROTECTED] Senior

xml-rpc client

2006-05-17 Thread Adam Leggett
1.0.3 web console. TIA Adam Adam Leggett [EMAIL PROTECTED] Senior Consultant UPCO Direct Line: 0113 20 10 631 Fax: 0113 20 10 666 http://www.upco.co.uk === The contents of this email are intended for the named addresses

RE: repo down?

2006-05-16 Thread Adam Leggett
In hindsight, maven-proxy would of been worth setting up. Indeed. I was able to do this today in approx 15 minutes and point it to ibiblio. Despite http://maven-proxy.codehaus.org/ also being down. Now we all go via maven-proxy here. Isnt google cache a lovely thing :-) ? -Original

RE: Continuum 1.0.3 RC require some tester

2006-03-17 Thread Adam Leggett
x2 I'd like to write a soap/xmlrpc client to query the latest build. Can someone point me in the right direction for this. Can it be done? I had read that the public docs for the SOAP api are out of date. TIA Adam -Original Message- From: Mang Jun Lau [mailto:[EMAIL PROTECTED] Sent:

[m2] Site plugin publish xml reports / rss

2006-03-15 Thread Adam Leggett
in source. Anyone tried this before ? The ideal scenario would be create maven reports as rss so my portlets can simply consume them in a standard way. TIA Adam Adam Leggett [EMAIL PROTECTED] Senior Consultant UPCO Direct Line: 0113 20 10 631 Fax: 0113 20 10 666 http://www.upco.co.uk

[m2] software component dependency

2006-03-10 Thread Adam Leggett
? If anyone has done this and can recommend a multi module structure (if necessary containing the runtime binaries rather than listing as dependencies) that would be fantastic. Many TIA Adam Adam Leggett [EMAIL PROTECTED] Senior Consultant UPCO Direct Line: 0113 20 10 631 Fax: 0113 20 10 666 http

RE: Building J2EE project using Maven2

2006-03-10 Thread Adam Leggett
I've been using maven2 (and continuum) to build/deploy a j2ee project to jboss for the last couple of weeks. Heres what ive done (im not sure if its best practice, but it works): I have a folder structure as follows toplevelmodule pom.xml /coremodule pom.xml

RE: [m2] software component dependency

2006-03-10 Thread Adam Leggett
I figured this out. I set up my own file: based internal repo and used typezip/type for my bootstrap dependencies. Simple! -Original Message- From: Adam Leggett [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 11:24 AM To: users@maven.apache.org Subject: [m2] software

[m2] Multiple Goals In Pom

2006-03-01 Thread Adam Leggett
. Specifically I wish to run clean, install then jboss:deploy. Can this been done via the pom? In ANT I would define a 'master' target to aggregate the others. What is the maven approach to this? TIA Adam Adam Leggett [EMAIL PROTECTED] Senior Consultant UPCO Direct Line: 0113 20 10 631 Fax: 0113 20

Multi-module override default goal

2006-02-27 Thread Adam Leggett
execute mvn against this pom only it works fine. If I run from the pom parent it always defaults to install:install for the child module and not jboss:deploy, which is what I need. Thanks in advance. Adam Adam Leggett [EMAIL PROTECTED] Senior Consultant UPCO Direct Line: 0113 20 10 631 Fax: 0113 20 10