Auto creating the tool version string

2009-02-21 Thread Oleg Taranenko
Hello Users, I want to get the version in form toolname-1.0.1-build_476-20090217 where 1.0.1 is maven's versionId attribute, 476 - subversion's build number, and 20090217 - date of release. Could someone pointing how? I hope I'm not a first wishing this. Thanks in advance, Oleg -- Be

Re: New repository for Maven snapshots

2009-02-21 Thread Wes Wannemacher
On Saturday 21 February 2009 21:15:14 jie...@gmail.com wrote: > On Sat, Feb 21, 2009 at 8:52 PM, Wes Wannemacher wrote: > > Brian, right now, the struts project pushes its snapshots over to > > people.a.o when the apache hudson builds them (as often as daily, but > > usually not quite that often).

Re: New repository for Maven snapshots

2009-02-21 Thread jieryn
On Sat, Feb 21, 2009 at 8:52 PM, Wes Wannemacher wrote: > > Brian, right now, the struts project pushes its snapshots over to people.a.o > when the apache hudson builds them (as often as daily, but usually not quite > that often). Apache project itself uses Hudson over Continuum? LOL. -- There

Re: New repository for Maven snapshots

2009-02-21 Thread Wes Wannemacher
On Saturday 21 February 2009 20:10:49 Brian E. Fox wrote: > The Maven project has recently moved to a new repository within the > Apache infrastructure. The repository that was previously at: > http://people.apache.org/repo/m2-snapshot-repository is deprecated. All > new snapshots are being deploy

New repository for Maven snapshots

2009-02-21 Thread Brian E. Fox
The Maven project has recently moved to a new repository within the Apache infrastructure. The repository that was previously at: http://people.apache.org/repo/m2-snapshot-repository is deprecated. All new snapshots are being deployed to http://repository.apache.org/snapshots . Note that this is a

RE: Can't get maven to compile with java 1.5

2009-02-21 Thread Jon Georg Berentsen
+1 BUT this link should give you some hints: http://maven.apache.org/plugins/maven-checkstyle-plugin/plugin-info.html AFTER you learn the basics ;) Jon -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: 22. februar 2009 01:35 To: Maven Users List Subject: Re: Can't get

Re: Can't get maven to compile with java 1.5

2009-02-21 Thread Wayne Fay
> Added that and here is pom.xml (inherited by Foundation/pom.xml) snip > Note it still says same thing. > > Is the configuration in the right place? 1. Don't send the full output like that to this list again. If you can identify the relevant ~10 lines or so of the output, that's ok to send here.

Re: Can't get maven to compile with java 1.5

2009-02-21 Thread John Wooten
Added that and here is pom.xml (inherited by Foundation/pom.xml) http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance " xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd "> 4.0.0 com.areteq

Re: Can't get maven to compile with java 1.5

2009-02-21 Thread Wes Wannemacher
On Saturday 21 February 2009 16:58:55 John Wooten wrote: > I have JAVA_HOME set to the java 1.5.1 and when I type echo $JAVA_HOME it > shows this. > I've put in a settings file settings.xml to set the jdk to 1.5 also. > > It compiles and says it can't do generics using 1.3, to do a > /Users/woo/Dev

Can't get maven to compile with java 1.5

2009-02-21 Thread John Wooten
I have JAVA_HOME set to the java 1.5.1 and when I type echo $JAVA_HOME it shows this. I've put in a settings file settings.xml to set the jdk to 1.5 also. It compiles and says it can't do generics using 1.3, to do a /Users/woo/Development/workspaces/Qworkspace/Foundation/src/com/areteq/common/Hash

Re: Maven Integration for Eclipse - does it support modules?

2009-02-21 Thread Jason van Zyl
On 21-Feb-09, at 12:13 PM, Eugene Kuleshov wrote: Jason van Zyl-5 wrote: It is always better to import Maven projects as Maven projects, not normal projects and then enabling dependency management. Jason, you don't need to enable dependency management when "Import / Maven Projects" w

Re: Using super pom

2009-02-21 Thread John Wooten
Oh, BTW, when I do a maven clean, it removes the target/classes folder. That is where maven is supposed to compile the classes. Do I have to separately compile within Eclipse, or can maven do the compile also? On Feb 21, 2009, at 1:12 PM, Rusty Wright wrote: John, go to sonatype.com and

Re: Using super pom

2009-02-21 Thread John Wooten
Thanks, I'm getting those printed out so I can read a bit more leisurely. I finally copied the pom.xml to the directory above the various eclipse projects and it seems to find them now. I keep getting errors now about some of the tools ( plugins ) not finding VM software, and not being

Re: Problem with maven-ear-plugin

2009-02-21 Thread Stephane Nicoll
For the record, I am stuck on one issue but when I am done I will probably call for vote since the plugin will support JBoss5. S. On Sat, Feb 21, 2009 at 6:02 PM, David Goodenough < david.goodeno...@btconnect.com> wrote: > Great, that fixed that problem. It was (fortunately) a package under my

Re: Problem with maven-ear-plugin

2009-02-21 Thread Wayne Fay
> to a new version of the maven-ear-plugin (2.3.2) which fixes this, but > the latest version in the central maven repositories is 2.3.1. Does the > new version exist, and if so how does it get uploaded to the central > repository? If its not in Central, then it hasn't been released yet. You'll n

Re: Using super pom

2009-02-21 Thread Rusty Wright
John, go to sonatype.com and look at their book; http://www.sonatype.com/documentation/books I was able to figure it out from that and they're good at exhorting you to use best practices. Another good online book is http://www.exist.com/better-build-maven John Wooten wrote: Thanks, I thi

Re: Maven Integration for Eclipse - does it support modules?

2009-02-21 Thread Eugene Kuleshov
First of all you are using pretty old version for m2eclipse, the recent 0.9.7 release been published few weeks ago. Please note that "Enable Maven Dependency Management" action is currently provides very basic functionality and originally meant to be used to enable Maven support on existing

Re: Maven Integration for Eclipse - does it support modules?

2009-02-21 Thread Eugene Kuleshov
Jason van Zyl-5 wrote: > > It is always better to import Maven projects as Maven projects, not > normal projects and then enabling dependency management. > Jason, you don't need to enable dependency management when "Import / Maven Projects" wizard is used. regards, Eugene -- View

Re: maven-eclipse-plugin

2009-02-21 Thread Eugene Kuleshov
Dmitri, It really doesn't matter if you create projects from the command line of from inside Eclipse. However being inside Eclipse gives additional advantages from directly using corresponding tools APIs, such as WTP ones, so it is more compliant and does not require to reverse engineer WTP con

Re: Using super pom

2009-02-21 Thread John Wooten
Thanks, I think the problem is not understand the life cycle of a maven build and how these things relate. So, as I understand it, you create a master pom, no modules, but default information. Then mvn install it to put it into a repository. It should be a "pop" package, though. Then

Re: Problem with maven-ear-plugin

2009-02-21 Thread David Goodenough
Great, that fixed that problem. It was (fortunately) a package under my control. But now I have a further problem. It complains:- [INFO] Deployment descriptor: ... /AdminEar-0.0.1-SNAPSHOT/META-INF/application.xml does not exist Now in pom.xml I have, ... 5 fal

RE: New Maven Respository Search Application

2009-02-21 Thread Eugene Kuleshov
Deron, I wonder what is the purpose of such application? Being a Maven user for several ears I never had a need to browse content of some jar classes in the Maven repository... not outside my ide anyways. Also, from what I see, most of the information is already available from the repository

RE: JXR plugin in multi-module project

2009-02-21 Thread Giovanni Azua
Opps I forgot I bumped into this before and even opened a ticket for it http://jira.codehaus.org/browse/JXR-69 Sorry! > -Original Message- > From: Giovanni Azua [mailto:brave...@swissonline.ch] > Sent: Saturday, February 21, 2009 4:18 PM > To: 'Maven Users List' > Subject: JXR plugin in m

JXR plugin in multi-module project

2009-02-21 Thread Giovanni Azua
Hi, In my pom I set the jxr aggregate configuration to true, and it indeed aggregate all module reports BUT it does not cross link them e.g. Sub-module A contains class X Sub-module B contains class Y that extends A class Y xref html won't link to X. I can provide an example project. My build

Re: Using super pom

2009-02-21 Thread Wendy Smoak
On Sat, Feb 21, 2009 at 6:48 AM, John Wooten wrote: > I have the following file structure: > > /Deep6MasterPOM >pom.xml > /Foundation >pom.xml > > I have a local maven repository in ~woo/.m2/repository, of course. > > I'm trying to put a few common things into the Deep6MasterPOM li

Using super pom

2009-02-21 Thread John Wooten
I have the following file structure: /Deep6MasterPOM pom.xml /Foundation pom.xml I have a local maven repository in ~woo/.m2/repository, of course. I'm trying to put a few common things into the Deep6MasterPOM like the JDepends plugin for later components of the entire Deep6 b

Re: Problem with maven-ear-plugin

2009-02-21 Thread Stephane Nicoll
You have a transitive dependencies of type zip which seems pretty bad to me. mvn dependency:resolve will give you the list of dependencies mvn dependency:tree will explain where this zip dependency is coming from You can use excludes or you can fix the project you own it. HTH, Stéphane On Fri,