Re: where is my wagon's dependency??

2008-12-11 Thread Dan Tran
Hi Brett, I am working on some local fixes for wagon-ftp-1.0-beta-5-SNAPSHOT so that i can get wagon:list to work with wagon-ftp. and I run wagon:list on command line without a pom. That is why I added wagon-ftp-1.0-beta-5 SNAPSHOT to the plugin's dependency. and obviously maven ignores it.

maven plugin with an XML configuration

2008-12-11 Thread clement escoffier
Hello, I'm developing a maven plugin with a configuration containing an XML String. However, I would like to get it as a regular String. In my context it is not possible to use DOM objects as the content undetermined. Here is an example of such configuration: configuration meta

Re: [2.0.10 RC] please test

2008-12-11 Thread Martin Höller
On Thursday 11 December 2008 Brian E. Fox wrote: Please try it out and see if we have any remaining regressions over 2.0.9. No problems with 2.0.10-RC5 here. However, the versioning seems strange: some months ago i tested 2.0.10-RC9, now I'm testing 2.0.10-RC5 which is newer. I know that the

Fwd: Checksums of org.apache.portals.bridges:portals-bridges-common:1.0.4

2008-12-11 Thread Nick Stolwijk
Send this a while back, but I'm still running against the same problem. Can someone verify this? Is it possible to have checksums repaired when they are wrong? With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl -- Forwarded

Re: Fwd: Checksums of org.apache.portals.bridges:portals-bridges-common:1.0.4

2008-12-11 Thread Martin Höller
On Thursday 11 December 2008 Nick Stolwijk wrote: Send this a while back, but I'm still running against the same problem. Can someone verify this? I can verify that SHA1 checksum for portals-bridges-common-1.0.4.jar on central seems to be broken. MD5 sum seems to be correct. Is it possible

Re: Checksums of org.apache.portals.bridges:portals-bridges-common:1.0.4

2008-12-11 Thread Brett Porter
On 11/12/2008, at 10:31 PM, Nick Stolwijk wrote: Send this a while back, but I'm still running against the same problem. Can someone verify this? Is it possible to have checksums repaired when they are wrong? Yes, you need to make sure they are fixed in the apache repository first:

Re: Fwd: Checksums of org.apache.portals.bridges:portals-bridges-common:1.0.4

2008-12-11 Thread Nick Stolwijk
I have send a message to the dev list to ask if they can repair this. With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Thu, Dec 11, 2008 at 12:57 PM, Martin Höller [EMAIL PROTECTED] wrote: On Thursday 11 December 2008 Nick Stolwijk

Re: maven plugin with an XML configuration

2008-12-11 Thread Brett Porter
You could use DOM and convert it to a string in the plugin, but that means that you have to use a DOM object :) Other than that, I think you need to wrap it in a CDATA. Plexus has no internal converter for turning a DOM into a string at the moment. - Brett On 11/12/2008, at 9:17 PM,

Re: where is my wagon's dependency??

2008-12-11 Thread Brett Porter
Unfortunately, this will continue to be the case - you're best to work with a test POM for now. - Brett On 11/12/2008, at 8:05 PM, Dan Tran wrote: Hi Brett, I am working on some local fixes for wagon-ftp-1.0-beta-5-SNAPSHOT so that i can get wagon:list to work with wagon-ftp. and I run

Print on the same line.

2008-12-11 Thread Stelios Philippou
I running a long application on an X session that i do not view it as it runs headless. I just see the command line that i am using in order to help me debug. Since there are a lot of steps in the program that i am performing i want it to show some sort of progress bar. I have managed to make

RE: Using a SNAPSHOT version for a parent

2008-12-11 Thread Todd Thiessen
When you say yes it's right does that mean that SNAPSHOT parents should automatically get downloaded or does that mean that SNAPSHOT parents should NOT automatically get downloaded. My snapshot Nexus repository is set to SNAPSHOT policy, which I believe is correct. --- Todd Thiessen

dependency.getDependencies()

2008-12-11 Thread EJ Ciramella
Is there a way to do what the pseudo code in the subject line is talking about in a maven plugin? We wrote a home grown, depth first dependency traversing package (because we couldn't find this documented anywhere), but there are short comings to it. I'd prefer that we leverage the built in

RE: dependency.getDependencies()

2008-12-11 Thread EJ Ciramella
Nvm - I found a much better approach to doing any of this - -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2008 9:33 AM To: users@maven.apache.org Subject: dependency.getDependencies() Is there a way to do what the pseudo code in the

RE: dependency.getDependencies()

2008-12-11 Thread EJ Ciramella
Well, I'm getting ahead of myself a bit - is there a way to get ALL dependencies (including transitive ones)? It can be as high as from the project level, not from an individual dependency. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11,

Re: dependency.getDependencies()

2008-12-11 Thread Luke Patterson
On Thu, Dec 11, 2008 at 9:25 AM, EJ Ciramella [EMAIL PROTECTED] wrote: is there a way to get ALL dependencies (including transitive ones)? It sounds like this thread might help: http://www.nabble.com/How-to-get-all-dependecy-in-a-mojo---td19533728.html#a19533728 depth first dependency

Images in APT

2008-12-11 Thread Leo van den Berg
The subject is over a year old, but as far as I know there is still no release available with a solution for the Image inclusión in the automatic PDF-document generation. Because I really needed a solution for this problem I created a quick-and-dirty solution for the short term. The problem with

Re: [2.0.10 RC] please test

2008-12-11 Thread Holger Hoffstaette
On Wed, 10 Dec 2008 21:14:29 -0500, Brian E. Fox wrote: This RC fixes the SCP wagon problem identified in RC2 (MNG-3717). We have reverted the 2.0.x branch back to use wagon beta-2 where it was historically for stability. Users that require fixes for wagon beta-3+ should use 2.1.0-M1 instead.

RE: Does requireProperty consider system environment variables?

2008-12-11 Thread Brian E. Fox
This is only looking at properties in the POM/Model. One way to make it work would be to define in your pom hierarchy: javaHome${env.java_home}/javaHome And then check that javaHome is set. Otherwise, there would need to be a new custom rule that would look specifically at env-vars, which

RE: Does requireProperty consider system environment variables?

2008-12-11 Thread Brian E. Fox
Do'h. Guess I should read the whole thread before I reply ;-) -Original Message- From: Jaikiran [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2008 1:48 AM To: users@maven.apache.org Subject: Re: Does requireProperty consider system environment variables? Great, the

Re: Print on the same line.

2008-12-11 Thread Matthias Grunwalde
Would System.out.flush() help? Alternatively, System.err.println - the error stream isn't buffered; the output stream is buffered, hence needing to write a newline. On Thu, Dec 11, 2008 at 1:12 PM, Stelios Philippou [EMAIL PROTECTED]wrote: I running a long application on an X session that i do

RAD 7 + EJB Stubs generation + Maven 2

2008-12-11 Thread javed mandary
Hi All, my problem is that I would like to have the maven to generate my EJB stubs instead of using RAD 7. Here is how my system looks like: 1. maven 2.0.9 2. RAD 7.0.0.7 3. JDK 1.5 I use the WAS 6.1 runtime which is found under C:\Program Files\IBM\SDP70\runtimes\base_v61 So far I

Re: where is my wagon's dependency??

2008-12-11 Thread Dan Tran
Hi Brett, I also have another case where my recent fix for wagon-file for beta-5-SNAPSHOT does not get picked up by extensions. The test is at http://svn.codehaus.org/mojo/trunk/mojo/wagon-maven-plugin/src/it/wagon-248 I tried with 2.0.9 latest 2.0.10 RC, and 2.1.0-M1 is it the extentions bug

Changes plugin accessing an Integrated Windows Authenticated JIRA instance

2008-12-11 Thread Hayes, Peter
We have JIRA running in a container that uses IWA for authenticating the web client. I'd like to take advantage of the maven-changes-plugin to generate a change report from JIRA but it complains with the following error : Dec 6, 2008 12:29:02 PM

Re: RAD 7 + EJB Stubs generation + Maven 2

2008-12-11 Thread Wayne Fay
Embedded error: Unable to parse setupCmdLine: null\bin\setupCmdLine.bat (The system cannot find the path specified.) I don't have RAD so my ability to help with this specific issue is pretty limited. But where is this setupCmdLine.bat coming from -- is that in RAD somewhere? I'd assume the EJB

RE: dependency.getDependencies()

2008-12-11 Thread EJ Ciramella
Thank you - let me digest -Original Message- From: Luke Patterson [mailto:lukewpatter...@gmail.com] Sent: Thursday, December 11, 2008 10:46 AM To: Maven Users List Subject: Re: dependency.getDependencies() On Thu, Dec 11, 2008 at 9:25 AM, EJ Ciramella ecirame...@upromise.com wrote:

Re: Print on the same line.

2008-12-11 Thread Stelios Philippou
i have tried flush it had no effect. If i remember correctly .err didnt display anything when used. but ill check again tommorow. Franklin P. Jones - All women should know how to take care of children. Most of them will have a husband some day. On Thu, Dec 11, 2008 at 6:17 PM, Matthias

RE: dependency.getDependencies()

2008-12-11 Thread EJ Ciramella
I'm still missing some dependencies that have a scope of provided - does that conflict with @requiresDependencyResolution setting? -Original Message- From: EJ Ciramella [mailto:ecirame...@upromise.com] Sent: Thursday, December 11, 2008 1:33 PM To: Maven Users List Subject: RE:

Re: dependency.getDependencies()

2008-12-11 Thread John Stoneham
On Thu, Dec 11, 2008 at 9:25 AM, EJ Ciramella ecirame...@upromise.com wrote: is there a way to get ALL dependencies (including transitive ones)? Marking your mojo with @requiresDependencyResolution test ought to resolve all this out for you and populate the artifacts variables on the

Starting a jetty server for client side tests

2008-12-11 Thread richard schmidt
I have a WAR project that exposes some web services I also have a JAR project that acts as a client application for the web services. The client application makes http requests to the web services. To run unit tests I need to set up a jetty server running the web services. I have tried the

Re: Using a SNAPSHOT version for a parent

2008-12-11 Thread John Stoneham
On Thu, Dec 11, 2008 at 8:44 AM, Todd Thiessen thies...@nortel.com wrote: When you say yes it's right does that mean that SNAPSHOT parents should automatically get downloaded or does that mean that SNAPSHOT parents should NOT automatically get downloaded. My snapshot Nexus repository is set

RE: Using a SNAPSHOT version for a parent

2008-12-11 Thread Todd Thiessen
-Original Message- From: sirly...@gmail.com [mailto:sirly...@gmail.com] On Behalf Of John Stoneham Sent: Thursday, December 11, 2008 1:17 PM To: Maven Users List Subject: Re: Using a SNAPSHOT version for a parent ie: Is this supported? parent

RE: dependency.getDependencies()

2008-12-11 Thread EJ Ciramella
That still doesn't return a dependency of a dependency where the last one is of scope provided. A depends on B depends on C A to B is provided B to C is provided B shows up C does not. -Original Message- From: sirly...@gmail.com [mailto:sirly...@gmail.com] On Behalf Of John Stoneham

I keep getting this messaeg This artifact has been relocated to javax.servlet:servlet-api:2.4-20040521

2008-12-11 Thread miro
Please help me what is worng with this and what should i do to get rid of this warning -- View this message in context: http://www.nabble.com/I-keep-getting-this-messaeg--This-artifact-has-been-relocated-to-javax.servlet%3Aservlet-api%3A2.4-20040521-tp20964763p20964763.html Sent from the Maven

RE: Using a SNAPSHOT version for a parent

2008-12-11 Thread Todd Thiessen
Ok, I found the problem. It was in my settings.xml file. When you guys said your repository probably isn't setup correctly I thought that meant the repository itself (ie: Nexus). I had read this before in the definitive guide but it didn't dawn on me right away. For anyone else who may want to

RE: Using a SNAPSHOT version for a parent

2008-12-11 Thread Todd Thiessen
Bah. Sent by mistake ;-) I had to add this to my settings file. profile iddevelopment/id activation activeByDefaulttrue/activeByDefault /activation repositories repository idcentral/id urlhttp://central/url

RE: Starting a jetty server for client side tests

2008-12-11 Thread Edelson, Justin
You might want to try using cargo instead. It should allow you to deploy the WAR project into a container and start up that container. Something like: configuration waittrue/wait container containerIdjetty6x/containerId /container configuration deployables deployable

Re: Is Maven / JUnit 4.x broken (annotations)

2008-12-11 Thread Anders Hammar
Eclipse is a major IDE. Please google! If you want to use the default surefire plugin configuration you MUST name your test class according to the default configuration for the surefire plugin. Please see link provided earlier. If not, you need to configure the surefire plugin yourself (see link

RE: Is Maven / JUnit 4.x broken (annotations)

2008-12-11 Thread Anders Hammar
Ok, that could be the problem as I think Lisa said she extends TestCase. Lisa, please try removing that! /A justinedelson wrote: I seem to recall a problem where if you tried to combine JUnit 3.x and 4.x styles (i.e. use annotation and extend TestCase), something like the below would

Re: dependency.getDependencies()

2008-12-11 Thread Wayne Fay
In that example, I don't believe C will ever show up in a deps tree or report. So I'm not surprised the API does not reveal them. Transitive deps of provided deps are basically your problem. If B to C is compile, do you see any difference in the deps reported? I don't believe so. What is the

Re: I keep getting this messaeg This artifact has been relocated to javax.servlet:servlet-api:2.4-20040521

2008-12-11 Thread Wayne Fay
Its not a big problem but you should probably change the dependency declaration in your pom to reflect the new location/version. Wayne On Thu, Dec 11, 2008 at 1:43 PM, miro miroconn...@yahoo.com wrote: Please help me what is worng with this and what should i do to get rid of this warning --

RE: dependency.getDependencies()

2008-12-11 Thread EJ Ciramella
Hmmm, where to start Firstly, we've created our own packaging type (atg-module). This packaging type generates a jar and a zip. The zip is what has the scope of provided. This isn't a compile time dependency and we did NOT want the zip showing up in every jar generated where there is a

maven plugin problem (can not solve after many tries)

2008-12-11 Thread CheapLisa
I am getting this error message: [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-i zpack-plugin' does not exist or no valid version could be found at

RE: Is Maven / JUnit 4.x broken (annotations)

2008-12-11 Thread CheapLisa
I do not believe this has anything to do with it and I don't understand what you are saying. L mgainty wrote: place the groupId/artifactId/version in the dependencies in dependencyManagement Section of the parent pom project ... dependencyManagement dependencies

Re: How to have a single log4j.xml file in a multi-module project?

2008-12-11 Thread CheapLisa
so I could make a module for it say logging/pom.xml and then put a dependency to it in a parent pom that all sub-modules have as a parent-pom and this would work? thanks L Stephen Connolly-2 wrote: put it in a jar file (make a module just for it) and add that module as a dependency to

Re: where is my wagon's dependency??

2008-12-11 Thread Brett Porter
It looks like it, but I'd expect it to work in 2.0.10/2.1.0-M1. It'll need more investigation. - Brett On 12/12/2008, at 3:46 AM, Dan Tran wrote: Hi Brett, I also have another case where my recent fix for wagon-file for beta-5-SNAPSHOT does not get picked up by extensions. The test is at

Looking for good plugin examples

2008-12-11 Thread Edelson, Justin
Can anyone point me to good examples of plugins that use these two features: 1) DOM-based configuration 2) Getting a component from Plexus through lookup (ii.e. not via injection) Thanks, Justin

Re: Is Maven / JUnit 4.x broken (annotations)

2008-12-11 Thread Josh Suereth
Lisa, The answer is that although Junit4 might support finding the @Test annotations, the maven surefire plugin (being backwards compatable, AND a completely different tool) looks for Test* *Test and *TestSuite. You need to configure the maven-surefire-plugin (This is the part of maven that

Re: Is Maven / JUnit 4.x broken (annotations)

2008-12-11 Thread Josh Suereth
Also to follow that up, Although you didn't specify the maven-surefire-plugin, your build file has inherited it from the ethereal maven super pom. Type mvn help:effective-pom to see what your pom *really* looks like, so you can get an idea of how/what to configure for surefire. On Thu, Dec 11,

Re: maven plugin problem (can not solve after many tries)

2008-12-11 Thread Josh Suereth
A few questions: 1) Is your project supposed to be a pom project 2) What's in your parent pom? 3) What are you calling on the maven command line? It's looking for 'org.apache.maven.plugins:maven-izpack-plugin, which is the old maven 1 version. So you either have that specified somewhere, or

Re: dependency.getDependencies()

2008-12-11 Thread Stuart McCulloch
2008/12/12 EJ Ciramella ecirame...@upromise.com Hmmm, where to start Firstly, we've created our own packaging type (atg-module). This packaging type generates a jar and a zip. The zip is what has the scope of provided. This isn't a compile time dependency and we did NOT want the zip

Re: Starting a jetty server for client side tests

2008-12-11 Thread richard schmidt
Gave it a try - it almost works! Based on the example projects, I tried the following 1) Added a normal dependency ( icecream.war.version} is defined elsewhere dependency groupIdcom.metservice/groupId artifactIdICECream/artifactId version${icecream.war.version}/version

Re: Starting a jetty server for client side tests

2008-12-11 Thread Wayne Fay
plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId No version declared for a plugin gives unpredictable results. It is possible that the version of cargo that Maven has chosen to use for this particular build does not support the deployables syntax that you are

How to configure..

2008-12-11 Thread radha c
Hi, We are planning to use maven in our project. our project has the production server. And we need to configure the maven repository for each developer instance like mirror or something else. So that the developer can test locally their part without touching the main pom.xml. Please guide me

Re: dependency.getDependencies()

2008-12-11 Thread John Stoneham
Firstly, we've created our own packaging type (atg-module). This packaging type generates a jar and a zip. The zip is what has the scope of provided. This isn't a compile time dependency and we did NOT want the zip showing up in every jar generated where there is a dependency on said zip.

Unexpected version packaged in war

2008-12-11 Thread Spam Trap
So, I have a multi-module maven project consisting of a war project and a jar project. The jar is a dependency of the war. I'm seeing some unexpected behavior around which dependencies get bundled up in WEB-INF/lib. Namely, it seems like dependencies from the war project, either direct

The apache mailing thread does not support searching functionality?

2008-12-11 Thread Linghua Wang
All, I joined maven mailing thread yesterday. But seem that I can not review the former discussions what I am interested in effectively. All mailing threads of apache do not support searching functionality? If yes, that is so PAINFUL... Regards. Linghua.

Re: The apache mailing thread does not support searching functionality?

2008-12-11 Thread Brett Porter
Any of the 3 sites listed under Archives here will let you search: http://maven.apache.org/mail-lists.html - Brett On 12/12/2008, at 5:04 PM, Linghua Wang wrote: All, I joined maven mailing thread yesterday. But seem that I can not review the former discussions what I am interested in

Re: How to configure..

2008-12-11 Thread Wayne Fay
We are planning to use maven in our project. our project has the production server. And we need to configure the maven repository for each developer instance like mirror or something else. So that the developer can test locally their part without touching the main pom.xml. Please guide me

How to add test classes into jar?

2008-12-11 Thread Linghua Wang
Hi, I want to try maven-surefire-plugin. There are two projects A and B, A depends on B, and some test classes in A depend on that of in B. Both A and B's POM has the following snippet. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - plugin

Re: The apache mailing thread does not support searching functionality?

2008-12-11 Thread Linghua Wang
Hi, Brett, Thanks for your feedback. Minor Correct - Any of the 3 sites listed under *Other Archives* here will let you search: http://maven.apache.org/mail-lists.html :-) Regards. Linghua 2008/12/12 Brett Porter br...@apache.org Any of the 3 sites listed under Archives here will let you