Re: Unable to build archiva trunk

2008-04-09 Thread Roland Klein
after i fxed the version in plugin-registry.xml all works now. thanks -- View this message in context: http://www.nabble.com/Unable-to-build-archiva-trunk-tp16578624p16580682.html Sent from the archiva-users mailing list archive at Nabble.com.

organization name in archiva

2008-04-09 Thread Benoit Decherf
Hi, Why don't you show the organization name in the link of the organization ? For example, in the component org.apache.maven:maven, The organization field show a link with name 98. It should be : Apache Software Foundation Benoit

M2 project won't look in 'restricted' repository for artifacts

2008-04-09 Thread Julian Dunn
Hi again, Sorry if this has been asked before, I'm not a Java developer but I'm trying to help our folks use Archiva. I have 2 repositories set up called internal (the default that comes with Archiva) and restricted (one I have set up to host Sun restricted license JARs and so on) However, I

Deploying a modified plugin to an in-house repository

2008-04-09 Thread Joshua ChaitinPollak
So I just made a modification to the exec-maven-plugin and now I'm trying to share that with the rest of my company be deploying it to our shared repository (Artifactory) with this command: mvn org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy-file \

RE: Adding a Main-Class to a jar-with-dependencies jar?

2008-04-09 Thread MATHUS Baptiste
Hi, Having a look in the assembly plugin documentation: http://maven.apache.org/plugins/maven-assembly-plugin/usage.html Then Advanced Config/Creating an Executable Jar, wouldn't it help? Excerpt: plugin artifactIdmaven-assembly-plugin/artifactId configuration

dependencySet:excludes/includes is broken in 2.2-beta-2

2008-04-09 Thread Robin Roos
Hi Folks * Maven 2.0.8 with Assembly Plugin 2.2-beta-2 and JDK 1.5.0_14 on Windows * I have many .jar dependencies and a handfull of .so dependencies. Each of my .so dependencies has a classifier, e.g. solaris. I intend my assembly to put all .jar dependencies into lib/ and all .so

maven-buildnumber-plugin / revision number last changed rev number

2008-04-09 Thread DCVer
Hi all. I use maven-buildnumber-plugin to retrieve svn revision number of the local working copy. But I noticed, that it isn't configured in a way I would like to. E.g. when I have tags directory in svn repository containing few subdirectories (let's say 1.0 1.1 and 1.2). 1.0 was tagged at

RE: dependencySet:excludes/includes is broken in 2.2-beta-2

2008-04-09 Thread Robin Roos
After looking at sourcecode and referencing ASSEMBLY-180 and MNG-2621 I have fixed my problem by changing *:*:so:solaris To *:so:solaris I don't understand why this would work, or would be chosen above a more explicit patern match algorithm. But it works. If anyone can explain the

System.out and System.err in surefire

2008-04-09 Thread David Delbecq
Hello, in the past (maven1), when i ran unit test, everything from stdout / stderr was redirected to the report txt file, making it easy to follow test progress when the test were makig lots of noise. After upgrading to maven2, the stderr seems properly redirect to report file, but not

Re: Adding a Main-Class to a jar-with-dependencies jar?

2008-04-09 Thread Mark Derricutt
Correct - not sure how I missed that earlier. Thanks, Mark On Wed, Apr 9, 2008 at 8:23 PM, MATHUS Baptiste [EMAIL PROTECTED] wrote: Hi, Having a look in the assembly plugin documentation: http://maven.apache.org/plugins/maven-assembly-plugin/usage.html Then Advanced Config/Creating an

Multiple CPUs

2008-04-09 Thread Benedikt Thelen
Hi there, i am sort of a maven newbee, At our workplce we have a quite big Coccon project in developenet and we use maven to build it. Building takes usually 5-6 minutes which is quite a while. I noticed using gkrellm and htop that maven only uses one of the two processors (Levono Thinkpad with

Re: Multiple CPUs

2008-04-09 Thread ben short
I'd think that the build process is single threaded, with exception to the surefire plugin which can be forked. On Wed, Apr 9, 2008 at 12:21 PM, Benedikt Thelen [EMAIL PROTECTED] wrote: Hi there, i am sort of a maven newbee, At our workplce we have a quite big Coccon project in developenet and

Re: Multiple CPUs

2008-04-09 Thread Benedikt Thelen
if possible is there a wat to split up the source to make diffrent jobs who could be run separately? On Wed, Apr 9, 2008 at 1:24 PM, ben short [EMAIL PROTECTED] wrote: I'd think that the build process is single threaded, with exception to the surefire plugin which can be forked. On Wed, Apr

Re: Multiple CPUs

2008-04-09 Thread Manos Batsis
Benedikt Thelen wrote: Hi there, i am sort of a maven newbee, At our workplce we have a quite big Coccon project in developenet and we use maven to build it. Building takes usually 5-6 minutes which is quite a while. I noticed using gkrellm and htop that maven only uses one of the two processors

Invalid POM - Ignored for artifact resolution - Bug ?

2008-04-09 Thread Salvador Diaz
Hello all, This is my first message in the mailing list so please bear with me if I lack clarity or I infringe any rule. So the problem I'm having is that I'm getting this message when running mvn eclipse:eclipse on my project (we have one core project and several others depending on that

Updating the Version and Properties in a POM file using ANT

2008-04-09 Thread Thomas Tardy
Hello, is there a convenient way to update the version and properties of a pom file using ANT? I can't use the maven release plugin to do this. Thanks for your help! Regards, Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Add Custom Pages

2008-04-09 Thread Maria Odea Ching
Hi Doron, I haven't really experimented doing this, but maybe you could try updating the jsp files in your Archiva.. for the menu part, you need to edit the WEB-INF/jsp/decorators/default.jsp file. Please take note of the Redback permissions in the page. You could probably add just an a href=..

Remote file copy

2008-04-09 Thread robert . egan
I have a need to implement Maven style deploy functionality (copy files to multiple remote servers as defined in an xml file on the source machine). Attempts to find something using google have been unsuccessful, mostly due to the generality of the query. What other Apache projects might be

Re: Multiple CPUs

2008-04-09 Thread Nino Saturnino Martinez Vazquez Wael
Is'nt this just a java setting, you could pass on to the jvm?: -XX:+UseParallelGC -XX:+ParallelGCThreads=2 http://www.md.pp.ru/~eu/jdk6options.html Benedikt Thelen wrote: if possible is there a wat to split up the source to make diffrent jobs who could be run separately? On Wed, Apr 9,

RE: Multiple CPUs

2008-04-09 Thread hermod.opstvedt
Hi The GC = Garbage Collection. It will help a bit. Hermod -Original Message- From: Nino Saturnino Martinez Vazquez Wael [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 2:06 PM To: Maven Users List Subject: Re: Multiple CPUs Is'nt this just a java setting, you could pass on

Re: Multiple CPUs

2008-04-09 Thread ben short
You could structure your project in to a multi module project. For instance an api, implimentation and utils module. then if you only make changes to the utils module you can just rebuild that module which should save some time. On Wed, Apr 9, 2008 at 1:12 PM, [EMAIL PROTECTED] wrote: Hi The

RE: Multiple CPUs

2008-04-09 Thread Martin Gainty
Agreed- With Hotspot I have been able to boost performance by implementing ConcurrentMarkSweep GC JAVA_OPTS=XX:+UseConcMarkSweepGC http://java.sun.com/docs/hotspot/gc1.4.2/faq.html TakkMartin __Disclaimer and confidentiality noteEverything in this

licenses report

2008-04-09 Thread Jan Torben Heuer
How can I define my project's license and how can I generate a report of all dependencies includeing their license? (plain text or html preferred) Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

How can I set the order of repository?

2008-04-09 Thread youhaodeyi
Maven will try to download the dependencies from remote repository then local repository. I want Maven to check local repository first then remote repository. How can I do this? -- View this message in context:

RE: licenses report

2008-04-09 Thread Bernhard David
Hi, the first part I can answer - im our pom, we just put licenses license nameLGPL version 2.1/name urlhttp://www.gnu.org/licenses/lgpl.txt/url /license /licenses David -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jan Torben Heuer Sent:

Expanding ... into null

2008-04-09 Thread Selber, Heiko (NSN - DE/Berlin)
Hello, I have a problem with an artifact that is downloaded from a local repository server, but is not expanded. So when its contents are accessed, they are not found. Apparently, there is a problem with a null pointer. The console says this: [INFO] Expanding:

Why does Maven always download dependency?

2008-04-09 Thread youhaodeyi
I have successfully download the dependency jars from remote repository when I first compile my source code. But Maven always tries to download these jars whenever I compile. Why? -- View this message in context:

RE: How can I set the order of repository?

2008-04-09 Thread nicklist
This is configurable for each repository for releases and snapshots. Take a look at [1] and the updatePolicy. Hth, Nick S. [1] http://maven.apache.org/ref/2.0.7/maven-model/maven.html#class_releases -Original Message- From: youhaodeyi [mailto:[EMAIL PROTECTED] Sent: Wed 4/9/2008

Re: Multiple CPUs

2008-04-09 Thread VELO
Well, may be the best way to do that is add support to maven run modules on parallel not sure how to, but if maven run two modules at same time, on a dual core machine, means a big gain, i believe. VELO On Wed, Apr 9, 2008 at 8:21 AM, Benedikt Thelen [EMAIL PROTECTED] wrote: Hi there, i

Re: Why does Maven always download dependency?

2008-04-09 Thread VELO
What is dependency's version? If is something ending with -SNAPSHOT will check for new. VELO On Wed, Apr 9, 2008 at 10:38 AM, youhaodeyi [EMAIL PROTECTED] wrote: I have successfully download the dependency jars from remote repository when I first compile my source code. But Maven always

RE: Why does Maven always download dependency?

2008-04-09 Thread nicklist
If I read [1] correctly, Maven will even by default try to update releases. Hth, Nick S. [1] http://maven.apache.org/ref/2.0.8/maven-model/maven.html#class_releases -Original Message- From: VELO [mailto:[EMAIL PROTECTED] Sent: Wed 4/9/2008 15:52 To: Maven Users List Subject: Re: Why

Re: Multiple CPUs

2008-04-09 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, but isnt it a problem if modules depend on each other? if module a depends on module b... And I think that if implemented it should be scalable to xxx cpus.. I guess module a would have to wait for module b or something.. VELO wrote: Well, may be the best way to do that is add support

WAR Overlay includes

2008-04-09 Thread António Mota
Hello: I'm trying to do some war overlay but I can't seem to include just the files I want using the include tag on the overlay. In this case I only want's under WEB-INF, but what I get is everything that's inside the war. overlay groupIdbirt-runtime/groupId

jarsigner plugin?

2008-04-09 Thread /U
Is there a jarsinger plugin available for Maven 2.0.8? Regards /Ur -- View this message in context: http://www.nabble.com/jarsigner-plugin--tp16586202s177p16586202.html Sent from the Maven - Users mailing list archive at Nabble.com.

Renaming an artifact...

2008-04-09 Thread Christian Edward Gruber
Hey, I was looking for examples of the following, or instructions. I have a plugin (maven-flex2-plugin) that really should be called (maven- flex-plugin), since it can run flex2 or flex3. I'd like to rename the artifactId, but somehow have the original there redirecting to the new

Re: jarsigner plugin?

2008-04-09 Thread Olivier Lamy
Hi, The jar plugin can do it for you. http://maven.apache.org/plugins/maven-jar-plugin/sign-mojo.html -- Olivier 2008/4/9, /U [EMAIL PROTECTED]: Is there a jarsinger plugin available for Maven 2.0.8? Regards /Ur -- View this message in context:

How to submit a bug

2008-04-09 Thread John Wu
I'm Maven 2 user, and I believe that I found an issue with Maven 2.0.8, how can I submit it somewhere? Thanks, John Wu IMPORTANT NOTICE: If you have received this message in error, please notify the sender immediately and erase the original from your email system. This message is

RE: How to submit a bug

2008-04-09 Thread nicklist
Start by explaining the problem and the expected / actual result on the user list. If it really is a bug, a lot of dev'ers are also reading there and will redirect you to the jira system[1] and tell you which component it affects. The dev list is more for the developers to communicate. Hth,

Re: Renaming an artifact...

2008-04-09 Thread Wendy Smoak
On Wed, Apr 9, 2008 at 3:46 PM, Christian Edward Gruber [EMAIL PROTECTED] wrote: I was looking for examples of the following, or instructions. I have a plugin (maven-flex2-plugin) that really should be called (maven-flex-plugin), since it can run flex2 or flex3. I'd like to rename the

RE: Renaming an artifact...

2008-04-09 Thread Brian E. Fox
You can relocate any part of the signature...however it does _not_ work for plugins. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 11:22 AM To: Maven Users List Subject: Re: Renaming an artifact... On Wed, Apr 9, 2008 at 3:46 PM,

RE: Renaming an artifact...

2008-04-09 Thread MATHUS Baptiste
-Message d'origine- De : Wendy Smoak [mailto:[EMAIL PROTECTED] Envoyé : mercredi 9 avril 2008 17:22 You may be thinking of relocation [1] ,but so far I've only seen it used for changing groupIds. [1] http://maven.apache.org/guides/mini/guide-relocation.html FWIW: I already used

Re: Multiple CPUs

2008-04-09 Thread Martin von Gagern
VELO wrote: Well, may be the best way to do that is add support to maven run modules on parallel not sure how to, but if maven run two modules at same time, on a dual core machine, means a big gain, i believe. I guess you'd have to do this in independent processes, i.e. foce new maven

Re: Multiple CPUs

2008-04-09 Thread Benedikt Thelen
Hmm splitting up the modules isn't that easy in this case, I hoped there was an option similar to -j X in GNU make. Allthough the splittung up and compiling of modules parallel is probably the best approach. Thanks For the Help Benedikt Thelen On Wed, Apr 9, 2008 at 5:48 PM, Martin von Gagern

Re: maven-buildnumber-plugin / revision number last changed rev number

2008-04-09 Thread Dirk Olmes
DCVer wrote: Hi all. I use maven-buildnumber-plugin to retrieve svn revision number of the local working copy. But I noticed, that it isn't configured in a way I would like to. E.g. when I have tags directory in svn repository containing few subdirectories (let's say 1.0 1.1 and 1.2). 1.0 was

Re: Multiple CPUs

2008-04-09 Thread VELO
Lets imagine a 10 modules application. I don't believe each module will always depend from the predecessor (10 depends 9, 9 depends 8, 8 depends) Is commons see 10 depends 1, 2 and 3. 9 depends 1, 2. 8 depends 7, and so go on. Probably some modules need to be compiled in sequence. Others

RE: modify existing plugin dependencies [#MNG-2972] - workaround available?

2008-04-09 Thread Brian E. Fox
2.0.9 has been staged and voted on. We are just looking into one thing before letting it into the wild. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 1:07 PM To: users@maven.apache.org Subject: modify existing plugin dependencies

modify existing plugin dependencies [#MNG-2972] - workaround available?

2008-04-09 Thread torsten . reinhard
Hi, I need to use jaxws-maven-plugin with jaxb-impl-2.1.3 instead of the original dependency of the plugin So i configured: plugin groupIdorg.codehaus.mojo/groupId artifactIdjaxws-maven-plugin/artifactId version1.8/version dependency

Re: Repository not working problem

2008-04-09 Thread Ralf Fischer
On Tue, Apr 8, 2008 at 3:55 PM, Java Programmer [EMAIL PROTECTED] wrote: Hello, How to setup timeout for rarely not working repository, or how to set to skip fetching poms from such repositories? I have problem because sometime when developing one of repo is out, and our build waits for

Re: licenses report

2008-04-09 Thread Kalle Korhonen
The answer to the second part is use 2.1-SNAPSHOT version of project-info-reports-plugin. It's dependency report lists the licenses (see http://commons.apache.org/logging/dependencies.html for example). There are no open issues left for 2.1 release (

Re: classloader testing

2008-04-09 Thread Jason Nerothin
Using profiles did the trick and got me over the hump with the first round of testing, but now I find myself in the following situation: The ClassLoader I ended up writing extends URLClassLoader so that it can dynamically load class files from the same jar that contains it by programatically

maven webstart

2008-04-09 Thread Dmitry Beransky
Hi, I'm aware of the webstart plugin, but what I can't figure out if it's possible to use maven to do the end-to-end automated deployment of an app. In other words, can maven build, package, and deploy to tomcat a webstart application? Thanks Dmitry

Re: Deploying a modified plugin to an in-house repository

2008-04-09 Thread Joshua ChaitinPollak
I'm still having trouble with deploying my modified exec-maven-plugin. If I run this slightly different command line: mvn org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy \

manifest.mf maven2

2008-04-09 Thread Urooj Khan
hi everyone... i am in the process of converting a project from maven 1 to maven 2. i have a three projects within one big project.. i figured just mvn one:convert on each project.xml would do the trick.. but its actually an extremely huge task.. so i'm starting bottom up and i've been able to

assembly plugin dependency set multiple instances of jars

2008-04-09 Thread tadamski
I'm using maven-2.0.8, I have an assembly descriptor used for assembling a multi-module project. When the dependencySet is processing, I end up with multiple instances of the jars in the specified output directory. The section of my assemblyDescriptor.xml I believe in question is the following:

WAR Overlay includes

2008-04-09 Thread António Mota
Hello: I'm trying to do some war overlay but I can't seem to include just the files I want using the include tag on the overlay. In this case I only want's under WEB-INF, but what I get is everything that's inside the war. overlay groupIdbirt-runtime/groupId

filtering resources - switching whole files

2008-04-09 Thread Jan Zelenka
Hi, I have different config files for various build targets (dev, test, prod), but I cannot use standard resource filtering because whole portions of the files are diferrent, not just simple strings. In Ant I have a copy of the file for each target and just copy/rename them during build. What

Re: manifest.mf maven2

2008-04-09 Thread Wendy Smoak
On Wed, Apr 9, 2008 at 9:25 PM, Urooj Khan [EMAIL PROTECTED] wrote: now i cant figure out how maven2 is generating this manifest.mf file so that i can fiddle with it and try to get the right output Start here:

Re: Deploying a modified plugin to an in-house repository

2008-04-09 Thread Nick Stolwijk
Doesn't deploying to archiva require the webdav wagon instead of http wagon? Return code 400 means: The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications. Take a look at the deploy to archiva page at the

Re: filtering resources - switching whole files

2008-04-09 Thread Nick Stolwijk
For different config files I often do it with an include. I.e. spring configuration for production, test, dev, make a main applicationContext.xml which includes database-${environment}.xml. Now you can switch config files between builds. (Or at runtime, if you don't filter. Hth, Nick S.

Re: Remote file copy

2008-04-09 Thread Luke Daley
On 09/04/2008, at 9:46 PM, [EMAIL PROTECTED] wrote: I have a need to implement Maven style deploy functionality (copy files to multiple remote servers as defined in an xml file on the source machine). Attempts to find something using google have been unsuccessful, mostly due to the

Re: Multiple CPUs

2008-04-09 Thread Barrie Treloar
On Wed, Apr 9, 2008 at 8:51 PM, Benedikt Thelen [EMAIL PROTECTED] wrote: Hi there, i am sort of a maven newbee, At our workplce we have a quite big Coccon project in developenet and we use maven to build it. Building takes usually 5-6 minutes which is quite a while. I noticed using gkrellm

Maven 2 Bug? Not Processing Children

2008-04-09 Thread Chris_Graham
Following Nick's suggestion to how to report a bug: On this issue: http://www.nabble.com/Class-Path-Test-Problem.-tt16556171s177.html I have solved the problem. If the consolidated pom has a scope in it, it fails to resolve it's child dependencies. Consider this from a top level pom:

RE: Deploying a modified plugin to an in-house repository

2008-04-09 Thread Brian E. Fox
The url was an artifactory one... -Original Message- From: Nick Stolwijk [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 6:05 PM To: Maven Users List Subject: Re: Deploying a modified plugin to an in-house repository Doesn't deploying to archiva require the webdav wagon

webapp - some customization in the build

2008-04-09 Thread marc.dumontier
Hi I have a few questions about what the best approach is to accomplish the following I have a plugin based web application which currently is built using ant. The plugin includes JSPs which are copied over into the build which makes up the WAR file. It's really a set of skins...so that

The same SNAPSHOT artifact in two remote repositories

2008-04-09 Thread Seva Popov
Hi, I noticed that Maven checks every configured repository according to the order of the repositories specified in the pom before downloading. But I am not sure how it determines which one to download and if it is deterministic or not. Say, I have the same SNAPSHOT artifacts (same artifactId,

binding a plugin to a lifecycle goal

2008-04-09 Thread EJ Ciramella
I've written a few maven plugins now, most of the type that should be called explicitly. I have a new one however, that I'd like to be part of the regular lifecycle. I have this in my mojo: /** * description * @goal assemble * @phase process-resources */ but when I run mvn

Where do I put document in Maven project?

2008-04-09 Thread youhaodeyi
This link lists all the Maven directories: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html but I didn't find a place to hole project document. -- View this message in context:

Re: binding a plugin to a lifecycle goal

2008-04-09 Thread Olivier Dehon
You need to add an execution in your POM like: build plugins plugin artifactIdmaven-whatever-plugin/artifactId executions goals goalassemble/goal /goals /executions /plugin /plugins /build The fact that you specified the @phase in your mojo

RE: binding a plugin to a lifecycle goal

2008-04-09 Thread EJ Ciramella
I _just_ realized that. But I've looked at the resources plugin - you don't have to bind that. Is this just the way hand-rolled plugins work? -Original Message- From: Olivier Dehon [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2008 9:21 PM To: Maven Users List Subject: Re:

[m2] XFire, SoapUI andTestNG integration anyone?

2008-04-09 Thread Mick Knutson
I have XFire working with my WAR deployed to Tomcat. Then I can get SoapUI test deployed webservices. But I can not get TestNG to actually work in my integration tests within Maven. I have tried generating wsgen client, and tried SpringRemoting but nothing except soapUI works. I want to include

Re: Where do I put document in Maven project?

2008-04-09 Thread Maria Odea Ching
You can put your project documentation in src/site and it would get included when you generate the site for your project. Please note that your documents should be written in APT format and when you run 'mvn site', their corresponding html files will automatically be generated. Other project

Any way to send email with build and test report?

2008-04-09 Thread urir
Hi, I am using maven2 for building and testing a multi-project that consists from several sub projects. Is there a way (some plugin maybe) so at the end of the main project build and test maven will send an email with all the results for all the tests? some statistcs maybe? Thanks, Uri. --