Re: version in dependency is needed

2007-12-31 Thread Rice Yeh
On Dec 31, 2007 2:20 PM, Dan Tran <[EMAIL PROTECTED]> wrote: > In order to inherit the version from dependencyManagent, you need to > have the same type as well. > > In depMan you have type=war but in your dep you have type=ejb > > -D > > btw, is there such type as 'ejb' First, thanks for your

Re: Maven Variable to take the system date?

2007-12-31 Thread amit kumar
Thanks, its working now. On Dec 31, 2007 7:36 PM, Jerome Lacoste <[EMAIL PROTECTED]> wrote: > On Dec 31, 2007 9:26 AM, amit kumar <[EMAIL PROTECTED]> wrote: > > Oh, can I cope up with this?Any workaround? > > change your format: > >{0,date,-MM-dd HH:mm:ss} > > to something that suits your

Re: state of maven support for Google Web Toolkit ?

2007-12-31 Thread Rahul Thakur
I find myself in the same boat while developing a GWT based webapp. Having used the Maven plugin(s) out there, I believe, they can be improved (not had good user experiences yet!). I think we should consolidate all efforts towards a GWT plugin. If you have and want to share some useful pieces

Re: Notification on deployment of a new version of artifact

2007-12-31 Thread Wayne Fay
To me, this does not seem like functionality that belongs in Maven itself. Instead, this might be functionality available in a Maven repository management tool like Archiva, Proximity, etc. You will need to look at those packages and see what is available. Wayne On 12/28/07, amit kumar <[EMAIL P

Re: Tracing transitive dependeny - please help!

2007-12-31 Thread Wayne Fay
See this thread for more information that may be helpful to you: Subject: way to find which dependence cause the inclusion of a jar? Date: 31-dec-2007 Wayne On 12/30/07, /U <[EMAIL PROTECTED]> wrote: > > Env: JDK1.6, Maven 2.0.7 > > I have projects TOP, A1, A12 and A13 structured as follows: > >

Re: Scanning for projects ... hangs

2007-12-31 Thread Kalle Korhonen
Haven't used Hardy, but most Linux distros still ship with GNU Java as the default, and it has numerous problems (such as parsing XML files). Run java -version, if you get something like: gij (GNU libgcj) version 4.1.1 20070105, loosely follow for example these instructions: http://daveshields.word

RE: Problem with maven-dependency-plugin: copy-dependencies

2007-12-31 Thread Brian E. Fox
-Original Message- From: PatrickV [mailto:[EMAIL PROTECTED] Sent: Sunday, December 30, 2007 2:11 PM To: users@maven.apache.org Subject: RE: Problem with maven-dependency-plugin: copy-dependencies >I changed the packaging of module C into jar, and no difference. >I think the copy-depend

RE: Scanning for projects ... hangs

2007-12-31 Thread Brian E. Fox
Hrm, that's interesting. The default settings should work just fine. Are you able to use maven to build other things? -Original Message- From: Immanuel Normann [mailto:[EMAIL PROTECTED] Sent: Sunday, December 30, 2007 1:39 PM To: Maven Users List Subject: Re: Scanning for projects ... han

RE: Plugins within plugins: best practices

2007-12-31 Thread Brian E. Fox
It can cause problems when you have another plugin artifact listed as your dependency so this probably won't work. -Original Message- From: Kallin Nagelberg [mailto:[EMAIL PROTECTED] Sent: Sunday, December 30, 2007 3:37 PM To: Maven Users List Subject: Re: Plugins within plugins: best pra

RE: version in dependency is needed

2007-12-31 Thread Brian E. Fox
You don't have the same artifactId: booking-ejb.booking-web -Original Message- From: Rice Yeh [mailto:[EMAIL PROTECTED] Sent: Monday, December 31, 2007 12:52 AM To: Maven Users List Subject: version in dependency is needed Hi, I have a pom which has a dependency as follows:

Re: Maven2 Assembly plugin 2.2-beta seems broken

2007-12-31 Thread Kalle Korhonen
I have: ${basedir}/src/main/resources/readme.txt / true in my pom and I can confirm it works with 2.2.-beta-1. Is yours inside files element? Kalle On 12/30/07, Ryan Moquin <[EMAIL PROTECTED]> wrote: > > I've been trying to find out

Native JNI libs and Maven dependencies

2007-12-31 Thread Jon Brisbin
I've been using eXist as the XML:DB backend for our portal application, but I'm moving to Oracle Berkley DBXML. There is no Maven POM for DBXML, obviously, but I'd like to include that as a dependency for my application rather than installing it in the JVM's ext/ and i386/ directories. Th

Re: Profiles and filtering - global files

2007-12-31 Thread Wendy Smoak
On Dec 4, 2007 3:40 AM, heimlich <[EMAIL PROTECTED]> wrote: > The problem is that each subproject tries to refer to the 'filters' > directory IN ITS OWN directory structure, > not the one at the top. > > The reason for this structure is that I want: > > ONE conf.properties > ONE filter file per pr

Re: version in dependency is needed

2007-12-31 Thread Andrew Robinson
> booking-ejb ... > booking-web Your artifactIds do not match - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven and surefire

2007-12-31 Thread Marco Mistroni
hi, thanx for replying... on new years eve :) yes i'll try and post here (code is @work, so won't be back until thursday thanx again and regards marco On Dec 31, 2007 3:20 PM, Nick Stolwijk <[EMAIL PROTECTED]> wrote: > Have you tried running Surefire in fork mode? [1] > > Hth, > > Nick Stolwij

Re: maven and surefire

2007-12-31 Thread Nick Stolwijk
Have you tried running Surefire in fork mode? [1] Hth, Nick Stolwijk [1] http://maven.apache.org/plugins/maven-surefire-plugin/examples/forking.html Marco Mistroni wrote: hi all, i am experiencing problems with maven2 and surefire i have an existing app that uses ant, and in running junit

maven and surefire

2007-12-31 Thread Marco Mistroni
hi all, i am experiencing problems with maven2 and surefire i have an existing app that uses ant, and in running junit tests all pass when i run same tests via maven2, i got some of them failing by looking closely at them, i suspect surefire does not run in the same way as

Re: Maven Variable to take the system date?

2007-12-31 Thread Jerome Lacoste
On Dec 31, 2007 9:26 AM, amit kumar <[EMAIL PROTECTED]> wrote: > Oh, can I cope up with this?Any workaround? change your format: {0,date,-MM-dd HH:mm:ss} to something that suits your OS. Jerome - To unsubscribe, e-mail

Re: way to find which dependence cause the inclusion of a jar?

2007-12-31 Thread Julien Graglia
Dennis Lundberg a écrit : > Rice Yeh wrote: > >> Hi, >> Is there a way to find what dependence in a pom cause the inclusion of a >> jar? That is, the reverse of dependence chain. >> >> Regards, >> Rice >> >> > > mvn dependency:tree > > Yes but only with version 2.0-alpha-5-SNAPSHOT..

Re: Release killed by site config/how do you create multi module site with correct links?

2007-12-31 Thread Simon Kitching
Hi Paul, Sundling, Paul wrote: > > Already wasted over a day on this, so maybe someone else can give me an > idea how to do it. There are two parts to this, generating a site of a > multi module project with the correct links and the strange failure I > get when doing a release if site config

Re: way to find which dependence cause the inclusion of a jar?

2007-12-31 Thread Dennis Lundberg
Rice Yeh wrote: > Hi, > Is there a way to find what dependence in a pom cause the inclusion of a > jar? That is, the reverse of dependence chain. > > Regards, > Rice > mvn dependency:tree -- Dennis Lundberg - To unsubscrib

Re: way to find which dependence cause the inclusion of a jar?

2007-12-31 Thread Julien Graglia
noon a écrit : > try the -X argument e.g. mvn -X compile > You can "print" all the text into a text file by mvn -X compile >> > myfile.txt > > Another way to browse the Maven transitive dependencies is to create Maven > site by running mvn site command. This creates a Maven site with a nice > depen

Re: way to find which dependence cause the inclusion of a jar?

2007-12-31 Thread noon
try the -X argument e.g. mvn -X compile You can "print" all the text into a text file by mvn -X compile >> myfile.txt Another way to browse the Maven transitive dependencies is to create Maven site by running mvn site command. This creates a Maven site with a nice dependency report. -- View thi

way to find which dependence cause the inclusion of a jar?

2007-12-31 Thread Rice Yeh
Hi, Is there a way to find what dependence in a pom cause the inclusion of a jar? That is, the reverse of dependence chain. Regards, Rice

Re: Strange behaviour with StarTeam

2007-12-31 Thread Ken Turner
Dan I'm a newcomer to everything Java-flavoured, and I don't yet have enough confidence in my Java coding abilities to attempt to patch the StarTeam provider code. I'm a bit puzzled by your comment about using Continuum to do the Maven release: I don't use this option, primarily because I don't

Re: Strange behaviour with StarTeam

2007-12-31 Thread Dan Tran
looks like you stack trace show NPE At Caused by: java.lang.NullPointerException at org.apache.maven.scm.provider.starteam.command.changelog.StarteamChangeLogCommand.executeChangeLogCommand(StarteamChangeLogCommand.java:57) and the exception shows this code if ( branch != null |

Re: Maven Variable to take the system date?

2007-12-31 Thread amit kumar
Oh, can I cope up with this?Any workaround? On 12/31/07, Dan Tran <[EMAIL PROTECTED]> wrote: > > ':' is not allowed in windows filename. > > -D > > On Dec 30, 2007 11:22 PM, amit kumar <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks. I am using Windows XP and this is the build tag for my pom.xml. >