Maven integration tests

2007-08-03 Thread Arnaud Bailly
Hello, I am trying to run and understand maven-it suite. It runs OK but everything is put in my home dir repo instead of in the environment defined LOCAL_REPO. I this normal ? There is a simple workaround: create settings.xml in the script with correct settings. Regards, -- OQube software

Using maven-verifier

2007-08-03 Thread Arnaud Bailly
Hello, I am trying to write some integration tests along the line of what is done in core-it. I am using the maven-verifier module and I want to check the behavior of creating a custom archetype with archetype:create. I ran into 1 problem: Verifier always add clean:clean goal in front of all goals

Tools for merging and managing repositories

2007-08-03 Thread Stephane Nicoll
Hi, I was wondering if anyone was working on repository tools. What I need is the ability to merge a detached repository (i.e. a repository created by the assembly plugin) with either the local repository or a remote repository. I know the maven repositorytools plugin does that but it's in the

RE: Defining a custom lifecycle

2007-08-03 Thread Sebastien Brunot
Hey, great news ! Any pointer to a documentation for this, or to an entry point class in the source code ? Thanks for your help, Sebastien -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Friday, August 03, 2007 1:57 PM To: Maven Developers List Subject: Re:

Re: Using maven-verifier

2007-08-03 Thread Arnaud Bailly
Jason van Zyl [EMAIL PROTECTED] writes: Brian is in the process of writing up how to create ITs from the new sample project we have that is turned into an archetype with the new archetype code. We'll be there shortly, but these are made for use internally but there are ITs for projects that

Re: Doxia core clean up

2007-08-03 Thread Jason van Zyl
Hi, I set up a space for you: http://docs.codehaus.org/display/DOXIA/Home And I put a little proposal in the wiki: http://docs.codehaus.org/display/DOXIA/Doxia+Utility+Code+Cleanup It took a few seconds, but I think this is a way better way to record proposals for posterity and to track

Re: Defining a custom lifecycle

2007-08-03 Thread Arnaud Bailly
Jason van Zyl [EMAIL PROTECTED] writes: On 2 Aug 07, at 9:22 AM 2 Aug 07, Arnaud Bailly wrote: Sebastien Brunot [EMAIL PROTECTED] writes: Am I asking the question to the good mailing list ? Should it be asked to the user mailing list instead ? Sure, this is the right ML. Part of the

Re: reporting jasper reports

2007-08-03 Thread Joakim Erdfelt
Brett Porter wrote: On 03/08/2007, at 3:23 AM, Joakim Erdfelt wrote: And with the dozen or so licenses in use by ant and maven, how and why is this suddenly important to archiva, but not the other projects? In maven and ant we have jgpl'd and oddball licenses such as ... checkstyle, clover,

Re: Using maven-verifier

2007-08-03 Thread Jason van Zyl
Brian is in the process of writing up how to create ITs from the new sample project we have that is turned into an archetype with the new archetype code. We'll be there shortly, but these are made for use internally but there are ITs for projects that projects that don't have POMs. On 3

Re: Defining a custom lifecycle

2007-08-03 Thread Jason van Zyl
On 3 Aug 07, at 8:51 AM 3 Aug 07, Sebastien Brunot wrote: Hey, great news ! Any pointer to a documentation for this, or to an entry point class in the source code ? Here's a full example: http://svn.codehaus.org/plexus/plexus-appserver/trunk/plexus- appserver-maven-plugin/ Thanks

Re: Defining a custom lifecycle

2007-08-03 Thread Arnaud Bailly
Jason van Zyl [EMAIL PROTECTED] writes: I'll try to decouple a few examples for you next week. Where we have customization of the default lifecycle (what you call a mapping), and a new lifecycle like the the site and clean lifecycles. They all work, you're probably just getting tripped up on

Re: Defining a custom lifecycle

2007-08-03 Thread Jason van Zyl
I'll try to decouple a few examples for you next week. Where we have customization of the default lifecycle (what you call a mapping), and a new lifecycle like the the site and clean lifecycles. They all work, you're probably just getting tripped up on a detail and the only documentation

Re: Defining a custom lifecycle

2007-08-03 Thread Paul Gier
Arnaud Bailly wrote: Jason van Zyl [EMAIL PROTECTED] writes: I'll try to decouple a few examples for you next week. Where we have customization of the default lifecycle (what you call a mapping), and a new lifecycle like the the site and clean lifecycles. They all work, you're probably

Re: [proposal] Decoupling of Maven Artifact

2007-08-03 Thread John Casey
+1, I'll add my (few) comments to the page. -john On Aug 2, 2007, at 11:13 PM, Jason van Zyl wrote: Hi, I have put the text of the proposal here so that it doesn't get lost: http://docs.codehaus.org/display/MAVEN/Decoupling+of+Maven+Artifact But I would like to decouple the artifact

Pruning build graph

2007-08-03 Thread Arnaud Bailly
Hello again, when doing multiproject build, it could be interesting to have a failure mode which is different from all or nothing. In particular, it could be interesting to be able to continue the reactor build of all projects that do not depend on a failed built project, while aborting building

RE: Defining a custom lifecycle

2007-08-03 Thread Sebastien Brunot
Looking at this class yesterday: http://svn.apache.org/repos/asf/maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/binding/LegacyLifecycleMappingParser.java, I was quite afraid that you cannot define your own lifecycle (lifecycle names + lifecycles phases seems to be

RE: Defining a custom lifecycle

2007-08-03 Thread Sebastien Brunot
Thanks denis. I've read this document, but unfortunately it doesn't give any informations about how to create a custom lifecycle (with custom phases, not a custom mapping on standard phase). Sebastien -Original Message- From: Cabasson Denis [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: Defining a custom lifecycle

2007-08-03 Thread Arnaud Bailly
Paul Gier [EMAIL PROTECTED] writes: I believe those lifecycles are defined under the maven lifecycle component here: https://svn.apache.org/repos/asf/maven/components/trunk/maven-lifecycle/src/main/mdo/maven-lifecycle.mdo But I don't think that really helps your issue. Thanks, I was

RE: Defining a custom lifecycle

2007-08-03 Thread Cabasson Denis
The most relevant documentation found on the life cycle customization, so far have been both Maven's book : http://www.sonatype.com/book/lifecycle.html http://www.devzuz.com/web/guest/products/resources Appendix A Why does nobody ever read my mails? Denis -Message d'origine- De

Re: Defining a custom lifecycle

2007-08-03 Thread Jason van Zyl
On 2 Aug 07, at 9:22 AM 2 Aug 07, Arnaud Bailly wrote: Sebastien Brunot [EMAIL PROTECTED] writes: Am I asking the question to the good mailing list ? Should it be asked to the user mailing list instead ? Sure, this is the right ML. Part of the answer may be here:

Re: Defining a custom lifecycle

2007-08-03 Thread Arnaud Bailly
Jason van Zyl [EMAIL PROTECTED] writes: On 3 Aug 07, at 8:51 AM 3 Aug 07, Sebastien Brunot wrote: Hey, great news ! Any pointer to a documentation for this, or to an entry point class in the source code ? Here's a full example:

Re: [proposal] Decoupling of Maven Artifact

2007-08-03 Thread Stephane Nicoll
+1 (see also my comment on the wiki page). Stéphane On 8/3/07, Jason van Zyl [EMAIL PROTECTED] wrote: Hi, I have put the text of the proposal here so that it doesn't get lost: http://docs.codehaus.org/display/MAVEN/Decoupling+of+Maven+Artifact But I would like to decouple the artifact

Doxia core clean up

2007-08-03 Thread Vincent Siveton
Hi, Several utility classes in Doxia are few used or unused. org.apache.maven.doxia.util.StringUtil (used only in XmlWriterXdocSink, which is not maintained) org.apache.maven.doxia.util.FileUtil (used only in DocBookSink) org.apache.maven.doxia.util.WrappedException (unused) I propose to remove

Re: Database model change for beta-1

2007-08-03 Thread Jesse McConnell
null value seems to be fine, I'll commit and try things out on the zone On 8/1/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: I think null value will be enough. I think we'll need to test the null value in the UI but it isn't a problem. Emmanuel Brett Porter a écrit : Hi, I've

Re: Doxia core clean up

2007-08-03 Thread Dennis Lundberg
Vincent Siveton wrote: Hi, Several utility classes in Doxia are few used or unused. org.apache.maven.doxia.util.StringUtil (used only in XmlWriterXdocSink, which is not maintained) org.apache.maven.doxia.util.FileUtil (used only in DocBookSink) org.apache.maven.doxia.util.WrappedException

[M2] How to get the manifest configuration

2007-08-03 Thread Yann Albou
Hello, I tried to post this question on the user list but without any answer: I am writting a M2 plugin in which I need to access to The Manifest Information. Based on the Maven Project (MavenProject project) I was expected to get a method like project.getManifestConfiguration() but it

RE: Defining a custom lifecycle

2007-08-03 Thread Brian E. Fox
Take a look at the maven-archetypeng-plugin (currently in mojo/sandbox) in the plugin piece you will see the lifecycles. -Original Message- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: Friday, August 03, 2007 10:52 AM To: Maven Developers List Subject: Re: Defining a custom

RE: Pruning build graph

2007-08-03 Thread Brian E. Fox
It's already there, try mvn install -FAE (run mvn -? To see the other options) -Original Message- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: Friday, August 03, 2007 11:36 AM To: Maven Developers List Subject: Pruning build graph Hello again, when doing multiproject build, it

RE: Using maven-verifier

2007-08-03 Thread Brian E. Fox
You're not crazy. The verifier always inserts clean. It seems like that should be configurable for cases like yoursor perhaps testing something that breaks in a non-clean build. See the code: public void executeGoals( List goals, Map envVars ) throws VerificationException {