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

2009-03-06 Thread Sagara Gunathunga
Hi, Anyone have any ideas on how to do this .? On 3/6/09, Sagara Gunathunga wrote: > Hi all , > I have created a my own archetype , then add the archetype to my > local catalog using " mvn archetype:update-local-catalog" command , it > worked fine , when i call "mvn archetype:

RE: Regarding junit test

2009-03-06 Thread nani2ratna
Hi, Thanks for your reply. Now i understood that these tests run every time when ever we run the mvn test. There is a file called test.properties in the folder src/test/resources. Can you tell me how can we use that. Thanks and Regards Ratna VanIngen, Erik (ESTG) wrote: > > Maven follows the

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

2009-03-06 Thread Seb Martel
Y Sent via BlackBerry by AT&T -Original Message- From: Sagara Gunathunga Date: Fri, 6 Mar 2009 22:04:30 To: Maven Users List Subject: How to assign a name for new archetype instead of "unnamed" Hi all , I have created a my own archetype , then add the archetype to my local catalog us

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

2009-03-06 Thread Seb Martel
YOiioOOoouyh Sent via BlackBerry by AT&T -Original Message- From: Sagara Gunathunga Date: Fri, 6 Mar 2009 22:04:30 To: Maven Users List Subject: How to assign a name for new archetype instead of "unnamed" Hi all , I have created a my own archetype , then add the archetype to my local

RE: .Net unsafe compilation option in maven-net-plugin

2009-03-06 Thread Sean Hennessy
By safe and unsafe you mean a mixed model project using managed (C# assemblies) and unmanaged (C++ .dll)? This would imply separate poms for the mananged and unmanaged components using different profiles to handle the specific compiler command line options. Perhaps the msvc compiler is smart enou

Re: Cannot specify which plugin to execute in child pom

2009-03-06 Thread Wayne Fay
> The combination of the 2 documents made me think it should be possible to > use to only inherit certain elements, is this not correct? I've never seen this done, never done it myself, and generally doubt that it would work. Obviously your experiences would indicate it does not. I'd play with

Re: Cannot specify which plugin to execute in child pom

2009-03-06 Thread djeddyg
Hi Wayne, I may have misunderstood the documentation but I got the idea from looking at the following docs: The http://maven.apache.org/guides/mini/guide-configuring-plugins.html Maven guide to configuring plugins where they define 2 different elements each with a different . Also the http

Re: JAX-RPC client generation in Maven2 project

2009-03-06 Thread Ryan de Laplante
Wayne Fay wrote: On Fri, Mar 6, 2009 at 11:19 AM, Ryan de Laplante wrote: For anyone following this thread now or in the future, here is the solution I used: Ryan, you're a model citizen... I assume this will go on your blog too, right? ;-) Wayne Thank you! That is a good idea,

Re: JAX-RPC client generation in Maven2 project

2009-03-06 Thread Wayne Fay
On Fri, Mar 6, 2009 at 11:19 AM, Ryan de Laplante wrote: > For anyone following this thread now or in the future, here is the solution > I used: Ryan, you're a model citizen... I assume this will go on your blog too, right? ;-) Wayne -

WTP version supported by maven eclipse plugin

2009-03-06 Thread Thor
Hello everyone, I've been disconnected for a while and I was wondering what's the latest WTP version supported by the maven eclipse plugin? Last time I checked, and used =), it was 2.0; but now we have 3.x.x Best regards, --

Re: JAX-RPC client generation in Maven2 project

2009-03-06 Thread Ryan de Laplante
For anyone following this thread now or in the future, here is the solution I used: org.apache.axis axis 1.4 compile org.apache.axis axis-jaxrpc 1.4 compile commons-discovery commons-discovery 0.4 compile wsdl4j wsdl4j 1.6.2 compile or

Re: JS maven project

2009-03-06 Thread Manos Batsis
Ricky wrote: I am trying to create a JS maven project, is there any archetype or a plugin that I must know about? I tried http://mojo.codehaus.org/javascript-maven-tools/ and unfortunately the maven plugin for the same doesn't work. Any suggestions? This project will be part of a larger project w

Re: site generation in a multi-module project

2009-03-06 Thread Mick Knutson
http://maven.apache.org/plugins/maven-site-plugin/usage.html But I use a local location for my site: * site.docs Site Documentation Repository file:///C:/temp/site * --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterpris

Re: Cannot specify which plugin to execute in child pom

2009-03-06 Thread Wayne Fay
I don't believe that what you are trying to do is possible in Maven. Where did you get the idea that you could declare multiple executions in a parent, and then specify the in the child and only that execution would be inherited?? Or was it just an idea/assumption that you had which isn't working

AW: site generation in a multi-module project

2009-03-06 Thread Matthias Dorfner
Thanks for your answer! But how does this work? I suppose I have to create a site for each submodule plus an extra site at the parent (top level) which contains the reference, right? After deploying everything will be put together in one folder?! Thank you! -Ursprüngliche Nachricht-

Re: site generation in a multi-module project

2009-03-06 Thread Mick Knutson
site-deploy will consolidate into one site, and deploy to a location you pick (local or remote). --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com

How to assign a name for new archetype instead of "unnamed"

2009-03-06 Thread Sagara Gunathunga
Hi all , I have created a my own archetype , then add the archetype to my local catalog using " mvn archetype:update-local-catalog" command , it worked fine , when i call "mvn archetype:generate -DarchetypeRepository=local" it will show a list of archetype and my archetype also there ,but my ar

Re: Stantalone sql:execute execution

2009-03-06 Thread Dan Tran
I guest it is possible by make the mojo execution not require a maven project file thru mojo' annotation. 1 line change Would you like to make file a jira, make the changes, and test. Of course submit it back? -D On Fri, Mar 6, 2009 at 3:38 AM, Med DAB wrote: > > Is it possible to execute sql:

site generation in a multi-module project

2009-03-06 Thread Matthias Dorfner
Hi everybody, is it possible to generate only one site at the top level of a multi-module project without creating sites for each submodule (quasi only one site descriptor) ? I want to have all information (also the quality and metrics info, javadocs etc. from the submodules) aggregated in one

Cannot specify which plugin to execute in child pom

2009-03-06 Thread djeddyg
Hi, I have a project which consists of a parent POM and 2 child POMs, the parent POM uses the exec-maven-plugin plugin and defines 2 elements, each with a different but bound to the same phase. I want to have one of my child POMs inherit one and the other child POM inherit the other hence I a

Re: Maven-copy-plugin

2009-03-06 Thread Dan Tran
m...@codehaus also hosts wagon-maven-plugin On Fri, Mar 6, 2009 at 6:22 AM, peter wrote: > Hi, > > it's been a long time since I did my last post to this list. > > If you refer to the copy-maven-plugin - this plugin did never exist in the > official Maven repository. It was hosted in a repository

Re: Maven-copy-plugin

2009-03-06 Thread peter
Hi, it's been a long time since I did my last post to this list. If you refer to the copy-maven-plugin - this plugin did never exist in the official Maven repository. It was hosted in a repository on my server (quebbemann.kicks-ass.net). The plugin is not maintained anymore. For explanation and

Assembly plugin and duplicate file issues

2009-03-06 Thread Julien Stern
Hi list, Those using the assembly plugin will most likely know that there were some issues regarding duplicated files (MASSEMBLY-285, 341, 355, 361, among others). All issues appear to have been fixed for version 2.2-beta-3. However, I still cannot manage to create a assembly jar without dup

RE: maven changlog plugin producing empty change log

2009-03-06 Thread Todd Thiessen
I have had a problem with the change log command wrt to how it parses for the author. It expects it to be in a very specific format. If you have changed how svn displays the author, then this is likely why it is failing. For example, by default, svn will display the user ID of the person who made

Re: Delete the static files using maven

2009-03-06 Thread Ian Petzer
Hi Sam, Have you considered using the antrun plugin to perform the delete? You can configure the plugin in your pom.xml and bind it to a lifecycle phase that runs before Maven compiles your code. Info on configuring the antrun plugin can be found here: http://maven.apache.org/plugins/maven-antrun

maven changlog plugin producing empty change log

2009-03-06 Thread Lee Gibbons
Hi, Change logs are not being produced for me when I run mvn site. I'm using apache-maven-2.0.9 In my pom I have scm:svn:https://repo.url/dir1/dir2 scm:svn:https://repo.url/dir1/dir2 https://repo.url/dir1/dir2 And also org.apache.maven.plu

Re: Replace Dynamic Revisions during

2009-03-06 Thread Martin Eigenbrodt
versions-maven-plugin looks like something that could fit my needs. Since I'm new to maven I haven't understood everythingh you wrote but I'l give it closer look as soon as I find time. Thanks for the help! 2009/3/6 Stephen Connolly > 2009/3/6 Martin Eigenbrodt > > > > > > > The release plugin

Delete the static files using maven

2009-03-06 Thread SRINIVASA RAO
Hi,   Could any have example POMs on "delete the static files from specific location" using Maven. After deleting this files, i need to compile the code .   I can achieve the second task , after deleting files manually. But i want to do the delete files are automatically.   Could any give me solu

maven changlog plugin producing empty change log

2009-03-06 Thread Lee Gibbons
Hi, Change logs are not being produced for me when I run mvn site. I'm using apache-maven-2.0.9 In my pom I have scm:svn:https://repo.url/dir1/dir2 scm:svn:https://repo.url/dir1/dir2 https://repo.url/dir1/dir2 And also org.apache.maven.plugins m

RE: Corporate pom naming conventions

2009-03-06 Thread Edelson, Justin
FWIW, I use the term "master pom". We have multiple of these, so sometimes discussions of these sounds a bit like a Jedi council what with "Master Java" and "Master Flex" and "Master Maven Plugin". I've tried to use "organizational pom" in conversation, but, as you indicate, it doesn't quite r

.Net unsafe compilation option in maven-net-plugin

2009-03-06 Thread SRINIVASA RAO
Hi,   i am using maven net plugin for .Net code compilation. But , My .Net code contains the some unsafe code. could you please let me know, how complie the unsafe .Net code.   Regards, Sam

Stantalone sql:execute execution

2009-03-06 Thread Med DAB
Is it possible to execute sql:execute in a stantalone manner without attaching it to a phase? I have read many questions about this subject but without reponses. If someone has a definitive response please help me. -- View this message in context: http://www.nabble.com/Stantalone-sql%3Aexecute-

Re: Maven Meetup In Amsterdam?

2009-03-06 Thread Gabriele Columbro
Hi Bas, nice to hear you're coming. Should be no problem not to be subscribed to ApacheCon, since the meetup should be free of charge. Gab 2009/3/6 Kok, Bas > Hi Gabriele, > > I might come and bring some of my colleagues, will also put the names on > the wiki page when confirmed. I'm not plan

RE: Maven Meetup In Amsterdam?

2009-03-06 Thread Kok, Bas
Hi Gabriele, I might come and bring some of my colleagues, will also put the names on the wiki page when confirmed. I'm not planning to attend apachecon though, is that a problem? Cheers, Bas -Original Message- From: Gabriele Columbro [mailto:g.colum...@sourcesense.com] Sent: Thursday

Re: Replace Dynamic Revisions during

2009-03-06 Thread Stephen Connolly
2009/3/6 Martin Eigenbrodt > > > > The release plugin *is* clever enough to ask you if you want to > > replace SNAPSHOT versions in your dependencies with real release > > versions. Once it's gotten the necessary information from you, it > > makes the edits on your behalf. A good feature, that. >

Re: Maven-copy-plugin

2009-03-06 Thread Stefan Seidel
Hi, for Maven artifacts, we use the dependency plugin. For plain files, we use the antrun plugin and the copy task. For deployment we use a deploymentRepository with file:/// or scp:// location. Stefan On Fri, 6 Mar 2009 15:39:10 +0530 Vishal Pahwa wrote: > > Hi All > > Just wanted to know

Re: How to add a jar file to a ear with Maven?

2009-03-06 Thread Stefan Seidel
Hi, you setup is a bit weird. To correct way to implement this is to set up an extra pom.xml (module) which has ear and a dependency to my_child_project. Then the EAR will build correctly because it complies with the Maven rule: one pom.xml, project, module, whatever you call it, produces one ou

SCM and CVS Export

2009-03-06 Thread Hunt, Mary
I am new to Maven2, and but am an experienced Ant user. I am trying to write a pom that will do the following: 1. Export source from CVS repository based on a tag 2. Compile and package the exported source. I have 2 problems. 1. When I export the source from CVS it creates a duplicate folder

Maven-copy-plugin

2009-03-06 Thread Vishal Pahwa
Hi All Just wanted to know is maven-copy-plugin still exist in maven repositories or it has been obsolete. If not then can anyone please tell me what other plugin can be used to copy some files from one location to other. Regards Vishal

RE: Regarding junit test

2009-03-06 Thread VanIngen, Erik (ESTG)
Maven follows the convention over configuration principal. This means that by convention, all your tests within {your project}/src/test/java will be run automatically. Another convention is that Maven follows always this lifecycle: http://maven.apache.org/guides/introduction/introduction-to-the

Re: Regarding junit test

2009-03-06 Thread Juven Xu
http://maven.apache.org/plugins/maven-surefire-plugin/ On Fri, Mar 6, 2009 at 3:36 PM, nani2ratna wrote: > > Hi, > > How does maven calls junit test cases when we run command mvn test. > and what is the surefire, how it runs, can any body send me the link of > this > documentation > > Thanks and

Re: release:prepare cannot find artifacts

2009-03-06 Thread Jörg Schaible
David C. Hicks wrote at Donnerstag, 5. März 2009 20:39: > I really didn't mean to set off a big fire storm. > I only wanted to find out what the proper "best practice" was to solve > this problem. > It's nice to know that I can still stir up a controversy, though. :-) No, no, don't apologize. Ac