Re: Multiproject jar:install when the jars have never been deployed

2004-02-17 Thread dion
Create a project with no dependencies to be the 'multiproject' project. This is currently a known failing of maven and the reactor in that projects need to have dependencies satisfied before they are processed. -- dIon Gillard, Multitask Consulting Gareth Cronin <[EMAIL PROTECTED]> wrote on 18

RE: Checking A File In Via Maven?

2004-02-17 Thread Brett Porter
There isn't a goal in the SCM plugin to do this for any file, but it does use to do it for project.xml. Your best bet at the moment is to add your own goal to maven.xml that does the same thing. - Brett > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: We

Re: Checking A File In Via Maven?

2004-02-17 Thread conradwt
Hi, do you know the specific goal to use to do this? I have looked at the docs and I haven't been able to find a reference for checking in specific file(s). Thanks, -Conrad > > Have a look in the SCM plugin - it will check in project.xml for you. It is > basically just using the ant cvs comman

RE: Checking A File In Via Maven?

2004-02-17 Thread Brett Porter
Have a look in the SCM plugin - it will check in project.xml for you. It is basically just using the ant cvs command. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 18 February 2004 12:42 PM > To: [EMAIL PROTECTED] > Subject: Checking A File In

Checking A File In Via Maven?

2004-02-17 Thread conradwt
Hi, how does one check a file in via Maven? Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Project Properties and "extends"

2004-02-17 Thread Sebastien Sahuc
We are looking for the same feature. Here is what we did locally by patching maven code. Our project.properties for each project can include a master project.properties using the following line: project.properties of the project == @../master/master_project.properties = === master_pro

RE: Project Properties and "extends"

2004-02-17 Thread Brett Porter
Yes and no. Certainly a planned feature. Search the archives - there's a few threads about this. Cheers, Brett > -Original Message- > From: Mark R. Diggory [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 18 February 2004 12:22 PM > To: Maven Users List > Subject: Project Properties and "ex

Project Properties and "extends"

2004-02-17 Thread Mark R. Diggory
Is it possible to inherit the parent projects "parent-project/project.properties" when you "extend" the "parent-project/project.xml"? thanks -Mark -- Mark Diggory Software Developer Harvard MIT Data Center http://www.hmdc.harvard.edu -

RE: maven jar:deploy and cygwin

2004-02-17 Thread Brett Porter
CYGWIN_NT-5.1 F200915 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin Do you have another ssh in the path? When maven runs, it runs outside of cygwin, so chekck whether you can still ssh after running "cmd" from inside cygwin. Most likely, %HOME% is set differently or something and

RE: multiproject and an Unknown plugin "maven-java-plugin"...

2004-02-17 Thread Brett Porter
Looks like a bug in the caching :( What reports do you include? You can probably workaround this by running maven java:compile multiproject:site Can you file this trace in JIRA, along with the reports you use in project.xml (or if it's the defaults, let me know), and whether you have any java s

Re: maven jar:deploy and cygwin

2004-02-17 Thread Daniel Flesner
well, i don't believe it's my settings since i'm using the same build.properties on solaris and it works fine. which version of cygwin do you use? mine is: CYGWIN_NT-5.1 rascal 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin i even edited the plugin to print what exactly it is exec

Re: multiproject and an Unknown plugin "maven-java-plugin"...

2004-02-17 Thread Sebastien Sahuc
Hi Brett, thanks for your quick response. Here is what I have in my ~/.maven/plugins folder: maven-java-plugin-1.3 Which is not empty. Should I rebuild from scratch ? If yes, which version ? At any rate, let me know if I can be of any help. thanks a lot, Sebastien On Feb 17, 2004, at 4:50 P

RE: multiproject and an Unknown plugin "maven-java-plugin"...

2004-02-17 Thread Brett Porter
Does the java plugin exist in ~/.maven/plugins? If not, your bootstrap was faulty. IF so, this is a bug I have introduced recently. - Brett > -Original Message- > From: Sebastien Sahuc [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 18 February 2004 11:48 AM > To: Maven Users List Mailing L

multiproject and an Unknown plugin "maven-java-plugin"...

2004-02-17 Thread Sebastien Sahuc
I just rebuild the latest 1.0 branch of maven with the HEAD of maven-plugins, however when I run a 'maven multiproject:site' on a master build (2 dep projects), here is what I get in the trace, although it doesn't fail the whole thing. What does it mean ? What did I miss ? And where should

RE: maven jar:deploy and cygwin

2004-02-17 Thread Brett Porter
Works for me. Check your settings. > -Original Message- > From: Daniel Flesner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 18 February 2004 10:59 AM > To: Maven Users List > Subject: maven jar:deploy and cygwin > > > when trying to deploy a jar from my windows box via cygwin the deploy

maven jar:deploy and cygwin

2004-02-17 Thread Daniel Flesner
when trying to deploy a jar from my windows box via cygwin the deploy just hangs forever at the following line, any idea why jar:deploy via cygwin isn't compatible with maven? i can do an scp manually to the same machine and it works fine. -- jar:jar: [echo] Moving target/

Re: EAR plugin: application.xml generation without java

2004-02-17 Thread Richard Lewis-Shell
Seems I'm talking to myself here! This issue is in JIRA already - MPEAR-14 - Original Message - From: "Richard Lewis-Shell" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 17, 2004 5:56 PM Subject: Re: EAR plugin: application.xml generation without

Re: Unit testing question - typo

2004-02-17 Thread Marco Tedone
[snip] > 2) The unit tests fail because the AbstractTest from which they inherit can > find a property file (and because of point 1 I don't know the reason) > [/snip] Please read: 2) The unit tests failed because the AbstractTest from which they inherit can't find a property file (and because of

Re: Unit testing question

2004-02-17 Thread Marco Tedone
I obviously already went for the first, but I was wondering what will it happen when my application will grow significantly. On the other hand, I tried the second one, with fork=true, and: 1) First of all I must admit that I don't know what the impact of this change will be on the effective applic

Re: Unit testing question

2004-02-17 Thread Sebastien Sahuc
I'm not surprised to hear your singleton class is being instanciated more than once. This is due to the fact the maven create a separate classloader for each TestCase it finds and executes. There is two way to quickly solve your problem. First would be to aggregate all test cases that use the s

Re: Jar URL

2004-02-17 Thread Fabiano Cruz (Neki Technologies)
Hi Freddy! try it: http://hotwork.sourceforge.net/hotwork/manual/maven/maven-user-guide.html#UTILIZANDO_MÚLTIPLOS_REPOSITÓRIOS_REMOTOS Fabiano Cruz - Original Message - From: "Freddy" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 17, 2004 3:23 P

Re: Unit testing question

2004-02-17 Thread Marco Tedone
Please find in the attached picture the architecture of my unit testings. Basically, I created two unit test classes which extend and AbstractTest class which, in turn, extends the JUnit TestCase class. Both classes retrieve a logger from a class implemented as Singleton (therefore only one instan

Multiproject jar:install when the jars have never been deployed

2004-02-17 Thread Gareth Cronin
We normally do a "multiproject:jar:install" to build the latest version of all our jars/projects using Reactor. This works fine until... we increment the version number for all the projects. The multiproject goal fails because it can't find the dependencies, but the dependencies are exactly wha

Jar URL

2004-02-17 Thread Freddy
Where can I specify the url to download a jar??? []s Freddy Frederico Silva Guimarães Tel: (21) 9952-1717 ICQ: 127277403 Email: [EMAIL PROTECTED] - Original Message

Re: first-timer build error

2004-02-17 Thread Sean Kelly
Could you try to remove line 365 (if you cvs head for xdoc plugin) and certainly 346-347 of plugin.jelly? I have no time for test it. Removing those lines caused other problems (unable to find navigation.xml). However, changing line 365 from to makes it work on Unix. I'm redoi

Re: first-timer build error

2004-02-17 Thread Emmanuel Venisse
Could you try to remove line 365 (if you cvs head for xdoc plugin) and certainly 346-347 of plugin.jelly? I have no time for test it. Emmanuel - Original Message - From: "Sean Kelly" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 17, 2004 6:27 PM S

Re: first-timer build error

2004-02-17 Thread Sean Kelly
Ok, so it's a bug in xdoc plugin. It works fine under windows. Confirmed. I get the error on Fedora Core release 1 Linux, but not on Windows XP Pro SP1. Some slashification bug, perhaps? :-/ :-\ --Sean - To unsubscribe, e-

Re: first-timer build error

2004-02-17 Thread Emmanuel Venisse
Ok, so it's a bug in xdoc plugin. It works fine under windows. Emmanuel - Original Message - From: "Sebastien Sahuc" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 17, 2004 5:58 PM Subject: Re: first-timer build error > Emmanuel, > > Where should

Re: first-timer build error

2004-02-17 Thread Sean Kelly
Is there a place where you specify a file url and set it to "file://home/kelly/..." ? If it is the case, Java thinks home is a host, so please change to: Nope; I haven't done anything. This is with a fresh, untouched CVS checkout of MAVEN-1_0-BRANCH of maven, and HEAD of maven-plugins. Odd, h

Re: first-timer build error

2004-02-17 Thread Sebastien Sahuc
Emmanuel, Where should the repository address be redefined ? I don't think I have anything specific for my env (no build.properties ) etc... The weird thing is that taking the feb/9/04 snapshot (HEAD) works fine, whereas using the 1.0 branch gives me the error reported here. Even more funny

Re: first-timer build error

2004-02-17 Thread Sebastien Sahuc
Thanks Sean, I'm glad to hear I'm not the only person getting this weird exception. And yes, my home dir is /Users/sebastiensahuc, which might help hinting the issue. Good catch ! Seb On Feb 17, 2004, at 8:43 AM, Sean Kelly wrote: with a very strange Caused by: java.net.UnknownHostException:

Re: first-timer build error

2004-02-17 Thread Villevalois Didier
Is there a place where you specify a file url and set it to "file://home/kelly/..." ? If it is the case, Java thinks home is a host, so please change to: file:///home/kelly/... First two / are from the URL scheme before the host, the third one is for the root of your hard drive. ++didier Sean

Re: first-timer build error

2004-02-17 Thread Emmanuel Venisse
Apparently, you redefine repository address. Your protocol definition is incorrect. You use file:// instead of file:/// (or eventually file:/) Emmanuel - Original Message - From: "Sebastien Sahuc" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 17,

Re: first-timer build error

2004-02-17 Thread Sean Kelly
with a very strange Caused by: java.net.UnknownHostException: Users if you keep looking below Interesting; I'm getting the exact same exception in the exact same place, but the unknown host isn't "Users", it's "home". Is there any chance your home directory is something like /Users/sebastie

Re: first-timer build error

2004-02-17 Thread Sebastien Sahuc
Hi Emmanuel, I'm so relieved to hear that other have the same issue building maven from CVS. I had no luck understanding which maven and maven-plugins to checkout to get the whole thing building shamelessly. As a matter of fact I took a cvs snapshot from feb 9 for both project (HEAD branch),

AW: Prototype implementation for transitive dependencies [Code]

2004-02-17 Thread Stoffels, Ralf (FWI-AW2)
Hi, it seems that this attachment didn't work. Has anyone an idea why not ? Here is the code: --- ${i}: ${artifact.dependency.artifactId}

Prototype implementation for transitive dependencies [Code]

2004-02-17 Thread Stoffels, Ralf (FWI-AW2)
Hi, I couldn't wait until support of transitive dependencies is integrated in Maven. So I wrote a Jelly-plugin for this. It is very slow because it is written in pure Jelly and it evaluates several occurrences of the same artifact again and again. I hope there will be a Java Bean based solution in

Réf. : Cannot make multiproject "hello world" work !

2004-02-17 Thread thomas . carrie
I have finally found the problem : maven has a cache in the user directory This cache got corrupted somehow 17/02/2004 12:56

RE: Cannot make multiproject "hello world" work !

2004-02-17 Thread Andreas.Ebbert
Hi, > -Original Message- > From: ext [EMAIL PROTECTED] > multiproject:goal is use with the -Dgoal option : > maven -Dgoal=goal_to_launch multiproject:goal will execute > the goal_to_launch in all the subproject. If you look at the > goal multiproject:goal you will see that the -Dgoal op

RE: Cannot make multiproject "hello world" work !

2004-02-17 Thread Nicolas . CHALUMEAU
multiproject:goal is use with the -Dgoal option : maven -Dgoal=goal_to_launch multiproject:goal will execute the goal_to_launch in all the subproject. If you look at the goal multiproject:goal you will see that the -Dgoal option is required. Nicolas, [EMAIL PROTECTED] 17/02/2004 12:56 Veuil

Cannot make multiproject "hello world" work !

2004-02-17 Thread thomas . carrie
I have a Hello Word project : a single java class, no dependency My project.xml file is copied from maven getting started. Here is my maven.xml : java:compile C:\tmp\mavmer>maven toto __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligen

Re: first-timer build error

2004-02-17 Thread Svetlin Stanchev
Hi Emmanuel, I just deleted my maven installation and plugins directory, checked-out and built from scratch. I am still getting the same error I reported in Jira for the 1.1 (see below). Could somebody please confirm this, as I am a bit confused already not to make some basic mistake? Moreove

Re: first-timer build error

2004-02-17 Thread Emmanuel Venisse
HEAD - Original Message - From: "Svetlin Stanchev" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 17, 2004 11:21 AM Subject: Re: first-timer build error > Which version of maven-plugins should be used for build with this (there > is no 1.0-BRANCH

Re: first-timer build error

2004-02-17 Thread Svetlin Stanchev
Which version of maven-plugins should be used for build with this (there is no 1.0-BRANCH branch for the maven-plugins in CVS)? Thanks, -- Svetlin Jason van Zyl wrote: On Fri, 2004-02-13 at 05:31, Emmanuel Venisse wrote: You must use MAVEN_1.0_BRANCH in cvs. The HEAD isn't for users for the mom

setting plugin properties in maven.xml

2004-02-17 Thread Andreas.Ebbert
Hi, I've asked this question already last week, but apparently could not express it so clearly that the problem was understood. The problem is, that we have one directory, in which the sources for an ejb jar are. With these sources, for different ejb-jars must be created. all four ejb-jars will