Re: maven-eclipse-plugin install-plugins and source-jars

2008-09-18 Thread Lars Fischer
Hello, On Fri, 19 Sep 2008 08:24:09 +0200, "Lars Fischer" > > I use the "maven-eclipse-plugin" with the goal "install-plugins" to > > create an eclipse target-platform containing my bundle-dependencies. > > > > Is is also possible to get the sources of these dependencies into > > this platform-fol

Re: Is this mailing list really slow for anyone else?

2008-09-18 Thread Martin Höller
On Thursday 18 September 2008 Leszek Gawron wrote: > Baptiste MATHUS wrote: > > Did you check if your mail was present in the public archive to see if > > it could be a problem with your server, and what hour your message was > > registered ? See http://www.nabble.com/Maven---Users-f178.html for >

Re: maven-eclipse-plugin install-plugins and source-jars

2008-09-18 Thread Lars Fischer
Hello, On Wed, 17 Sep 2008 15:13:31 +0200, "Lars Fischer" <[EMAIL PROTECTED] mail.org> said: > I use the "maven-eclipse-plugin" with the goal "install-plugins" to > create an eclipse target-platform containing my bundle-dependencies. > > Is is also possible to get the sources of these dependencies

Re: a slue of warnings

2008-09-18 Thread Wayne Fay
As the Jira MNG says: This issue has already been fixed in PLX-287. This MNG issue is to try and get that fix into 2.0.x So, the bug still exists in Maven, though it has been fixed in Plexus... The fix has simply never made its way into a Maven release, as yet. Wayne On Thu, Sep 18, 2008 at 2:56

Re: Error when creating a new project using Maven

2008-09-18 Thread Baptiste MATHUS
Well, you're running out of memory. BTW, I guess you'd better use mvn archetype:generate instead of mvn archetype:create. It's almost the same, but the generate "goal" will ask you for parameters. I find it a bit simpler to use when creating a project interactively. For your case, actually I think

RE: a slue of warnings

2008-09-18 Thread EJ Ciramella
So I'm very confused - This bug says it's NOT fixed http://jira.codehaus.org/browse/MNG-2879?page=com.atlassian.jira.plugin Yet, this one says it is: http://jira.codehaus.org/browse/PLX-287 Where can I see the version of plexus used? -Original Message- From: Brett Porter [mailto:[EM

Re: Deploying two jars in the same project

2008-09-18 Thread Baptiste MATHUS
Hi, First, you should know that maven provides some "best practices" and philosophy. So, in the maven philosophy, if you have two artifacts to produce, then you would split your projects to locate the code according to this, then define a pom for each. Once done with, you would certainly have a p

[ANN] Maven 2.1.0-M1 Released

2008-09-18 Thread John Casey
The Maven team is pleased to announce the release of the Maven 2.1.0-M1. This release signals the beginning of a new direction in the development of Maven. Recently, Maven's development efforts were split into three major goals. First, the Maven 2.0.x code line will be minimally maintained for

Re: Maven & Windows

2008-09-18 Thread Brett Porter
Hard to tell without more information, but you can get similar things with paths that are too long, for example (though I think the message is different to "doesn't exist"). The other problem might be spaces. - Brett 2008/9/19 Jon Strayer <[EMAIL PROTECTED]>: > I've been using Maven for about sev

Maven & Windows

2008-09-18 Thread Jon Strayer
I've been using Maven for about seven years now without any real problems. I just changed jobs and now instead of a Unix server for the build server I'm got a Windows server. Today a build failed saying that the directory it was supposed to dump the generated web site to didn't exist. It didn't h

Re: improve Maven performance

2008-09-18 Thread Barrie Treloar
On Fri, Sep 19, 2008 at 5:40 AM, Yann <[EMAIL PROTECTED]> wrote: > Yes we break ours projects into small one. Actually, we follow a multi layer > architecture so for 1 EAR we can have up to 10 modules. > > It is difficult to break this application but I understood your point of > view... > > The is

Re: Why am I not the boss of my own dependency versions???????

2008-09-18 Thread Michael McCallum
Is there any chance you can post a simple example... or perhaps the output of mvn dependency:resolve -X I use ranges in the way you are describing and do not and have not experienced any problems like that... however I have not dependencyManagement sections in any of my transitions... On Fri,

Why am I not the boss of my own dependency versions???????

2008-09-18 Thread sverhagen
Hi. We've recently switched from one dependency strategy for our internal dependencies to another: - "Old": all modules define 's without 's and inherit all the same parent with a section that defines 's for all modules, e.g. as 0.0.7. - "New": all modules define their own 's and 's as ranges, e

Re: Deploying two jars in the same project

2008-09-18 Thread Stevo Slavić
Hello Mariano, Maybe I misunderstood, but what I think you need is to convert your Maven project into a multi-module Maven project, in your case maybe 2 or 3 module project (core, client, server) each producing an artifact with interdependencies defined between them and base parent project holdin

Re: improve Maven performance

2008-09-18 Thread Yann
Yes we break ours projects into small one. Actually, we follow a multi layer architecture so for 1 EAR we can have up to 10 modules. It is difficult to break this application but I understood your point of view... The issue is that we often need to test our application that means create the

Re: Error when creating a new project using Maven

2008-09-18 Thread Marc Schneider
Hi, When running maven I have this env. variable set : MAVEN_OPTS=-Xmx512m maybe this can help. Marc. arvindhere a écrit : > Hi Mavenists, > I'm a newbie to maven. I have done with installation of maven and > env-variable settings. > And also have starting mu local maven repository. > > I t

Re: Deploying two jars in the same project

2008-09-18 Thread Giancarlo Degani
Hello, maybe you can try using the assembly plugin and the classifier field . Try to find a mail sent 3 days ago to this mailing list with subject "Maven and Configuration packages", I think that you have the same problem... I hope this can help you. Giancarlo 2008/9/18 mscarpentier <[EMAIL PROT

Re: Is this mailing list really slow for anyone else?

2008-09-18 Thread Leszek Gawron
Baptiste MATHUS wrote: Did you check if your mail was present in the public archive to see if it could be a problem with your server, and what hour your message was registered ? See http://www.nabble.com/Maven---Users-f178.html for example. maybe the emails simply require manual moderation and

RE: Proxy bypass not working with site:deploy command

2008-09-18 Thread Eddie Yee
Thanks Lee, The scp is still failing once I tried that. It does send if I remove the proxy. So it looks to me like a bug in the non-proxy host. I know from reading the past release info, that some bugs existed which it ignored the proxy bypass, however it was supposedly fixed. Perhaps the si

Deploying two jars in the same project

2008-09-18 Thread mscarpentier
Hello there! I'm having some problems to figure out how to manage the following situation. The project was being packaged with ant, and it uses to create 2 JARs (for example zaraza.jar and zaraza-client.jar). To begin with, I replace the classpath generation of the ant file with the maven-ant-task

Error when creating a new project using Maven

2008-09-18 Thread arvindhere
Hi Mavenists, I'm a newbie to maven. I have done with installation of maven and env-variable settings. And also have starting mu local maven repository. I tired creating a project with the help of the following command cmd prompt> mvn archetype:create -DarchetypeGroupId=org.apache.maven.archet

Re: Is this mailing list really slow for anyone else?

2008-09-18 Thread Baptiste MATHUS
Did you check if your mail was present in the public archive to see if it could be a problem with your server, and what hour your message was registered ? See http://www.nabble.com/Maven---Users-f178.html for example. Cheers. 2008/9/18 EJ Ciramella <[EMAIL PROTECTED]> > I send an email here and

Re: Running PMD during compile phase

2008-09-18 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Blake Martin wrote: > By default, PMD runs during the *verify* phase. > > PMD analyzes source code only (not bytecode), correct? That is not entirely correct. While the vast majority of the rules only look at the Java source code, some of them, in th

Re: Running PMD during compile phase

2008-09-18 Thread Blake Martin
Yes, but then PMD would be run when we run the eclipse:eclipse goal. Thanks for the confirmation, though. On Thu, Sep 18, 2008 at 9:26 AM, Marat Radchenko < [EMAIL PROTECTED]> wrote: > You may even run it during *validate* phase > > 2008/9/18 Blake Martin <[EMAIL PROTECTED]>: > > By default, PMD

Cannot Get Reports for Surefire Report Plugin

2008-09-18 Thread Jeffrey N Hagelberg
Hello everyone, When I execute, mvn site -Dmaven.test.skip=true -e for the top-level project, I get the following: [INFO] [ERROR] BUILD ERROR [INFO] --

Question about wtpContextName option in eclipse:eclipse plugin

2008-09-18 Thread Tonté Pouncil
I am able to use this goal succesfully (eclipse:eclipse goal that is). Meaning I am able to hot deploy to my server via WTP. However when I try to set the wtpContextName my target/eclipseEAR/application.xml file never pick up the new context root. I do see in my .Settings\org.eclipse.wst.comm

RE: improve Maven performance

2008-09-18 Thread EJ Ciramella
I wasn't suggesting speeding up downloading things that are hosted on repo1 or wherever else, I'm saying install your companies artifacts as built by your CI server into archiva. Set the CI server to build/deploy/install on change. That way, if you have module 1 - 20 and a developer just wants to

Is this mailing list really slow for anyone else?

2008-09-18 Thread EJ Ciramella
I send an email here and 12 hours later, it shows up. Is there a known issue that I missed?

Re: Attaching source zip to jar managed by maven

2008-09-18 Thread Baptiste MATHUS
Hi Ole, Well, the questions you ask seems quite antithetic to me. I mean, if you want maven to manage sources, then those sources will be present locally, after having been downloaded. Now, the thing is: if what you want is just no to have to do it manually on each developer machine, then yes, it'

Re: Embedding maven

2008-09-18 Thread Jason van Zyl
No it's not it's extracted directly from test sources. http://svn.apache.org/repos/asf/maven/site/trunk/src/site/apt/embedder.apt It uses snippets i.e. retrieving live code that just passed tests. On 17-Sep-08, at 3:37 PM, Arnaud Bailly wrote: Jason van Zyl <[EMAIL PROTECTED]> writes: http:

maven-jar-plugin very slow when adding entry

2008-09-18 Thread Felipe Kamakura
Hello all, I'm having a very annoying issue here, and I did't figured out what it is causing it yet. In two of my project's modules (one is a JAR and the other is a EJB) the maven-jar-plugin takes too damn long to add some entries to the final Jar. In one module it gets stuck when adding a .class,

Re: Running PMD during compile phase

2008-09-18 Thread Marat Radchenko
You may even run it during *validate* phase 2008/9/18 Blake Martin <[EMAIL PROTECTED]>: > By default, PMD runs during the *verify* phase. > > PMD analyzes source code only (not bytecode), correct? Is there any harm in > running it during *compile*? Checkstyle runs during compile. We'd like our > c

Running PMD during compile phase

2008-09-18 Thread Blake Martin
By default, PMD runs during the *verify* phase. PMD analyzes source code only (not bytecode), correct? Is there any harm in running it during *compile*? Checkstyle runs during compile. We'd like our code to fail earlier in the lifecycle if there are any problems.

RE: Hi

2008-09-18 Thread shubham
It is really very nice of you Martin for all the help and "Thanks" is lot bigger than getting paid... -Shubham Martin Gainty wrote: > > > curious if anyone getting paid to help this outsourcer??? > > Martin > __ > Disclaimer and confidentiality n

Re: Hi

2008-09-18 Thread shubham
hey Martin, Thanks for your help.Tried deleting M2 directory also.Facing the error as below:- Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom 10K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/mave

RE: Hi

2008-09-18 Thread Martin Gainty
curious if anyone getting paid to help this outsourcer??? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sende

Re: where to get the SVN url of maven source code?

2008-09-18 Thread 陈思淼
thank you, I got it 2008/9/18 Arnaud HERITIER <[EMAIL PROTECTED]> > https://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.9/ > > Arnaud > > On Thu, Sep 18, 2008 at 1:39 PM, 陈思淼 <[EMAIL PROTECTED]> wrote: > > > Im trying to get use mvnDebug and the the source code of maven ,my maven > >

Re: where to get the SVN url of maven source code?

2008-09-18 Thread Arnaud HERITIER
https://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.9/ Arnaud On Thu, Sep 18, 2008 at 1:39 PM, 陈思淼 <[EMAIL PROTECTED]> wrote: > Im trying to get use mvnDebug and the the source code of maven ,my maven > version is Maven version: 2.0.9, Who can tell me where to get the according > so

where to get the SVN url of maven source code?

2008-09-18 Thread 陈思淼
Im trying to get use mvnDebug and the the source code of maven ,my maven version is Maven version: 2.0.9, Who can tell me where to get the according source code of it? thanks!

Re: Hi

2008-09-18 Thread Martin Höller
On Thursday 18 September 2008 shubham wrote: > As suggested earlier i added the proxy details in settings.xml with > correct Username and Password and it worked fine. Well, in the mail where you showed us your proxy details you also showed us the exception which is still occuring. From this I don

Re: Input parent version on command line

2008-09-18 Thread Stephen Connolly
FYI, I have a sneaky feeling that will get marked as WONTFIX And if it was me, I'd mark it WONTFIX too... ;-) 2008/9/18 Stevo Slavić <[EMAIL PROTECTED]> > I've just created an imporovement issue on Maven JIRA > http://jira.codehaus.org/browse/MNG-3758 > > Regards, > Stevo. > > 2008/9/18 Stephen

Re: improve Maven performance

2008-09-18 Thread Graham Leggett
Yann wrote: In our company lot of people complains that our maven 2 builds are too long. We use multi modules and most of the time we only need to build 1 or 2 modules not all of them. The ideal longer term solution is to break the project up into smaller sections, either individual artifact

Re: Hi

2008-09-18 Thread shubham
As suggested earlier i added the proxy details in settings.xml with correct Username and Password and it worked fine. the command i am using is mvn install.I just now downloaded maven-install-plugin-2.2.jar and installed it which was succesfull as below:- $ mvn install:install-file -DgroupId=o

Re: Hi

2008-09-18 Thread Martin Höller
Hi! On Thursday 18 September 2008 shubham wrote: > I that issue is solved now This information is quite useless to most of us. If you could provide information how it was solved others could benefit from this as well. > but i am facing another issue now:- > > Downloading: > http://repo1.maven

Re: Input parent version on command line

2008-09-18 Thread Stevo Slavić
I've just created an imporovement issue on Maven JIRA http://jira.codehaus.org/browse/MNG-3758 Regards, Stevo. 2008/9/18 Stephen Connolly <[EMAIL PROTECTED]> > AFAIK, > > property expansion is not supported in the /project/parent/* nodes > > -Stephen > > On Thu, Sep 18, 2008 at 2:13 AM, Stevo Sl

Re: Tests leave files that release number plugin won't allow

2008-09-18 Thread Nick Stolwijk
You could place them in the target directory (ie. target/test-logs) or you could ask the Java IO File object for a temporary file. (Under Linux this would be created in /tmp, so no rights issues there.) Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs

Tests leave files that release number plugin won't allow

2008-09-18 Thread John Coleman
I have a problem whereby my tests create log files in the project root and then sometimes fail to delete them when the test completes. The build number plugin doesn't like this:- [INFO] Cannot create the build number because you have local modifications : [ratemanager2\unit_test.log:unknown]

RE: improve Maven performance

2008-09-18 Thread Yeagle1
Hi, Brett: For us a generic way to skip things could be to check if all files in the modules has been updated (through the file timestamp) and compare it to a local cache Some plugins already do it (xmlbeans). So why not apply this logic to the full module ? The logic could be similar to the

Re: modify dependencies in reporting plugins section?

2008-09-18 Thread Stephen Connolly
Add a reference in and do your tweaking there. /project/build/pluginManagement is applied to both /project/build/plugins and /project/reporting On Thu, Sep 18, 2008 at 8:53 AM, <[EMAIL PROTECTED]> wrote: > Hi > > using annotations (@Supresswarning) within methods, I fall into > > http://jira.co

modify dependencies in reporting plugins section?

2008-09-18 Thread torsten . reinhard
Hi using annotations (@Supresswarning) within methods, I fall into http://jira.codehaus.org/browse/SONAR-33 As described there as workaround, I have to use JavaNCSS 29.50 as a newer dependency, that fixes the bug. As I read in some other postings, ( http://www.nabble.com/-m2--reporting-plugin

Re: Hi

2008-09-18 Thread shubham
Hi, I that issue is solved now but i am facing another issue now:- Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom 10K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugi

AW: AW: Updating pom versions without using release plugin

2008-09-18 Thread Baeriswyl Kuno - Extern (IT-BA-MV)
Hello! thanks for your hint. There other workarounds as well : http://www.nabble.com/Change-artifact-version-for-whole-multiproject-td19489171.html#a19491973 however, if it is a common need, why we don't just implement it? Specially, if the fonctionality is already there? It's my point of view. I

Re: Maven descriptor - what is it good for?

2008-09-18 Thread Stephen Connolly
AFAIK, for 2.1 there will be limited fixups to the pom but i don't see /project/parent/version supporting property expansion as being a good idea or on the cards... rather it will copy /project/parent/version to /project/version is /project/version is missing (not sure why this is needed myself th

Re: Input parent version on command line

2008-09-18 Thread Stephen Connolly
AFAIK, property expansion is not supported in the /project/parent/* nodes -Stephen On Thu, Sep 18, 2008 at 2:13 AM, Stevo Slavić <[EMAIL PROTECTED]> wrote: > Hello Marvin, > > I'm experiencing similar issue with Maven in large multi-module projects, > especially if they are of >2 depth and one

Re: Maven descriptor - what is it good for?

2008-09-18 Thread Tomasz Pik
On Thu, Sep 18, 2008 at 7:44 AM, Ellecer Valencia <[EMAIL PROTECTED]> wrote: > I'm trying to clarify what is the purpose of the Maven descriptor, and > what systems make use of it, and if there is any point in working on > this issue we have with the pom.xml that is added to our generated > artifa

Re: AW: Updating pom versions without using release plugin

2008-09-18 Thread Magne Nordtveit
What you CAN do, is perform a release:branch and then just delete the branch. Abit messy, but saves you the time of manually doing it. If you have multiple sub projects, that can save you loads of time. But your wish has my vote ;-) Magne -- Magne Nordtveit <[EMAIL PROTECTED]> Systems Engineer