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
...@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
?
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
...@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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
- 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:
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:
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
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
--
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
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
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
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
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
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
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-
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
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
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
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
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
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
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
.
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
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
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,
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
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
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,
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
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
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
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:
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
?
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
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
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
.
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
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
52 matches
Mail list logo