Re: [newby] how to include/package private libs/*.jar

2008-04-18 Thread Johan Eltes
You need to put them in you local repo. You don't need to create a pom for them. /Johan 18 apr 2008 kl. 22.05 Lachlan Deck <[EMAIL PROTECTED]> skrev: Hi there, I'm quite new to maven, but I would have thought this question would have been included on the FAQ page for maven - but it's no

Re: [Geoserver-devel] Embedding a customized geoserver/config via a Maven MOJO Plugin?

2008-04-18 Thread James William Dumay
No - you can get it to install tomcat dynamically James On 18/04/2008, at 11:12 PM, "Andrew Hughes" <[EMAIL PROTECTED]> wrote: I couldn't work out if the cargo requires an already installed app server? I used jetty because its 100% embedded (ie works out the box no one needs to install t

[FR] Maven @ Paris Java User Group

2008-04-18 Thread Arnaud HERITIER
Hi all, On May 13th, I'll be at the Java User Group of Paris (France) to reply to your questions about Maven. http://blog.octo.com/index.php/2008/04/18/104-paris-java-user-group-maven-a-la-demande http://www.parisjug.org/meetings/20080513/presentation.html I hope to meet all of those who

RE: maven-war-plugin:2.0.2 confuses relative path when run in the reactor

2008-04-18 Thread Harper, Brad
Sorry for the delay. This is actually my second attempt at a reply. The debug output was quite large [>0.5 MB], and even though I trimmed it to show only the build for the child project, ezmlm rejected my initial message because the three attachments' combined size exceeded its 100K limit. Brad

Tutorial for assembly configuation

2008-04-18 Thread krishnan.1000
Hi, I am using maven but I am trying to use maven assembly for the following use case Parent Module -- | A |B Depends On A |C Depends On B |

plugin for schema documenation

2008-04-18 Thread Dmitry Beransky
Hi, Does anyone know of a maven 2 plugin for generating xml schema documentation (similar to http://www.buldocs.com/xnsdoc/)? Thanks Dmitry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: [newby] how to include/package private libs/*.jar

2008-04-18 Thread Henrique Prange
Hi Lachan, It is not recommended that you store your jars in SVN. So, there is no simple way to do what you want with Maven. But you can create a repository to share your own libraries (Maven can generate the pom.xml for you). Take a look at [1] and [2]. [1]http://maven.apache.org/guides/int

[ANN] JBoss Packaging Maven Plugin 2.0-beta-1 Released

2008-04-18 Thread Paul Gier
The Mojo team is pleased to announce the release of the JBoss Packaging Maven Plugin, version 2.0-beta-1 http://mojo.codehaus.org/jboss-packaging-maven-plugin/ This plugin is a replacement of the earlier jboss-sar-maven-plugin. The plugin has been deployed to the codehaus repository, and it s

[newby] how to include/package private libs/*.jar

2008-04-18 Thread Lachlan Deck
Hi there, I'm quite new to maven, but I would have thought this question would have been included on the FAQ page for maven - but it's not. I've googled around but mustn't be putting in the right search phrase or something... as obviously I've not found the answer :-) The simple question

Customization during custom archetype execution?

2008-04-18 Thread Andrew Robinson
I have never written an archetype, so please excuse my ignorance. I would like to make a dynamic archetype. What I mean by this is to be able to have it ask users (via command prompts or just via system properties if that is not possible) what they want and be able to change the archetype on the fl

RE: maven-war-plugin:2.0.2 confuses relative path when run in the reactor

2008-04-18 Thread Brian E. Fox
Can you attach the entire build log and your parent and dependent poms? -Original Message- From: Harper, Brad [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 12:25 PM To: Maven Users List Subject: RE: maven-war-plugin:2.0.2 confuses relative path when run in the reactor No good. I

How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-18 Thread Claudio Ranieri
How can I send a single file by scp without generate maven2 repository directory structure in remote machine? When I use the goal deploy:deploy, the maven2 creates in remote machine: groupId\artifactoryId\version\name-of-artifactory But I would like to: finalName (defined in tag myname...) Ho

xerces 2.9.1 on maven repo ?

2008-04-18 Thread nicolas de loof
The latest xerces version available in maven repo is 2.8.1 2.9.1 is the latest stable release in http://www.apache.org/dist/xerces/j/ Is there some xerces guys here that could deploy it ? Nico.

RE: maven-war-plugin:2.0.2 confuses relative path when run in the reactor

2008-04-18 Thread Harper, Brad
No good. I moved the element for maven-war-plugin in the parent pom from the into a new element. And then added org.apache.maven.plugins maven-war-plugin under the [already existing] element in the dependent pom file. I'm seeing the same error.

Re: Removal the specified execution

2008-04-18 Thread Wayne Fay
No. You will need to use a profile that adds the execution instead. Wayne On 4/18/08, Edward J. Yoon <[EMAIL PROTECTED]> wrote: > I'd like to remove the specified execution when '-Dignore' option appeared. > For example, 'mvn -U clean package -Dignore=A' > ... > > A > B > > ... > > Is it poss

Re: Maven Microsoft Windows PowerShell

2008-04-18 Thread Marc Weidner
Thanks Martin. The dash seems to be the real problem and of course the backslash is a working solution. Regards Marc Weidner Martin Gilday schrieb: Generally if you are using Powershell for Maven, svn etc you end up having to escape any arguments which start with a dash (-). The escape chara

Re: Maven Microsoft Windows PowerShell

2008-04-18 Thread Martin Gilday
Generally if you are using Powershell for Maven, svn etc you end up having to escape any arguments which start with a dash (-). The escape character in Powershell is a backtick. So you end up with mvn archetype:create `-DgroupId=blah `-DartifactId=blah. There's probably an easier way but that wo

RE: maven plug-gins

2008-04-18 Thread Brian E. Fox
See here: http://blogs.sonatype.com/brian/2008/04/10/1207873624557.html -Original Message- From: Paul Collins [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 7:56 AM To: users@maven.apache.org Subject: maven plug-gins Hi When executing a maven command the necessary plug-ins are

RE: maven-war-plugin:2.0.2 confuses relative path when run in the reactor

2008-04-18 Thread Brian E. Fox
It looks like the plugin is running in your parent, which is probably not what you wanted. You want this to be inherited but not run, so put it in the pluginManagment section instead. -Original Message- From: Harper, Brad [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 11:36 PM T

RE: How to filter test dependency?

2008-04-18 Thread Brian E. Fox
There are many ways to filter the contents of what this picks up. Take a look at the plugin docs: http://maven.apache.org/plugins/maven-dependency-plugin. I also wrote about using assembly and dependency plugin together and it shows how the filtering can work: http://www.dzone.com/links/rss/how_to

Re: Maven Microsoft Windows PowerShell

2008-04-18 Thread Marc Weidner
Hi James, I never tried PowerShell before. Just thought that it will work out of the box. The suggestion with the quotes (also mentioned by Raphaël Piéroni) just worked fine: mvn.bat archetype:create "-DgroupId=com.mycompany.app" -DartifactId=my-app I think there are also other issues rega

Re: [Geoserver-devel] Embedding a customized geoserver/config via a Maven MOJO Plugin?

2008-04-18 Thread Andrew Hughes
I couldn't work out if the cargo requires an already installed app server? I used jetty because its 100% embedded (ie works out the box no one needs to install tomcat/jboss/jetty/whatever). This is not for applicaiton testing, more to bring up a development/working geoserver for the developer to m

Re: Highly Available Archiva

2008-04-18 Thread Jason van Zyl
On 18-Apr-08, at 1:30 AM, Yoav Landman wrote: I guess the above approach is fine if you have basic requirements from a repository manager and are willing to go for one that: - Treats artifacts as just files, discarding any extra metadata that cannot be maintained using the file system, su

Re: [Geoserver-devel] Embedding a customized geoserver/config via a Maven MOJO Plugin?

2008-04-18 Thread James William Dumay
You might want to look at using the cargo plugin if you want to launch your web application from Maven instead of a custom mojo. We do this for debugging plugins for confluence, jira and bamboo. James On 18/04/2008, at 3:21 PM, Andrew Hughes wrote: Well, I most certainly have found some go

Re: Continuum error build

2008-04-18 Thread Alexandre Nshimiyimana
Yes, my project use Maven and the pom(s) split in 4 modules. I'll redirect to [EMAIL PROTECTED] Thanks. 2008/4/17, Brett Porter <[EMAIL PROTECTED]>: > > It seems you have configured the project to run 'pom.xml' instead of > setting that as the build file for Maven. > > Can you please direct furt

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 'c

Re: Maven Microsoft Windows PowerShell

2008-04-18 Thread James William Dumay
Marc, It might be worth opening a JIRA for this one - I don't think PowerShell is supported. Had this been working correctly for you before hand? Does quoting the arguments help? James On 18/04/2008, at 8:02 PM, Marc Weidner wrote: Hi, I'm having issues regarding using Maven 2.0.9 with

RE: How to filter test dependency?

2008-04-18 Thread Thomas Darbois
org.apache.maven.plugins maven-dependency-plugin copy-dependencies package co

RE: maven plug-gins

2008-04-18 Thread Paul Collins
Excellent thanks very much Regards Staff Release Engineer Paul Collins -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 18 April 2008 13:19 To: Maven Users List Subject: RE: maven plug-gins You can add the plugins with version to the pluginManagement section

RE: maven plug-gins

2008-04-18 Thread nicklist
You can add the plugins with version to the pluginManagement section of your pom file.[1] (Or parent pom file if you want to reuse the list) This way maven will always use the declared version (It will still download it, when the declared version is not found in your local repository). Only the

maven plug-gins

2008-04-18 Thread Paul Collins
Hi When executing a maven command the necessary plug-ins are downloaded but how can I configure maven to select plug-ins locally so I can have a repeatable build process? Regards Paul - To unsubscribe, e-mail: [EMAIL PROTECT

Maven Microsoft Windows PowerShell

2008-04-18 Thread Marc Weidner
Hi, I'm having issues regarding using Maven 2.0.9 with Microsoft Windows PowerShell 1.0 and JDK 1.6.0_05. I start PowerShell and set the JAVA_HOME environment variable via $env:JAVA_HOME = "path-to-jdk". When I issue the command mvn -version I get the version information displayed. Then I

ivy configuration concept in future maven?

2008-04-18 Thread aldana
hi, maven provides scope (test, runtime etc.) filter certain dependencies. never the less sometimes it is quite helpful to have a another configuration option, where you decide what to include transitively. This way you wouldn't need to use the exclude maven construct to avoid getting all transi

Removal the specified execution

2008-04-18 Thread Edward J. Yoon
I'd like to remove the specified execution when '-Dignore' option appeared. For example, 'mvn -U clean package -Dignore=A' ... A B ... Is it possible? -- B. Regards, Edward J. Yoon - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Highly Available Archiva

2008-04-18 Thread Yoav Landman
I guess the above approach is fine if you have basic requirements from a repository manager and are willing to go for one that: - Treats artifacts as just files, discarding any extra metadata that cannot be maintained using the file system, such as: who deployed an artifact, how many times it has

Re: Maven2 Eclipse Plugin - ordering of .classpath entries

2008-04-18 Thread Patrick Zeising
nicolas de loof-3 wrote: > > Could you create a Jira issue for this ? > You can find the issue here: http://jira.codehaus.org/browse/MECLIPSE-437 Greets Patrick -- View this message in context: http://www.nabble.com/Maven2-Eclipse-Plugin---ordering-of-.classpath-entries-tp16722527s177p16761