archiva fails when tomcat is installed under path with blanks

2007-03-19 Thread nicolas de loof
Archiva works on my local computer, but fails on the target (windows) server. The only difference is that the target Tomcat 5.5.17 server is installed under D:\Apache Software Foundation\Tomcat 5.5 When starting archiva, I get this exception : 2007-03-19 19:20:39,243 [Main Thread] ERROR

Re: evangelising maven from the business benefits point of view

2007-03-19 Thread Gianfranco Oldani
Hi, I want also add that every management should be concerned with software quality and a convenient dashboard which allow to drive software quality. Lot of plugins go in that direction. Have a look for example to the project we are starting at hortis with the goal to offer such software

RE: How Does Maven Handle This?

2007-03-19 Thread Jörg Schaible
Hi Ian, Dees, Ian (GE Healthcare) wrote on Friday, March 16, 2007 7:14 PM: If I have a dependency tree similar to this: projectA depends on projectB-1-01-SNAPSHOT projectA depends on projectC-1-00 projectC depends on projectB-1-00 How does maven handle running tests on projectA, for

RE: Installing new plugins

2007-03-19 Thread Or_Daniel
I turned stacktraces on and it seems that maven looks for the wrong plugin: [DEBUG] Artifact not found - using stub model: Unable to determine the latest version org.apache.maven.plugins:maven-minijar-plugin:pom:LATEST Instead of minijar-maven-plugin it looks for maven-minijar-plugin.

ejb3 on Linux

2007-03-19 Thread Vidya Mahavadi
Hi, I have posted this question earlier, but I am still struggling to find a solution. Any one who has come across the problem or have a work around can help me. I have a ejb3 application and I am generating a jar file which I am deploying it on JBoss. All the dependency injections work

Problems with multi module project dependencies

2007-03-19 Thread Olivier Fabre - EBM WebSourcing
Hi, Here is the structure of my project : parent | |- cdk | |- components | |- comp 1 |- comp 2 comp 1 and comp2 depend on cdk. I've released a 1.2 version of the cdk

site plugin fails

2007-03-19 Thread Tilman.Rossmy
Hi! This morning I out of the blue the site plugin fails with this exception [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin

RE: Problems with multi module project dependencies

2007-03-19 Thread Jörg Schaible
Olivier Fabre - EBM WebSourcing wrote on Monday, March 19, 2007 10:41 AM: Hi, Here is the structure of my project : parent | |- cdk | |- components | |- comp 1

Restricting maven build from accessing central repo

2007-03-19 Thread Brinal . D-Mello
Hi, Is there a way by which we can stop maven from accessing the central repository - http://repo1.maven.org/maven2/org/apache/maven/plugins/ to download plugins I require my build to refer to another repo and not the central repo. Please help Regards, Brinnel Visit our website at

Re: best maven2 eclipse integration?

2007-03-19 Thread Adam Hardy
Phillip Rhodes wrote: I am using the the m2 eclipse plugin and while it works (and I appreciate it very much), I just can't stand the several minute long build cycles and looking for something that will speed up my development. Can anyone recommend something for me besides the

Re: Restricting maven build from accessing central repo

2007-03-19 Thread Jochen Wiedmann
On 3/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there a way by which we can stop maven from accessing the central repository - http://repo1.maven.org/maven2/org/apache/maven/plugins/ to download plugins Configure a mirror:

Re: Restricting maven build from accessing central repo

2007-03-19 Thread Marcel Schutte
Hi Brinnel, You could define a repository in your settings.xml with id central, I believe this overrides the built-in definition that takes you to repo1.maven.org Regards, Marcel - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: users@maven.apache.org Sent: Monday,

Assembly with 'system' dependency

2007-03-19 Thread Or_Daniel
Hi. I try to create an executable jar that contains all the project's dependencies using the assembly plugin. Some of my dependencies are custom 'system' dependencies. Here is an example from my pom: dependency groupIdadm-commons/groupId

create an assembly only for a release

2007-03-19 Thread Gregory Kick
Does anyone know of a good way to have a particular assembly generated and deployed iff I'm cutting a release? It'd be nice if I could get it to happen automatically (without having to specify a profile or something). Greg Kick [EMAIL PROTECTED]

Re: Assembly id parameter

2007-03-19 Thread Stephane Nicoll
You need to declare an execution: http://maven.apache.org/plugins/maven-assembly-plugin/usage.html (See Normal Assemblies). HTH, Stéphane On 3/18/07, Jean-Luc Wasmer [EMAIL PROTECTED] wrote: how can I deploy the assembly? I'm using a multimodule project so the only thing that gets deployed is

File name according to groupId, artifactId and a version.

2007-03-19 Thread Rahamim, Zvi \(Zvi\)
Hi, Given a groupId, artifactId and a version, how can I know the final name of the file? For example, groupIdorg.apache.maven/groupId artifactIdmaven-core/artifactId version2.0.4/version The file will be maven-core-2.0.4.jar But the packaging can be not only jar, but war, ear... Is there

Re: File name according to groupId, artifactId and a version.

2007-03-19 Thread Roland Asmann
I believe that ${finalName} will give you the exact name of the output-file... Although you can normally combine the artifactId with version and packaging to get the name of the output. On Monday 19 March 2007 14:56, Rahamim, Zvi (Zvi) wrote: Hi, Given a groupId, artifactId and a version, how

cannot set user roles on latest snapshot build..

2007-03-19 Thread nicolas de loof
Hy, I'd like to ugrade my archiva server with latests snapshot build. When installing it on my local tomcat server, I can't setup user roles. I allways get error : Cannot use AssignmentsAction for RBAC Edit User with an empty principal. Is there something I've missed ? Nico.

RE: File name according to groupId, artifactId and a version.

2007-03-19 Thread Brian E. Fox
There isn't one exposed inside maven itself, however there is one in the dependency plugin to do it though (you can just copy the code): http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java?view=markup

Re: Installing new plugins

2007-03-19 Thread Wayne Fay
Try specifying the full name on the command line ie: mvn -X org.codehaus.mojo:minijar-maven-plugin:ueberjar Wayne On 3/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I turned stacktraces on and it seems that maven looks for the wrong plugin: [DEBUG] Artifact not found - using stub

Re: Using Maven without an intyernet connection

2007-03-19 Thread Andrew Williams
If you can run maven on an internet connected computer first to download all the dependencies then you could just copy the ~/.m2/ repository/ directory to the computer without the internet and run maven in offline mode (mvn -o) Andy On 19 Mar 2007, at 07:17, Ivan Biddles wrote: Hi, I am

Re: Assembly with 'system' dependency

2007-03-19 Thread Wayne Fay
Don't use system dependencies. Install/deploy the artifacts into your local repo/corporate repo and change the dependency scope. Wayne On 3/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi. I try to create an executable jar that contains all the project's dependencies using the assembly

Re: cannot set user roles on latest snapshot build..

2007-03-19 Thread Emmanuel Venisse
I don't know if you've missed something, but it works fine for me. Emmanuel nicolas de loof a écrit : Hy, I'd like to ugrade my archiva server with latests snapshot build. When installing it on my local tomcat server, I can't setup user roles. I allways get error : Cannot use

Re: Using Maven without an intyernet connection

2007-03-19 Thread Thierry Lach
If your development machine is not connected to the internet, but IS connected to an internal network that has other systems connected to the internet, you could use one of the maven proxies/managers such as Archiva on one of those connected machines. On 3/19/07, Andrew Williams [EMAIL

Re: cannot set user roles on latest snapshot build..

2007-03-19 Thread nicolas de loof
I really don't understand what's happening : cannot change roles form any existing user (admin/guest). I can create a new one and set it's roles, but can change them anymore after that... Will try to rebuild archiva... 2007/3/19, Emmanuel Venisse [EMAIL PROTECTED]: I don't know if you've

Re: ejb3 on Linux

2007-03-19 Thread Petar Tahchiev
2007/3/19, Vidya Mahavadi [EMAIL PROTECTED]: Hi, I have posted this question earlier, but I am still struggling to find a solution. Any one who has come across the problem or have a work around can help me. I have a ejb3 application and I am generating a jar file which I am deploying it on

Re: cannot set user roles on latest snapshot build..

2007-03-19 Thread Wendy Smoak
On 3/19/07, nicolas de loof [EMAIL PROTECTED] wrote: I really don't understand what's happening : cannot change roles form any existing user (admin/guest). I can create a new one and set it's roles, but can change them anymore after that... Will try to rebuild archiva... Are you using an old

Re: ejb3 on Linux

2007-03-19 Thread Vidya Mahavadi
In the project set up I have those two xml files in META-INF folder(upper case). But when maven generates the jar file it puts them in a lower case folder. :( Petar Tahchiev [EMAIL PROTECTED] 19/03/2007 16:43 Please respond to Maven Users List users@maven.apache.org To Maven Users List

Re: ejb3 on Linux

2007-03-19 Thread Petar Tahchiev
2007/3/19, Vidya Mahavadi [EMAIL PROTECTED]: In the project set up I have those two xml files in META-INF folder(upper case). But when maven generates the jar file it puts them in a lower case folder. :( Petar Tahchiev [EMAIL PROTECTED] 19/03/2007 16:43 Please respond to Maven Users List

Re: Error with JPOX when trying to build on Windows XP

2007-03-19 Thread Wendy Smoak
On 3/18/07, Olivier Dehon [EMAIL PROTECTED] wrote: I am trying to build continuum from a checkout from the trunk on WinXP. I am getting this error from the JPOX Enhancer tool (in the continuum-model project): ... Indeed, even though the tool completed with success, the exit status is 1. I am

Re: Using Maven without an intyernet connection

2007-03-19 Thread Paul Gier
What's the easiest way to download the whole central repository? Is there a maven plugin to do that? Or is there some way to get a zip of the whole thing? On Mon, 2007-03-19 at 14:26 +, Andrew Williams wrote: If you can run maven on an internet connected computer first to download all

Re: Using Maven without an intyernet connection

2007-03-19 Thread Wendy Smoak
On 3/19/07, Paul Gier [EMAIL PROTECTED] wrote: What's the easiest way to download the whole central repository? Is there a maven plugin to do that? Or is there some way to get a zip of the whole thing? See 'Creating your own mirror' at the bottom of this page:

Re: Using Maven without an intyernet connection

2007-03-19 Thread Thierry Lach
Quite a while back (possilby 2 years ago) I did that using wget. Be advised you're probably going to need several gig of disk space for it. On 3/19/07, Paul Gier [EMAIL PROTECTED] wrote: What's the easiest way to download the whole central repository? Is there a maven plugin to do that? Or

Re: Using Maven without an intyernet connection

2007-03-19 Thread Thierry Lach
Yep - rsync will definitely work better than wget. On 3/19/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 3/19/07, Paul Gier [EMAIL PROTECTED] wrote: What's the easiest way to download the whole central repository? Is there a maven plugin to do that? Or is there some way to get a zip of the

Re: Using Maven without an intyernet connection

2007-03-19 Thread Eric Redmond
Yes, do not wget the repository: http://maven.apache.org/community.html under Being a Good Maven Citizen Eric On 3/19/07, Thierry Lach [EMAIL PROTECTED] wrote: Yep - rsync will definitely work better than wget. On 3/19/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 3/19/07, Paul Gier [EMAIL

Re: Assembly id parameter

2007-03-19 Thread Jean-Luc Wasmer
Stephane Nicoll wrote: You need to declare an execution: http://maven.apache.org/plugins/maven-assembly-plugin/usage.html (See Normal Assemblies). Thanks! (how could I have missed this one???) Jean-Luc HTH, Stéphane On 3/18/07, Jean-Luc Wasmer [EMAIL PROTECTED] wrote: how can I deploy

[m2] Handling special characters in localized site report

2007-03-19 Thread Thorsten Heit
Hi Maven experts, I'm trying to create a localized version of the site according to the mini guide http://maven.apache.org/guides/mini/guide-site.html. mvn site works as expected with one issue I don't know how to solve: The generated site's menu on the left containing the reports looks as

RE: File name according to groupId, artifactId and a version.

2007-03-19 Thread Rahamim, Zvi \(Zvi\)
Thanks! -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 4:15 PM To: Maven Users List Subject: RE: File name according to groupId, artifactId and a version. There isn't one exposed inside maven itself, however there is one in the dependency

How to upload a pom.xml into an internal repository?

2007-03-19 Thread Cla Emanuel Monsch
Hi I'm using 'jdom 1.0'. But I've the problem that this pom which comes from the remote repository contains false dependencies. Therefore I will include the corrected jdom pom.xml into our company wide internal repository. - Does it suffice to insert just the pom (without any artifacts)

Re: How to upload a pom.xml into an internal repository?

2007-03-19 Thread Wendy Smoak
On 3/19/07, Cla Emanuel Monsch [EMAIL PROTECTED] wrote: I'm using 'jdom 1.0'. But I've the problem that this pom which comes from the remote repository contains false dependencies. Therefore I will include the corrected jdom pom.xml into our company wide internal repository. - Does it suffice

Validate Phase Plugins?

2007-03-19 Thread Ole Ersoy
Hi, Does anyone know how I can find out which maven plugins are run during the validate phase for jar packaged artifacts? I created a mojo, gave it a new lifecycle, and somehow turned of pom parameter injection, so I'm trying to find the lifecycle phase and plugin that handles this.

Howto run a command at the begining of a

2007-03-19 Thread Jean-Luc Wasmer
Hi, My project's version is defined as: version${env.SVNVERSION}-SNAPSHOT/version where the SVNVERSION environment variable is set before hand by a shell script. How can I embed the script inside maven's build lifecycle? (it should run before anything else) Right now the shell script is

Re: archiva fails when tomcat is installed under path with blanks

2007-03-19 Thread nicolas de loof
PLXCOMP-65 created for this. Using the URL constructor solves this issue. That beeing said, archiva uses lot's of SNAPSHOT dependencies. Can we expect a stable version some day or do you consider Archiva as a Web2.0-styleallways in beta application ? Archiva 1.0 will have to wait so much

Re: site plugin fails

2007-03-19 Thread Wayne Fay
Seems like you're pointing to the snapshot repo for some of your artifacts. Remove that from your pom. Also, lock down your artifact versions using pluginManagement and dependencyManagement in parent poms with versions declared as version[1.2.3]/version. Wayne On 3/19/07, [EMAIL PROTECTED]

Re: archiva fails when tomcat is installed under path with blanks

2007-03-19 Thread Emmanuel Venisse
We have the hand of all snapshot and we release them when we want. So it isn't a problem. Emmanuel nicolas de loof a écrit : PLXCOMP-65 created for this. Using the URL constructor solves this issue. That beeing said, archiva uses lot's of SNAPSHOT dependencies. Can we expect a stable

Howto run a command at the begining of a lifecycle?

2007-03-19 Thread Jean-Luc Wasmer
-- repost since original post had incomplete subject Hi, My project's version is defined as: version${env.SVNVERSION}-SNAPSHOT/version where the SVNVERSION environment variable is set before hand by a shell script. How can I embed the script inside maven's build lifecycle? (it should run

Re: Howto run a command at the begining of a lifecycle?

2007-03-19 Thread Stephane Nicoll
On 3/19/07, Jean-Luc Wasmer [EMAIL PROTECTED] wrote: -- repost since original post had incomplete subject Hi, My project's version is defined as: version${env.SVNVERSION}-SNAPSHOT/version where the SVNVERSION environment variable is set before hand by a shell script. How can I embed the

build WAR without a web.xml

2007-03-19 Thread Mark Hansen
I need to be able to build WAR that does not include a web.xml. The use case for this is certain forms of Java EE 5 Web Services deployment. However, Maven2 gives me this error when I try: Error assembling WAR: Deployment descriptor:

Re: project.properties property not being picked up

2007-03-19 Thread lsacco
I did some further research and found that my variable wasn't in systemScope. Why would it be there locally on Eclipse but not the build machine. Is there something I need to do to enable that? I had to resort to something like this to see the variable, but that still presents me the problem

Re: build WAR without a web.xml

2007-03-19 Thread Wayne Fay
Filed a long time ago in JIRA: http://jira.codehaus.org/browse/MWAR-53 Wayne On 3/19/07, Mark Hansen [EMAIL PROTECTED] wrote: I need to be able to build WAR that does not include a web.xml. The use case for this is certain forms of Java EE 5 Web Services deployment. However, Maven2 gives me

Custom artifact type

2007-03-19 Thread Tommy Knowlton
Hello, I'm trying to create an installer artifact type, and then depend on the installer's dependencies in other projects. The transitive dependencies aren't being exposed in the dependent project. A concrete example of what's currently Not Working for me is this: I want to provide a

RE: Using Maven without an internet connection

2007-03-19 Thread Ivan Biddles
Dear All, I am very glad to hear that Maven has taken into account the disconnected build use case. Thank you all very much for your insights and all the good references too. This has certainly set me off in the right direction. Best wishes, Ivan -Original Message- From: Eric Redmond

Snapshot overload

2007-03-19 Thread Tommy Knowlton
Hello, My dev team has been using Maven2 full-time for about 2 months now, and we're starting to notice a problem that we hadn't really considered until now. I don't know a safe way to deal with it, but I'm getting very close to having to do something that might be unsafe. The issue is that

Re: Maven-Idea-Plugin - questions

2007-03-19 Thread Dennis Lundberg
[EMAIL PROTECTED] wrote: Hello... I am revamping our build environment with Maven. And am meeting with stiff resistance from the group, despite its obvious advantages. In that context: From: Dennis Lundberg [EMAIL PROTECTED] What is painful about it? We are dealing with the

Re: [m2] Handling special characters in localized site report

2007-03-19 Thread Dennis Lundberg
Thorsten Heit wrote: Hi Maven experts, I'm trying to create a localized version of the site according to the mini guide http://maven.apache.org/guides/mini/guide-site.html. mvn site works as expected with one issue I don't know how to solve: The generated site's menu on the left containing

RE: [M2] Repository Problem trying to override central and maintain local corporate repository

2007-03-19 Thread Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
Hello, Wayne. I'm curious about the answer to Peter's original question, which was: How is Maven getting out to the wider world in spite of the fact that his network does not allow outbound http traffic and the settings.xml file does not define any proxies? thanks, --Marilyn -Original

Maven/eclipse project import problem

2007-03-19 Thread Phill Moran
Ladies and Gentlemen Something is awry in my eclipse import and I am sure I have dome something dumb since I can find no one else with the same issue. Here is the order of events I take please let me know where I drove off the cliff created a clean temp directory Copied working POM into it

Re: [M2] Repository Problem trying to override central and maintain local corporate repository

2007-03-19 Thread Wayne Fay
Impossible for me to say. Run mvn -X and ask your network guy to run some packet capture/analysis tools to help discover what exactly is going on in your network. ;-) Wayne On 3/19/07, Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) [EMAIL PROTECTED] wrote: Hello, Wayne. I'm curious

Re: Error with JPOX when trying to build on Windows XP

2007-03-19 Thread Olivier Dehon
Wendy Smoak wrote: Does it build with JDK 1.5? I see the same issue with JDK 1.5 I also tried to build the continuum-1.0.3, which uses earlier versions of JPOX, to no avail (fails with the exact same error, and after all required classes have been enhanced successfully). I see there's

what's up with maven/nabble

2007-03-19 Thread Phill Moran
Get only timeouts. Any reason someone can share Phill Moran

Re: what's up with maven/nabble

2007-03-19 Thread Brett Porter
works for me. If you continue to have problems, you probably need to contact nabble, or check with your own system administrators - the service is completely hosted by Nabble. On 20/03/07, Phill Moran [EMAIL PROTECTED] wrote: Get only timeouts. Any reason someone can share Phill Moran --

RE: what's up with maven/nabble

2007-03-19 Thread Phill Moran
It was dead for many days. But as usual you complain and the problem goes away. Suddenly tonight no issues. Thanks for the response though -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: March 20, 2007 12:50 AM To: Maven Users List Subject: Re: what's up with

Cannot remove project (due to notifier)

2007-03-19 Thread David Leangen
Hello! I am unable to remove a project because of a FK constraint in the DB on the notifiers. However, in the UI, it is not possible to remove the notifiers (that were from the POM). I tried commenting them out from the pom, but the old projects remain with their dependencies on the notifiers.

Maven2 and JUnit4

2007-03-19 Thread Marcos Silva Pereira
Ok, I now that this is a so much frequent question, but I can't find a neat thread about this issue. I already have take a look at surefire plugin doc and JIRA without success. In surefire how tohttp://maven.apache.org/plugins/maven-surefire-plugin/howto.htmlyou can see this statement: Which