Archiva crashes after a couple of days

2008-02-22 Thread Jason Chaffee
I am running the standalone archiva and I have about 4 managed repositories (including a proxy repo), and about 6 or 7 remote repositories. I create a single proxy connector to all of the remote repositories and changed my settings.xml to be a mirrorOf *. Currently, I only have my Continuous

RE: Archiva crashes after a couple of days

2008-02-22 Thread Jason Chaffee
I am running on RedHat Enterprise 4 update 4. It has crashed on m2 at least 6 times in the last two weeks and I am not doing anything special with it. Also, I have noticed that it is creating almost 5 Gigs in logs files a day. I wonder if this has anything to do with it. -Original

RE: Archiva crashes after a couple of days

2008-02-22 Thread Eric Miles
I too had this same issue. Make sure your cron syntax is correct as it is not standard unix cron syntax. The first entry is a second number, not minutes. I initially (and accidentally) setup our cron jobs to run at a crazy pace, I think every second. I asked the mailing list if there was a way

RE: Archiva crashes after a couple of days

2008-02-22 Thread Brown, Carlton
-Original Message- From: Eric Miles [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 4:07 PM To: archiva-users@maven.apache.org Subject: RE: Archiva crashes after a couple of days I too had this same issue. Make sure your cron syntax is correct as it is not standard unix

RE: Archiva crashes after a couple of days

2008-02-22 Thread Jason Chaffee
It sounds like the default cron expressions are the culprit then. I imagine it was tested on the amount of repos and with the amount of artifacts that a big company might have and thus it causes problems. Could you give me the cron expression that you are using for repo scans and database

RE: Archiva crashes after a couple of days

2008-02-22 Thread Eric Miles
We use: 0 30 2 * * ? - daily at 2:30 am 0 30 * * * ? - every 30 mins The default out of the box shouldn't be an issue I wouldn't think. How large are your repos? Ours: 344Mjasper 332Kplugins 203Mproxied 107Mreleases 239Msnapshots On Fri, 2008-02-22 at 13:28 -0800, Jason

RE: Archiva crashes after a couple of days

2008-02-22 Thread Jason Chaffee
My schedules were definitely wrong and causing scanning often. I think this is why it was crashing. -Original Message- From: Eric Miles [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 1:38 PM To: archiva-users@maven.apache.org Subject: RE: Archiva crashes after a couple of

RE: Archiva crashes after a couple of days

2008-02-22 Thread Eric Miles
Wow, you got us beat. Those are pretty large repos. Maybe the Archiva team can comment on this. I'm interested to hear what they say. Eric On Fri, 2008-02-22 at 16:39 -0800, Jason Chaffee wrote: They are pretty big, both in number of artifacts and in size. Our largest repo has around 75,000

Re: maven continuum plugin

2008-02-22 Thread Emmanuel Venisse
Can you open one or more issues about it. Emmanuel On Fri, Feb 22, 2008 at 9:53 AM, Benoit Decherf [EMAIL PROTECTED] wrote: Hi, I'm checking the maven continuum plugin. It will be very usefull for us. I think there are some issue in the add maven 2 goal : - The pom url : To retreive the

Re: Exploring other options outside of CruiseControl

2008-02-22 Thread Jesse McConnell
still largely in planning phases odds are it won't take a huge effort to get things basically working but the UI elements would probably take long...they traditionally have. so...depending when one of us picks it up and runs with it, its probably a few weeks of work is all as for when it gets

RE: Exploring other options outside of CruiseControl

2008-02-22 Thread EJ Ciramella
Is there a jira page or something where I can monitor the status? -Original Message- From: Jesse McConnell [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 5:40 PM To: continuum-users@maven.apache.org Subject: Re: Exploring other options outside of CruiseControl still largely

Continuum does not launch a build as scheduled?

2008-02-22 Thread Tawfik, Sameh E
I've two maven 2.0.8 projects that relate to the same product, one is set to retrieve and build from a branch, and the other one is set to retrieve and build from the trunk in Subversion. When I set the schedule to launch the build for each project, Continuum runs the build for the branch

Unknown error trying to build POM

2008-02-22 Thread Amish Shah
Hi, I am new to using Continuum and Maven. I've installed Continuum and am trying add a Maven 2.0 project, but am getting an Unknown error trying to build POM. Not sure why. Here is a skimmed down version of my pom: project modelVersion4.0.0/modelVersion

Re: Unknown error trying to build POM

2008-02-22 Thread Wendy Smoak
On Fri, Feb 22, 2008 at 7:39 PM, Amish Shah [EMAIL PROTECTED] wrote: I am new to using Continuum and Maven. I've installed Continuum and am trying add a Maven 2.0 project, but am getting an Unknown error trying to build POM. Not sure why. Just glancing at it, I don't see a scm element,

Re: PDE Plugin

2008-02-22 Thread Graham Leggett
amit kumar wrote: With the help of people here especially Graham, I am able to build the plug in successfully using pde-maven-plugin. The only thing left now is that I want to package the lib folder along with the plugin, which I can do by using copy-dependency but I am not able the lib entries

Re: What format is recommended for documentation when using mvn site ?

2008-02-22 Thread Arne Styve
Hi all, Thanks for the input. I've browsed the net, and checked the supplied links too, and I think my conclusion on this issue is that this is an area still not very well covered in Maven2. I think I'll have a look at the Doxia plugin, to try to keep as Maven2 standardized as possible for now. I

Re: assembly plugin and project inheritance

2008-02-22 Thread Stephen Connolly
You could attach the common descriptor as a build artifact one module, and then use the dependency plugin to pull it down to each child module. i.e. Use buildhelper-maven-plugin in rwcf-apps to attach dist.xml with a classifier of, e.g. assembly-descriptor. Now when you run mvn install or mvn

Re: Problem with maven-dependency-plugin: copy-dependencies

2008-02-22 Thread Graham Leggett
amit kumar wrote: Can I modify Manifest entries along with the copy-dependencies goal in configuration? Or something like that. I want the Manifest.mf to have entries for the copied dependencies(in the specific folder). Do it the other way around - don't try and change the path in the

Re: Create one jar including all dependencies

2008-02-22 Thread [EMAIL PROTECTED]
krishnan.1000 schrieb: Hi, I am a Maven newbie. So please forgive my ignorance. I am using Maven 2x for project and dependency management. I am creating a jar package. My project requires that the jar be deployed on a remote server. I can create a jar of all the classes. I would like to

Re: Windows path length limitation

2008-02-22 Thread Emmanuel Venisse
bad windows. I'll look at this issue before to release a new version of maven-scm On Thu, Feb 21, 2008 at 7:01 PM, KURT TOMETICH [EMAIL PROTECTED] wrote: I went ahead and logged an improvement to Maven SCM ( http://jira.codehaus.org/browse/SCM-368). Hopefully they will fix this so Windows

Unable to run clover:instrument goal (License error)

2008-02-22 Thread uthpala
Hi, I just started learning Maven 2 following the Maven book at http://www.sonatype.com/book/. There are a set of examples to be built using Maven which fail on the goal clover:instrument claiming a license expiry. I googled the error and searched in this mailing list for an answer but I

Re: Unable to run clover:instrument goal (License error)

2008-02-22 Thread Jeff MAURY
clover is a commercial tool. If you want an open source one, I suggest looking at corbertura ( http://cobertura.sourceforge.net) Jeff On Fri, Feb 22, 2008 at 10:31 AM, uthpala [EMAIL PROTECTED] wrote: Hi, I just started learning Maven 2 following the Maven book at

Unable to run clover:instrument goal (License error)

2008-02-22 Thread uthpala
Hi, I just started learning Maven 2 following the Maven book at http://www.sonatype.com/book/. There are a set of examples to be built using Maven which fail on the goal clover:instrument claiming a license expiry. I googled the error and searched in this mailing list for an answer but I could

Re: running a single integration test during integration-test-phase

2008-02-22 Thread Jeff MAURY
You need to configure the Maven surefire plugin in your POM and set the test configuration property for it. Here is a sample: project [...] build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration

RE: Newbie: how to do a release?

2008-02-22 Thread Dave Hoffer
Another option is to go one step further and let maven generate the shell script(s) for you as well. Check out appassembler-maven-plugin. -Dave -Original Message- From: Upul Godage [mailto:[EMAIL PROTECTED] Sent: Thursday, February 21, 2008 11:13 PM To: Maven Users List Subject: Re:

Re: Problem with maven-dependency-plugin: copy-dependencies

2008-02-22 Thread amit kumar
Thanks. Amit Kumar On Fri, Feb 22, 2008 at 2:30 PM, Graham Leggett [EMAIL PROTECTED] wrote: amit kumar wrote: Can I modify Manifest entries along with the copy-dependencies goal in configuration? Or something like that. I want the Manifest.mf to have entries for the copied

Re: PDE Plugin

2008-02-22 Thread amit kumar
Copying the dependencies to the root file is what has worked till now. But the ultimate packaged plug in looks a little messy. So I was just trying to do accomplish the copying of dependency to the lib folder as an improvisation. Thanks and Regards, Amit On Fri, Feb 22, 2008 at 2:26 PM, Graham

Re: PDE Plugin

2008-02-22 Thread Graham Leggett
amit kumar wrote: Copying the dependencies to the root file is what has worked till now. But the ultimate packaged plug in looks a little messy. So I was just trying to do accomplish the copying of dependency to the lib folder as an improvisation. The need to copy the dependencies to the root

Problem with archetype properties

2008-02-22 Thread Pablo Saavedra
Hi All, I'm using the archetype 2.0-alpha-1 plugin to create an archetype. Following the guide, I added some requiered properties to the archetype-metadata.xml: requiredProperties requiredProperty key=projectName/ /requiredProperties But when I use the archetype, I'm not being prompted for

Re: how to define a goal which wil depends on other goal in maven?

2008-02-22 Thread VUB Stefan Seidel
Your question is not precise enough. I suggest you read http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html and have a look at http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html regards, Stefan san84 wrote: thank u but how can i do using maven

Re: PDE Plugin

2008-02-22 Thread amit kumar
Hi, But I had checked some plugins that gets shipped with eclipse (3.3) for instance org.apache.batik_1.6.0.v20061222-1222, they do have a lib folder inside them but their Manifest.mf file looks a little different, it doesn't have an entry for Bundle.classpath, rather it has mentioned many

Re: How to override POM properties from CLI

2008-02-22 Thread avalon
Paul Gier wrote: This seems to work ok for me. I tried it locally and my profile properties override my pom properties, and cli props defined with -D override both pom and profile properties. I tried with maven 2.0.6 and 2.0.8. Can you attach a small zipped project to a jira issue

Re: Using variables in src\site\apt\index.apt - is there a default-index.apt or even inheritance?

2008-02-22 Thread Giridharan Kesavan
http://picasaweb.google.com/archanaa05/MysoreTrip/photo#5006538269406644850 On Fri, Feb 22, 2008 at 1:27 PM, [EMAIL PROTECTED] wrote: Hi, what´s the magic behind the default Site generation ? Without specifying anything the index.html is being generated containing About ${project.name}

Include dependency jars in packaged jar

2008-02-22 Thread Thor
Hello everyone? Is there a way to include the dependency jars inside the packaged jar, like in the META-INF/lib directory? And another question, is there a way to customize the application.xmldirective library-directory ? with the ear plugin?

Re: Include dependency jars in packaged jar

2008-02-22 Thread Luca Marrocco
2008/2/22, Thor [EMAIL PROTECTED]: Hello everyone? Is there a way to include the dependency jars inside the packaged jar, like in the META-INF/lib directory? Hi Thor, have you tried mvn assembly -DdescriptorId=jar-with-dependencies? This create a jar with all dependencies exploded into it.

Archetype plugin - variable output folders for modules

2008-02-22 Thread Pablo Saavedra
Hi All, is there any way to specify an output directory for a module that is different from the source directory? For instance, I'd like a module contained in folder template-ui to be created as ${rootArtifactId}-ui. For what I could see, the dir property is used for both input and output

RE: Archetype plugin - variable output folders for modules

2008-02-22 Thread EJ Ciramella
Sure, use assembly directory: plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-1/version configurationue outputDirectoryC:/some/dir/out/of/source/outputDirectory appendAssemblyIdfalse/appendAssemblyId

Re: Archetype plugin - variable output folders for modules

2008-02-22 Thread Pablo Saavedra
Thanks EJ, but I think we are talking about different things... I want to define a module in the archetype-metadata.xml, like this: module id=${rootArtifactId}-main dir=template-main name=${rootArtifactId}-main so the archetype plugin copy all the resources from the template-main module into a

Re: Problem with archetype properties

2008-02-22 Thread Pablo Saavedra
My bad, it was an error in the archetype-metadata.xml... Thanks anyway. Regards. On 22/02/2008, Pablo Saavedra [EMAIL PROTECTED] wrote: Hi All, I'm using the archetype 2.0-alpha-1 plugin to create an archetype. Following the guide, I added some requiered properties to the

RE: Archetype plugin - variable output folders for modules

2008-02-22 Thread EJ Ciramella
Ahhh - sorry, lackOfCoffeeException() -Original Message- From: Pablo Saavedra [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 10:44 AM To: Maven Users List Subject: Re: Archetype plugin - variable output folders for modules Thanks EJ, but I think we are talking about

plugin site documentation

2008-02-22 Thread Ben Tatham
I am trying to get my custom plugin to generate the nice summary of goals and parameters for the web site. I have tried adding plugin:report and plugin:xdoc to the pom, during the site phase. The xml gets generated, but not into the site. Anyone have any ideas? Shouldn't plugin:report be a

Trouble compiling jsps in embedded

2008-02-22 Thread Joshua Pollak
Hello, I have a project with an embedded tomcat instance which is supposed to be compiling some JSPs. When I run a simple unit test that fetches our index page, I get a javac compiler error in our logs. (See below, complaining that package javax.servlet is missing). I have all the needed

Re: Test results in shell project

2008-02-22 Thread Eric Pugh
I need the same thing for MbUnit based reports Wim, if you make any progress, let me know and maybe we can collaborate. I just dump out in the output Test Results are here: http://xx Eric On Feb 21, 2008, at 5:43 AM, Emmanuel Venisse wrote: Hmm, good question :) if

webstart plugin debug output

2008-02-22 Thread David C. Hicks
Can anyone tell me how I can turn off the [debug] output from the webstart plugin? Didn't see anything in the docs about it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Trouble compiling jsps in embedded

2008-02-22 Thread Wayne Fay
Is there a reason you're sending this message again when I replied to it yesterday, rather than just replying to that message to continue the thread? I'll readily admit that I didn't really give you an answer, but its not polite to send the same message again so quickly, especially without

Re: Trouble compiling jsps in embedded

2008-02-22 Thread Joshua Pollak
Wayne, I apologize, something must have been wrong with my subscription, because neither my post, nor your reply (or any of the other messages posted yesterday) were showing up in my mailbox. I checked the online archive (mail-archives.apache.org) to see if it was something wrong on my

Re: assembly plugin and project inheritance

2008-02-22 Thread Reto Bachmann-Gmür
Thanks Stephen, trying to follow the path you describe I added the following to the parent-pom: plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId executions execution

war libraries scope

2008-02-22 Thread Ben Tatham
Does anyone know what scope is used to bring jars in the WEB-INF/lib directory of a war? It appears to bring in all scope=compile dependencies. Shouldn't this be just runtime dependencies? For example, I am precompiling all my JSPs, so I don't need jasper-compiler library. According to

Re: war libraries scope

2008-02-22 Thread Wendy Smoak
On Fri, Feb 22, 2008 at 9:50 AM, Ben Tatham [EMAIL PROTECTED] wrote: Does anyone know what scope is used to bring jars in the WEB-INF/lib directory of a war? It appears to bring in all scope=compile dependencies. Shouldn't this be just runtime dependencies? For example, I am precompiling

Re: Trouble compiling jsps in embedded

2008-02-22 Thread Wayne Fay
Its ok, you don't need to go overboard apologizing, I just want to make sure you saw my initial response. ;-) For the first issue, I was simply suggesting: build plugins plugin (surefire group, artifact, version) configurations/ executions/ dependencies dependency (servlet-api, etc) /dep /deps,

Environment management - I am not sure what to call it really!

2008-02-22 Thread Arash Bizhan zadeh
Hello, We have lots of projects in our environment which most of them are small stand alone projects with not much dependency to each other. Every project has its own maven build system ( or going to have, we are in process of migrating the build system). I am seeking a way to ensure that all of

Re: Environment management - I am not sure what to call it really!

2008-02-22 Thread Wayne Fay
Create one shared parent pom with a dependencyManagement section that they all inherit. Then in your project pom dependency sections, leave out the version. It will be inherited from the shared parent. Wayne On 2/22/08, Arash Bizhan zadeh [EMAIL PROTECTED] wrote: Hello, We have lots of

Re: assembly plugin and project inheritance

2008-02-22 Thread Reto Bachmann-Gmür
The version I posted doesn't work as the child-projects can't perform the attach-artifact attached to the package phase. I've now extracted the dist configuration and the attachment of it to a separate project[1]. Having done this I also attached the copy and the assembly goals to the compile

Re: Environment management - I am not sure what to call it really!

2008-02-22 Thread Arash Bizhan zadeh
If I put dependencies there, wouldn't all projects download them even though they may not really need them? Can Archiva help us in this situation? On Fri, Feb 22, 2008 at 12:33 PM, Wayne Fay [EMAIL PROTECTED] wrote: Create one shared parent pom with a dependencyManagement section that they all

Re: Environment management - I am not sure what to call it really!

2008-02-22 Thread Wendy Smoak
On Fri, Feb 22, 2008 at 11:51 AM, Arash Bizhan zadeh [EMAIL PROTECTED] wrote: If I put dependencies there, wouldn't all projects download them even though they may not really need them? Can Archiva help us in this situation? Wayne said dependencyManagement, not dependencies. The former is

Re: running a single integration test during integration-test-phase

2008-02-22 Thread David Siefert
2008/2/22 Jeff MAURY [EMAIL PROTECTED]: You need to configure the Maven surefire plugin in your POM and set the test configuration property for it. Here is a sample: project [...] build plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: assembly plugin and project inheritance

2008-02-22 Thread Stephen Connolly
there are two sets of goals in the maven dependency plugin. the first set are copy and unpack. you specify the artifacts inside the plugin configuration. these are not the set you want. the set you want are copy-dependencies (or something like that I am on my iPod so you will have to check) with

Re: Compile issues after upgrading from Maven 2.0.6

2008-02-22 Thread David Williams
Hi Everyone, I found the root of this problem. For some reason the ClassPath order changed in Maven 2.0.7 and Maven 2.0.8 and it exposed that an older version of the servlet-api code was being pulled as a dependency. In 2.0.7 and 2.0.8, the older version shows up first and causes the failure.

RE: Compile issues after upgrading from Maven 2.0.6

2008-02-22 Thread EJ Ciramella
I think there's a 2.0.5 to 2.0.6 upgrade guide: http://maven.apache.org/plugins/maven-dependency-plugin/examples/prepari ng-dependencies.html Would this have prevented your issues? -Original Message- From: David Williams [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 3:15

buildNumber in JavaDoc and in Site

2008-02-22 Thread Karl Heinz Marbaise
Hi there, i'm having a little problem: I'm working with the buildnumber PlugIn: plugingroupIdorg.codehaus.mojo/groupIdartifactIdbuildnumber-maven-plugin/artifactId executions execution phasevalidate/phase goalsgoalcreate/goal/goals /execution /executions configuration

Re: Migrating from Maven 1 to Maven 2

2008-02-22 Thread Dennis Lundberg
[EMAIL PROTECTED] wrote: What exactly are you looking for help with? Converting the project.xml into pom.xml? Analyzing your dependencies to see what is actually needed? Something else entirely? Wayne Well, a converter from project.xml to pom.xml would be a first start, then, yes, something

Re: Using variables in src\site\apt\index.apt - is there a default-index.apt or even inheritance?

2008-02-22 Thread Dennis Lundberg
Have a look at the filtering section on this page: http://maven.apache.org/plugins/maven-site-plugin/usage.html [EMAIL PROTECTED] wrote: Hi, what´s the magic behind the default Site generation ? Without specifying anything the index.html is being generated containing About

Re: plugin site documentation

2008-02-22 Thread Dennis Lundberg
Ben Tatham wrote: I am trying to get my custom plugin to generate the nice summary of goals and parameters for the web site. I have tried adding plugin:report and plugin:xdoc to the pom, during the site phase. The xml gets generated, but not into the site. Anyone have any ideas? Shouldn't

Re: filtering of archetype resources

2008-02-22 Thread Laurie Harper
Stuart McCulloch wrote: On 20/02/2008, Laurie Harper [EMAIL PROTECTED] wrote: How do I package resources in an archetype so that they don't get filtered through Velocity when the archetype is used? Currently Velocity is choking on Javascript files contained in the archetype, and I'd rather not

[ANN] Maven Stage Plugin 1.0-alpha-1 Released

2008-02-22 Thread Wendy Smoak
The Maven team is pleased to announce the first release of the Maven Stage Plugin, version 1.0-alpha-1. http://maven.apache.org/plugins/maven-stage-plugin/ This plugin assists with staging and promoting releases by allowing you to copy artifacts from one repository to another. It currently

Re: Directory naming in working-directory

2008-02-22 Thread Brandon Fuller
I was looking for the same thing. Having a problem with jtest's suppressions because they do a match on the file path. My project files normally start with /foo but in Continuum its /8 for this project so no match is found. -- View this message in context:

Re: ANN Maven Archetype Plugin 2.0-alpha-2 -- Ref #[1MFmZ08pl56Wmmu]

2008-02-22 Thread announcement
Hello, Thank you for contacting NetZero. This is an automated reply and no further response will be sent. Please do not reply to this email. If you are looking for help here are some useful links: * Online NetZero Help Center: http://www.netzero.com/support * Online Billing and Account

mvn mkdir

2008-02-22 Thread deckrider
I have an unusual situation where we are using the exec:exec plugin (we hope to change our approach later so this isn't necessary). Before we call this executable we must create an empty directory (target/foo). What is the correct maven way to do this? -- ASCII ribbon campaign: () against HTML

Re: filtering of archetype resources

2008-02-22 Thread Stuart McCulloch
On 23/02/2008, Laurie Harper [EMAIL PROTECTED] wrote: Stuart McCulloch wrote: On 20/02/2008, Laurie Harper [EMAIL PROTECTED] wrote: How do I package resources in an archetype so that they don't get filtered through Velocity when the archetype is used? Currently Velocity is choking on

Re: mvn mkdir

2008-02-22 Thread Dan Tran
use maven-antrun-plugin to mkdir at validate phase -D On Fri, Feb 22, 2008 at 6:07 PM, deckrider [EMAIL PROTECTED] wrote: I have an unusual situation where we are using the exec:exec plugin (we hope to change our approach later so this isn't necessary). Before we call this executable we must