Installation glitch!

2012-01-09 Thread MH
Hi I am a first time user of maven and new to open source in general. I have downloaded the latest version .bin file and followed the instructions “copied and pasted” below: Windows 2000/XP 1.. Unzip the distribution archive, i.e. apache-maven-3.0.3-bin.zip to the directory you wish to

Re: Installation glitch!

2012-01-09 Thread Thorsten Heit
Hi, I am a first time user of maven and new to open source in general. Congrats and welcome! After running several different permutations and attempting to gain an expected response from the command prompt using mvn –version the system has proved to be not properly installed. The

Re: Installation glitch!

2012-01-09 Thread Jeff MAURY
Probably because you have spaces in the directory where you installed Maven (C:\Program Files\Apache Software Foundation) Regards Jeff MAURY On Mon, Jan 9, 2012 at 11:15 AM, MH martinleeharri...@hotmail.co.uk wrote: Hi I am a first time user of maven and new to open source in general. I have

Re: Installation glitch!

2012-01-09 Thread Guillaume Polet
Looks like mvn is not on your path (the purpose of step 2 thru 7 is to have, one way or another, the bin directory of Maven in your path variable). Note that after updating the environment variables you should open a new terminal and not reuse an existing one. If that is not your problem,

Re: Installation glitch!

2012-01-09 Thread MH
Hi Thorsten Right first time. I re-booted my machine and now I have maven functioning. The paths to both the maven install and the jdk are identified in the shell script. Many thanks Martin -Original Message- From: Thorsten Heit Sent: Monday, January 09, 2012 10:27 AM To: Maven

Re: Installation glitch!

2012-01-09 Thread MH
Thanks Jeff I have it now. -Original Message- From: Jeff MAURY Sent: Monday, January 09, 2012 10:26 AM To: Maven Users List Subject: Re: Installation glitch! Probably because you have spaces in the directory where you installed Maven (C:\Program Files\Apache Software Foundation)

Re: Installation glitch!

2012-01-09 Thread MH
Thank you Guillaume. Check my response to Thorsten. I have the maven install functioning now with the proper paths installed. -Original Message- From: Guillaume Polet Sent: Monday, January 09, 2012 10:35 AM To: Maven Users List Subject: Re: Installation glitch! Looks like mvn is not

Mvn commands are stalling

2012-01-09 Thread A R
Hello, I am a relatively new user to Maven. I have Java 1.7 and Maven 3.0.3 installed. I am trying to fix two problems: 1. The first and more critical problem is: No matter what command I try to run, mvn starts the download and then it just stalls. The same thing happens when I try creating a

Re: Mvn commands are stalling

2012-01-09 Thread Wayne Fay
It almost seems like it is an internet connectivity problem, but I don't see how it can be, when it can download some jars, but not the remaining ones. ... C:\development\workspace1\project1dir This kind of problem is nearly always related to some antivirus software running on your Windows

Re: Mvn commands are stalling

2012-01-09 Thread A R
Thanks Wayne for making me think :) I resolved the warning by editing the pom. I looked up the anti-virus I have, and I only have AVG which I am not able to turn off because of insufficient privileges. I am surprised by the fact that re-running the command gets me a bit more further in the

Re: Mvn commands are stalling

2012-01-09 Thread A R
Update: It is working now. Turning off AVG did it! (... I think I may need to figure out why and how AVG affects the mvn downloads, and come up with a long term strategy to have both available at the same time, but for now I am good!) Thanks for your help!!! On Mon, Jan 9, 2012 at 10:20 AM, A R

Re: Mvn commands are stalling

2012-01-09 Thread Wayne Fay
Update: It is working now. Turning off AVG did it! (... I think I may need to figure out why and how AVG affects the mvn downloads, and come up with a long term strategy to have both available at the same time, but for now I am good!) I ran into this recently while helping some family migrate

Re: Mvn commands are stalling

2012-01-09 Thread Wayne Fay
Thanks Wayne for making me think :) I resolved the warning by editing the pom. Do you think it is a reasonable/good error message or can be improved somehow (with the understanding that there are limits in what we can practically do)? Since most of us on this list are not Maven newbies, we

Re: Mvn commands are stalling

2012-01-09 Thread Robert Scholte
Hi, Even though I'm not a newbie, I can see 2 potential problems with this sentence: 1. line 84, column 15 of what? It doesn't mention the file. Sure, it always about the poms, but we're talking about unexperienced users here. 2. build.plugins.plugin.version ? This doesn't look like xml, so

Re: Mvn commands are stalling

2012-01-09 Thread Ron Wheeler
+1 Good comments. Might not be a bad idea to add a suggestion Probable cause is missing version in your pom.xml or Probable cause is bad dependency definition for org.apache.maven.plugins:maven-compiler-plugin at line 85. I am not sure how the column number helps. What would be at column

Re: Trying to get multiple profiles to execute

2012-01-09 Thread Artie Peshimam
Hmm tried that and the plugin complained that it could not find the configs: [ERROR] Failed to execute goal com.dbdeploy:maven-dbdeploy-plugin:3.0M3:update (default-cli) on project Core2DB: The parameters 'driver' for goal com.dbdeploy:maven-dbdeploy-plugin:3.0M3:update are missing or invalid -

Re: Mvn commands are stalling

2012-01-09 Thread Brian Topping
On Jan 9, 2012, at 12:01 PM, Robert Scholte wrote: Even though I'm not a newbie, I can see 2 potential problems with this sentence: 1. line 84, column 15 of what? It doesn't mention the file. Sure, it always about the poms, but we're talking about unexperienced users here. 2.

RE: Trying to get multiple profiles to execute

2012-01-09 Thread Matt Walsh
Change one of your ids to default-cli. -Original Message- From: Artie Peshimam [mailto:apeshi...@gmail.com] Sent: Monday, January 09, 2012 10:43 AM To: Maven Users List Subject: Re: Trying to get multiple profiles to execute Hmm tried that and the plugin complained that it could

RE: Trying to get multiple profiles to execute

2012-01-09 Thread Matt Walsh
You may want to read this article: http://maven.apache.org/guides/mini/guide-default-execution-ids.html -Original Message- From: Matt Walsh [mailto:mwa...@chartwelltechnology.com] Sent: Monday, January 09, 2012 10:58 AM To: Maven Users List Subject: RE: Trying to get multiple

Committing non-POM files during release:prepare?

2012-01-09 Thread Andrew Todd
Maven 2.2, release plugin. During the preparationGoals, I'm modifying a .properties file that references the Maven project version. When the POM files get committed to Subversion after the preparationGoals have completed, I need this .properties file to get committed as well. Otherwise the

[ANN] JS Import Maven Plugin 1.0.0 Released

2012-01-09 Thread Christopher Hunt
Hi, The Mojo team is pleased to announce the release of the JS Import Maven Plugin version 1.0.0. The JS Import Maven plugin essentially provides Maven dependency management support for JavaScript. Asynchronous Module Definitions (AMD)(1) are also supported. The import plugin supports js

[ANN] Webminifier Maven Plugin 1.0.0 Released

2012-01-09 Thread Christopher Hunt
Hi, The Mojo team is pleased to announce the release of the Webminifier Maven Plugin version 1.0.0. This plugin provides JavaScript minification for Maven projects. It produces a minified version of JavaScript resources which can be used to construct a minified final artefact. It is designed

How can Maven be used to prepare a complex, multi-module JavaEE app for release

2012-01-09 Thread Glenn Silverman
We have a complex JavaEE app with multiple wars, jars, ds.xml and config files, etc. In fact, there are over 80 different artifacts that make up our application. We use the maven-assembly-plugin to create a gzip file and untar it into a JBOSS instance to deploy and run. It's not pretty and it's a