Re: Cookbook

2009-07-08 Thread Juven Xu
Hi, Peter: The Maven Guide is still in progress, take a look at this blog: http://www.sonatype.com/people/2009/04/maven-definitive-guide-project-infrastructure/ I'm not sure how is the maven cook-book going, but here is a JIRA project for that: https://issues.sonatype.org/browse/MVNCOOK On Wed,

Re: deploy with different version and group id

2009-07-08 Thread is_maximum
Any idea? - -- Regards Mohammad Norouzi Help each other to reach the future faster http://pixelshot.wordpress.com Pixelshot Photoblog http://brainable.blogspot.com Brainable Blog -- View this message in context:

Re: Cookbook

2009-07-08 Thread Barrie Treloar
On Wed, Jul 8, 2009 at 4:24 PM, Juven Xuju...@sonatype.com wrote: Hi, Peter: The Maven Guide is still in progress, take a look at this blog: http://www.sonatype.com/people/2009/04/maven-definitive-guide-project-infrastructure/ Thanks for that link. I've been hassling Tim for an explanation of

Re: How can I set maven memory size?

2009-07-08 Thread David C. Hicks
Seems like I remember seeing a way to specify it on the Maven command line, but I can't recall the details. youhaodeyi wrote: Can I use it as command line argument instead of setting environment variable? dchicks wrote: set the MAVEN_OPTS environment variable... export

Re: [ANN] Maven Overview Plugin version 1.6 released.

2009-07-08 Thread Thorsten Heit
Hi, where can I find the plugin? Central only contains the outdated version 1.3 which doesn't work on my machine (NoClassDefFoundError: edu/uci/ics/jung/graph/decorators/VertexStringer), and the repository site mentioned in the wiki contains only older releases (1.3 and 1.4)... Regards

Re: How big is repo1?

2009-07-08 Thread Deron Eriksson
Hi Steve, The central repository is massive. As of July 4th: Maven Repository Totals: 773,960 Files 93,618 Directories 114,996 Archives 66 GB (71,762,387,589 bytes) Content within Archives: 6,405,263 Java Class Files 2,145,630 Java Source Code Files 3,205,789 HTML Files

RE: Cookbook

2009-07-08 Thread Martin Gainty
you might want to update the maven site which currently has no cookbook http://maven.apache.org/users/cookbook/index.html right now there are yards of statements up there with almost no links to referenced terms thanks Martin Gainty __ Verzicht und

Re: How big is repo1?

2009-07-08 Thread Steve Taylor
I agree with you, but using a proxy when you're already behind one that mangles jars and you can't do anything about it is kind of pointless. When did it grow past 13GB? Stephen Connolly wrote: We were mirroring all of repo1 for a while... but we gave up when it grew past 13Gb. Nexus as a

Re: How can I set maven memory size?

2009-07-08 Thread Fiona Mahon
Use MAVEN_OPTS -Xmx1024m for example, put it in your .bashrc or .profile export MAVEN_OPTS=-Xmx1024m I am using Hudson and you can specify it in the configuration of your project build, under 'Build/Advanced/MAVEN_OPTS (or also as I had to, on the commandline of the startup of Hudson, java

Re: How big is repo1?

2009-07-08 Thread Stephen Connolly
well over a year ago... perhaps 18 months ago... not sure when we stopped mirroring... for some reason I think it was about the time Hudson version 1.86 was released -Stephen 2009/7/8 Steve Taylor st...@atulos.com I agree with you, but using a proxy when you're already behind one that mangles

Re: How big is repo1?

2009-07-08 Thread Stephen Connolly
Our nexus cache of central is approx 609 MB 2009/7/8 Stephen Connolly stephen.alan.conno...@gmail.com well over a year ago... perhaps 18 months ago... not sure when we stopped mirroring... for some reason I think it was about the time Hudson version 1.86 was released -Stephen 2009/7/8

Re: Cookbook

2009-07-08 Thread Tim O'Brien
I announced the book as an open source project (Creative Commons ND-NC-BY) in April. It took us that long to clear up some lingering questions about licensing. Here's the announcement: http://tr.im/rnDc If you want to see the code for the EN version:

Re: Cookbook

2009-07-08 Thread Tim O'Brien
Peter Horlock wrote: Hey, Tim, where are you??? One year ago, you wrote and wrote and wrote for The definitive guide. Now it's in Version 0.6 and not much if not nothing at all has changed during the last months. Also, I can't wait to see the new Maven cookbook! Maybe you got an alpha

RE: Cookbook

2009-07-08 Thread Tim O'Brien
Don't get me started on the Maven site, I'd like to remain on speaking terms with the Maven Developer's list. I don't believe that the Site plugin produces documentation for a few reasons. I'm currently an advocate of removing any and all pages on the Maven site that are half-finished.

maven profile doesn't work when packaging is jar

2009-07-08 Thread is_maximum
Hi I am using maven v2.0.9. In my project I have 3 modules including a web module. in web module the profiles work just fine and I can change the resources directory but in another module from which a jar file is produced the profiles doesn't work and the default resources directory will be

Preventing Inclussion of Multiple Versions

2009-07-08 Thread daniel.green
I have made sure that the parent project dictates the versions through dependencyManagement, and none of the children specify versions, yet when I extract the ear my project generates I'm discovery multiple versions of the same artifacts. What's going on? Is there anyway to fix this? I thought

Re: Detected Maven Version: 2.1.0 is not in the allowed range

2009-07-08 Thread Wayne Fay
there is no enforcer plugin in my pom.xml, here is its content:  parent    groupIdorg.jboss.ejb3/groupId    artifactIdjboss-ejb3-tutorial-common/artifactId    version1.1.1/version    relativePath../common//relativePath  /parent Check the parent. Then check that pom's parent. Etc. Wayne

Re: Preventing Inclussion of Multiple Versions

2009-07-08 Thread Wayne Fay
extract the ear my project generates I'm discovery multiple versions of the same artifacts. What's going on? Is there anyway to fix this? I thought maven did dependency mediation It does. What projects are giving you multiple versions? Maven does not handle when artifacts move (change

Re: Cookbook

2009-07-08 Thread Arnaud HERITIER
On Wed, Jul 8, 2009 at 3:15 PM, Tim O'Brien tobr...@discursive.com wrote: Don't get me started on the Maven site, I'd like to remain on speaking terms with the Maven Developer's list. I don't believe that the Site plugin produces documentation for a few reasons. I'm currently an advocate

Merging multiple emma/cobertura reports

2009-07-08 Thread Adam Purkiss
I understand that currently both plugins do not allow multiple module report to be merged into a single one but has anyone found a work around for this? I have seen talk of that it can be done but not an example of what to do in order to do it. Has anyone here managed to do it and waht did you

Re: Preventing Inclussion of Multiple Versions

2009-07-08 Thread daniel.green
Apparently struts2-core is bringing in org.freemarker:freemarker (one of the redundant), while freemarker:freemarker is being brought in as a dependency from something else... Is there a better way then just excluding the requirement in the dependency tag? I'm maintaining an onsite repository,

Re: Preventing Inclussion of Multiple Versions

2009-07-08 Thread daniel.green
daniel.green wrote: Apparently struts2-core is bringing in org.freemarker:freemarker And, uh, struts2-annotations (1.0.2) is bringing in freemarker:freemarker...!? You think they'd remain consistent daniel.green wrote: Apparently struts2-core is bringing in org.freemarker:freemarker

Getting past proxy

2009-07-08 Thread daniel.green
I have configured my settings.xml with the following: mirror idinternal-repository/id nameCIDC Maven Repository/name !--Should be replaced by property, not sure how to do this-- urlhttp://10.1.102.139:8081/artifactory/repo/url mirrorOf*/mirrorOf /mirror

Why Don't Certain Dependencies Get included in my WAR?

2009-07-08 Thread David Weintraub
I have a rather complex project I'm creating: com.solbright.adinventory projects adplanning base jar har servlet aimwebservices apps ear The aimwebservices

Re: [ANN] Maven Overview Plugin version 1.6 released.

2009-07-08 Thread Hubert Iwaniuk
Hi Thorsten, Central contains now 1.6. I'll update documentation (wiki). Thanks, Hubert. On Wed, Jul 8, 2009 at 12:46 PM, Thorsten Heit th...@gmx.de wrote: Hi, where can I find the plugin? Central only contains the outdated version 1.3 which doesn't work on my machine

Re: Preventing Inclussion of Multiple Versions

2009-07-08 Thread Stephen Connolly
AFAIK full domain name is always preferred, so org.freemarker (which is a valid domain in reverse) is prefered over freemarker -Stephen 2009/7/8 daniel.green october...@gmail.com: Apparently struts2-core is bringing in org.freemarker:freemarker (one of the redundant), while

Re: Cookbook

2009-07-08 Thread Barrie Treloar
On Thu, Jul 9, 2009 at 1:03 AM, Arnaud HERITIERaherit...@gmail.com wrote: On Wed, Jul 8, 2009 at 3:15 PM, Tim O'Brien tobr...@discursive.com wrote: Don't get me started on the Maven site, I'd like to remain on speaking terms with the Maven Developer's list.   I don't believe that the Site

Profile activated on in parent, can I get rid of it in child?

2009-07-08 Thread Benson Margulies
My parent POM activates a profile. I'd like one of the projects that uses that parent to un-activate it. Is there a way? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

Re: Preventing Inclussion of Multiple Versions

2009-07-08 Thread Wes Wannemacher
On Wednesday 08 July 2009 13:52:59 daniel.green wrote: daniel.green wrote: Apparently struts2-core is bringing in org.freemarker:freemarker And, uh, struts2-annotations (1.0.2) is bringing in freemarker:freemarker...!? You think they'd remain consistent I'm jumping in late (sorry), so I

scm plugin - checkin or update as needed?

2009-07-08 Thread Benson Margulies
I'm strugging to use the scm plugin in the seemingly obvious scenario of 'use update if the tree is there, otherwise run checkout'. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

RE: scm plugin - checkin or update as needed?

2009-07-08 Thread Martin Gainty
which tree you are setting up dependency for? src tree, classes tree, resources, oak, tree,cactus? thanks, Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der

Re: scm plugin - checkin or update as needed?

2009-07-08 Thread Benson Margulies
None of the above. I have a custom plugin that is used to train an NLP model from a bunch of corpora. The corpora are stored in svn. They are big, so I don't want to refetch on each training. So, in generate-resources I want to check them out if they aren't checked out, and update them if they

Re: Getting past proxy

2009-07-08 Thread Wayne Fay
However, there are a few dependencies (ones not in the repository) that are still being retrieved from maven.org. In these cases I want the build to fail. Maven sometimes lies when it says it is downloading from repos other than the one you have defined as your mirror. Check netstat -a (or

Can't download org.jboss.resteasy:resteasy-maven-import:pom:1.1.GA

2009-07-08 Thread Sam Wun
Hi, I was trying to install an RESTeasy example, but got some errors. This example I want to install: /usr/resteasy-jaxrs-1.1.GA/examples/spring-hibernate Getting the following errors: spring-hibernate # !mv mvn clean install [INFO] Scanning for projects... Downloading:

Maven ignores the system classpath

2009-07-08 Thread Chirag Trivedi
Hi, I need to access few files and I have added them in the CLASSPATH env variable, but Maven ignores it and gives me compilation error. Regards, Chirag Trivedi Looking for local information? Find it on Yahoo! Local http://in.local.yahoo.com/

Maven 1.0.2 Errors

2009-07-08 Thread Dunstall, Christopher
Hi, Lately, I've been getting some really bizarre behaviour from running junit tests in Maven 1.0.2. The tests were written in Eclipse, where they run fine. However, when I run a maven target, it runs the junit test but shows an error. As a result, it finishes up as the build has failed.

Re: Cookbook

2009-07-08 Thread Peter Horlock
The priority for a while has been this book: http://tr.im/rnFW Look for the repo book to get a little thicker over the next month, and then expect the m2eclipse book Why working on the Nexus book? Nexus is soo easy it doesn't need a book! :-) Same counts for m2eclipse - you just install it, and

Vote: Which book should Tim work?

2009-07-08 Thread Peter Horlock
Hi, I can't wait to see the Maven cookbook from Tim O'Brien - but Tim said he's going to work more on the Definitve guide and the m2eclipse book first, after he has worked on the nexus book. So if the cookbook will ever appear, it will be the last in line! :-( Let's change that! :-) I've started

Using UmlGraphDoc with Maven

2009-07-08 Thread Jeff Mutonho
Hi After reading the article on this DZone article - Reverse Engineer Source Code http://java.dzone.com/articles/reverse-engineer-source-code-u I configured my pom as follows: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId

Re: Using UmlGraphDoc with Maven

2009-07-08 Thread Paul Benedict
Here is a real working example: http://svn.apache.org/viewvc/tiles/framework/trunk/pom.xml?revision=790631content-type=text%2Fplain Paul On Thu, Jul 9, 2009 at 12:44 AM, Jeff Mutonhoejbeng...@gmail.com wrote: Hi After reading the article on this DZone article - Reverse Engineer Source Code