RE: order of the unpacking from \unpack-dependencys\

2011-05-13 Thread David Bräutigam
Hi I have the following unpack goal: execution idunpack-modules/id phaseverify/phase goals goalunpack-dependencies/goal /goals configuration

Programmatically list all dependencies without downloading the artifacts?

2011-05-13 Thread hezjing
Hi May I know if it is possible to programmatically list all the direct and transitive dependencies without downloading the artifacts? Is there any Maven's API for this kind of purpose? -- Hez

Re: Web app not workin when compiled via Maven.

2011-05-13 Thread Jamshed Katta
No Wayne, That didnot resolve the issue :( I have narrowed down the problem and i am pretty sure the problem is with my pom.xml I have the following J2EE dependencies, Which of these are most likely to cause a Faces Listener Error ? dependency groupIdjavax/groupId

How to set up Ivy Repository as a Local Repository . Please help . Urgent

2011-05-13 Thread uday shankar
I have to set up Ivy Repo as the local repository. Once it is set up as a local repository I have to add couple of jar files to the repo and using Maven I have to fetch those jar files from the repo. Please help me go forward. -- View this message in context:

Problem when web app is built via Maven

2011-05-13 Thread Jamshed Katta
Problem with Maven Dependency. Hello All, This is in reference to my earlier post http://maven.40175.n5.nabble.com/Maven-Users-f40176.html When i dont build via maven and export the project as a war ( I use Eclipse for J2EE ) and deploy it to Jboss6 via its admin console it runs fine, whereas

Maven unnecessarily downloads all dependencies from parent POM's dependencyManagement?

2011-05-13 Thread Richard Kennard
Hi guys, First, thanks for a terrific tool in Maven! For my Open Source project Metawidget (http://metawidget.org) I am distributing the examples as standalone Maven projects with their own POMs. However each POM shares a couple of levels of parent POM, with the top-level parent POM defining a

Re: Nested artifacts

2011-05-13 Thread Andreas Sewe
Hi, So the first part of the problem is the zip contains multiple rar files, but only one needs to be unpacked and tinkered with. the maven-external-dependency-plugin might fit the bill: http://code.google.com/p/maven-external-dependency-plugin/. If the RAR file is not found in the local

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread Alex Lopez
You could deploy in place or unpacked or something similar, there is more than one way to deploy or test your webapp without it having to be packed into the WAR, which is what takes most of the build time for us too. Em 13-05-2011 01:42, Ron Wheeler escreveu: On 12/05/2011 12:53 PM, javadaisy

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread Marc Rohlfs
Java memory settings are not defined like system properties - You shouldn't use '-D'. Try this: set MAVEN_OPTS=-Xms=1024M -Xmx=1024M This might not solve Your problem, but it should fix the memory reservation/allocation. BTW: I wouldn't modify the mvn.bat. Just set the MAVEN_OPTS as an

DependencyResolutionException

2011-05-13 Thread uday shankar
Hi, In my project I added all the jars required for Spring MVC in the local repository(C:\Documents and Settings\username\.m2\repository created by maven. And in the pom.xml of my project I added the dependencies information.I created a web application and wanted to check if the jars added by me

RE: Problem when web app is built via Maven

2011-05-13 Thread Yanko, Curtis
Can you use a tool like Beyond Compare to compare the two WAR files? That should identify the difference and point you to what needs to be configured in Maven. Curt Yanko | Continuous Integration Services | UnitedHealth Group IT Making IT Happen, one build at a

Lifecycle for interactive development

2011-05-13 Thread Stuart Sierra
Hello, Maven, Is there a need for a Maven lifecycle supporting interactive development tasks? The default Maven lifecycle is designed to support statically-compiled languages like Java. But the rise of alternative languages on the JVM languages has led to plugins that perform tasks outside of

Re: Web app not workin when compiled via Maven.

2011-05-13 Thread Wayne Fay
I have narrowed down the problem and i am pretty sure the problem is with my pom.xml Yes, this is what Anders told you originally. I have the following J2EE dependencies, Which of these are most likely to cause a Faces Listener Error ? Well, you copied and pasted the same artifact details

Re: DependencyResolutionException

2011-05-13 Thread Wayne Fay
In my project I added all the jars required for Spring MVC in the local repository(C:\Documents and Settings\username\.m2\repository created by maven. How did you add all the jars? Be specific, provide the command line you executed or what steps you followed. Most likely, however you did this

Incorrect assembly created with Maven 3.0.3

2011-05-13 Thread Thorsten Heit
Hi, I have a strange problem when building an assembly with Maven 3.0.3, and I don't know where to debug...: My project uses a combination of the appassembler mojo (1.1.1) and assembly plugin (2.2.1), both attached to the package phase, to create a tar.gz archive that basically has the

Re: How to set up Ivy Repository as a Local Repository . Please help . Urgent

2011-05-13 Thread Wayne Fay
I have to set up Ivy Repo as the local repository. Once  it is set up as a local repository I have to add couple of jar files to the repo and using Maven I have to fetch those jar files from the repo. This list does not respond well to urgent requests. Everyone believes their problem needs to

maven 3 version ranges with snapshots

2011-05-13 Thread Paul French
I've added the below to the discussion at... http://jira.codehaus.org/browse/MNG-3092 ...but include here in case anyone else has some ideas. If you consider semantic versioning http://semver.org/ where by using carefully chosen version numbers

Re: Incorrect assembly created with Maven 3.0.3

2011-05-13 Thread Wayne Fay
finally got ClassNotFoundException because of a missing dependency Jar in the lib folder; more precisely xalan:serializer:2.7.1 PS: I tested it with Maven 3.0.3 using Java 1.6.0_24, first on Solaris 11 Express and then on Mac OS X 10.6.7. Xalan and Xerces are special since they have been

Re: settings.xml problems

2011-05-13 Thread Eric Kolotyluk
Sorry, I'm not sure what you are recommending I do. Should I edit my POM in Visual Studio and changed something in the NPanday section of the plugins, or do you mean run the actual mvn command? Also, I'm not sure about what you mean about kenai? Cheers, Eric On 2011-05-12 5:13 PM, Martin

When does maven check for updated snapshots?

2011-05-13 Thread Phillip Hellewell
I can't seem to find any documentation on this, so maybe you can just tell me. What is the exact rule for when Maven will check for a newer snapshot from a remote repo (when you're not using -U) ? It seems to be something like: 1. If you don't already have the snapshot it will check. 2. If your

RE: When does maven check for updated snapshots?

2011-05-13 Thread Thiessen, Todd (Todd)
It is determined by the updatePolicy for the repo. Default is 24 hours. http://maven.apache.org/ref/3.0.3/maven-settings/settings.html Look for updatePolicy. -Original Message- From: Phillip Hellewell [mailto:ssh...@gmail.com] Sent: Friday, May 13, 2011 1:49 PM To: Maven Users List

Re: When does maven check for updated snapshots?

2011-05-13 Thread Stephen Connolly
the update frequency specified in the repository definition (which defaults to daily if not specified) - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 13 May 2011 18:49,

Checkstyle out of memory...

2011-05-13 Thread EJ Ciramella
Hi all - I've recently started to add things like pmd/checkstyle/findbugs to a build pipeline but all of a sudden, when adding mvn checkstyle:checkstyle, I'm getting out of memory exceptions. I've set start/max memory settings to 1024 but I'm still getting this issue. I'm open and all ears to

RE: Checkstyle out of memory...

2011-05-13 Thread EJ Ciramella
Sorry - if it helps, I'm executing checkstyle/pmd/cpd directly, not as part of site output. -Original Message- From: EJ Ciramella [mailto:ecirame...@casenetinc.com] Sent: Friday, May 13, 2011 2:05 PM To: users@maven.apache.org Subject: Checkstyle out of memory... Hi all - I've recently

Re: maven 3 version ranges with snapshots

2011-05-13 Thread Ron Wheeler
editorial BS Version ranges are pure evil if you want to have repeatable builds and want some idea about what you are testing and deploying. They seem to be used as an alternative to thinking. End of editorial BS I do have some ideas that I hope will help.

Re: How to set up Ivy Repository as a Local Repository . Please help . Urgent

2011-05-13 Thread Anders Hammar
Although Ivy people might very well give you the wrong advice wrt how you should use Maven... The local Maven repo should adhere to a specific structure, unless you alter Maven with logic to handle a different structure. As I don't think you want to head down the path of writing your own local

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread javadaisy
Bunch of thanks to all for sharing the info. Yes my war is very big. Its size is almost 62MB. It builds in 7 mins than other machines. It uses 30 dependencies and xml resources. -- View this message in context:

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread Wayne Fay
Bunch of thanks to all for sharing the info.  Yes my war is very big.  Its size is almost 62MB.  It builds in 7 mins than other machines.  It uses 30 dependencies and xml resources. 7 minutes is a long time just to build what is essentially a zip file. Perhaps invest in some SSD hardware and

RE: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread EJ Ciramella
Or, revisit what is going in there... Are there images and files that the end user no longer can access? How much cruft is in there exactly and how much can you yank out? Are there dependencies that can be removed? Are you saying the actual zipping process takes 7 min or the entire warfile

[ANN] Maven Deploy Plugin 2.6 Released

2011-05-13 Thread Paul Gier
The Maven team is pleased to announce the release of the Maven Deploy Plugin, version 2.6 This plugin allows artifacts to be deployed to a Maven repository. See the plugin's site for more details: http://maven.apache.org/plugins/maven-deploy-plugin/ You should specify the version in your

Re: DependencyResolutionException

2011-05-13 Thread uday shankar
PRoblem : I have to create a project (SpringMVC project). For this I have to connect to the online repository which provides the jars required for running the Spring MVC project. And when we build the project using the maven commands, the jars are copied into our local repository . So, for this I

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread Ron Wheeler
Getting the 70 dependencies out of the build will yield the biggest ROI. Ron On 13/05/2011 4:29 PM, Wayne Fay wrote: Bunch of thanks to all for sharing the info. Yes my war is very big. Its size is almost 62MB. It builds in 7 mins than other machines. It uses 30 dependencies and xml

RE: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread EJ Ciramella
Heh - I see 30 dependencies mentioned below, is this a trick answer? (sorry, trolling as I wait for posts to my questions) -Original Message- From: Ron Wheeler [mailto:rwhee...@artifact-software.com] Sent: Friday, May 13, 2011 5:08 PM To: users@maven.apache.org Subject: Re: help - how to

Re: DependencyResolutionException

2011-05-13 Thread Ron Wheeler
Tons of people build with Spring. What is the error? Do you have a Maven Repo (Nexus or other) set up and working? What have you tested? Ron On 13/05/2011 12:26 PM, uday shankar wrote: PRoblem : I have to create a project (SpringMVC project). For this I have to connect to the online

Re: settings.xml problems

2011-05-13 Thread Wayne Fay
Sorry, I'm not sure what you are recommending I do. You can generally ignore Martin, he's a bot or something. Should I edit my POM in Visual Studio and changed something in the NPanday section of the plugins, or do you mean run the actual mvn command? This list knows almost nothing about

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread Ron Wheeler
By this time on a Friday 3s look like 7s. We had to remove over 70 out of our build. It made lots of things better. Some dependencies such as CXF for Web services are huge and getting them as provided was a big help since we had a dozen or so webapps in our LMS portal that used web services.

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread John Singleton
In addition to trimming the war (definitely a good idea)... In your first post, you mentioned mvn.bat - so I will assume you are in a Windows environment. Where is your ${user.home} located: local or remote? I have seen at least one corporate environment where (for Sysadmin convenience) home

RE: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread EJ Ciramella
100 points to Ron. Ron touched on something here - not sure if you can look at any of the transitive dependencies you may be pulling in and see if you can exclude some of those as well. -Original Message- From: Ron Wheeler [mailto:rwhee...@artifact-software.com] Sent: Friday, May 13,

Re: Building a -classpath for a plugin, from the inside?

2011-05-13 Thread Owen Jacobson
Thanks, Ryan. This turned out to be exactly the solution I needed: https://bitbucket.org/ojacobson/apacheds-maven-plugin/changeset/fcb7d7b66a41 -o On 2011-04-29, at 9:00 AM, Ryan Connolly wrote: Owen: I think my previous reply got it half right: /** * @parameter

Re: When does maven check for updated snapshots?

2011-05-13 Thread Phillip Hellewell
Thanks. It's good to know that I can configure that in my settings.xml. Phillip On Fri, May 13, 2011 at 12:02 PM, Thiessen, Todd (Todd) tthies...@avaya.com wrote: It is determined by the updatePolicy for the repo. Default is 24 hours.