RE: Continuum and multimodule setup

2006-11-30 Thread hermod.opstvedt
Hi In the main pom we have: modules module../it01/module module../it01-ant/module module../it01-pmd/module module../it01-hs-beans/module module../HostserverService/module

Re: Archiva: 507 Insufficient Storage

2006-11-30 Thread Aaron . Digulla
Hello, Just a question: Which version of wagon-webdav do you use for the upload? Regards, -- Aaron Digulla [EMAIL PROTECTED] schrieb am 29.11.2006 14:24:44: Every now and then, I get the error 507 Insufficient Storage during mvn deploy. Is this a known error? I'd like to debug

Re: compile works only on commandline not within eclipse

2006-11-30 Thread Rolf Strijdhorst
Hi this is probably a configuration error from the execution of the m2 plugin in your workspace. for more help you 'll have to provide your launcher settings and probably your pom as well. Rolf. On 11/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Folks, my projects build fine when

Re: adds same artifacts(different version)?

2006-11-30 Thread jiangshachina
Dear Wayne, I also wish to use the approach you indicated. But in my mind, I cannot exactly set only one artifact(e.g. ehcache-1.1.jar) in exclusion , because only there are groupId and artifaceId for setting. If I use the element, I may exclude all ehcache artifacts(1.1, 1.2.3, ...). That's my

RE: Maven and jira report

2006-11-30 Thread hermod.opstvedt
Hi (mvn changes:jira-report -X) Does not reveil anything: [INFO] Using proxy: proxy at port 88 [INFO] JIRA lives at: http://myserver/jira [INFO] Downloading

Filtering question

2006-11-30 Thread marton.szabo.sp
Dear Maven Users, I need some ideas how to deal with a filtering problem with maven. I would like to use extended filtering some resource files. For example I have a connection pool to a server, where I have PIDs, and ports. I config this like: pool properties property key=port value=x /

Re: [m2] Adding a pre-process stage to the maven build

2006-11-30 Thread Steinar Overbeck Cook
Sounds to me that this should be solved using dependencies in the various projects. That is how we do it, anyway. Assume that B must be built before A, because A depends upon B: I.e. in your super-pom: . modules module A /module module

Re: adds same artifacts(different version)?

2006-11-30 Thread Andrius Šabanas
jiangshachina wrote: Dear Wayne, I also wish to use the approach you indicated. But in my mind, I cannot exactly set only one artifact(e.g. ehcache-1.1.jar) in exclusion , because only there are groupId and artifaceId for setting. If I use the element, I may exclude all ehcache artifacts(1.1,

Naming your own plugin

2006-11-30 Thread Martin Gilday
I am trying to write my own plugin and confused about if there is a naming convention I am missing. I notice that on plugins in the codehaus mojo I can use short names to call the plugin and goal. With the SQL plugin for example I can do sql:execute. However with my own plugin I seem to need to

MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Peter . Pilgrim
Hi All Is there a property to define the location of the Maven local repository? Reading the notes from the installation configuration ``settings.xml'' in the ``MAVEN_INSTALL_DIR/conf''. There are two system properties | 1. User Level. This settings.xml file provides configuration for a

RE: Naming your own plugin

2006-11-30 Thread Jörg Schaible
Martin Gilday wrote on Thursday, November 30, 2006 12:14 PM: I am trying to write my own plugin and confused about if there is a naming convention I am missing. I notice that on plugins in the codehaus mojo I can use short names to call the plugin and goal. With the SQL plugin for example I

RE: Naming your own plugin

2006-11-30 Thread Martin Gilday
Thanks, I thought it was too important to be missing. How did you find that page? I was following the guide in the Plugin Developer Centre[1] and can't see that linked from there. [1] http://maven.apache.org/plugin-developers/index.html - Original message - From: Jörg Schaible [EMAIL

Replacing artifact names/versions in properties files

2006-11-30 Thread Stefano Fornari
Hi All, I would like to be able to do the following: 1. I have a project with a number of dependencies 2. I have a properties file in the project source wich should use some names and versions of a subset of the artifacts from the dependencies 3. I would like that when I package the project, the

Re: MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Tom Huybrechts
-Dmaven.repo.local=... On 11/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All Is there a property to define the location of the Maven local repository? Reading the notes from the installation configuration ``settings.xml'' in the ``MAVEN_INSTALL_DIR/conf''. There are two system

RE: Naming your own plugin

2006-11-30 Thread Jörg Schaible
Martin Gilday wrote on Thursday, November 30, 2006 12:44 PM: Thanks, I thought it was too important to be missing. How did you find that page? I was following the guide in the Plugin Developer Centre[1] and can't see that linked from there. [1]

RE: MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Peter . Pilgrim
-Original Message- From: Tom Huybrechts [mailto:[EMAIL PROTECTED] ==== -Dmaven.repo.local=... On 11/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Unfortunately, in Maven 2.0.4 this system property does not work to override the default local repository location. e.g. %

[m2] exclusive profiles

2006-11-30 Thread Remy.Coqueugniot
Hi maven-users, How would you exclude or include (some kind of XOR) some profiles in a settings.xml Example: I've defined 2 profiles A and B. I would like to configure the following comportement: A ? B ? 0 0 error 0 1 OK 1 0 OK 1 1 error How would you

Re: MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Tom Huybrechts
I just tried this on my machine, and it did work. C:\mvn clean -Dmaven.repo.local=x:\ -X + Error stacktraces are turned on. Maven version: 2.0.4 . [DEBUG] Exception org.apache.maven.wagon.TransferFailedException: Specified destination directory cannot be created:

Customize the structur of the assembled zip-file

2006-11-30 Thread volker . brosche
Hi, i would like to assemble the following Zip-File from my Maven2 Jar Projekt: myjar-1.0-SNAPSHOT-bin.zip - myjar-1.0-SNAPSHOT.jar (the jar from the POM) - poperties\ - *.properties - lib\ - *.jar (the dependencies from the POM) The Assembly-Descriptor: ?xml version=1.0? assembly

Re: [m2] exclusive profiles

2006-11-30 Thread Andrew Williams
I would do it using a property (say alt) and the following activation configuration: profiles profile idA/id activation property name!alt/name /property /activation ... /profile profile idB/id activation property namealt/name /property

Re: Surefire and TestNG

2006-11-30 Thread Andreas G Guther
You might find some more information on the TestNG user list in the following thread: http://groups-beta.google.com/group/testng-users/browse_thread/thread/cbca5b2450ce281e Chris Maki wrote: Hi Wayne Thanks for getting back to me. I didn't think this was a bug. I thought it had

Re: Admin user doesn't have admin rights.

2006-11-30 Thread leahpar
leahpar wrote: hello, i've just sync this morning and i've got funny behavior it's possible to create user but it's not possible to grant role to user / edit user / delete it complains about an empty user :( Today I've sync again and the username is back all fine on this

Re: adds same artifacts(different version)?

2006-11-30 Thread Wendy Smoak
On 11/29/06, jiangshachina [EMAIL PROTECTED] wrote: The more I use Maven, the more I think Maven central repository(artifacts) blocks the work of adding transitive dependencies Automatically. Dependency and transitive dependency may don't have good hierarchy. On the aspect, can any body give me

RE: [m2] exclusive profiles

2006-11-30 Thread Remy.Coqueugniot
Thanks. It's exactly what I want I didn't know the prop / !prop trick. Very useful. -Message d'origine- De : Andrew Williams [mailto:[EMAIL PROTECTED] Envoyé : jeudi 30 novembre 2006 14:29 À : Maven Users List Objet : Re: [m2] exclusive profiles I would do it using a property

RE: [m2] exclusive profiles

2006-11-30 Thread Ryan Slobojan
Hi, If I understand Maven's profile system correctly, you *could* still invoke both at the same time if you did: mvn -PA,B [..] The activation block will just specify how the profiles activate by default. Depending on how explicit your profile exclusion requirements are, this solution may

Re: Seeking advice on multimodule build with JBoss archive formats

2006-11-30 Thread Joachim Van der Auwera
Erich Oswald wrote: Hi, Another idea I have considered is to build the .har as a .jar. Building the problem should then be easy, except that I would have to rename the artifact in the generated EAR. Is there an easy way to rename the .jar to .har before or after it gets added to the EAR? Can

searching mail archives, release plugin with assembly

2006-11-30 Thread Desmond Lownds
Is there a searchable view of this lists archive? I have a feeling my question has been asked and answered before. I am using the assembly plugin to create a binary distribution tarball, and I am using the release plugin to create a tagged release version, I cant seem to get both things to happen

Re: how to exclude plugin dependencies?

2006-11-30 Thread franz see
Good day, Artifacts which are closer to the pom where you are running your maven command on is prioritized. furthermore, you can do and exclude ( see [1] ) to your dependency so that a transitive dependency can be excluded. But as for replacing a dependency version with what you actually need,

Re: searching mail archives, release plugin with assembly

2006-11-30 Thread Wendy Smoak
On 11/30/06, Desmond Lownds [EMAIL PROTECTED] wrote: Is there a searchable view of this lists archive? I have a feeling my question has been asked and answered before. http://maven.apache.org/mail-lists.html links to the Nabble archives at http://www.nabble.com/Maven---Users-f178.html --

Re: Deploying several third party JARs to with one pom

2006-11-30 Thread franz see
Good day to you, Aaron, If those are 3 maven projects that have to be always jar'd together, then you might want to consider combining them all into one maven project. If not, have a pom for each one of them. Cheers, Franz struberg wrote: Are those jars 3-rd party tools or selfmade jars?

Re: How to include other files in plugin jar

2006-11-30 Thread franz see
Good day to you, Scarlet, You may want to try maven-assembly-plugin ( see [1] ) Cheers, Franz [1] http://maven.apache.org/plugins/maven-assembly-plugin/ scarlet wrote: Hi, I'm creating a Maven plugin for a testing framework written in Perl and would like to include the Perl files in

Re: assembly plugin with modules

2006-11-30 Thread franz see
Good dayt o you, Guilherme, Try adding a dependencySet.../dependencySet inside your dependencySets. Cheers, Franz guilherme_silveira wrote: Sorry... correcting: outputDirectorysrc/main/webapp/WEB-INF/lib/outputDirectory includeDependenciestrue/includeDependencies

Re: Maven properties in apt files

2006-11-30 Thread franz see
Good day to you, François , It is possible. Cheers, Franz François Loison wrote: Is it possible to reference maven properties in apt files? Tx, François - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: m2 profiles: pom with os specific (and native) dependencies

2006-11-30 Thread franz see
Good day to you, Joerg, 1. Try help:active-profiles to see which profiles are running to help you in your debuging 2. Try installing / deploying with packaging set to zip. Cheers, Franz Joerg Hohwiller wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I am using SWT in

Re: [M2] [packaging] Maven reacts undeterministically ;-) For today my story is this...

2006-11-30 Thread franz see
Good day to you, Christian, To quickly access the dependency tree report, use project-info-reports:dependencies instead. it will create a target\site\dependencies.html. If that doesn't help, then, use -X. Anyway, i guess the problem was caused by running something like war:inplace or something

Re: assembly plugin with modules

2006-11-30 Thread Guilherme Silveira
Hello Franz, You mean like this: binaries outputDirectorysrc/main/webapp/WEB-INF/lib/outputDirectory includeDependenciestrue/includeDependencies dependencySets dependencySet outputDirectorysrc/main/webapp/WEB-INF/lib/outputDirectory unpackfalse/unpack

Re: [m2] Adding a pre-process stage to the maven build

2006-11-30 Thread franz see
Good day to you, Rohnny, Well, you can create your own build. lifecycle, but i think you'd have to fork another maven execution to apply your own build lifecycle. But if you want to do that to take care of dependencies amongst module, don't worry. Maven handles those automatically. Cheers,

Classpath woes ...

2006-11-30 Thread David Whitehurst
I'm using Maven to do a number of things and I'm unable to obtain access to a jar dependency using two plugins to accomplish my purpose. First I use maven to jar my application and it writes an executable JAR file and a manifest that contains my needed Jar file for log4j. I then use the

Re: Classpath woes ...

2006-11-30 Thread Jerome Lacoste
On 11/30/06, David Whitehurst [EMAIL PROTECTED] wrote: I'm using Maven to do a number of things and I'm unable to obtain access to a jar dependency using two plugins to accomplish my purpose. First I use maven to jar my application and it writes an executable JAR file and a manifest that

RE: MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Peter . Pilgrim
-Original Message- From: Tom Huybrechts [mailto:[EMAIL PROTECTED] Sent: 30 November 2006 13:24 To: Maven Users List Subject: Re: MAVEN_INSTALL_DIR/conf/settings.xml I just tried this on my machine, and it did work. C:\mvn clean -Dmaven.repo.local=x:\ -X + Error stacktraces are

[M2] A good guide to Multi-Module Assemblies?

2006-11-30 Thread Peter . Pilgrim
Hi Has any one got a reference to a multi-module assemblies? An article, a page, or a blog spot. TIA -- Peter Pilgrim UBS Investment Bank, PTS Portal / IT FIRC OPS LDN, 100 Liverpool Street, London EC2M 2RH, United Kingdom +44 (0) 20 75 75692 :: Java EE / E-Commerce / Enterprise Integration /

Re: [M2] A good guide to Multi-Module Assemblies?

2006-11-30 Thread Mick Knutson
What is the issue? There is this: http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html And it seems to work pretty well for me. If I knew what issue you where having after this page, I can help... On 11/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Has any one got a

multi-file APT ?

2006-11-30 Thread Christofer Jennings
Hi All, How do you split a long APT file into mulitple smaller files? The APT Format page generated by default with mvn site says... A short APT document is contained in a single text file. A longer document may be contained in a ordered list of text files. For instance, first text file

Parameter priority

2006-11-30 Thread Martin Gilday
I am writing a mojo that requires a parameter called host. If I set this in my depdendant projects POM then it works. If I use the expression -Dhost=127.0.0.1 then it also works as expected. But if I have it set in the POM and then also set the expression then the one in the POM takes

Re: Changelog plugin?

2006-11-30 Thread George Stragand
Thanks for the assistance thus far, I've been able to get much further. However, I do get a build error, here's a snippet from the log: [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property:

site:run not showing some apt pages

2006-11-30 Thread Christofer Jennings
I have a number of apt pages that get properly generated with mvn site but give an http 404 error whe I run mvn site:run Any ideas? ??? ,chris

Trouble with external links

2006-11-30 Thread Petar Tahchiev
I'm having trouble getting Maven 1 features on the site to work in Maven2 (I am using site.xml in M2 as opposed to the navigation.xml from M1). I know it's finding my site.xml because other changes to it are showing up... 1) Cannot get external link and open in a new window icons to work... On

Re: site:run not showing some apt pages

2006-11-30 Thread Wendy Smoak
On 11/30/06, Christofer Jennings [EMAIL PROTECTED] wrote: I have a number of apt pages that get properly generated with mvn site but give an http 404 error whe I run mvn site:run Not really, without seeing an example. I've seen blank pages before, but they're usually associated with a stack

[m2] Offline Maven Docs - How???

2006-11-30 Thread Riboe, Jens
How can I download (or svn.export+mvn.site) the maven docs, user guides and plug-in docs? I'm often offline, and need access to these docs. Thanks. /Jens - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: site:run not showing some apt pages

2006-11-30 Thread Christofer Jennings
Thanks Wendy, [response inlined] On 11/30/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 11/30/06, Christofer Jennings [EMAIL PROTECTED] wrote: I have a number of apt pages that get properly generated with mvn site but give an http 404 error whe I run mvn site:run Not really, without seeing an

Re: site:run not showing some apt pages

2006-11-30 Thread Christofer Jennings
Sorry. I just noticed ... [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 ... happen when I go to http://localhost:8080/ Also I tried making the apt name lowercase and it worked Is that how

Re: Changelog plugin?

2006-11-30 Thread Dennis Lundberg
Hi George Please try running the cvs command from your command line like this (it should all be on one line): cvs -z3 -f -d :pserver:user@cvs_server:2401/usr/local/cvsroot -q log -d '2006-06-01T00:00:00-06002006-09-01T00:00:00-0600' -- Dennis Lundberg George Stragand wrote: Thanks for

Re: site:run not showing some apt pages

2006-11-30 Thread Wendy Smoak
On 11/30/06, Christofer Jennings [EMAIL PROTECTED] wrote: Sorry. I just noticed ... [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 ... happen when I go to http://localhost:8080/ Ignore it,

Re: site:run not showing some apt pages

2006-11-30 Thread Christofer Jennings
Looks like it! Thanks! On 11/30/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 11/30/06, Christofer Jennings [EMAIL PROTECTED] wrote: Sorry. I just noticed ... [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro.

Re: Replacing artifact names/versions in properties files

2006-11-30 Thread Valerio Schiavoni
Hi Stefano, i think that with a smart use of profiles and filterings, you should be able to achieve what you need, no need of special plugins. my 2¢ ciao, valerio On 11/30/06, Stefano Fornari [EMAIL PROTECTED] wrote: 1. I have a project with a number of dependencies 2. I have a properties

checkstyles

2006-11-30 Thread Trevor Torrez
What is the best way to have all subprojects use the same checkstyles file?

Re: Changelog plugin?

2006-11-30 Thread Dennis Lundberg
Dennis Lundberg wrote: Hi George Please try running the cvs command from your command line like this (it should all be on one line): cvs -z3 -f -d :pserver:user@cvs_server:2401/usr/local/cvsroot -q log -d '2006-06-01T00:00:00-06002006-09-01T00:00:00-0600' If running the command on the

Re: Changelog plugin?

2006-11-30 Thread George Stragand
Dennis, Excellent, thanks. I appriciate your time to make some suggestions. --G On 11/30/06, Dennis Lundberg [EMAIL PROTECTED] wrote: Dennis Lundberg wrote: Hi George Please try running the cvs command from your command line like this (it should all be on one line): cvs -z3 -f -d

RE: MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
I tried the suggestion below for invoking Maven and it worked. I also defined the maven.repo.local property in the ant script for our mixed build, hoping antlib would pick up on it and use the same local repository for the Maven ant tasks. No such luck. It seems there is no way to pass the

Announcement: Seam Archetype

2006-11-30 Thread Steve Lewis
At work, we have created an archetype for Maven2 to bootstrap web applications using Seam. JBoss Seam is a powerful new application framework to build next generation Web 2.0 applications by unifying and integrating popular service oriented architecture (SOA) technologies like Asynchronous

Re: [ANN] StatSVN 0.2.0 released as well as a Maven 2 plugin for it.

2006-11-30 Thread Andy Olliver
This pluggin looks great - but I'm having teething problems getting it working. I get this stacktrace: (using maven 2.0.4, and config from http://stat-scm.sourceforge.net) [INFO] StatSCM Generating Source Code Management Metrics. [INFO] Configuring StatXXX [INFO]

Re: adds same artifacts(different version)?

2006-11-30 Thread jiangshachina
Hello Andrius, Thanks your help very much! Now, I find that I made a mistake in my last post. I really misunderstood Wayne's instructions. I'll try the approach. a cup of Java, cheers! Sha Jiang Andrius Šabanas wrote: jiangshachina wrote: Dear Wayne, I also wish to use the approach you

Re: [ANN] StatSVN 0.2.0 released as well as a Maven 2 plugin for it.

2006-11-30 Thread Thierry Barnier
I'm having hard times too... with mvn -x site [DEBUG] stat-scm: resolved to version 1.0-20061130.191424-10 from local repository [DEBUG] net.sf:stat-scm:maven-plugin:1.0-20061130.191424-10:runtime(selected for runtime) [DEBUG] net.sf:stat-svn:jar:0.2.0:runtime (selected for runtime) [DEBUG]

Re: [M2] A good guide to Multi-Module Assemblies?

2006-11-30 Thread Neeraj Bisht
hi go to apache site in plugin sectio you will find the relevent information On 12/1/06, Mick Knutson [EMAIL PROTECTED] wrote: What is the issue? There is this: http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html And it seems to work pretty well for me. If I knew what

Re: Seeking advice on multimodule build with JBoss archive formats

2006-11-30 Thread Erich Oswald
Joachim Van der Auwera wrote: Erich Oswald wrote: Hi, Another idea I have considered is to build the .har as a .jar. Building the problem should then be easy, except that I would have to rename the artifact in the generated EAR. Is there an easy way to rename the .jar to .har before or