Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Dennis Lundberg
Lucas Bergman wrote: I ran into a strange dependency resolution problem at work, which a colleague and I whittled down to a fairly simple test case. Consider the following POM: project xmlns=http://maven.apache.org/POM/4.0.0;

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Jörg Schaible
Lucas Bergman wrote at Montag, 29. Juni 2009 18:11: Jörg Schaible wrote: Lucas Bergman wrote: Jörg Schaible wrote: Lucas Bergman wrote: Running this test with Maven 2.1.0 fails: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory [ ... ]

Re: SCM SVN Provider fails on Windows with cygwin/svn because of C:/ prefix

2009-06-30 Thread Olivier Lamy
Did you have a look here : http://maven.apache.org/scm/subversion.html useCygwinPathtrue in order to use cygwin path /cygdrive/c/useCygwinPath cygwinMountPaththe mount path to use default is /cygwin/cygwinMountPath Personnaly I use windows svn even if I use cygwin. -- Olivier 2009/6/30

RE: tools.jar

2009-06-30 Thread McElroy Sean
Thanks Roman. I have checked the maven version and the java home value is correct: C:\Program Files\Java\jdk1.6.0_06 -Original Message- From: Roman Kournjaev [mailto:kournj...@gmail.com] Sent: 29 June 2009 17:04 To: Maven Users List Subject: Re: tools.jar Hi I had this problem a few

Re: SCM SVN Provider fails on Windows with cygwin/svn because of C:/ prefix

2009-06-30 Thread Jörg Schaible
Hi, Ovidiu Feodorov wrote at Dienstag, 30. Juni 2009 04:55: [snip] It seems quite obvious that this could be handled by cygwin svn No. Cygwin provides a POSIX layer for the file operations to allow unix utilities to compile and work in the Cygwin environment. Although some basic commands in

Re: SCM SVN Provider fails on Windows with cygwin/svn because of C:/ prefix

2009-06-30 Thread Ovidiu Feodorov
Jörg Schaible wrote: Hi, Hi, thanks for answering. Ovidiu Feodorov wrote at Dienstag, 30. Juni 2009 04:55: [snip] It seems quite obvious that this could be handled by cygwin svn No. Cygwin provides a POSIX layer for the file operations to allow unix utilities to compile and work

Re: SCM SVN Provider fails on Windows with cygwin/svn because of C:/ prefix

2009-06-30 Thread Ovidiu Feodorov
Hi Olivier, yes, I actually tried that, it does not help, see my previous reply to the list (sent a couple of minutes ago) for an explanation why. The answer is in org.apache.maven.scm.provider.svn.svnexe.command.SvnCommandLineUtils.addTarget(). I'd change it to take into account the

Skip package phase for one subproject

2009-06-30 Thread Marouane Amraoui
Hi, I have a multiproject maven Parent1 : è Child1 è Child2 I launch mvn clean install on Parent1. I need to skip package phase in subproject Child2. It is possible ? Thx in advance.

Mojo for listing all the packaged and attached artifacts.

2009-06-30 Thread Kiss Tibor
I would like to find or write a maven plugin which once declared in the company's parent pom, all the builds descending from that, will print out on the console some information about the packaged and attached artifacts. Here are some sample patterns. For JAR: HERE_YOU_CAN_FIND:

Scope

2009-06-30 Thread Sipungora
Hi, I need provided transitive scope. Scope provided isn't transitive. Is there a solution for it? Thanks in advance. -- View this message in context: http://www.nabble.com/Scope-tp24270252p24270252.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Failed to validate an ostensibly valid pom

2009-06-30 Thread John Casey
If you run with -X, it may give you more information about why it's invalid. Just a thought. -john daniel.green wrote: dgr...@dgreen-desktop:~/redacted_renovation/workspace/dto$ mvn compileb [WARNING] POM for 'com.redacted:utility:pom:1.0:compile' is invalid. It will be ignored for

Problem with Maven 2.1 and NSIS plugin

2009-06-30 Thread Mikael.Bertlin
Hi, I've searched a lot and can't find any awnser so you are my last hope. The problem I have is that I want a NSIS plugin for Maven 2.1 I've tried: http://mojo.codehaus.org/nsis-maven-plugin/examples/sample-nsis-project.html whcih I had to bouild from source with maven. But didn't get is to

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Ceki Gulcu
Jörg Schaible wrote: You've been right, I should have read your question closer. See Dennis' answer. Actually there was an attempt to release an official empty commons-logging at Apache recently and it was tunred down exactly because we could foresee this problem you're facing now :-/ Note

[Workaround] RE: OutOfMemoryError when deploying large files

2009-06-30 Thread Rakesh Arora
We have resolved the problem by using dav:http protocol instead of http protocol. I have raised a jira against wagon-http-lightweight: http://jira.codehaus.org/browse/WAGON-272 -Rakesh -Original Message- From: Arora, Rakesh (CAR:9S00) Sent: Friday, June 26, 2009 4:19 PM To:

Using parent POMs effectively

2009-06-30 Thread J . T . Halliley
I've created a parent POM, in which to house a few common dependencies, but mostly to set up how a site is built: * CheckStyle rules, * JavaDoc stylesheet, * JXR stylesheet, * site stylesheet. But the latter site.css is not being picked up: It lives in

Custom dependency resolver for a Maven project

2009-06-30 Thread Jaikiran
Hello everyone, I am trying to find some inputs on how best to manipulate the dependency resolution within Maven. Given a project X and its set of dependencies, is there a way wherein i can sort of filter out the dependencies? Or is there some documentation or any pointer on how to implement and

Re: Scope

2009-06-30 Thread Jaikiran
From what i understand of the table here http://www.sonatype.com/books/maven-book/reference/pom-relationships-sect-transitive.html transitive dependencies for a provided scope dependencies are infact provided. Are you seeing a different behaviour? -Jaikiran Sipungora wrote: Hi, I need

Re: Skip package phase for one subproject

2009-06-30 Thread Jaikiran
As far as i know, you cannot skip the default lifecycle phases. Why exactly do you want to do this? -Jaikiran Marouane Amraoui-2 wrote: Hi, I have a multiproject maven Parent1 : è Child1 è Child2 I launch mvn clean install on Parent1. I need to skip package phase in subproject

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Jörg Schaible
Hi Ceki, Ceki Gulcu wrote at Dienstag, 30. Juni 2009 16:45: Jörg Schaible wrote: You've been right, I should have read your question closer. See Dennis' answer. Actually there was an attempt to release an official empty commons-logging at Apache recently and it was tunred down exactly

RE: Skip package phase for one subproject

2009-06-30 Thread Marouane Amraoui
We have 5 subproject. The last is a web application. At mvn clean install Generation of the war take 4 minutes. We don't need to generate this war so if I skip this Phase I will win 4 minute at build maven. -Message d'origine- De : Jaikiran [mailto:jai_forums2...@yahoo.co.in] Envoyé :

Re: antrun does not do anything

2009-06-30 Thread Qiner Yang
attached are the pom.xml and build.xml files. run ant, generates the abc2 folder, but run mvn antrun:run, generates nothing. - Original Message - From: Qiner Yang To: users@maven.apache.org Sent: Tuesday, June 30, 2009 11:36 AM Subject: help: antrun does not do anything

Re: Scope

2009-06-30 Thread Max Bowsher
Sipungora wrote: I need provided transitive scope. Scope provided isn't transitive. Is there a solution for it? Jaikiran wrote: From what i understand of the table here http://www.sonatype.com/books/maven-book/reference/pom-relationships-sect-transitive.html transitive dependencies for a

help: antrun does not do anything

2009-06-30 Thread Qiner Yang
Because some functions not available or not easily accomplishable in maven, so I turned to the antrun in maven. But I can never get the antrun working, please help me out. I read the Maven AntRun Plugnin page, http://maven.apache.org/plugins/maven-antrun-plugin/, and followed all the

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Lucas Bergman
Dennis Lundberg wrote: Lucas Bergman wrote: Running this test with Maven 2.1.0 fails: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory [ ... ] The POM for htmlunit 2.5 declares commons-logging 1.1.1 as a (compile-scope) dependency, so this seems wrong.

Re: bug? strange resolution of commons-logging dependency

2009-06-30 Thread Rusty Wright
This may be a dumb or inappropriate question, but why does Tomcat need commons logging? Why can't it just use java util logging? Jörg Schaible wrote: Hi Ceki, Ceki Gulcu wrote at Dienstag, 30. Juni 2009 16:45: Jörg Schaible wrote: You've been right, I should have read your question

Build gets extra dependencies.

2009-06-30 Thread David C. Hicks
I've got an automated build that runs on Hudson that is producing a WAR that cannot load and run. It appears that it is picking up extra dependencies during the build process. One of those is spring-2.0.6.jar. I believe this is causing my load/run problem because the error I get is related to

[ANN] Maven 2.2.0

2009-06-30 Thread John Casey
The Maven team is pleased to announce the release of the Maven 2.2.0. Maven is a software project management and comprehension tool. It offers users the ability to build project binaries, generate a project website, and more. http://maven.apache.org/ Release Notes - Maven 2 - Version 2.2.0

[ANN] Maven Wagon 1.0-beta-6

2009-06-30 Thread John Casey
The Maven team is pleased to announce the release of Maven Wagon, version 1.0-beta-6. Wagon is an API for retrieving files from various types of remote sources, including support for proxies, authentication, and more. http://maven.apache.org/wagon/ Release Notes - Maven Wagon - Version

[ANN] Maven 2.2.0 Released

2009-06-30 Thread John Casey
The Maven team is pleased to announce the release of the Maven 2.2.0. Maven is a software project management and comprehension tool. It offers users the ability to build project binaries, generate a project website, and more. http://maven.apache.org/ Release Notes - Maven 2 - Version 2.2.0

[ANN] Maven Wagon 1.0-beta-6 Released

2009-06-30 Thread John Casey
The Maven team is pleased to announce the release of Maven Wagon, version 1.0-beta-6. Wagon is an API for retrieving files from various types of remote sources, including support for proxies, authentication, and more. http://maven.apache.org/wagon/ Release Notes - Maven Wagon - Version

RE: [ANN] Maven 2.2.0 Released

2009-06-30 Thread Jason Chaffee
I have not been able to download this release. It seems the artifact(s) are not at the specified URL. -Original Message- From: John Casey [mailto:jdca...@apache.org] Sent: Tuesday, June 30, 2009 3:21 PM To: annou...@maven.apache.org; Maven Users List Subject: [ANN] Maven 2.2.0

RE: [ANN] Maven 2.2.0 Released

2009-06-30 Thread Mark Struberg
Works for me. Sometimes it takes a bit for all mirrors to get synced. Please try it again in a a few hours. LieGrue, strub --- Jason Chaffee jason.chaf...@zilliontv.tv schrieb am Mi, 1.7.2009: Von: Jason Chaffee jason.chaf...@zilliontv.tv Betreff: RE: [ANN] Maven 2.2.0 Released An: Maven

RE: [ANN] Maven 2.2.0 Released

2009-06-30 Thread Andrei Solntsev
Maven main site hasn't link to 2.2.0 Release Notes: Get Maven * Download * Release Notes (2.1.0) * Release Notes (2.0.10) * License Andrei Solntsev, Software Developer HireRight Estonia AS -Original Message- From: Mark Struberg [mailto:strub...@yahoo.de] Sent:

RE: [ANN] Maven 2.2.0 Released

2009-06-30 Thread Jason Chaffee
I tried all the mirror links that were provided on that page and none of them worked for me so I thought there might be something else going on. I will try again later. Thanks. -Original Message- From: Mark Struberg [mailto:strub...@yahoo.de] Sent: Tuesday, June 30, 2009 4:29 PM To:

Re: ConversionException

2009-06-30 Thread mlavannis
I ran a maven clean and that seems to have resolved this problem. -- View this message in context: http://www.nabble.com/ConversionException-tp19730105p24283588.html Sent from the Maven - Users mailing list archive at Nabble.com.

release:perform fails with The PluginDescriptor for [org.apache.maven.plugins:maven-javadoc-plugin] was not found

2009-06-30 Thread Ovidiu Feodorov
After fixing release:prepare, the release process fails at release:perform. The interaction with the repository seem to go well, Maven fails after forking: $ mvn release:perform [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Top Level Project Name [INFO] Sub-Module