Re: use maven in eclipse without m2eclipse

2009-12-05 Thread Anders Hammar
There is also a maven plugin for eclipse: http://maven.apache.org/plugins/maven-eclipse-plugin/ However, I wouldn't recommend going that pth. M2Eclipse is much better as you'll get real integration of Maven in Eclipse. If you haven't done so, try the latest dev version of M2Eclipse (0.9.9-dev). /

Re: use maven in eclipse without m2eclipse

2009-12-05 Thread maven apache
2009/12/5 Anders Hammar > There is also a maven plugin for eclipse: > http://maven.apache.org/plugins/maven-eclipse-plugin/ > > However, I wouldn't recommend going that pth. M2Eclipse is much better as > you'll get real integration of Maven in Eclipse. If you haven't done so, > try > the latest d

how to use maven to manager a existing project

2009-12-05 Thread maven apache
Hi: I like maven now, and I want to use maven to manager our existing project include pure java project and web project. So I wonder what to do ? I have no idea about where to start my job. For example a java project, it own a source fold named src, I wonder I need to change it to src/main/java? An

Conditional archetype generation

2009-12-05 Thread stephanos
Hi, I need to know if I can use conditions in my archetype. My use case: I have an archetype that can be used in various languages (e.g. Java and Groovy). I want to give the user the base class for the according language. But I don't want to be both classes (MyClass.java & MyClass.groovy) there

Re: how to use maven to manager a existing project

2009-12-05 Thread Wayne Fay
> So I wonder what to do ? I have no idea about where to start my job. > For example a java project, it own a source fold named src, I wonder I need > to change it to src/main/java? What happened when you tried this? Just do it. > And after modify the path, do I need run mvn eclipse:eclipse to re

Maven Install on Mac OS X

2009-12-05 Thread bandrm
This is my first time on a Mac. I have maven 2.2.1 installed on a Mac...but, I have never been successfully able to execute a "mvn install" or "mvn clean install". It would great if someone could help me out from the issues I am having Firstly,I downloaded Maven 2.2.1 (tar.gz), but when I try

Re: Maven Install on Mac OS X

2009-12-05 Thread David C. Hicks
It sounds to me like you're having a problem getting a clean download. Be sure to check the MD5 for your download. If it doesn't match the one published on the download page, then your download has errors. bandrm wrote: > This is my first time on a Mac. I have maven 2.2.1 installed on a Mac...b

Re: Maven Install on Mac OS X

2009-12-05 Thread bandrm
Here are the version details... Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700) Java version: 1.6.0_15 OS name: "mac os x" version: "10.6.2" arch: "x86_64" Family: "mac" -- View this message in context: http://old.nabble.com/Maven-Install-on-Mac-OS-X-tp26657605p26657651.html Sent from th

Re: Maven Install on Mac OS X

2009-12-05 Thread David C. Hicks
Run the command: md5sum apache-maven-2.2.1-bin.tar.bz2 Check to be sure that the result matches the published checksum on the download page: http://maven.apache.org/download.html bandrm wrote: > Here are the version details... > > Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700) > Java ve

[ANN] Maven Ant Tasks 2.1.0 Released

2009-12-05 Thread Paul Gier
The Maven team is pleased to announce the release of the Maven Ant Tasks, version 2.1.0 The Maven Ant Tasks allow several features of Maven to be used in an Ant build. This includes dependency management, reading and writing pom files, and deployment to a Maven repository. More information i

Re: Maven Install on Mac OS X

2009-12-05 Thread bandrm
Thank you. Now, I moved onto installing Maven 2.2.1 tar.gz, rather than Maven 2.2.1 tar.bz2. But, still mvn clean install throws the following error... [FATAL ERROR] Container realm = plexus.core urls[0] = file:/usr/local/maven/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar [INFO] -

Maven Plugin to detect duplicate class files in a e.g. WAR

2009-12-05 Thread Mirko Friedenhagen
Hello, sometimes dependencies change their groupId (e.g. commons-io and org.apache.commons or spring vs. org.springframwork). Maven now has no chance(?!) to detect duplicate JARs with different versions during dependency resolution and puts jars with different versions in a war. In the end you

Re: Maven Install on Mac OS X

2009-12-05 Thread bandrm
Ok, got it. So, here is what happened... 1) checking md5 checksum is very important. First when I installed maven, I assumed the checksums would be correct and without md5 I installed maven. First mistake. 2) Initial installation created a repository /.m2, but there was no repository directory

Hanging on release:prepare

2009-12-05 Thread Jeff French
In searching the net I know this has come up before, but the explanations I've found so far don't seem to match my stituation exactly (e.g. older version of the plugin). I'm using a simple test project to learn how the release plugin works. It's checked into CVS, and we use private-public key pai

Plugin version in SUPER POM simply ignored, with trivial pom.xml

2009-12-05 Thread kdwinkler
maven-resources-plugin resolves to version 2.4.1 despite 2.3 being specified in the super pom. My entire pom is this: 4.0.0 com.redshiftsoft redshift-pom pom 1.0.0-SNAPSHOT mvn help:describe -Dplugin=resources Reports version 2.4.1 HOWEVER, mvn help:effective-pom sh

Re: Hanging on release:prepare

2009-12-05 Thread Paul Benedict
Jeff, I would create a JIRA issue for project MRELEASE. Attach your debug out (mvn -X) when you do the release preparation. On Sat, Dec 5, 2009 at 6:37 PM, Jeff French wrote: > > In searching the net I know this has come up before, but the explanations > I've found so far don't seem to match my s

Re: Plugin version in SUPER POM simply ignored, with trivial pom.xml

2009-12-05 Thread Paul Benedict
Keith, Know that and are SEPARATE configurations. A version specified in one section does not affect the other. If this is your situation, declare the version under both tags. Paul On Sat, Dec 5, 2009 at 6:49 PM, kdwinkler wrote: > > maven-resources-plugin resolves to version 2.4.1 despite 2.

Re: Plugin version in SUPER POM simply ignored, with trivial pom.xml

2009-12-05 Thread kdwinkler
> and are SEPARATE configurations. Which version is reported by "mvn help:describe -Dplugin="? Anyway, if I change my simple pom to this (note this is a brand new project, this pom.xml is the only thing in the directory, there is no parent pom--other than super--I have not modified the maven

Re: Plugin version in SUPER POM simply ignored, with trivial pom.xml

2009-12-05 Thread Paul Benedict
Keith, > Which version is reported by "mvn help:describe -Dplugin="? My guess is that it is from , not Paul - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.

Re: Plugin version in SUPER POM simply ignored, with trivial pom.xml

2009-12-05 Thread kdwinkler
Help even reports version 2.4.1 for the below pom: ... org.apache.maven.plugins maven-resources-plugin 2.3