maven scp not working

2005-05-02 Thread GOKULAM Jayaram
Hi all, I tried using ANT's scp task. I copied the jsch.jar in to Maven's lib and included in the load of forehead.conf. I wrote a script goal name=plugin:copy description=Copy the artifacts taskdef name=scp

Re: maven scp not working

2005-05-02 Thread Brett Porter
- do not cross post to multiple lists. It's considered incredbily rude. This has nothing to do with the maven-plugins project - the scp task was introduced in Ant 1.6, which cannot be used from Maven 1.0. - you can probably achieve this with ear:deploy? - Brett On 5/2/05, GOKULAM Jayaram [EMAIL

maven jboss plugin problem

2005-05-02 Thread GOKULAM Jayaram
Hi all, I tried to deploy a war file in JBOSS app server using JBOSS plugin version 1.5. Its giving me a weird problem. It picks up the artifact from the folder c:\Maven1.0.2\bin\target\sample.war and deploys it in the same directory, instead of deploying it to the

Maven + Eclipse

2005-05-02 Thread vijayakumar.lakshmanan
Hi All, Anyboy have document for how to configure maven into eclipse idea's appreciated ! Rgds Vijay Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may

Re: Maven + Eclipse

2005-05-02 Thread Gisbert Amm
http://maven.apache.org/reference/ide/index.html [EMAIL PROTECTED] wrote: Hi All, Anyboy have document for how to configure maven into eclipse idea's appreciated ! Rgds Vijay Confidentiality Notice The information contained in this electronic message and any attachments to this message are

[M2] Unit test execution dir ?

2005-05-02 Thread Marc Jambert
Good afternoon, I am looking for a way to define the execution dir for unit tests. I expected it to be target since test resources are copied in it but it does not seem to be the case. Anybody knows ? Thanks ! Marc - To

ant:delete is evil

2005-05-02 Thread Jens Zastrow
just deleted whole day of work in a second by uncommenting a property-set. !-- j:set var=out ${maven.build.dir}/blabla-- ant:delete dir=${out}/ simply removed the whole basedir :-( - To unsubscribe, e-mail: [EMAIL

[M2] How to improve the documentation for the next generation.

2005-05-02 Thread Jim Mochel
To those people that are tackling the Maven 2 documentation I just wanted to throw a note your way: I have been moving off of supporting a Maven based build system and watching another guy take it on and his learning curve has made me realize that there is one thing that could speed the learning

RE: delete is evil

2005-05-02 Thread Vincent Massol
-Original Message- From: Jens Zastrow [mailto:[EMAIL PROTECTED] Sent: lundi 2 mai 2005 15:59 To: Maven Users List Subject: ant:delete is evil just deleted whole day of work in a second by uncommenting a property-set. !-- j:set var=out ${maven.build.dir}/blabla-- ant:delete

maven2 site plugin

2005-05-02 Thread Massimo Lusetti
I've seen the site plugin still not available from http://maven.apache.org/maven2/plugin-list.html so i would like to know: Which technology will site plugin use ? Do you plan to make the plugin pluggable with different site generation technology ? Regards -- Massimo http://meridio.blogspot.com

Re: delete is evil

2005-05-02 Thread Eric Wood
I had the same thing happen to me the other week and was fueled! Although if you are using eclipse you can restore your files from local history. Good luck. - Original Message - From: Vincent Massol [EMAIL PROTECTED] To: 'Maven Users List' users@maven.apache.org Sent: Monday, May 02,

accessing plugin-variables in subprojects

2005-05-02 Thread Jens Zastrow
maven:reactor ... j:forEach var=reactorProject items=${reactorProjects} echo${reactorProject.getPluginContext('jiac-aunit-plugin').getVariable ('aunit.output') }/echo /j:forEach The output should contain something like subproject-basedir/target/xxx.output, but it doesn't. It prints for all

test:test on windows

2005-05-02 Thread Jan Rudert
hi there, we've got two similar build systems running on both linux (suse 9.1) and windows xp. maven is integrated there into Cruiscontrol cbs. my problem: tests on the maven goal test:test hang on windows while they run through on linux. they both have the same code basis. does anyone

Inserting SCM and date/time info into a site

2005-05-02 Thread Mykel Alvis
Sorry if this has been covered but I can't seem to locate anything. Is there a way to use Maven to insert the subverision revision number of my code directly into the generated site, along with a date/time stamp, like a This site was generated from Revision X of project.xml on 2005-05-01 in a

Re: test:test on windows

2005-05-02 Thread Gisbert Amm
Jan Rudert wrote: hi there, we've got two similar build systems running on both linux (suse 9.1) and windows xp. maven is integrated there into Cruiscontrol cbs. my problem: tests on the maven goal test:test hang on windows while they run through on linux. they both have the same code basis. Do

Re: maven jboss plugin problem

2005-05-02 Thread Thomas Van de Velde
You expect it to copy your war to your app server's deploy dir? The JBoss plugin doesn't do that. It tells the app server to come look for your war in your workspace by calling a JMX method. Thomas On 5/2/05, GOKULAM Jayaram [EMAIL PROTECTED] wrote: Hi all, I tried to deploy a war file

Re: plugin.jelly: a conditional prereqs

2005-05-02 Thread Thomas Van de Velde
This might work: goal name=only-once j:if test=${ihavebeencalled == null} ${systemScope.setProperty('ihavebeencalled', 'true')} echoI am doing this only once/echo /j:if /goal Thomas On 5/2/05, Brett Porter [EMAIL PROTECTED] wrote: There is actually a workaround such that you can specify the

Re: Maven + Eclipse

2005-05-02 Thread Alex Soto
I'll assume you mean using eclipse for a mavenized project since that's as far as my experience goes. I've had good luck with the eclipse plugin for generating .project and .classpath files.Just type 'maven eclipse' and a .project and .classpath will be created for your project. Then just

Dependency on test class

2005-05-02 Thread Petr Adamek
Hello, I want to split my project xiqe into smaller subprojects, but I have found one problem. The xiqe-storage subproject contains the interface Converter and the helper class ConverterAbstractTestCase. Each implementation of Converter interface has its own test class that extends the

relative personal stylesheet location

2005-05-02 Thread Daniel Frey
Hello I've got the following project structure for my documentation: - xdocs + +- stylesheets + | +- ups-style.css +- navigation.xml +- faq.xml +- changes.xml +- project + +- index.xml +-

Re: Maven + Eclipse

2005-05-02 Thread Samuel Le Berrigaud
Hi, you may want to try this plugin : Mevenide at http://mevenide.codehaus.org/ SaM [EMAIL PROTECTED] wrote: Hi All, Anyboy have document for how to configure maven into eclipse idea's appreciated ! Rgds Vijay Confidentiality Notice The information contained in this electronic message and any

package org.apache.log4j does not exist

2005-05-02 Thread Muser007
Hi, A total newbie to Maven here. I am attempting to create a build environment for my project. I have tried customizing the project.xml as best as I can. I am getting several compile errors that say: package org.apache.log4j does not exist import org.apache.log4j.LogManager and package

RE: package org.apache.log4j does not exist

2005-05-02 Thread Arnaud HERITIER
Did you take a look at http://maven.apache.org/start/ten-minute-test.html and http://maven.apache.org/using/managing-dependencies.html You must use either the real mechanism of dependencies : dependencies dependency groupIdlog4j/groupId artifactIdlog4j/artifactId

Re: Inserting SCM and date/time info into a site

2005-05-02 Thread Cyrille Le Clerc
Hello Mikel, I am using the following properties in my project.properties to add generation date on my site : maven.xdoc.date=left maven.xdoc.date.format=dd:MM/ HH:mm:ss z I found these properties on Xdoc plugin doc : http://maven.apache.org/reference/plugins/xdoc/properties.html

Re: relative personal stylesheet location

2005-05-02 Thread Brett Porter
URL needs to be an actual URL, not a relative file. I can't remember if there are other properties for adding stylesheets, but you can use the file xdocs/stylesheets/project.css which is included automatically. Cheers, Brett On 5/2/05, Daniel Frey [EMAIL PROTECTED] wrote: Hello I've got the

Re: [M2] Unit test execution dir ?

2005-05-02 Thread Brett Porter
It is the execution directory (basedir). You have the system property basedir available if you need it, but that does make your tests less portable (eg, running from an IDE). - Brett On 5/2/05, Marc Jambert [EMAIL PROTECTED] wrote: Good afternoon, I am looking for a way to define the

scm:bootstrap-project does not update ${basedir}

2005-05-02 Thread Corey Klaasmeyer
I'm using scm:bootstrap-project with Maven, and I would expect ${basedir} to be updated to the directory of the clean checkout directory after doing an scm:bootstrap-project, but that doesn't seem to be the case. Here is the start maven output == maven.scm.bootstrap.goals =

Re: accessing plugin-variables in subprojects

2005-05-02 Thread Brett Porter
Yes, the plugin contexts are not retained after a project stops executing - that was the reason why older versions of Maven leaked a lot more memory. You will need to set it into the project's context at some point during the build (you may find that particular value is actually there). Try:

Re: maven2 site plugin

2005-05-02 Thread Brett Porter
On 5/3/05, Massimo Lusetti [EMAIL PROTECTED] wrote: I've seen the site plugin still not available from http://maven.apache.org/maven2/plugin-list.html so i would like to know: Which technology will site plugin use ? Our own implementation that is quite small and fast. It still reads xdoc, but

RE: scm:bootstrap-project does not update ${basedir}

2005-05-02 Thread Corey Klaasmeyer
I don't know whether it's running inside a reactor. My command is: maven scm:bootstrap-project I assumed bootstrap would run as if maven goal were run in the clean checkouts directory? Corey -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005

Re: [M2] How to improve the documentation for the next generation.

2005-05-02 Thread Brett Porter
Thanks Jim, that sounds like a useful addition. We welcome any ideas (or even better, contributions) to the documentation. Cheers, Brett On 5/2/05, Jim Mochel [EMAIL PROTECTED] wrote: To those people that are tackling the Maven 2 documentation I just wanted to throw a note your way: I have

Re: maven 2 alpha 1 and generics (java 5)

2005-05-02 Thread c_inconnu3
NB (for people with the same problem): Thank you for your answer but i could not manage to get it work So i searched the web and found a case on jira for maven2 (*MNG-278 http://jira.codehaus.org/browse/MNG-278*). It is a fix for alpha2 ; i am currently using alpha1. Thanks David Brett Porter

Re: scm:bootstrap-project does not update ${basedir}

2005-05-02 Thread Brett Porter
No, I mean Maven essentially runs a reactor to start the new project, so the basedir variable should be set, but the current working directory will remain where you started Maven from. - Brett On 5/3/05, Corey Klaasmeyer [EMAIL PROTECTED] wrote: I don't know whether it's running inside a

Re: maven 2 alpha 1 and generics (java 5)

2005-05-02 Thread Brett Porter
Correct. I didn't think this affected all platforms. You can use the version 1.0-alpha-2-SNAPSHOT for maven-compiler-plugin as a workaround. Cheers, Brett On 5/3/05, c_inconnu3 [EMAIL PROTECTED] wrote: NB (for people with the same problem): Thank you for your answer but i could not manage

RE: scm:bootstrap-project does not update ${basedir}

2005-05-02 Thread Corey Klaasmeyer
Back to the original question: is this a bug or am I missing something? Corey -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 4:21 PM To: Maven Users List Subject: Re: scm:bootstrap-project does not update ${basedir} No, I mean Maven

Re: Inserting SCM and date/time info into a site

2005-05-02 Thread Mykel Alvis
That's great! Thanks! On 5/2/05, Cyrille Le Clerc [EMAIL PROTECTED] wrote: Hello Mikel, I am using the following properties in my project.properties to add generation date on my site : maven.xdoc.date=left maven.xdoc.date.format=dd:MM/ HH:mm:ss z I found these properties on

Re: scm:bootstrap-project does not update ${basedir}

2005-05-02 Thread Brett Porter
It depends :) Is it the basedir variable that is set incorrectly, or the working directory? If it is basedir - it is a bug. - Brett On 5/3/05, Corey Klaasmeyer [EMAIL PROTECTED] wrote: Back to the original question: is this a bug or am I missing something? Corey -Original

RE: scm:bootstrap-project does not update ${basedir}

2005-05-02 Thread Corey Klaasmeyer
It's basedir. Corey -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 4:45 PM To: Maven Users List Subject: Re: scm:bootstrap-project does not update ${basedir} It depends :) Is it the basedir variable that is set incorrectly, or the working

Addinf META-INF into JAR

2005-05-02 Thread Eric Chow
hello, How can I add some files into the META-INF within the JAR ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Addinf META-INF into JAR

2005-05-02 Thread Brett Porter
add a resource with a directory of META-INF. http://maven.apache.org/using/resources.html On 5/3/05, Eric Chow [EMAIL PROTECTED] wrote: hello, How can I add some files into the META-INF within the JAR ? - To unsubscribe,