Archiva deployment on Jetty?

2006-12-06 Thread Max Bowsher
Does anyone have a working configuration of Archiva deployed on Jetty, for which they'd be willing to share the Jetty config files? (I'm referring to deployment on a standalone Jetty, here, rather than testing via maven-jetty-plugin). I've tried to get this working myself, but only succeeded by

RE: Antwort: RE: 504 in maven, works everywhere else

2006-12-06 Thread Mohni, Daniel
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 06, 2006 11:43 AM To: archiva-users@maven.apache.org Subject: Antwort: RE: 504 in maven, works everywhere else Hello Aaron you need to provide some information about what is in

Re: Archiva deployment on Jetty?

2006-12-06 Thread Max Bowsher
Emmanuel Venisse wrote: you need to put derby jar in jetty lib Done that. It's starting up fine. However, on the first HTTP request, it all falls over (exception below). Therefore, I'm hoping for a known-good config to identify what I'm doing wrong. Max. Caught Exception while registering

Re: Building archiva failed

2006-12-06 Thread Arnaud HERITIER
Which version of maven 2 are you using ? I built it successfully with maven 2.0.4 and some plugins updated (mvn -U) Arnaud Minto van der Sluis wrote: Hi folks, I just tried to build archiva like mentioned in the documentation. Unfortunately I get 'rewarded' with an error. When I do mvn

Re: Building archiva failed

2006-12-06 Thread Minto van der Sluis
I have maven 2.0.4 as well. I did the following and got the same results: svn up mvn -U install Even the following patch did not have the desired result. But at least it reduces 1 warning. Index: archiva-plexus-runtime/pom.xml

RE: module builds but doesn't install

2006-12-06 Thread Jörg Schaible
Christian Goetze wrote on Tuesday, December 05, 2006 10:49 PM: I have a situation where a module with packaging jar builds, i.e. it produces a .jar file, but it doesn't install if maven is run from the parent project directory. No indication by mvn why. It will install if I run maven from

Re: Python xmlrpc scripts

2006-12-06 Thread Emmanuel Venisse
Normally, they work. If I remember correctly, someone use them in production. Note: they aren't in trunk now but in sandbox : http://svn.apache.org/repos/asf/maven/continuum/sandbox/continuum-python/ Emmanuel Jesse McConnell a écrit : I think the xmlrpc interface is a bit of a work in

Re: [M2] How to run a testng singletest with surefire ?

2006-12-06 Thread Alexandre Touret
Hello firstly, thanks for your response. Unfortulately, I already tried this option but when I dont set any testsuite, surefire doesnt find any testcase. Alexandre Touret Petar Tahchiev wrote: On 05/12/06, Alexandre Touret [EMAIL PROTECTED] wrote: hello, I have described my problem

Re: Anyone seen a M2 XSTLC plugin?

2006-12-06 Thread Mark Hobson
On 05/12/06, Wayne Fay [EMAIL PROTECTED] wrote: Just curious if anyone has seen or created a Maven2 XSLTC plugin? I googled but didn't find anything. I'm sure you're already aware of the xml-maven-plugin [1]. Although it hasn't got support for XSLTC as such, that'd probably be a sensible

Maven properties

2006-12-06 Thread Khabot, Zakaria
Hi all, How to change the setting of a plugin in maven. For example: I want to set the source path of classes and the name of the generated file while running 'jar'. I want an example of the syntaxe. Thanks in advance. This e-mail and any attachment is for authorised use by the intended

Re: Properties in profiles

2006-12-06 Thread Tom Huybrechts
Try creating two profiles, and set one to activeByDefaulttrue/activeByDefault. Don't set any properties in the main section of the pom. On 12/5/06, Laura Hinojosa [EMAIL PROTECTED] wrote: Hi all! I'm trying to create a pom for my project that has two different deployment environments, which

Re: Python xmlrpc scripts

2006-12-06 Thread Andrew Williams
Indeed, they should work - but they are not complete, I think things like the firing of builds or addition or projects is likely broken. I fixed them up enough to get continutrac off the ground (http://dev.rectang.com/projects/continutrac) but have not had time to finish it off. A Emmanuel

Re: [M2] checkstyle plugin - correct groupid?

2006-12-06 Thread CodingPlayer
to look at the url was a very good tip. thx 4 your help. R.C. Wendy Smoak-3 wrote: On 12/5/06, CodingPlayer [EMAIL PROTECTED] wrote: i just found out about the existence of two checkstyle plugins: http://mirrors.ibiblio.org/pub/mirrors/maven2/maven/maven-checkstyle-plugin/

Re: [m2] eclipse:eclipse downloadSources

2006-12-06 Thread Mark Hobson
Can anyone shed any light on this? Mark On 28/11/06, Mark Hobson [EMAIL PROTECTED] wrote: Hi there, Is there any distinction between the downloadSources and eclipseDownloadSources config params? The doc doesn't seem to make it too clear:

Re: [m2] eclipse:eclipse downloadSources

2006-12-06 Thread nicolas de loof
AFAIK eclipseDownloadSources is deprecated as downloadSources property is shared with other IDE plugins to enable generic dependencies sources downloading. Nico. 2006/12/6, Mark Hobson [EMAIL PROTECTED]: Can anyone shed any light on this? Mark On 28/11/06, Mark Hobson [EMAIL PROTECTED]

Re: [m2] eclipse:eclipse downloadSources

2006-12-06 Thread Martin Gilday
It says it stores the cache file in target. This seems a little odd as you are going to lose it everytime you do a clean. - Original message - From: Mark Hobson [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Date: Wed, 6 Dec 2006 10:46:12 + Subject: Re: [m2]

Re: [m2] error using maven with windows vista 64

2006-12-06 Thread Andrew Birchall
Yes I did. It downloaded some artifacts but it barfed about half-way through. The funny thing is its actaully working today. Computers eh? Mind of their own sometimes. Cheers Andy On 05/12/06, Dan Tran [EMAIL PROTECTED] wrote: this is your error message: [INFO] Cannot execute mojo: resources.

Re: [M2] How to run a testng singletest with surefire ?

2006-12-06 Thread Alexandre Touret
OK I moved the testng dependency from my root project (I use a multiproject ) to each module. Now it works fine. I suppose its a bug I m going to add an issue in JIRA Regards, Alexandre Alexandre Touret wrote: Hello firstly, thanks for your response. Unfortulately, I already tried

Re: [m2] eclipse:eclipse downloadSources

2006-12-06 Thread Mark Hobson
On 06/12/06, Martin Gilday [EMAIL PROTECTED] wrote: It says it stores the cache file in target. This seems a little odd as you are going to lose it everytime you do a clean. I don't even get a cache file appearing - it rechecks the source and javadoc jars every time. Mark

Re: Archiva deployment on Jetty?

2006-12-06 Thread Emmanuel Venisse
what do you have in your jetty.xml? Max Bowsher a écrit : Emmanuel Venisse wrote: you need to put derby jar in jetty lib Done that. It's starting up fine. However, on the first HTTP request, it all falls over (exception below). Therefore, I'm hoping for a known-good config to identify what

Re: Maven properties

2006-12-06 Thread Arnaud HERITIER
For which maven version ? For maven 1 in the documentation there's a list of core properties and you'll find the properties for each plugin in its documentation. For maven 2 You'll also find the description of the settings in the doc of each plugin Arnaud Khabot, Zakaria wrote: Hi all,

RE: Maven properties

2006-12-06 Thread Khabot, Zakaria
Hi, Thanks for your help. I'm using maven1. Can you send me an example using 'jar' and where we specify source path of classes and the name of the generated file. Thankx -Message d'origine- De : Arnaud HERITIER [mailto:[EMAIL PROTECTED] Envoyé : mercredi 6 décembre 2006 12:51 À :

RE: Maven properties

2006-12-06 Thread Arnaud HERITIER
To change the location of your classes, resources, ... you have to edit the POM : project/build/sourceDirectory http://maven.apache.org/maven-1.x/reference/project-descriptor.html#class_Build To change the name of the generated jar, you have to define another value for maven.jar.final.name

Re: Ant-Contrib foreach in Maven 2

2006-12-06 Thread Morgovsky, Alexander \(US - Glen Mills\)
Thank you so much for your help. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or

Re: Ant-Contrib foreach in Maven 2

2006-12-06 Thread Morgovsky, Alexander \(US - Glen Mills\)
Thank you so much for your help. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or

Error reading settings file when triggered from a windows service

2006-12-06 Thread Trevor Torrez
Hi all; I have cruise control set up as a windows service (running as LOCAL_SYSTEM) to do maven2 builds (using the mvnscript=/path/to/mvn.bat attribute), and the build fails with Error reading settings.xml: Error reading settings file. Is this because it cannot find the user-specific

running plugins after compilation fails

2006-12-06 Thread Paul Bakker
Hi, I'm new to this mailinglist, and also relatively new to Maven. Currently I'm working on a plugin for Maven that generates reports about a build. The reports should also be generated when compilation fails. Now I'm having the problem that Maven stops building on an error, and does not run

Re: Anyone seen a M2 XSTLC plugin?

2006-12-06 Thread Wayne Fay
Good point, Mark. Depending on the results of some things out of my control, I'm going to probably need to use XSLTC during the build process, so I'll see about adding the functionality to that existing plugin. Assuming I get it working (currently works great from command line but not from Ant),

Re: Anyone seen a M2 XSTLC plugin?

2006-12-06 Thread Mark Hobson
On 06/12/06, Wayne Fay [EMAIL PROTECTED] wrote: Good point, Mark. Depending on the results of some things out of my control, I'm going to probably need to use XSLTC during the build process, so I'll see about adding the functionality to that existing plugin. Assuming I get it working (currently

RE: Maven properties

2006-12-06 Thread Khabot, Zakaria
Hi, Pom is ?xml version=1.0 encoding=UTF-8? project pomVersion1/pomVersion nameTestMaven/name organization nametgr/name urlhttp://www.tgr.com/url /organization inceptionYear2006/inceptionYear packagecom.logica/package

RE: Maven properties

2006-12-06 Thread Jeff Jensen
The sourceDirectory and unitTestSourceDirectory are relative to the ${basedir}, which by default is where the project.xml file is. My guess is your pom is in TestMaven/main; if true, then correct values for those are (using your existing dir info): src/java src/test/java Is this info not

[m2] maven-exec-plugin:java command line launch

2006-12-06 Thread Peter . Pilgrim
Hi I am looking at Maven Exec Plugin. I found that the command line option is problematic with arguments: convertermvn exec:java -Dexec.mainClass=com.ubs.firc.ptsp.research.Converter -Dexec.arguments=C:\foo\bar [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix:

packaging without libs ?

2006-12-06 Thread JavierL
I'm trying to make a webapp with maven. Everything is ok except when I run mvn package I got a webapp but without all the needed jars declared as dependencies !!! It's a bug or I'm losing something about how to generate a webapp ? Thanks in advance J -- View this message in context:

Re: MAVEN_INSTALL_DIR/conf/settings.xml

2006-12-06 Thread Wendy Smoak
On 12/5/06, Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) [EMAIL PROTECTED] Please note, the documentation for antlib specifically calls out the authors' desire to be able to share the local repository between Maven and ant. They just overlooked the fact that, just as Maven has

Re: module builds but doesn't install

2006-12-06 Thread Christian Goetze
Jörg Schaible wrote: Christian Goetze wrote on Tuesday, December 05, 2006 10:49 PM: I have a situation where a module with packaging jar builds, i.e. it produces a .jar file, but it doesn't install if maven is run from the parent project directory. No indication by mvn why. It will install

Re: packaging without libs ?

2006-12-06 Thread Wendy Smoak
On 12/6/06, JavierL [EMAIL PROTECTED] wrote: I'm trying to make a webapp with maven. Everything is ok except when I run mvn package I got a webapp but without all the needed jars declared as dependencies !!! It's a bug or I'm losing something about how to generate a webapp ? It's unlikely to

Re: I need help with multi-module project site generation.

2006-12-06 Thread Christian Goetze
Wendy Smoak wrote: On 12/5/06, Christian Goetze [EMAIL PROTECTED] wrote: If I generate the default site according to the mergere book, I get essentially a useless cover page with a navigation menu that lists the modules, but without links I've seen that happen too. Most of my projects

Re: [m2] maven-exec-plugin:java command line launch

2006-12-06 Thread Wayne Fay
Your problem is that exec.arguments is a List of String objects, and you can only pass a single String object in from the command line. Unless someone knows how to pass an array of Strings from the CLI (I've never seen that this was possible), you can't do what you're trying to do from the CLI.

dependency's properties

2006-12-06 Thread Trevor Torrez
Is there a way to access a dependency's project properties?

[m2] HOWTO release with a snapshot parent

2006-12-06 Thread Adrian Herscu
Hi all, I am trying to release a module using the maven-release-plugin. The module has a parent which was not released yet (its siblings are not released also). When running release:prepare on that module Maven complains that its parent is a SNAPSHOT, so it cannot complete the release preparation

[m2] HOWTO release with a snapshot parent

2006-12-06 Thread Adrian Herscu
Hi all, I am trying to release a module using the maven-release-plugin. The module has a parent which was not released yet (its siblings are not released also). When running release:prepare on that module Maven complains that its parent is a SNAPSHOT, so it cannot complete the release preparation

Re: packaging without libs ?

2006-12-06 Thread noon
Check the scope atribute of your dependency-element (in Maven2). e.g. dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version1.2.6/version scopecompile/scope /dependency The scope variations are: compile, runtime, test and provided where compile and

Re: I need help with multi-module project site generation.

2006-12-06 Thread Christian Goetze
Wendy Smoak wrote: which seems to stem from the java code being javadoc'ed itself. mvn site fails with an internal error, stumbling over a dependency Are you using dependencyManagement ? This sounds familiar, but I thought it was fixed. First try 'mvn site -U' to make sure you've got the

Re: [m2] HOWTO release with a snapshot parent

2006-12-06 Thread Dan Tran
that is not allowed since there is no guarantee you can rebuild the release with a dependent snapshot ( ie parent ) -D On 12/6/06, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all, I am trying to release a module using the maven-release-plugin. The module has a parent which was not released

Maven2 modules and loading configs

2006-12-06 Thread Daniel LaPrade
I have the following setup: ProjectName: | --- subone | subtwo I am getting the following error: .constructor threw exception; nested exception is java.lang.NoSuchMethodError: org.jdom.Element.getValue()Ljava/lang/String; The error is thrown during test case run while

Tagging a maven project in sourceforge with release:prepare fails with this message

2006-12-06 Thread David
Hi, As you can see, there is a commit in the second line that is executed perfectly (I have checked it at my svn repository in sourceforge), but the 4th line which should create a new directory under tags for the release being cooked, fails with a 403 :( Any clue? [INFO] Checking in modified

Re: [m2] eclipse:eclipse downloadSources

2006-12-06 Thread Fabrizio Giustina
eclipseDownloadSources is deprecated, tha name has been changed to downloadSources with the scope to make it consistent with other IDE-related plugins. The download status cache is only implemented in recent snapshots, you will not find it on 2.2 fabrizio On 11/28/06, Mark Hobson [EMAIL

Re: Eclipse with Maven

2006-12-06 Thread Fabrizio Giustina
check the -Dwtpversion parameter on the maven eclipse plugin reference. You need to explicitely enable WTP support. fabrizio On 12/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok, I've discovered a way to create a webapp with Maven. The problem is that if I run Eclipse and choose to

maven2 w/ modules oddity

2006-12-06 Thread Daniel LaPrade
I have the following setup: ProjectName: | --- subone | subtwo I am getting the following error: .constructor threw exception; nested exception is java.lang.NoSuchMethodError : org.jdom.Element.getValue()Ljava/lang/String; The error is thrown during test case run

Re: I need help with multi-module project site generation.

2006-12-06 Thread Wayne Fay
Probably a silly question, but you added a dependency on javax.mail, right? And unless I'm mistaken, this is a Jar you have to download from Sun and add to your local repo manually. Wayne On 12/6/06, Christian Goetze [EMAIL PROTECTED] wrote: Wendy Smoak wrote: which seems to stem from the

Re: I need help with multi-module project site generation.

2006-12-06 Thread Christian Goetze
Wayne Fay wrote: Probably a silly question, but you added a dependency on javax.mail, right? And unless I'm mistaken, this is a Jar you have to download from Sun and add to your local repo manually. I did all that, yes... Thanks :) After all, my project builds fine, it's just the aggregating

Error when trying to add admin user (java.lang.IllegalStateException: The security policy has not yet been set)

2006-12-06 Thread Eric R. Medley
I am receiving the following error(s) when I attempt to create the admin user at archiva startup. The error occurs in both Tomcat and Jetty (plugin). Has anyone seen this issue? Dec 6, 2006 6:02:51 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native

RE: Error when trying to add admin user (java.lang.IllegalStateException: The security policy has not yet been set)

2006-12-06 Thread Eric R. Medley
Forgot to mention the revisions I used ... I tried both revision 483207 and 479651. Eric R. Medley The Palantir Corporation -Original Message- From: Eric R. Medley [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 06, 2006 6:16 PM To: archiva-users@maven.apache.org Subject: Error

Firewall/proxy issues

2006-12-06 Thread Mykel Alvis
When I first started using maven, I always wondered why people had so much trouble using it behind a firewall. Now that I'm no longer in a place where internet access is a simple proxy, but rather where we have National Socialists for security staff, I most definitely verstehe the pain. So on to

Aggregate dependencies report

2006-12-06 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi, is it possible to generate an aggregate of dependencies report for a project which has multiple modules? In a sense, if projects b, c, and d are modules of a, and b depends on p and q, and c depends on r and s, and d depends on t and u, I would like the aggregate report of a to list p, q, r,

Re: Firewall/proxy issues

2006-12-06 Thread Barrie Treloar
With the proxy settings in settings.xml, my Windows laptop will connect and download artifacts from ibiblio all day long. The Linux build boxes, with the exact same file for settings, will not. It is odd that Linux fails where Windows works. Unfortunately Maven (even in -X mode) doesn't inform

dependency management within plugin dependencies

2006-12-06 Thread Gregory Kick
I have a question about the behavior of the dependencyManagement portion of a POM as it relates to plugin dependencies. Say I have: ... dependencyManagement dependencies dependency groupIdGROUP/groupId artifactIdARTIFACT/artifactId /dependency /dependencies

maven2 release and profiles

2006-12-06 Thread Attila Mezei-Horvati
Hi all, I am trying to do a release and I bumped into the following: when I do mvn release:prepare if I try to specify profiles on the commandline (as -DprofileName which works when doing mvn install) they are ignored. I read the documentation and observed there is a release-profile I can use. I

Re: dependency management within plugin dependencies

2006-12-06 Thread Wayne Fay
You're looking for pluginManagement I believe... Wayne On 12/6/06, Gregory Kick [EMAIL PROTECTED] wrote: I have a question about the behavior of the dependencyManagement portion of a POM as it relates to plugin dependencies. Say I have: ... dependencyManagement dependencies dependency

how to have required files inside .settings folder

2006-12-06 Thread Viral
I need few files to be present inside .settings folder like org.eclipse.wst.common.component org.eclipse.jdt.core.prefs org.eclipse.jst.common.project.facet.core.prefs What settings need to be done inside pom.xml or any other changes required ? Thanks. -- View this message in context: