RE: organization name in archiva

2008-04-15 Thread Ben Lidgey
No, me too. Even the corporate pom I have uploaded to show the corporate icon etc displays the details as numbers as you describe. Is there a JIRA ticket for it? Ben -Original Message- From: Benoit Decherf [mailto:[EMAIL PROTECTED] Sent: 15 April 2008 10:32 To:

Re: 1.0 to 1.0.2 webapp upgrade fails

2008-04-15 Thread Andrei Vojakine
Hi Brett thanks for the reply. Here is the whole archiva.log: CUT HERE -- 2008-04-14 16:32:05,460 [main] INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/archiva] - Loading plexus context properties from: '/WEB-INF/plexus.properties' 2008-04-14 16:32:05,464 [main] INFO

Re: 1.0 to 1.0.2 webapp upgrade fails

2008-04-15 Thread Andrei Vojakine
I got it thanks for the tip Brett! after you stop Catalina and replace the war file remove db.lck and dbex.lck files from your database's directories. Andrei From: Brett Porter [EMAIL PROTECTED] To: archiva-users@maven.apache.org Date: 04/14/2008 07:06 PM Subject: Re: 1.0 to 1.0.2 webapp

doubt about getting new artifacts

2008-04-15 Thread Renato Souza
Hi, I don't know if I understood well how it works. If I wanna purchase a new artifact as a normal user and I don't have access to the links for remote repositories. So how can I get ant for example if I don't know the path so it could be added to my archiva repository? Renato

Re: How can I generate a POM file for dependency?

2008-04-15 Thread Chris_Graham
For instance: mvn install:install-file -Dfile=doccheck.jar -DgroupId=com.sun.tools.doclets -DartifactId=doccheck -Dversion=1.2b2 -Dpackaging=jar -DgeneratePom=true -Chris youhaodeyi [EMAIL PROTECTED] wrote on 15/04/2008 15:42:28: Some dependencies downloaded by Maven

Re: How can I generate a POM file for dependency?

2008-04-15 Thread youhaodeyi
I want to download these jars from remote reposiroty and then generate POM automatically. The method you mensioned is to installed the jar by hand. I don't want to do that since the jars already exist in remote repository just without POM file. Chris_Graham wrote: For instance: mvn

Re: How can I generate a POM file for dependency?

2008-04-15 Thread Stephen Connolly
You need to install a local repository manager (e.g. nexus, archivia, etc) and use it to mirror the repo without the pom. You can then install the pom into your mirror. AFAIK, opnce an artifact has been deployed without a pom, a pom cannot be deployed for it without breaking builds, so if the

Re: POM variables not expanded in resulting poms

2008-04-15 Thread Salvador Diaz
I noticed the very same thing and I also thought it was a bug because the eclipse plugin is unable to use such poms (with unexpanded variables) for artifact resolution. Running mvn eclipse:eclipse on a project inheriting one of those artifacts gives the following error: [WARNING] POM for

using external files in parent pom

2008-04-15 Thread Ittay Dror
Hi, I have a parent pom that contains a plugin that references an external file. Now if I execute a child pom (where presumably, it finds the parent in the repository, not relative path), I want the file to be automatically downloaded so the plugin can reference it. How can I do that (and

Executing a hook before reading a POM

2008-04-15 Thread fernando.cabrera
Hi to all, I am trying to find out how I can get maven to execute a hook before it reads the POM file. But it seems that unless you go in and modify the maven source code, at a user level, there is nothing to be done. I am trying to execute the hook since maven doesn't replace variables within

RE: using external files in parent pom

2008-04-15 Thread nicklist
Take a look at the multi module configuration section of the checkstyle plugin documentation [1]. Hth, Nick S. [1] http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html -Original Message- From: Ittay Dror [mailto:[EMAIL PROTECTED] Sent: Tue

Re: organization name in archiva

2008-04-15 Thread Benoit Decherf
I am the only one to have this problem ? Benoit Benoit Decherf wrote: 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

Re: Access file resources from ant based plugin

2008-04-15 Thread zav
Hello Marcel and others, I am really looking for such a feature (access file resources from ant based plugin). Do you know if it has been implemented, and if yes where can we find information about it? Thanks, Xavier Marcel Schutte wrote: Hello, I've written an ant based plugin that

Re: Executing a hook before reading a POM

2008-04-15 Thread VUB Stefan Seidel
Hi, use properties myPropertymyValue/myProperty /properties if you want to set fixed properties for the build process. You may also want to have a look at how to use profiles. regards, Stefan [EMAIL PROTECTED] wrote: Hi to all, I am trying to find out how I can get maven to execute

Re: using external files in parent pom

2008-04-15 Thread Ittay Dror
perfect! thanks [EMAIL PROTECTED] wrote: Take a look at the multi module configuration section of the checkstyle plugin documentation [1]. Hth, Nick S. [1] http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html -Original Message- From: Ittay

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

2008-04-15 Thread DCVer
You presented link to buildnumber-maven-plugin. I used maven-buildnumber-plugin - this is quite different plugin i think. Can anyone help with maven-buildnumber-plugin, please? Or maybe better way would be to change plugin? Nick Stolwijk wrote: No, not the scm tag. As you can see here [1] the

RE: Executing a hook before reading a POM

2008-04-15 Thread Bernhard David
Hi, what we do is declare all global constants (version numbers etc.) in one parent pom like this: properties version.moudule-xxx1.0/version.module-xxx /properties then in the modules' pom declare it (or a descendent of it) as parent. Then you can just write

Deploying Libs to Archiva

2008-04-15 Thread James Clinton
Is there a way where I can upload my entire local repository into Archiva as a Managed Repository in one hit, or do I need to use the mvn deploy:deploy-file command for each file? Regards.

Re: Deploying Libs to Archiva

2008-04-15 Thread David Delbecq
En l'instant précis du 15/04/08 13:26, James Clinton s'exprimait en ces termes: Is there a way where I can upload my entire local repository into Archiva as a Managed Repository in one hit, or do I need to use the mvn deploy:deploy-file command for each file? Regards. Just copy

RE: Deploying Libs to Archiva

2008-04-15 Thread James Clinton
I did try that (without attempting to run the build) pressed scan but couldn't see the libs when browsing. Only libs displayed were ones via deploy command... -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 12:34 PM To: Maven Users List

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

2008-04-15 Thread Dirk Olmes
DCVer wrote: You presented link to buildnumber-maven-plugin. I used maven-buildnumber-plugin - this is quite different plugin i think. Can anyone help with maven-buildnumber-plugin, please? Or maybe better way would be to change plugin? IIRC the buildnumber-maven-plugin started out as

RE: POM variables not expanded in resulting poms

2008-04-15 Thread Brian E. Fox
Using properties inside the groupId:artifactId:version of a pom or a parent declaration will cause lots of problems. This is part of the identity of that artifact and it's not able to be validated. If it works at all it is probably by accident as I'm fairly sure this is not supported.

test mail

2008-04-15 Thread Rekha Jaywant Deotale
CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are

Base class for tests not being found by junit 4.4 via surefire plugin

2008-04-15 Thread Farrukh Najmi
This may be a junit questions rather than a maven question I have a project where I have under the src/test tree a class called server.common.ServerTestBase that serves as a base classfor other test classes. For some reason this class is not found during test execution. Any idea what

build-helper-maven-plugin 1.0 disappears at codehaus repo?

2008-04-15 Thread Dan Tran
Any clue? fortunately, the one at repo1 is still there. Should we get it back? and how? On Tue, Apr 15, 2008 at 3:01 AM, lars vonk [EMAIL PROTECTED] wrote: Hi, I got your email address from the pom.xml from the build-helper-maven-plugin which I want to use in my current project. I found

Re: Base class for tests not being found by junit 4.4 via surefire plugin

2008-04-15 Thread Farrukh Najmi
The problem has gone away after I discovered taht a hibernate persistence.properties file under src/test tree was not being filtered and was therefor invalid. I am not 100% sure what to make of it. All I can guess is that junit 4.4 somehow ate some error message and made me think it was a

RE: continuous integration server

2008-04-15 Thread Matthew Tordoff
Has anyone looked at Bamboo? -Original Message- From: Tom Huybrechts [mailto:[EMAIL PROTECTED] Sent: 13 April 2008 13:21 To: Maven Users List Subject: Re: continuous integration server Hudson, without a doubt. See https://hudson.dev.java.net/ or a live instance at

Re: continuous integration server

2008-04-15 Thread Gregory Kick
i know that spring uses bamboo for it's builds and i can't remember the last time that i've actually seen it work... http://build.springframework.org:8085/ On Tue, Apr 15, 2008 at 10:44 AM, Matthew Tordoff [EMAIL PROTECTED] wrote: Has anyone looked at Bamboo? -Original Message-

Re: continuous integration server

2008-04-15 Thread Jared Blitzstein
Just an FYI, bamboo 2.0 went live today. I've looked at both Continuum, Bamboo, Hudson, and Team City. I've hit some weird issues with Hudson that I couldn't work out (note: the author was willing to lend a hand but I didn't have enough time) and had to just move on, but it built 4 out of

RE: continuous integration server

2008-04-15 Thread Ben Lidgey
We are currently using CruiseControl. I know it is the Granddaddy of them all in some ways, but it seems flexible in the builds. I like the way with CC that the config can be controlled in SVN, so that if someone wanted to recreate the installation they can check it out from SVN and away they

Re: continuous integration server

2008-04-15 Thread Adam
We had used Continuum and had no problems with it for the most part until we came across a bug in our version (1.0.3) that we'd have had to upgrade to 1.1. We switched to Hudson at that point just based on ease of installation and it has been great for the time we've been using it so I say +1 for

Re: continuous integration server

2008-04-15 Thread Jared Blitzstein
The ease of installing Hudson was unbelievable, especially the test drive. I want to elaborate on my statement a little bit, I looked at Continuum and Hudson late last year and haven't used them since (though I tried to give Hudson another spin 3 weeks ago and got some null pointers right

How can I add a directory to the classpath to run JUnit tests in the command line?

2008-04-15 Thread Jared Blitzstein
I'm doing a demo app using JUnit 4 and Spring annotations and having some trouble getting maven to run my tests. They launch and run correctly in eclipse, but mvn test cannot find my xml context files because they're not on the classpath (they're in /webapp/WEB-INF/) and my JUnit test is

Maven 2.0.9 complains it can't download maven-surefire-plugin 2.4.2 -- NEED HELP

2008-04-15 Thread Tonté Pouncil
I just downloaded Maven 2.0.9. I was using Maven 2.0.8. When I tried to run the clean install goal, Maven complains it can't download maven-surefire-plugin. (See below for maven output.) How do I fix this? How do I set up the ibiblio maven 2 repository in my setting.xml file as a profile.

Re: How can I add a directory to the classpath to run JUnit tests in the command line?

2008-04-15 Thread Jared Blitzstein
Answered my own question I think, I did it via the POM plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.4.2/version

RE: continuous integration server

2008-04-15 Thread Sommers, Elizabeth
I use Vulcan. I like the fact that I can run multiple instances of it in the same tomcat. It also does everything I need in a CI server. http://code.google.com/p/vulcan/ Liz Sommers [EMAIL PROTECTED] - To unsubscribe,

Re: Executing a hook before reading a POM

2008-04-15 Thread Joshua ChaitinPollak
In this setup, you still need to refer to the version of the parent pom, right? We are just starting to use multi-module pom, and are realizing that all of our modules are going to need to be updated with the parent- pom's version every time we release a new version. Is there any way

RE: Executing a hook before reading a POM

2008-04-15 Thread Libby, Cynthia
As far as replacing variables, are you talking about being able to use environment variables - something like this: property name=FLEX_HOME value=${env.FLEX_HOME}/ Then use the property name throughout your pom. Or am I completely missing your question?

Re: continuous integration server

2008-04-15 Thread Gregory Kick
@Liz Just out of curiosity, why would you want to be running multiple instances? On Tue, Apr 15, 2008 at 12:13 PM, Sommers, Elizabeth [EMAIL PROTECTED] wrote: I use Vulcan. I like the fact that I can run multiple instances of it in the same tomcat. It also does everything I need in a CI

Maven Surefire Plugin Quick Question

2008-04-15 Thread Tonté Pouncil
Hi, I am using Maven 2.0.8. How do I enable maven to build successfully even though I have test failures? Thansk! _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ This e-mail message, including attachments, may contain confidential, proprietary, or export

RE: Maven Surefire Plugin Quick Question

2008-04-15 Thread Allen, Daniel
To my knowledge, if you run the tests and there are failures you can't build, although you can get something similar by including -Dmaven.test.skip=true on the command line. That skips the tests entirely. -Original Message- From: Tonté Pouncil [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: Maven Surefire Plugin Quick Question

2008-04-15 Thread Mick Knutson
testFailureIgnoretrue/testFailureIgnore On Tue, Apr 15, 2008 at 11:28 AM, Tonté Pouncil [EMAIL PROTECTED] wrote: Hi, I am using Maven 2.0.8. How do I enable maven to build successfully even though I have test failures? Thansk! _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Re: Maven Surefire Plugin Quick Question

2008-04-15 Thread Tonté Pouncil
Thanks Guys! testFailureIgnore works nicely. Thanks for the quick reply. Tonté Mick Knutson [EMAIL PROTECTED]

RE: continuous integration server

2008-04-15 Thread Prystash,John
We use QuickBuild, which is the professional version of Luntbuild, for Maven. The experience has been pleasant, was wondering if anyone else has used either? -Original Message- From: Jared Blitzstein [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 12:15 PM To: Maven Users List

Re: changing location of site.xml

2008-04-15 Thread Dmitry Beransky
D'oh! I should have realized the version issue. Thanks, putting the version in did the trick. On Mon, Apr 14, 2008 at 1:29 PM, Wayne Fay [EMAIL PROTECTED] wrote: You should specify a version of the site plugin to make sure you're using the version you think you are. But I agree with Jason

disabling default deploy behavior

2008-04-15 Thread Dmitry Beransky
Hi, We've configured maven to run cargo:deploy during the deploy phase. However, maven is still trying to copy the war artifact into our internal repository as well. How do tell it not to? Thanks Dmitry - To unsubscribe,

RE: maven2 assembly plug-in

2008-04-15 Thread Krishnamurthi, Venkat
Hi, I'm trying to use maven-assembly plugin. Should I add it in a separate assembly.xml or can I have it as a part of pom.xml. If I add it in pom.xml, I get the following error: Parse error reading POM. Reason: Unrecognised tag: 'assembly' (position: START_TAG seen .../artifactId\n\tassembly...

classpath property

2008-04-15 Thread Eric White
Is there a plain old maven property equivalent to the antrun maven.runtime.classpath reference? I need to filter some resources I'm adding to an assembly, and really don't want to take the long way around with antrun if I can get there directly. Thanks! -- View this message in context:

RE: Maven 2.0.9 complains it can't download maven-surefire-plugin 2.4.2 -- NEED HELP

2008-04-15 Thread Brian E. Fox
The reason you see this with 2.0.9 is probably because it bumped you up to surefire 2.4.2, but otherwise nothing in 2.0.9 changed that should affect this. It's a little hard to know why you can't get that jar. Are you able to load it from a browser without a proxy? Adding the ibiblio repo

RE: disabling default deploy behavior

2008-04-15 Thread Brian E. Fox
You can't really, but what you could do is change the distMgt url to some local file like c:\trash -Original Message- From: Dmitry Beransky [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 15, 2008 3:02 PM To: Maven Users List Subject: disabling default deploy behavior Hi, We've

Downloading a file from the network as part of gathering resources?

2008-04-15 Thread Allen, Daniel
Hi all. I'm builing my project with Maven 2, and am wondering if there's a plug-in that can download a file from the web as a resource. Basically, my project is a web front end for someone else's project, and we'll be sharing an XSD file that describes the format of our communications. However,

Re: disabling default deploy behavior

2008-04-15 Thread Wendy Smoak
On Tue, Apr 15, 2008 at 12:01 PM, Dmitry Beransky [EMAIL PROTECTED] wrote: We've configured maven to run cargo:deploy during the deploy phase. However, maven is still trying to copy the war artifact into our internal repository as well. How do tell it not to? The next version of the

Re: Missing artifact org.apache.maven.plugins:maven-jetty-plugin

2008-04-15 Thread Trenton D. Adams
Just for others that may be confused. Brian showed me how to do this on IRC... In my settings.xml, I put pluginGroups pluginGrouporg.mortbay.jetty/pluginGroup /pluginGroups On Tue, Apr 8, 2008 at 4:52 PM, Brier, Frederick (IHG Temp) [EMAIL PROTECTED] wrote: Thank you. I made a

Re: disabling default deploy behavior

2008-04-15 Thread Dmitry Beransky
cool! do you know which repository would have the dev version of the plugin? It's not in the central yet. On Tue, Apr 15, 2008 at 2:03 PM, Wendy Smoak [EMAIL PROTECTED] wrote: The next version of the deploy plugin will have the option to skip deployment.

RE: continuous integration server

2008-04-15 Thread Mayank Gupta
We also use quickbuild and we do an end to end build automation using this. It starts from tagging to compilation, packaging, moving deliverables to release area, creation of release notes and pushing the same in wiki format, auto deployment in staging environments, automated testing and effective

Re: continuous integration server

2008-04-15 Thread James William Dumay
Springs Bamboo seems to be working fine :) James On Tue, 2008-04-15 at 10:50 -0500, Gregory Kick wrote: i know that spring uses bamboo for it's builds and i can't remember the last time that i've actually seen it work... http://build.springframework.org:8085/ On Tue, Apr 15, 2008 at

Usage of public repositories - please suggest

2008-04-15 Thread mfs
Guys, Today we came to the need of adding jcip-annotations jar in our company maven repository, but before we do so, we check if the same exists in the maven public repository (repo1.maven.org) and if not, only then we deploy the same in our internal repository. Now, while googling i did a find

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

2008-04-15 Thread Andrew Hughes
Releasing/Deploying a war to a repository is 'default' behaviour of the 'mvn release:prepare release:perform' goals - providing the packagingwar/packaging. One thing that was an annoying problem is the 30MB release, but we might be able to save 7MB of that by removing ./data. I had a small think

RE: Usage of public repositories - please suggest

2008-04-15 Thread Brian E. Fox
This is why many people have started using repository managers to isolate themselves from changing remote repositories. There's no way to know how stable the remotes are. Naturally something like jboss and the sun repos are probably not going to disappear tomorrow, but that's not to say there

Re: Usage of public repositories - please suggest

2008-04-15 Thread Brett Porter
On 16/04/2008, Brian E. Fox [EMAIL PROTECTED] wrote: there's a repository manager page somewhere in maven.apache.org but after 5 minutes I can't find it). http://maven.apache.org/repository-management.html (bottom left of Nav). - Brett -- Brett Porter Blog: http://blogs.exist.com/bporter/

Re: continuous integration server

2008-04-15 Thread Barrie Treloar
On Sun, Apr 13, 2008 at 9:06 PM, Peter Horlock [EMAIL PROTECTED] wrote: Hi, Which continuous integration server would you recommend me? Continuum? Or is there also a version by sonatype in the making?! :-) We have been using CruiseControl (since July 2007), some of the other CI tools

javadoc problem

2008-04-15 Thread I am Who i am
Hi All, I was trying to do mvn javadoc:javadoc, and getting the following error org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred in JavaDocs report generation:Exit code: 1 - javadoc: java.lang.OutOfMemoryError: Please increase memory. For example, on the Sun Classic

Re: Usage of public repositories - please suggest

2008-04-15 Thread mfs
Actually we do have Artifactory as the repository manager, thats what i meant when i used the term internal repository, and currently we just have repo1.maven.org set up as the remote repository in it. I was interested in knowing the public repositories which one can rely on (as the remote

Re: [m2] cobertura code coverage for dbunit test classes with testNG and OpenJPA?

2008-04-15 Thread Mick Knutson
I am still having an issue with this... Can someone please help me track down the issue here? I do not get any errors, but I just get no test coverage (everything is at zero). On Mon, Mar 31, 2008 at 1:32 PM, Mick Knutson [EMAIL PROTECTED] wrote: So I am still having this intermittant issue.

Excludes doesn't work

2008-04-15 Thread Edward J. Yoon
I don't want to delete the 'dontdelete' sub-directory when maven clean. But, exclude option doesn't work. What's wrong? plugin artifactIdmaven-clean-plugin/artifactId configuration filesets

Any problem in maven 2.0.9

2008-04-15 Thread I am Who i am
Hi All, Is there some performance problem with maven 2.0.9 coz when i used 2.0.8 my builds used to take less time than, 2.0.9

Re: Maven 2.0.9 complains it can't download maven-surefire-plugin 2.4.2 -- NEED HELP

2008-04-15 Thread Wayne Fay
That first URL has an extra org/apache/maven/ in it, and an extra / too. I imagine this is the source of your troubles. Wayne On 4/15/08, Brian E. Fox [EMAIL PROTECTED] wrote: The reason you see this with 2.0.9 is probably because it bumped you up to surefire 2.4.2, but otherwise nothing in

Re: Any problem in maven 2.0.9

2008-04-15 Thread Wayne Fay
How much less time? You (probably) also got some new plugin versions in your upgrade, so the change might be due to plugin changes rather than simply Maven 2.0.9 core is slower. You're going to need to be a lot more specific about things, which means doing more analysis yourself and reporting

Re: Downloading a file from the network as part of gathering resources?

2008-04-15 Thread Wayne Fay
If you are both using Maven, then create a jar or bundle and use dependency plugin or remote-resources plugin. But I'm guessing this is not possible (??). Otherwise, I would probably use the antrun plugin with the copy task. Wayne On 4/15/08, Allen, Daniel [EMAIL PROTECTED] wrote: Hi all.