Re: too many open files with 1.0.2

2008-04-12 Thread Henri Gomez
I see that also but it was releated to a problem with Tomcat 6.x and libtcnative. Is it your setting ? 2008/4/11, Jason Chaffee [EMAIL PROTECTED]: With Archvia-1.0.2 running in tomcat, I am getting too many open files errors at least twice a day, forcing a reboot of archiva to fix the

RE: too many open files with 1.0.2

2008-04-12 Thread Jason Chaffee
Actually, I think it had to do with the version of derby I was using. The docs said use derby-10.1.3.1.jar or later. I was using derby-10.3.2.1.jar. I changed it do use derby-10.1.3.1.jar and the problem disappeared. It might be a good idea to add a warning or have someone else confirm and then

Re: Bulding multiple wars for the same artifact

2008-04-12 Thread David C. Hicks
Two possibilities come to mind: 1) Set up 2 separate war artifacts, each with its own properties file. 2) Externalize your properties so that the same war file can be used with different settings. It might make sense to use JNDI to look up your data source, instead of using properties, and

[M2] Site Generation

2008-04-12 Thread sylsau
Hello, I am testing maven 2 and I saw that is was a possibility to generate a site who lists the project's documentation. My project has the following form : - pom.xml (super POM) - moduleA/ with a pom.xml - moduleB/ with a pom.xml The content of my the super POM is the following : [CODE]

Re: [M2] Site Generation

2008-04-12 Thread Siarhei Dudzin
You need to deploy or stage the site to have links between modules working Siarhei On Sat, Apr 12, 2008 at 2:14 PM, sylsau [EMAIL PROTECTED] wrote: Hello, I am testing maven 2 and I saw that is was a possibility to generate a site who lists the project's documentation. My project has

[m2] pom filtering: pom.url vs propertyname.url

2008-04-12 Thread Tim Torbeyns
Hi, In my pom.xml file I have the following: [xml] urlsome url/url build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webResources resource directorysrc\main\webapp/directory

Re: Bulding multiple wars for the same artifact

2008-04-12 Thread Wayne Fay
Or use Spring and tell it (via -D or another property) which file to use. I think this is a common approach to this problem. Wayne On 4/12/08, David C. Hicks [EMAIL PROTECTED] wrote: Two possibilities come to mind: 1) Set up 2 separate war artifacts, each with its own properties file. 2)

Re: Can I set a timeout for downloading dependency

2008-04-12 Thread Yoav Landman
If your goal is to fail the build in case of a download timeout and you wish that timeout to be configurable, then you can use a repository manager such as Artifactory to centrally set the desired network timeout for downloading dependencies from a remote repository. Your maven client will then

Re: Repository search order

2008-04-12 Thread Peter Horlock
Which Repo Manager would you prefer? Sonatype Nexus or Maven Archiva? Nexus is well documentated in the Sonatype Maven book, which is a big plus imho, and I also read it's supported by their Eclipse Maven (m2eclipse) plugin, which is probably also quite helpful. However, Archiva seems to be the

ejb3 jboss persistence problem

2008-04-12 Thread neo anderson
Previously I successfully build ejb3 example with jboss version 4.2.2 by specifying jboss library in the 'systempath'. Now I want to make use of the maven (jboss) repository. So I change to use the dependency section of pom.xml, modifying repository and dependency section; it is as follow:

Re: ejb3 jboss persistence problem

2008-04-12 Thread Tim Torbeyns
am not a maven specialist but when I go to: http://repository.jboss.com/jboss/jboss-persistence-api/3.0.0-SNAPSHOT I see a lib folder don't know if this is ok for maven ? 2008/4/12, neo anderson [EMAIL PROTECTED]: Previously I successfully build ejb3 example with jboss version 4.2.2 by

Re: ejb3 jboss persistence problem

2008-04-12 Thread Manos Batsis
Hey Neo. Cool Name. Maybe repositories repository idrepository.jboss.org/id nameJBoss Repository/name urlhttp://repository.jboss.org/maven2/url /repository repository snapshots / idsnapshots.jboss.org/id nameJBoss Snapshot

Re: ejb3 jboss persistence problem

2008-04-12 Thread Manos Batsis
Wait that doesnt look right, sorry. Try: repositories repository idjboss/id nameJBoss Repository/name urlhttp://repository.jboss.org/maven2/url snapshots enabledfalse/enabled /snapshots /repository repository idjboss-snapshots/id

Re: Multiple CPUs

2008-04-12 Thread Jorg Heymans
On Fri, Apr 11, 2008 at 7:21 PM, Simone Gianni [EMAIL PROTECTED] wrote: Hi Dana, you are absolutely right, but there are a few things Maven could do to improve speed : using multiple threads/cpus : - Maven downloads stuff. Now, since the network exists, it exists latency, and all net

Re: Repository search order

2008-04-12 Thread Jason van Zyl
On 12-Apr-08, at 9:24 AM, Peter Horlock wrote: Which Repo Manager would you prefer? I'm openly and wholly biased because my company produces Nexus. So I'm not the one to ask for a non-partisan opinion. Sonatype Nexus or Maven Archiva? Nexus is well documentated in the Sonatype Maven

Re: Repository search order

2008-04-12 Thread Tom Huybrechts
Be careful with the jboss repository. It contains artifacts that have the same groupId, artifactId and version as artifacts in central, but with different content. Mixing both is asking for trouble... Tom On Fri, Apr 11, 2008 at 3:58 PM, Glynbach [EMAIL PROTECTED] wrote: Hi I added the

Re: Repository search order

2008-04-12 Thread Jason van Zyl
This is something that we dealt with specifically with a client with Nexus. The Atlassian repositories were a complete mess (james tells me this has been corrected), doing similar things with artifacts in central and mixing snapshots and releases together. Nexus can actually block requests

Re: [M2] Site Generation

2008-04-12 Thread sylsau
First, I use the command mvn site then I run the command mvn site:stage. The result is the same, the links are not good. So, perhars there are values to put in the tag url on the pom ? -- View this message in context: http://www.nabble.com/-M2--Site-Generation-tp16648682s177p16656455.html Sent

Re: Repository search order

2008-04-12 Thread Mark Hewett
On Fri, Apr 11, 2008 at 12:42 PM, Jason van Zyl [EMAIL PROTECTED] wrote: This is another classic example of why using a repository manager is a good thing. You can specify repositories in one central place, and with Nexus you can order, group, and route which means you can get certain

RE: Repository search order

2008-04-12 Thread Brian E. Fox
Usually corporations want the central control that delegating everything to a single url provides. However you are still able to address the individual repositories if you want. This will also allow you to switch the urls with a profile. For machines that are entirely internal (corp desktops),

Selenium - Maven - Smoketest

2008-04-12 Thread dbug
Hi, In the life cycle of Maven, where can I perform the automated smoke test (i believe it is after deploy step, can somebody confirm or guide)? Thanks, Dhyanesh Bagadia -- View this message in context: http://www.nabble.com/Selenium---Maven---Smoketest-tp16656678s177p16656678.html Sent from

Selenium - Maven - Smoketest

2008-04-12 Thread dbug
Hi, In the life cycle of Maven, where can I perform the automated smoke test (i believe it is after strongdeploy step/strong, can somebody confirm or guide)? Thanks, Dhyanesh Bagadia -- View this message in context:

Building Multi Module Assembly

2008-04-12 Thread Michael
Hi, I am trying to build a bin.zip for my multimodule project. I read the assembly plugin doc, tried several setups but still have absolutely no idea how to do it. This is my current state: 2 modules, one module is a jar, the second is a war I have attached javadoc:jar to the jar goal. So

Re: Svn relocate after release?

2008-04-12 Thread Clifton
That does make a lot of sense and I'll forward your suggestion. But for now, I still wonder if I should be concerned otherwise. Wayne Fay wrote: Could you not set a generic dns-backed server name eg svn.corp.com and then things just work when you move servers? This would be my approach.

RE: mvn release with perforce

2008-04-12 Thread sgargan
Hey there, Perforce is more user oriented that most SCMs, you need to explicitly tell it who you are and and how to map files from it's repository to your local system using a specific 'client' specification. Typically these values are set as environment variables e.g. P4CLIENT=your-client-spec

Re: [M2] Site Generation

2008-04-12 Thread Martin Gainty
depends on access capability to the urls especially the required plugins an example would be distributionManagement repository idapache-repo/id nameMaven Central Repository/name urlscpexe://people.apache.org//www/people.apache.org/repo/m2-ibiblio-rsync -repository/url /repository

Definitive Guide - is it real?

2008-04-12 Thread Manfred Moser
Hi! I really appreciate the great guide Jason and gang have put together with Maven: The Definitive Guide, which you can all get here as you probably know http://sonatype.com/book/index.html As far as I believe somehow these guys are making the book with Maven. At least I hope so. I have

Re: [M2] Site Generation

2008-04-12 Thread Hilco Wijbenga
On Sat, Apr 12, 2008 at 6:53 PM, Martin Gainty [EMAIL PROTECTED] wrote: depends on access capability to the urls especially the required plugins an example would be I don't see how this has anything to do with access. The generated URLs are just plain wrong, AFAICT. The only solution that I

Re: Definitive Guide - is it real?

2008-04-12 Thread Jason van Zyl
Hi, The content of the book has been converted to docbook as that's what O'Reilly can consume more easily. The editing tools that Tim prefers are docbook tools so he converted the source from APT to docbook. But you could use Doxia to go from whatever to docbook and then use the tools we