Re: Enabling fileset packaging with archetype-metadata.xml

2009-12-15 Thread Raphaël Piéroni
Hello Norman, The property archetype.languages is a list of values containing the names of the directories containing packaged sources. For you example this could be archetype.languages=flex Regards, Raphaël 2009/12/15 nklein norman.kl...@gmail.com I trying to set up my Maven archetype so

Re: Doubt about how create archetype

2009-11-09 Thread Raphaël Piéroni
Hi Francisco, Try by creating the project you would like to have and call mvn archetype:create-from-project on it. You will get the archetype project in target/generated-sources/archetype. In that directory you will find the src/main/resources/META-INT/maven/archetype-metadata.xml file that

Re: Creating archetypes and disabling velocity

2009-05-11 Thread Raphaël Piéroni
Hi Doug, Please raise a jira for the xNl instead of xMl. One can configure the create-from-project mojo to have the file unfiltered by default using: -DarchetypeFilteredExtentions=unknownExtension which sets the file extension for files that will be filtered. by default there is java, js, xml

Re: Creating archetypes and disabling velocity

2009-05-11 Thread Raphaël Piéroni
ticket as your requested for the xNl file extension. Thanks i saw it ;-) Raphaël Thank, Doug Hughes, President Alagad Inc. dhug...@alagad.com 888 Alagad4 (x300) Office: 919-550-0755 Fax: 888-248-7836 2009/5/11 Raphaël Piéroni raphaelpier...@gmail.com Hi Doug, Please raise a jira

Re: Issues with archetype:create-from-project

2009-05-07 Thread Raphaël Piéroni
Hi Matt, Sorry for the late reply Yes, please create the jiras Raphaël 2009/4/29 mraible m...@raibledesigns.com I've been using archetype:create-from-project to create archetypes and have noticed some issues: 1. The generated archetype has a version of 1.0-SNAPSHOT. I want the

Re: [Archetype] Adding a package to an existing project

2009-04-23 Thread Raphaël Piéroni
Hi You can find an example of partial archetype in http://svn.apache.org/repos/asf/maven/archetype/trunk/archetype-common/src/test/archetypes/partial-1.0/ You can find some unit tests using that archetype in

Re: going mad :-) testing archetype

2009-04-22 Thread Raphaël Piéroni
Hi, The filtering of the files in the archetype plugin is done using Velocity. This means that ech filtered file is a Velocity template. # is a comment char in velocity. If your file has no filtering to be done on it (don't use properties asked by the plugin), consider putting it in a

Re: Error when creating a tapestry application using archetype 'org.apache.tapestry'

2009-04-10 Thread Raphaël Piéroni
could be related to http://jira.codehaus.org/browse/ARCHETYPE-236 2009/4/10 Martin Gainty mgai...@hotmail.com: what happens if you first create the archetype (before using) e.g.? mvn archetype:generate http://jira.codehaus.org/browse/ARCHETYPE-122 Martin

Re: archetype-metadata optional filesets?

2009-04-09 Thread Raphaël Piéroni
Hi Lachlan Deck, Currently, the filesets are not optional. Regards, Raphaël 2009/4/9 Lachlan Deck lachlan.d...@gmail.com: Anyone? On 07/04/2009, at 8:56 AM, Lachlan Deck wrote: Hi there, Just a quick question: say I've got a fileset in the archetype descriptor like so: ?xml

Re: [RESOLVED] Maven Archetype Plugin is Hosed --- and nobody cares

2009-04-06 Thread Raphaël Piéroni
hls...@gmail.com: Thanks to Raphaël Piéroni the error was found: there was an extra directory element in my archetype-metadata.xml.  This was not reported at all by Maven. You should convert:        fileSet filtered=true packaged=false            directorysrc/test/resources/directory

Re: Archetype for single modules.

2009-03-21 Thread Raphaël Piéroni
Hi Felipe, IIRC it does as long as you call the archetype plugin from inside the parent directory and that parent is of packaging pom. The archetype should have no parent defined inside it in order to the plugin adding one to the new module. Regards, Raphaël 2009/3/20 Felipe Kamakura

Re: [Maven assembly plugin] Error using the assembly plugin on CentOs4.7

2009-03-12 Thread Raphaël Piéroni
Please any help on this, I am stuck on the matter and also in a kind of a hurry. Regards, Raphaêl 2009/3/11 Raphaël Piéroni raphaelpier...@gmail.com: Hi folks, I have a strange error using the assembly plugin on CentOs4.7. Obvioulsy the same checkout on windows works like a charm

Re: [Maven assembly plugin] Error using the assembly plugin on CentOs4.7

2009-03-12 Thread Raphaël Piéroni
Raphaël 2009/3/12 Nick Stolwijk nick.stolw...@gmail.com: What happens if you put /bin/sh -c ls -1nlaR / in a command window? With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Thu, Mar 12, 2009 at 10:18 AM, Raphaël Piéroni

Re: [Maven assembly plugin] Error using the assembly plugin on CentOs4.7

2009-03-12 Thread Raphaël Piéroni
OK my project is some thing like this : root/ pom.xml (pom + dependency management) client/ pom.xml (pom) client-lib/ pom.xml (jar + an assembly + generated client from wsdl) client-app/ pom.xml (grails application + an assembly) stub/ pom.xml (pom) stub-lib/

Re: [Maven assembly plugin] Error using the assembly plugin on CentOs4.7

2009-03-12 Thread Raphaël Piéroni
Thanks, Santos Right the command seems OK with adding double-quotes. But : 1. The error comes from Plexus. Caused by: java.io.IOException: Failed to retrieve numeric file attributes using: '/bin/sh -c ls -1nlaR /' at

[Solved] Re: [Maven assembly plugin] Error using the assembly plugin on CentOs4.7

2009-03-12 Thread Raphaël Piéroni
Hi I solved my problem: I should have not specified directory/directory in the descriptor. I should have removed that line. Sorry for the noise. Thanks Raphaël 2009/3/12 Raphaël Piéroni raphaelpier...@gmail.com: Thanks, Santos Right the command seems OK with adding double-quotes. But : 1

[Maven assembly plugin] Error using the assembly plugin on CentOs4.7

2009-03-11 Thread Raphaël Piéroni
Hi folks, I have a strange error using the assembly plugin on CentOs4.7. Obvioulsy the same checkout on windows works like a charm. For information my build is multi-module an two modules have an assembly. The first succeed and the second fails. It even fails when i call it in a mono module. I

Re: How to assign a name for new archetype instead of unnamed

2009-03-07 Thread Raphaël Piéroni
Hi Sagara the text inserted in the catalog is: - the description or - the name or - Unamed - groupId:artifactId:packaging: version. The update catalog mojo uses the description of the project and if empty uses the name. the name attribute of the project is given Unamed... when no name is

Re: Archetype Plugin and .cvsignore

2009-03-03 Thread Raphaël Piéroni
Yup, ARCHETYPE-52 was fixed for some dotted files. but all the classical scm files are ignored by default. Regards, Raphaël 2009/3/4 Wayne Fay wayne...@gmail.com Issue *archetype-52 *claims that the problem has been fixed. Is it fixed, or I am missing something? What version are you

Re: Archetype for creating projects without pom. Is it possible?

2009-02-23 Thread Raphaël Piéroni
Hi Daniel, The short answer is: nope. The long answer is: the archetype plugin generates maven a project. The minmal maven project is just a pom.xml fle, Therefore, the archetype plugin always generates a pom. As the plugin uses archetype archives, the archetypes must have at least a pom.xml

Re: Archetype create v. generate

2009-01-28 Thread Raphaël Piéroni
Yup this is normal. archetype:create is the old way a copy/paste from the old archetype-1.0-alpha plugin that is kept only for backaward compatibility. archetype:generate is the prefered way to do things. Regards. Raphaël 2009/1/27 Dave Newton newton.d...@yahoo.com: Raphaël Piéroni wrote

Re: Archetype expression ${package.replace ('.', '/')} not a valid reference

2009-01-27 Thread Raphaël Piéroni
Hello Néstor, Can you please describe a little bit more your problem? What command line you use? what is the maven/plugin version? Can you create a JIRA with all these indication. Thanks, Raphaël 2009/1/26 Néstor Boscán nestor.bos...@tcs.com.ve: Hi I've been working with archetypes for a

Re: Archetype create v. generate

2009-01-27 Thread Raphaël Piéroni
Hi, One can call the generate goal in batch mode w/ mvn -B archetype:generate -DarchetypeGroupId=... 2009/1/27 Dave Newton newton.d...@yahoo.com: Just a ping to see if anybody had any input--I haven't had a chance to investigate further yet but need to commit some changes to some archetypes

Re: Testing an archetype during build process

2008-12-09 Thread Raphaël Piéroni
2008/12/9 Simone Gianni [EMAIL PROTECTED]: Hi all, in my Magma Apache Lab I'm building some Maven archetypes during the main build process, and everything is working fine. Anyway, from time to time, an archetype stops working properly due to a refactoring, like a class or package name change,

Re: Testing an archetype during build process

2008-12-09 Thread Raphaël Piéroni
way to generate a temp mock project, see its content, run mvn on it, from the junit using the embedder or whatever else - Make sure junits went ok - Then package it and install and deploy and everything Or even both :) Simone Do that fill some questions? Raphaël Raphaël Piéroni wrote

Re: Testing an archetype during build process

2008-12-09 Thread Raphaël Piéroni
I forgot, if you can always the archetype from the build with create-from-archetype, you can first call test on the project and trust the archetype plugin has not too much bugs (but it has some) Raphaël 2008/12/9 Raphaël Piéroni [EMAIL PROTECTED]: 2008/12/9 Simone Gianni [EMAIL PROTECTED]: Hi

Re: deploy archetype-catalog

2008-12-04 Thread Raphaël Piéroni
Hi, Please consider raising a Jira Regards, Raphaël 2008/12/3 Jason Voegele [EMAIL PROTECTED]: On Wednesday 03 December 2008 01:57:48 pm Reto Bachmann-Gmür wrote: that's what I do (more exactly what continuum does), but while the archetype gets deployed to the snapshotRepository specified

Re: Partial Archetype and Sub-Modules

2008-11-26 Thread Raphaël Piéroni
Hi Felipe, Reading the code, when an archetype is partial (declared in archetype-metadata.xml), There if 4 cases : 1. mvn is called in a directory in which exists a subdir called $artifactId and that does'nt contain any pom, this is an error 2. like 1 but with a pom existing in that sub dir, the

Re: archetype-catalog.xml location - archetype:crawl versus archetype:generate

2008-11-26 Thread Raphaël Piéroni
This problem is known. http://jira.codehaus.org/browse/ARCHETYPE-142 the crawl goal is intended to create a catalog for a remote repository (but called in the fs of that repository) the local catalog is intended to be updated : by hand or by the create-from-project goal. This is why the

Re: Multimodule archetype does not propagate the artifactId in module names

2008-10-28 Thread Raphaël Piéroni
Thanks for all these inforations Raphaël 2008/10/27 stug23 [EMAIL PROTECTED]: After further testing, it appears that the problems I have with multimodule projects do not occur on the Windows platform, just on Mac OS X. I will do some more testing to nail this down. stug23 wrote:

Re: Recommended project structure.

2008-10-16 Thread Raphaël Piéroni
Hi David, I think you nearly get the point. Your idea is fine of what to do. But i would have adde a pom.xml file in 'somedir' of packaging type 'pom' in which i would have defined 3 modules. And in each of the 3 modules' poms, i would have refeerenced the somedir's pom as parent. For a good

Re: Recommended project structure.

2008-10-16 Thread Raphaël Piéroni
follow the trunk and there will be a multimodule project Regards, Raphaël 2008/10/16 Trevor Harmon [EMAIL PROTECTED]: On Oct 16, 2008, at 12:59 PM, Raphaël Piéroni wrote: For a good idea of a multi module project, you could refer to platina: http://platina.svn.sf.net/svnroot/platina/platina

[ANN] Maven Archetype Plugin 2.0-alpha-4 Released

2008-09-26 Thread Raphaël Piéroni
The Maven team is pleased to announce the release of the Maven Archetype Plugin, version 2.0-alpha-4 The Archetype Plugin allows the user to create a Maven 2 project from an existing template called an archetype. http://maven.apache.org/plugins/maven-archetype-plugin/ You should specify the

Re: What's the point of listing all artifacts in archetype.xml?

2008-09-24 Thread Raphaël Piéroni
Hi folks, the file META-INF/maven/archetype.xml is used with the archetype plugin 1.0-alpha the 2.0-alpha version uses META-INF/maven/archetype-metadata.xml Also the create-from-project mojo creates a correct archetype-metadata.xml but it creates a buggy archetype.xml file Hope this helps.

Re: archetype:create vs. archetype:generate??

2008-09-24 Thread Raphaël Piéroni
Hi Justin The prefered goal is archetype:generate. May you please fill a jira against the maven site stating that the guide is outdated. And also please fill a jira againt the archetype plugin linking to the last. Thanks, Raphaël 2008/9/24, Justin Miller [EMAIL PROTECTED]: Which is the

Re: [m2] is it possible to package a newly archetype-generated project?

2008-09-17 Thread Raphaël Piéroni
Hi Adrian, This is not currently implemented. Please fill a jira enhancement http://jira.codehaus.org/browse/ARCHETYPE Raphaël 2008/9/17 Adrian Herscu [EMAIL PROTECTED]: Hi all, I am integrating some code generator into Maven. Currently, I have a project archetype and a plugin that wraps

Re: Creating custom archetypes

2008-09-16 Thread Raphaël Piéroni
Hi, try this: - create a multi module project - in the root module directory, call mvn archetype:create-from-project - move to target/generated_sources/archetype and call mvn install - move in a fresh directory and call mvn archetype:generate -DarchetypeCatalog=local Hope this helps, Raphaël

Re: 2.0-alpha-4 archetype plugin

2008-09-12 Thread Raphaël Piéroni
Hi, I just uploaded a snapshot of 2.0-alpha-4 on the apache's snapshot repository Regards, Raphaël 2008/9/12 Richard Chamberlain [EMAIL PROTECTED]: Thanks, Is it possible to pick up a snapshot from somewhere? I wanted to try out the feature ARCHETYPE-191. Or is it a case of building from

Re: Maven Archetype tutorials?

2008-08-26 Thread Raphaël Piéroni
Hi Nino, The best way to start creating an archetype is to : - create a project (in your case a multi-module with a switch) - call mvn archetype:create-from-project on your example project you then try your archetype by : - moving in target/generated-sources/archetype from your example project -

Re: Maven Archetype tutorials?

2008-08-26 Thread Raphaël Piéroni
;-) Raphaël Piéroni wrote: Hi Nino, The best way to start creating an archetype is to : - create a project (in your case a multi-module with a switch) What do you mean by switch? Like profiles? I don't mean nothing, it was your intention in your first mail to have things switchable, because

Re: Maven Archetype tutorials?

2008-08-26 Thread Raphaël Piéroni
2008/8/26 Raphaël Piéroni [EMAIL PROTECTED]: Answers inlined Raphaël 2008/8/26 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]: I'll try it out, examples would be nice though:) It would be really cool if there were more tutorials on creating advanced archetypes. I found this page

Re: Custom properties injected within the execution of archetype:create

2008-08-01 Thread Raphaël Piéroni
the archetype-metadata.xml file is read using mvn archetype:generate goal Regards, Raphaël 2008/7/31, Alexandre Touret [EMAIL PROTECTED]: Hello, I m currently trying to inject a custom property in the execution of the creation of a project my an archetype. I'd like to maven resolves

Re: How to use an archetype I installed locally

2008-07-17 Thread Raphaël Piéroni
Hi, One can install an archetype (a project with packaging=maven-archetype) by calling mvn install. One can see a goal 'updateLocalCatalog' in this process. Then in a fresh drectory, One can just call mvn archetyppe:generate -DarchetypeCatalog=local Hope this helps Raphaël 2008/7/17,

Re: Archetype, define file name

2008-07-14 Thread Raphaël Piéroni
Hi, ths feature doen't currently exist. please consider opening a jira enhancement at http://jira.codehaus.org/browse/ARCHETYPE Thanks, Raphaël 2008/7/13, sverhagen [EMAIL PROTECTED]: I am making an archetype for my project. I added a requiredProperty named serviceBaseName to make the

Re: Archetype sample for multi-projects

2008-07-11 Thread Raphaël Piéroni
2008/7/11, Wendy Smoak [EMAIL PROTECTED]: On Thu, Jul 10, 2008 at 10:18 AM, s[e]th h[o]lth [EMAIL PROTECTED] wrote: Since monday i'm trying to build a multi-projects archetype without success... The first version of the Archetype plugin didn't support creating multi-module projects

Re: Archetype Properties and Packaging

2008-07-11 Thread Raphaël Piéroni
Hi, This is not possible for now. The archetype plugin does not do any property in propeties replacement. Regards, Raphaël 2008/7/11, Will Gomes [EMAIL PROTECTED]: Is it possible to provide default value for only a portion of ${package} property? I would like to do the something like

Re: lifecycle with version lock and default configuration of plugins

2008-07-02 Thread Raphaël Piéroni
Any thoughs Raphaël 2008/6/24 Raphaël Piéroni [EMAIL PROTECTED]: Hi folks, In a plugin, i create a lifecycle (in lifecycle.xml) in which i managed to call a specific goal in another plugin (appassembler) with some configuration and without locking that plugin version. In another plugin, i

Re: Archetype plugin not working as expected.

2008-06-24 Thread Raphaël Piéroni
Hi Trent, Does the interactive (without additional properties) and the non interactive execution of create-from-project both gives you a wrongly named archetype ? Please feel free to raise a jira, as it seems by your explain that this is a bug.

Re: archetype:create parameter

2008-06-23 Thread Raphaël Piéroni
Hi, Thanks for showing a outdated documentation. -Dpackage=1.5 has no sense, it should be -Dpackage=some.pack.age 2008/6/23 Zemian Deng [EMAIL PROTECTED]: HI, In http://maven.apache.org/plugins/maven-archetype-plugin/examples/create-batch.html, the example shown with -Dpackage=1.5. What

Re: Frist time using Archtype

2008-06-22 Thread Raphaël Piéroni
Hi Jens, Have you tried the 'mvn archetype:generate' command line (w/o any other argument)? maybe the archetype you want to use is in the default list. You have indicated archetypeGroupId in yours. That property is used to defined the archetype's groupId, not the future project's groupId. Or

Re: own archetype

2008-06-19 Thread Raphaël Piéroni
Try creating a sample project then call mvn archetype:create-from-project on that project then go to target/genetrated-sources/archetype then call mvn install to use it go to a fresh directory and call mvn archetyppe:generate -DarchetypeCatalog=local Raphaël 2008/6/18 [EMAIL PROTECTED]: I

Re: Create non conventional archetype

2008-05-22 Thread Raphaël Piéroni
Hi Ilya, Create the structure you'd like to have (don't forget the pom.xml file) go in the directory containing the pom file. call mvn archetype:create-from-project. You will have an archetype created in target/generated-sources/archetype. Hope this helps. Raphaël 2008/5/22 Ilya Ermolov

Re: maven 2.0.9 create-from-project

2008-05-06 Thread Raphaël Piéroni
Hi Brian, If you can reproduce the problem, Please raise a jira. Don't forget to call maven with -X attach to your jira: the trace from the create-from-project and generate the command line you used and if you can the initial project, the resulting archetype and the resulting project Regards,

Re: [ANN] Maven Archetype Plugin 2.0-alpha-3 Released

2008-04-30 Thread Raphaël Piéroni
into this? In the interim I'm going to try running with a clean repo and bypassing our internal Maven repo-proxy. Raphaël Piéroni-5 wrote: The Maven team is pleased to announce the release of the Maven Archetype Plugin, version 2.0-alpha-3 The Archetype Plugin allows the user

[ANN] Maven Archetype Plugin 2.0-alpha-3 Released

2008-04-28 Thread Raphaël Piéroni
The Maven team is pleased to announce the release of the Maven Archetype Plugin, version 2.0-alpha-3 The Archetype Plugin allows the user to create a Maven 2 project from an existing template called an archetype. It also allows the user to create an archetype from an existing project.

Re: Developing an archetype: delegation/access to parent?

2008-04-25 Thread Raphaël Piéroni
Hi Gert 2008/4/25 Gert Vanthienen [EMAIL PROTECTED]: L.S., I'm developing a new archetype for Apache ServiceMix and have two questions We already have a fair amount of Maven archetypes and it would be nice if I could reuse those within my new archetype. Is there a way to run another

Re: Executing maven-archetype-plugin:2.0-alpha-3-SNAPSHOT

2008-04-22 Thread Raphaël Piéroni
Hi, This seems related with the jira http://jira.codehaus.org/browse/MNG-3540 i just created. Regards, Raphaël 2008/4/22, cbates [EMAIL PROTECTED]: Hello - I'm trying to use the maven-archetype-plugin 2.0-alpha-3-SNAPSHOT located at http://people.apache.org/repo/m2-snapshot-repository.

Re: Maven Microsoft Windows PowerShell

2008-04-18 Thread Raphaël Piéroni
Have you tried adding some double-quotes around arguments? like: mvn.bat archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app I don't have a powershell to test, but as you can saw Invalid task '.mycompany.app' means that the argument line was split incorrectly Maybe it is the 'com'

Re: maven 2.0.9 create-from-project

2008-04-16 Thread Raphaël Piéroni
Can you please send the trace (pasting to http://rafb.net/paste/) Regards, Raphaël 2008/4/16, kace [EMAIL PROTECTED]: Hi, I run mvn archetype:create-from-project from the root directory of myproject. I then move to the generated directory and run mvn install. After recieving the

Re: Multi-module archetypes

2008-03-28 Thread Raphaël Piéroni
Hi John, This feature is provided by the 2.0-alpha-3 version of the Archetype plugin. This version is not yet released. But you can try the last snapshot by adding a repository to apache snapshot [1]. 1. The goal to call from the project directory (or parent in case of a multi module) is 'mvn

Fwd: is maven2 and cargo support tomcat 6 ?

2008-03-26 Thread Raphaël Piéroni
Hi Sridhar, This message belongs to the user list. There is a tomcat plugin at mojo.codehaus.org Maybe you could look at it and maybe ask on the mojo user list for information ([EMAIL PROTECTED]). Regards, Raphaël -- Forwarded message -- From: [EMAIL PROTECTED] [EMAIL

Re: How to construct an archetype for multi-module build with renamed modules

2008-03-25 Thread Raphaël Piéroni
2008/3/25, stug23 [EMAIL PROTECTED]: Raphaël, From the transcript in JIRA ARCHETYPE-153 this appears to represent the feature that I have requested. I wasn't able to run the example due to the 2.0-alpha-3-SNAPSHOT which isn't in the Maven Central repository. If I understand what you

Re: How to construct an archetype for multi-module build with renamed modules

2008-03-25 Thread Raphaël Piéroni
Hi Pat, you can find the new 2.0-alpha-3-SNAPSHOT in the apache snapshot repository http://people.apache.org/repo/m2-snapshot-repository Regards, Raphaël 2008/3/25, stug23 [EMAIL PROTECTED]: Raphaël, From the transcript in JIRA ARCHETYPE-153 this appears to represent the feature that

Re: How to construct an archetype for multi-module build with renamed modules

2008-03-24 Thread Raphaël Piéroni
Hi Pat, I created http://jira.codehaus.org/browse/ARCHETYPE-153 Please comment if this issue does not correspond to your issue. Regards, Raphaël 2008/3/24, stug23 [EMAIL PROTECTED]: Based on the lack of response to my posting, is this question too esoteric for Maven experts to answer?

Re: Maven / Repository / SVN

2008-03-17 Thread Raphaël Piéroni
Hi, For a client we did this: - have an Archiva running on one developper's desktop - have the directory in which archiva stores the artifact in version control (that developper was responsible for adding to the version control what archiva had downloaded) - have all the other developpers

Re: [FB-Discuss] Findbug's Maven2 Plugin future direction

2008-03-14 Thread Raphaël Piéroni
[X] Create and maintain two versions of the Maven2 Findbugs Plugin Raphaël 2008/3/14, Kautz, Don [EMAIL PROTECTED]: By all means, do option 2. Update the plugin for Findbugs 1.3.x/Java 5. Burn the ships. Don Kautz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: error using archetype generate

2008-03-13 Thread Raphaël Piéroni
Hi Marcello, Please raise a jira. Raphaël 2008/3/13, Marcelo Romulo Fernandes [EMAIL PROTECTED]: When I try to run: mvn -X archetype:generate -DarchetypeRepository=http://basegen.sourceforge.net/maven2 -DarchetypeGroupId=org.basegen.plugins

Re: filtering files at archetype-metadata.xml multi-project

2008-03-10 Thread Raphaël Piéroni
Hi Marcelo, Your first file set is set to directory./directory but it should be set to directory/directory yes the value for root directory is empty Regards, Raphaël 2008/3/10, Marcelo Rÿf4mulo Fernandes [EMAIL PROTECTED]: I´m creating a multi-project archetype. When I run the command

Re: maven archetype: archetype-metadata.xml ..?

2008-03-10 Thread Raphaël Piéroni
Hi Nino, Answers inlined 2008/3/10, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]: Hi Im trying to build a archetype that has the following structure: parent | |-subproject |-subproject Im using the new way of doing this by the archetype-metadata.xml and modules, but I

Re: Archetypes and plugins

2008-03-06 Thread Raphaël Piéroni
Can you please raise a JIRA against the Archetype plugin to run defined goals just after the project generation. Regards, Raphaël 2008/3/6, Ian Godman [EMAIL PROTECTED]: I am working on an Archetype and would like to run a plugin to perform tasks during the create process. Initially this

Re: Tool for generating an archetype catalog

2008-03-03 Thread Raphaël Piéroni
Hi, Please add a JIRA for enhancing the crawl goal Regards, Raphaël 2008/3/3, Gert Vanthienen [EMAIL PROTECTED]: L.S., I would like to create an archetype catalog for the Apache ServiceMix project. Is there a tool available for making this task a bit easier or can I e.g. add a

Re: when will maven 2.0.9 be officially released?

2008-03-03 Thread Raphaël Piéroni
Hi Brett, the process for using archetype is no longer revelant. Regards, Raphaël 2008/3/2, Brett Porter [EMAIL PROTECTED]: I agree with Wendy. You could also whip up a test case using these instructions: http://docs.codehaus.org/display/MAVEN/Creating+a+Maven+Integration+Test as it'll

Re: when will maven 2.0.9 be officially released?

2008-03-03 Thread Raphaël Piéroni
: Raphaël Piéroni [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 6:43 AM To: Maven Users List Subject: Re: when will maven 2.0.9 be officially released? Hi Brett, the process for using archetype is no longer revelant. Regards, Raphaël 2008/3/2, Brett Porter [EMAIL PROTECTED

Re: when will maven 2.0.9 be officially released?

2008-03-03 Thread Raphaël Piéroni
This page is now up to date. Raphaël. 2008/3/2, Brett Porter [EMAIL PROTECTED]: I agree with Wendy. You could also whip up a test case using these instructions: http://docs.codehaus.org/display/MAVEN/Creating+a+Maven+Integration+Test as it'll give you a head start on being included in a

Re: Getting and using the latest archetype plugin

2008-02-28 Thread Raphaël Piéroni
2008/2/28, Wendy Smoak [EMAIL PROTECTED]: On Thu, Feb 28, 2008 at 9:02 AM, Andrew Birchall [EMAIL PROTECTED] wrote: I wish to use the latest archetype plugin, 2.0-alpha-2 (I think that's the latest, although one's never quite sure in the mysterious world of Maven!) Are you

[ANN] Maven Archetype Plugin 2.0-alpha-1 for Maven 2 Released

2008-02-08 Thread Raphaël Piéroni
The Maven team is pleased to announce the release of the Maven Archetype Plugin, version 2.0-alpha-1 You can use it by calling mvn archetype:create Release Notes - Maven 2.x Archetype Plugin - Version 2.0-alpha-1 ** Bug * [ARCHETYPE-82] - add-groups doesn't create archetype.xml *

Re: Re: archetypes velocity [Virus checked]

2008-01-30 Thread Raphaël Piéroni
Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 Raphaël Piéroni [EMAIL PROTECTED] mail.com An Maven Users List

Re: Re: archetypes velocity [Virus checked]

2008-01-25 Thread Raphaël Piéroni
Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 Raphaël Piéroni [EMAIL PROTECTED] mail.com

Re: archetypes velocity [Virus checked]

2008-01-25 Thread Raphaël Piéroni
Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 Raphaël Piéroni [EMAIL PROTECTED] mail.com

Re: archetypes velocity [Virus checked]

2008-01-24 Thread Raphaël Piéroni
Hi Wolfgang. velocity templates used in archetypes are just plain text files with VTL http://velocity.apache.org/engine/releases/velocity-1.4/vtl-reference-guide.html Hope this helps. Raphaël 2008/1/24, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi everyone , creating a project using an archetype

Re: Maven Archetype BuildError

2008-01-23 Thread Raphaël Piéroni
Hi Thor, In this stack trace, Velocity seems to tell you that one of your template has a syntax error. Could you double check the openning-closing of quotes, double-quotes, parentheses, ... Regards, Raphaël 2008/1/23, Thor [EMAIL PROTECTED]: Hi everyone, thanks for reading... Here's my

Re: Game archetype

2007-12-11 Thread Raphaël Piéroni
Hello Kallin, I don't know about such an initiative, but i would bet that the mojo project will be happy to welcome it. Regards, Raphaël 2007/12/11, Kallin Nagelberg [EMAIL PROTECTED]: As much 'fun' as developing enterprise java applications with Maven is, I would like to think that

Re: [ARCHETYPE - CUSTOM PARAMETERS]

2007-11-26 Thread Raphaël Piéroni
Hi, João, Ludovic This feature is part of the upcomming new archetype plugin Regards, Raphaël 2007/11/11, Ludovic Claude [EMAIL PROTECTED]: Hi João, I've tried to do that as well, and I never found a way to make this work. If you find a solution, please let me know! Regards, Ludovic

Re: Maven 2 Archetype Plugin Release 2.0.8

2007-11-03 Thread Raphaël Piéroni
2007/11/1, Jason van Zyl [EMAIL PROTECTED]: On 1 Nov 07, at 5:25 AM 1 Nov 07, Brett Porter wrote: The archetype plugin is released independently of Maven - so it won't change the state. The revised architecture of archetype is available on the archetypeng branch if you'd like to test it

[maven-antrun-plugin] is it possible to aggregate

2007-10-04 Thread Raphaël Piéroni
Hi guys, I have a build that make some extensive use of the antrun plugin. My build is multi module and some of the child modules use antrun. My parent module define an assembly and an antrun execution to copy the resulting assembly in a samba directory. my current complete build call is like

Re: Using maven for JavaScript projects

2007-10-01 Thread Raphaël Piéroni
Hi Nicolas, Maybe you typoed the URL ? new one: http://hammerfest.wiki.sourceforge.net/maven-javascript-tools Raphaël 2007/10/1, nicolas de loof [EMAIL PROTECTED]: I've created a wiki entry (http://hammerfest.wiki.sourceforge.net/mavan-javascript-tools) to resume the ideas exposed in this

Re: Improving the documentation of plugins (was maven is hard)

2007-10-01 Thread Raphaël Piéroni
Hi, the dashboard plugin is still snapshot and reside in the mojo sandbox. It not yet being released. Raphaël 2007/10/1, Brian E. Fox [EMAIL PROTECTED]: The mojo project has mailing lists (http://mojo.codehaus.org/mail-lists.html) for those projects. -Original Message- From:

Re: Why Maven is Hard?

2007-09-27 Thread Raphaël Piéroni
Hi Elizabeth, Please use the http://docs.codehaus.org/display/MAVENUSER/ wiki pages. Raphaël 2007/9/26, Sommers, Elizabeth [EMAIL PROTECTED]: -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] What I want is an active mailing list for plugin developers. I have

Re: New Archetype Plugin

2007-09-14 Thread Raphaël Piéroni
Hi Cliffton, You can find the code at http://svn.apache.org/repos/asf/maven/sandbox/trunk/archetypeng/ The documentation is not accurate (to say the least) and it is still a work in progress. The main aim is to offer a create-from-project goal that guess the archetype from an existing project.

Re: Layered Archetypes?

2007-08-30 Thread Raphaël Piéroni
i am not sure to understand is what you expected to have instead of what you got. Regards, Raphaël Piéroni 2007/8/30, Andrew Leer [EMAIL PROTECTED]: I am certain that I have misinterpreted the meaning of this piece of documentation: Guide to Creating Archetypes - (http://maven.apache.org

Re: [m2] Trying to create archetype...

2007-08-01 Thread Raphaël Piéroni
This is because you did mvn archetype:create in a directory containing a project. And that project has its packaging different from 'pom'. Considering a directory tree of projects, projects descriptors (pom.xmlfiles) located in the leaves of that tree are not constrained but descriptors located

Re: [m2] Trying to create archetype...

2007-08-01 Thread Raphaël Piéroni
archetype:create purpose is to create a project from a defined archetype to create an archetype, you have the archetype:create-from-project goal Raphaêl 2007/8/1, Mick Knutson [EMAIL PROTECTED]: SO how can I create an archetype from an existing module I have? On 8/1/07, Raphaël Piéroni

Re: From a lessons-learned...

2007-07-20 Thread Raphaël Piéroni
Hi Brian, I would be very insterested to an example to enforce the test=skip and maven.test.skip=true are banned from a parent pom and used in childrens. Regards, Raphaël 2007/7/20, Brian E. Fox [EMAIL PROTECTED]: Use the enforcer to detect maven.test.skip and fail the build on them ;-)

[M2] creating Jndi context programmatically

2007-07-04 Thread Raphaël Piéroni
Hi, In my database access (using) hibernate i define the usage of the datasource by jndi. But i don't know how to inject the datasource in the jndi context nor how to inject the jndi context in the testCase.setup method. Any help is welcome. Regards, Raphaël

[M2] Is there JonAs plugin ?

2007-06-29 Thread Raphaël Piéroni
Hi, Is there a jonas plugin that permits the same functionnalities as the tomcat or jetty plugins ? Regards, Raphaël

Re: Archetypes...

2007-06-20 Thread Raphaël Piéroni
Hi, try using \${basedir} Raphaël 2007/6/20, Nelz [EMAIL PROTECTED]: Hey All... I am creating an archetype. In the POM that I am generating, there is one spot that I want it to say ${basedir}... How do I put that string into my template POM, so that it doesn't get de-referenced at mvn

Enterprise M2 repository stored in subversion

2007-06-14 Thread Raphaël Piéroni
Hi, i have googled for an answer on the question whether it is possible to store an entreprise Maven repository in subversion and build a freshly checkouted project in a computer with an empty local repository. obviously the project's pom will contain the url to the svn repository. but what

Re: Enterprise M2 repository stored in subversion

2007-06-14 Thread Raphaël Piéroni
Wendy, Many thanks for the answer. What is the way to transform a local repository in such a 'remote' repository i think the metadatas will be a bit corrupted (or at least wrongly named). Raphaël 2007/6/14, Wendy Smoak [EMAIL PROTECTED]: On 6/14/07, Raphaël Piéroni [EMAIL PROTECTED] wrote

Re: axis2-wsdl2code-maven-plugin not working for me

2007-05-07 Thread Raphaël Piéroni
I Jaish, I once saw that error in an attempt to try axis2. axis2 comes with a bunch of dependencies that i didn't find in the maven repository, Check in your downloaded axis2 zip file. I then uploaded each in my personnal 3rdparty repo. Raphaël PS, Maybe thoses dependencies are foundable in

Re: Guide to creating archetypes...

2007-05-03 Thread Raphaël Piéroni
2007/5/3, Rémy Sanlaville [EMAIL PROTECTED]: what's the difference ? Mainly - the descriptor is changed - user is prompted for selecting the archetype and configuration (unless using -B) - any file can be resolved as packaged (using package in the directory resolution) - any file can

  1   2   >