Re: plugin dependencies
Nathan, use a classpath inside the 'java' task. Use plugin.getDependencyPath('id') to get the jar file name. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Nathan Coast [EMAIL PROTECTED] wrote on 15/09/2003 03:53:12 PM: Is this as designed? IMO it'd feel nicer if the plugin was responsible for declaring its dependencies rather than having to declare the plugin's runtime dependencies within each component that uses the plugin. Brett Porter wrote: Yes. -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 2:47 PM To: Maven Users List Subject: Re: plugin dependencies cheers Brett, this only works if the project has the dependency included in the project.xml rather than defining the dependency in the plugin's project.xml. Is this right? Brett Porter wrote: Remove the classloader properties, and add this to the java call: classpathref=maven.dependency.classpath Cheers, Brett -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 2:08 PM To: Maven Users Subject: plugin dependencies Hi I have a plugin that uses 3rd party classes. How do I make these classes available to the plugin? I'm getting a NoClassDefFoundError when calling targets within the plugin. I'm calling the 3rd party classes like this: ant:java classname=weblogic.Deployer fork=true argblah blah I have this element in the plugin's project.xml dependency idweblogic/id version8.1/version properties classloaderroot/classloader /properties /dependency cheers Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: plugin dependencies
cheers, thats what I was after java classname=weblogic.tools.ejbgen.EJBGen fork=true classpath pathelement path=${plugin.getDependencyPath('ejbgen')}/ pathelement location=${tools.jar}/ /classpath one more question does this: plugin.getDependencyPath('ejbgen') refer to the full dependency path of the ejbgen plugin, or does it query the dependencies for the current plugin for the dependency with id ejbgen? Not sure which as both the plugin and the dependency have the same name. thanks Nathan [EMAIL PROTECTED] wrote: Nathan, use a classpath inside the 'java' task. Use plugin.getDependencyPath('id') to get the jar file name. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Nathan Coast [EMAIL PROTECTED] wrote on 15/09/2003 03:53:12 PM: Is this as designed? IMO it'd feel nicer if the plugin was responsible for declaring its dependencies rather than having to declare the plugin's runtime dependencies within each component that uses the plugin. Brett Porter wrote: Yes. -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 2:47 PM To: Maven Users List Subject: Re: plugin dependencies cheers Brett, this only works if the project has the dependency included in the project.xml rather than defining the dependency in the plugin's project.xml. Is this right? Brett Porter wrote: Remove the classloader properties, and add this to the java call: classpathref=maven.dependency.classpath Cheers, Brett -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Monday, 15 September 2003 2:08 PM To: Maven Users Subject: plugin dependencies Hi I have a plugin that uses 3rd party classes. How do I make these classes available to the plugin? I'm getting a NoClassDefFoundError when calling targets within the plugin. I'm calling the 3rd party classes like this: ant:java classname=weblogic.Deployer fork=true argblah blah I have this element in the plugin's project.xml dependency idweblogic/id version8.1/version properties classloaderroot/classloader /properties /dependency cheers Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jxr-plugin fails if '_' in packagename
It seems that the jxr-plugin generates wrong overview-summary.html, overview-frame.html and allclasses-frame.html if the packagename contains an underscore. Regards Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Executing xdoclet to generate MBeans before compiling
What I meant was how do I configure project.xml to generate the MBean interfaces first before compiling the java sources of the project? This is because the sources require the presence of the generated interfaces by xdoclet. Melvin- While we aren't doing MBean generation with XDoclet in our main Maven project (we do so with other Ant-driven builds), we ARE using Maven to use XDoclet to generate Hibernate information. This may be close enough for you to see how it works... it also may not be the IDEAL layout of these files, but it works for us... ;) ...jeff (By the way, this is for a Life Sciences product we're producing at http://www.benchKeeper.com) Our project.properties looks like this: = P R O J E C T . P R O P E R T I E S maven.xdoc.date=left maven.xdoc.version=${pom.currentVersion} # defines the root directory we build to build.dir=${basedir}/../../work/code build.deploy.dir=${build.dir}/deploy build.lib.dir=${build.dir}/lib # -- # Hibernate Attribute Definition # -- maven.xdoclet.hibernatedoclet.destDir=${basedir}/src/sar maven.xdoclet.hibernatedoclet.fileset.0=true maven.xdoclet.hibernatedoclet.fileset.0.include=**/objectmodel/**/*.java # - # Dataload Properties # - benchKeeper.dataload.class=com.benchKeeper.objectmodel.dataload.CreateDataloadScript benchKeeper.dataload.file=${basedir}/src/sar/benchKeeper-dataload.xml Our maven.xml looks like this: = M A V E N . X M L project default=build xmlns:m=maven xmlns:j=jelly:core xmlns:u=jelly:util xmlns:maven=jelly:maven xmlns:deploy=deploy goal name=hibernate delete !-- resolves the problem where the hibernate files can not be in the classpath when we gen -- fileset dir=${maven.xdoclet.hibernatedoclet.destDir} includes=**/*.hbm.xml / /delete attainGoal name=xdoclet:hibernatedoclet / /goal goal name=build attainGoal name=jar / java classname=${benchKeeper.dataload.class} failonerror=true fork=true arg value=${benchKeeper.dataload.file} / classpath path refid=maven.dependency.classpath / path location=${maven.build.dir}/classes / /classpath /java attainGoal name=sar / /goal goal name=sar mkdir dir=${maven.build.dir} / jar destfile=${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.sar basedir=${maven.xdoclet.hibernatedoclet.destDir} / copy file=${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.sar tofile=${build.deploy.dir}/${pom.artifactId}-${pom.currentVersion}.sar / /goal goal name=jar !-- installs a snapshot, but does so that it does not copy the actually current version -- attainGoal name=java:jar / copy file=${maven.build.dir}/${maven.final.name}.jar tofile=${maven.repo.local}/${pom.artifactDirectory}/jars/${pom.artifactId}-CURRENT.jar overwrite=true / copy file=${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar tofile=${build.dir}/lib-benchKeeper/${pom.artifactId}-${pom.currentVersion}.jar / /goal /project and our project.xml looks like this: = P R O J E C T . X M L ?xml version=1.0 encoding=ISO-8859-1? project pomVersion 3 /pomVersion id benchKeeper-objectmodel /id groupId benchKeeper /groupId name BenchKeeper - ObjectModel /name currentVersion 1.0 /currentVersion inceptionYear 2003 /inceptionYear package com.benchKeeper.objectmodel /package shortDescription The object model /shortDescription !-- any mailing lists for the project -- mailingLists / !-- who the developers are for the project -- developers developer name Chris Shorrock /name id cshorrock /id email [EMAIL PROTECTED] /email organization BenchKeeper Software /organization roles role Java Developer /role /roles /developer /developers !-- jar files the project is dependent on -- dependencies dependency id
faq plugin
I'm managing a project at my local university for some professors and their students, really trying to get them interested in maven. As an experiment I wanted to split up my FAQs into more topical groupings, such as the existing general faq, and one for my project members on the who/what/why/where/etc on cvs ( a bunch of university students remember). so I set a sort of hierarchy in my master project.properties: project.basedir=/projects/chronicle maven.docs.src=${project.basedir}/xdocs maven.faqs.src=${maven.docs.src}/faqs maven.faq.src.file=${maven.faqs.src}/faq.fml which ends up basically as /projects/chronicle/xdocs/faqs/faq.fml set this in my master maven.xml: preGoal name=xdoc:jelly-transform attainGoal name=faq/ /preGoal everything worked fine. I went ahead and created cvs-faq.fml and stuck it in that directory. Without making any other changes multiproject executed and in fact did the cvs-faq.html! No other changes, no looping through attainGoals resetting the maven.faq.src.file and maven.faq.dest.file as I was expecting to have to do. Looking through the multiproject, site, and faq plugin.jelly files, I don't see anywhere how this happens, no globbing file names or anything. There are multiple **/project.xml, but only the parent registers the faq. this is most curious. Is this an undocumented feature or an unexpected misfeature? --- kevinHagel http://hagelnx.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: sepcify a goal for an attained goal (multiproject:goal)
If you look in the multiproject plugin.jelly: . goal name=multiproject:goal description=Run a given goal on all projects maven:param-check value=${goal} fail=true A goal to run must be specified, e.g. maven -Dgoal=clean multiproject:goal/maven:param-check maven:reactor basedir=${maven.multiproject.basedir} banner=Executing ${goal} includes=${maven.multiproject.includes} excludes=${maven.multiproject.excludes} postProcessing=false goals=${goal} ignoreFailures=${maven.multiproject.ignoreFailures} / /goal then in your maven.xml: j:set var=goal value=java:compile/ attainGoal name=multiproject:goal/ - Original Message - From: Joachim Bader [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 14, 2003 11:25 PM Subject: sepcify a goal for an attained goal (multiproject:goal) Hi, I can execute the goal java:compile of all subproject with maven -Dgoal=java:compile multirpoject:goal How can I do this from maven.xml? project goal name=mygoal !-- how can I set -Dgoal=java:compile -- attainGoal name=multiproject:goal/ /goal /project cheers Joachim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs, svn
I've just double checked - SVN provides java bindings via jni, as well as perl and python bindings. Mark Mark Proctor wrote: I'm using Subversion (SVN) and find it vastly simpler to use, especially with directory reorganisations. the TortoiseSVN client for windows is very nice, there is an eclipse plugin, that works well too. I use the Apache webdav without any problems. ViewCVS (head) now has support for SVN too. There is a SVN guide for CVS users - http://svnbook.red-bean.com/book.html#svn-ap-a While SVN is written in C/C++ it has good support for python - not sure on other languages, http://svnbook.red-bean.com/book.html#svn-ch-7-sect-2.3 Regards Mark Hagelski wrote: we're interested in giving Subversion a try, it's supposed to be the inheritor of cvs (so it says) How many of you are using Subversion? Are you doing it with Apache webdav or an svnserve daemon? any suggestions regarding Maven's ability to talk to a remote repository for commits and checkouts etc? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs, svn
We're already running JBoss-Tomcat on that server, I'm wondering what kinds of problems we'll encounter trying to run apache-webdav as well, considering the different ports we'd have to use, all that jazz. - Original Message - From: Mark Proctor [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Monday, September 15, 2003 10:33 AM Subject: Re: cvs, svn I've just double checked - SVN provides java bindings via jni, as well as perl and python bindings. Mark Mark Proctor wrote: I'm using Subversion (SVN) and find it vastly simpler to use, especially with directory reorganisations. the TortoiseSVN client for windows is very nice, there is an eclipse plugin, that works well too. I use the Apache webdav without any problems. ViewCVS (head) now has support for SVN too. There is a SVN guide for CVS users - http://svnbook.red-bean.com/book.html#svn-ap-a While SVN is written in C/C++ it has good support for python - not sure on other languages, http://svnbook.red-bean.com/book.html#svn-ch-7-sect-2.3 Regards Mark Hagelski wrote: we're interested in giving Subversion a try, it's supposed to be the inheritor of cvs (so it says) How many of you are using Subversion? Are you doing it with Apache webdav or an svnserve daemon? any suggestions regarding Maven's ability to talk to a remote repository for commits and checkouts etc? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
target/test-classes and Eclipse plugin
Hi, For some reason the following dependency is being generated by Maven when I invoke maven eclipse classpathentry kind=lib path=target/test-classes /classpathentry When I refresh in Eclipse it (Eclipse) complains as follows: Missing required library: 'my_project/target/test-classes' If I manually remove the above XML from the Eclipse .classpath file and refresh, everything works fine. My questions is how do I stop the Maven Eclipse plugin from generating that dependency in the first place. Thanks a million, ct - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: target/test-classes and Eclipse plugin
I believe I fixed this in CVS some time ago, there is a release coming out shortly that will include this fix. Ciaran Treanor wrote: Hi, For some reason the following dependency is being generated by Maven when I invoke maven eclipse classpathentry kind=lib path=target/test-classes /classpathentry When I refresh in Eclipse it (Eclipse) complains as follows: Missing required library: 'my_project/target/test-classes' If I manually remove the above XML from the Eclipse .classpath file and refresh, everything works fine. My questions is how do I stop the Maven Eclipse plugin from generating that dependency in the first place. Thanks a million, ct - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Making CVS Repostory Connection
Use an ssh-agent. If on Windows, look into PAgent, from the makers of Putty. Hen On Mon, 15 Sep 2003, S. Radhakrishnan wrote: Hi all, I just wanted to have changelog report. I have mentioned the connection parameter as, scm:cvs:ext:[EMAIL PROTECTED]:/cvs/root:module-name Now, it requires password to be entered for user whenver I am executing maven site. Can we pass the password with the command or Can the password be stored in some files?? Please help me out. RK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can Maven auto-add XML dependencies?
[EMAIL PROTECTED] wrote: What about people that want to use different XML parsers etc than those supplied with the JVM? And should we do the same for other stuff like XSL? :) All I wanted is for my build to continue to build even if the XML dependencies are not there. If there is something that satisfies it for me, then cool. Really all that is needed for a build to continue working under JDK 1.3.1 is the xml-utils.jar file as it has all the JAXP code. As long as your project (and all mine comply with this) interacts with parsers and transformers through JAXP, all is well. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Making CVS Repostory Connection
Depending on your security requirements, you might try what I've done, which is set it up so that my account uses certificate authentication instead of password when connecting into the remote box, which allows rsynch, ssh, and scp to connect in without requiring any user input. This is particularly handy for taking the nightly builds (as well as reporting output from Together and Maven) and deploying them to our development web server via a cron job, or as the result of a CVS or Cruise Control action. You can find out more about how to configure it (for *nix, anyway) at http://www.asitis.org/archives/63.html (turned up from a quick Google search, and appears to be all there) We've even got our Maven repository (http) being kept in CVS, so that whenever a change is made to that repository, a new rsynch is done to the web server (they can only write files or create directories that aren't already there). This means that our (distributed) development team has control over the remote repository using their CVS access, without having to worry about any kind of special or additional access to our web server boxes. It also stops them from bugging me in order to put up new jars all the time. ;) $0.02 ...jeff At 05:54 -0700 9/15/03, Hagelski wrote: I was having similar problems with that, so I resorted to some interaction with the system: goal name=web1-deploy j:set var=project.contextroot value=// attainGoal name=web1-init/ attainGoal name=war/ exec dir=${maven.build.dir} executable=scp arg line=${maven.war.final.name}/ arg line= [EMAIL PROTECTED]:/usr/java/jboss/server/default/deploy/${maven.war.fi nal.name}/ /exec /goal when the exec occurs, I get prompted for my password. the ssh-agent idea looks good too, think I'll check that out myself. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven Newbie: site:generate question.
Just getting started with Maven. Currently using CruiseControl for our builds. I wanted to start with the site generation capabilities and that back stitch our build with maven where applicable. I get the following whenever I use the site:generate goal or site:publish goal. generate gives me most of the generated documents, but publish stops with the same error and nothing gets pushed to my server. [echo] Generating C:/maven/skade/target/docs/faq.html from C:\maven\skade\target\generated-xdocs\faq.xml Transforming user supplied documentation. [echo] Generating C::/maven/skade/target/docs/tasks.html from C::/maven/skade\xdocs\tasks.xml BuiILD FAILED file.. file:/C:/Documents and Settings/3665/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHOT/ element... x:parse line.. 315 column 43 error on line -1 of document : Premature end of file. Nested exception: Premature end of file. total time: 18 seconds Suggestions? TIA. Mike McGowan [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: target/test-classes and Eclipse plugin
Ben Walding wrote: I believe I fixed this in CVS some time ago, there is a release coming out shortly that will include this fix. Cheers Ben. I'm afraid to work from CVS at the moment (too much at stake) so I'll wait for the release. Thanks, ct - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to use Ant's FTP task from Maven?
Hi, you need to define the task first. Take a look at the checkstyle plugin, where the task is defined as follows: ant:taskdef name=checkstyle classname=com.puppycrawl.tools.checkstyle.CheckStyleTask /ant:taskdef attainGoal name=checkstyle:determine-properties / !-- Create the directory for the checkstyle cache in case it doesn't exist already -- ant:dirname property=maven.checkstyle.cache.dir file=${maven.checkstyle.cache.file}/ ant:mkdir dir=${maven.checkstyle.cache.dir}/ ant:echoUsing ${checkstyleProperties} for checkstyle .../ant:echo ant:checkstyle properties=${checkstyleProperties} failOnViolation=${maven.checkstyle.fail.on.violation} cacheFile=${maven.checkstyle.cache.file} ant:fileset dir=${pom.build.sourceDirectory} includes=${maven.checkstyle.includes} excludes=${maven.checkstyle.excludes}/ ant:formatter type=xml toFile=${maven.build.dir}/checkstyle-raw-report.xml/ j:choose j:when test=${maven.checkstyle.usefile} ant:formatter type=plain toFile=${maven.build.dir}/checkstyle-raw-report.txt/ /j:when j:otherwise ant:formatter type=plain/ /j:otherwise /j:choose /ant:checkstyle Cheers, -Mo. Maven Users List [EMAIL PROTECTED] schrieb am 15.09.03 16:41:40: Hello. I have the following goal defined in maven.xml, but when I execute it, nothing happens. goal name=upload ant:ftp server=www0 port=21 userid=${ftp.user} password=${ftp.pw} verbose=true fileset dir=${maven.build.dir} include name=${maven.war.final.name}/ /fileset /ant:ftp /goal I also have ant-optional-1.5.3-1.jar in my MAVEN_HOME/lib directory. I'm using Maven 1.0-Beta10. Thank you. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Bestes Testergebnis: Stiftung Warentest Doppelsieg fur WEB.DE FreeMail und WEB.DE Club. Nur fuer unsere Nutzer! http://f.web.de/?mc=021182 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Making CVS Repostory Connection
I'm wondering how to deploy a jar-file with ssh though? The mechanism to deploy jars appears to be different to deploying sites. Is there a way to use ssh with jar:deploy? Thx, Dominik On Mon, 2003-09-15 at 13:54, Hagelski wrote: I was having similar problems with that, so I resorted to some interaction with the system: goal name=web1-deploy j:set var=project.contextroot value=// attainGoal name=web1-init/ attainGoal name=war/ exec dir=${maven.build.dir} executable=scp arg line=${maven.war.final.name}/ arg line= [EMAIL PROTECTED]:/usr/java/jboss/server/default/deploy/${maven.war.fi nal.name}/ /exec /goal when the exec occurs, I get prompted for my password. the ssh-agent idea looks good too, think I'll check that out myself. - Original Message - From: Henri Yandell [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, September 15, 2003 5:42 AM Subject: Re: Making CVS Repostory Connection Use an ssh-agent. If on Windows, look into PAgent, from the makers of Putty. Hen On Mon, 15 Sep 2003, S. Radhakrishnan wrote: Hi all, I just wanted to have changelog report. I have mentioned the connection parameter as, scm:cvs:ext:[EMAIL PROTECTED]:/cvs/root:module-name Now, it requires password to be entered for user whenver I am executing maven site. Can we pass the password with the command or Can the password be stored in some files?? Please help me out. RK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Making CVS Repostory Connection
I want to deploy my jar into the remote repository. The jar plugin uses a deploy task to do that. This task seems not to use ssh as compared to the site:sshdeploy. Can I get around it without changing the jar plugin? Thx for any help, Dominik On Mon, 2003-09-15 at 16:18, khote wrote: just deploy the JAR the same as the WAR. If you wan't it deployed in JBoss that is, if I'm understanding right. If you just want to push it into your remote repository that's a different story. I found this: http://cwrulug.cwru.edu/docs/ssh-agent.html and it seems to have worked for me. Some of the other links don't do it right, I couldn't get the ssh-add to work. - Original Message - From: Dominik Dahlem [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Monday, September 15, 2003 8:17 AM Subject: Re: Making CVS Repostory Connection I'm wondering how to deploy a jar-file with ssh though? The mechanism to deploy jars appears to be different to deploying sites. Is there a way to use ssh with jar:deploy? Thx, Dominik On Mon, 2003-09-15 at 13:54, Hagelski wrote: I was having similar problems with that, so I resorted to some interaction with the system: goal name=web1-deploy j:set var=project.contextroot value=// attainGoal name=web1-init/ attainGoal name=war/ exec dir=${maven.build.dir} executable=scp arg line=${maven.war.final.name}/ arg line= [EMAIL PROTECTED]:/usr/java/jboss/server/default/deploy/${maven.war.fi nal.name}/ /exec /goal when the exec occurs, I get prompted for my password. the ssh-agent idea looks good too, think I'll check that out myself. - Original Message - From: Henri Yandell [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, September 15, 2003 5:42 AM Subject: Re: Making CVS Repostory Connection Use an ssh-agent. If on Windows, look into PAgent, from the makers of Putty. Hen On Mon, 15 Sep 2003, S. Radhakrishnan wrote: Hi all, I just wanted to have changelog report. I have mentioned the connection parameter as, scm:cvs:ext:[EMAIL PROTECTED]:/cvs/root:module-name Now, it requires password to be entered for user whenver I am executing maven site. Can we pass the password with the command or Can the password be stored in some files?? Please help me out. RK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Word2Html plugin question.
Hello dIon All, I was wondering how one could include the HTML-generated files automatically in the navigation of the site generated by Maven? Is there any easy way or do we have to know each file in advance and include them in navigation.xml? Thank you, Benoit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
site demployment - ssh
Thanks to those on the list that have got me this far. I'm now successfully generating my project's site to completion. Next question though is in the site:deploy goal. I'm running on a W2K box, that did not have an ssh utility. I downloaded a freebie and configured my build.properties maven.ssh.executable to point to it. Maven seems to hang waiting for a password for the login I'm using to my Linux box. Suggestions as to what additional maven property for my password, or a specific ssh utility that I can use on Windows? Thanks again in advance, Mike McGowan [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiproject help
I'm trying to split up my existing Maven project into a master project containing sub-projects. Is this even the right thing to do? I'm getting the following error: bash-2.05b$ maven multiproject:site __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT Starting the reactor... Our processing order: HiveMind Services and Configuration Microkernel + | Gathering project list HiveMind Services and Configuration Microkernel | Memory: 3M/11M + BUILD FAILED File.. file:/C:/Documents and Settings/Howard/.maven/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/ Element... fail Line.. 105 Column 101 You must exclude commons-hivemind:commons-hivemind (the top level project) from the subproject set Total time: 3 seconds Finished at: Mon Sep 15 16:21:39 EDT 2003 What does that mean? Should my top-level project build the HiveMind framework (in advance of child projects building add-ons and examples?) Couldn't find info in the wiki. -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: plugin dependencies
Nathan Coast [EMAIL PROTECTED] wrote on 15/09/2003 05:28:54 PM: cheers, thats what I was after java classname=weblogic.tools.ejbgen.EJBGen fork=true classpath pathelement path=${plugin.getDependencyPath('ejbgen')}/ pathelement location=${tools.jar}/ /classpath one more question does this: plugin.getDependencyPath('ejbgen') refer to the full dependency path of the ejbgen plugin, or does it query the dependencies for the current plugin for the dependency with id ejbgen? Not sure which as both the plugin and the dependency have the same name. The second one. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: sepcify a goal for an attained goal (multiproject:goal)
Joachim Bader [EMAIL PROTECTED] wrote on 15/09/2003 04:25:04 PM: Hi, I can execute the goal java:compile of all subproject with maven -Dgoal=java:compile multirpoject:goal How can I do this from maven.xml? project goal name=mygoal !-- how can I set -Dgoal=java:compile -- j:set var=goal name=java:compile/ attainGoal name=multiproject:goal/ /goal /project cheers Joachim -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
defered testing for deployable components
Hi, I have unit tests for numerous components that need to be deployed within a j2ee container prior to testing. Unfortunately in order to assemble the components, test:test will get called somewhere along the way. Is there any way to prevent the execution of the unit tests until after assembly? Or is this integration testing should be implemented differently? thanks Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Word2Html plugin question.
Currently, the docs aren't auto added into Navigation, you need to do it yourself. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Benoit Xhenseval [EMAIL PROTECTED] wrote on 16/09/2003 01:53:14 AM: Hello dIon All, I was wondering how one could include the HTML-generated files automatically in the navigation of the site generated by Maven? Is there any easy way or do we have to know each file in advance and include them in navigation.xml? Thank you, Benoit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: sepcify a goal for an attained goal (multiproject:goal)
Hi, In the same context I have another question. How can I specify a project.properties file for the multiproject-plugin, when calling it the way described below? (Just setting the property with j:set is not enough. It gets overridden, when the multiproject:goal is run.) The reason why I want to do this is that I want to run the multiproject-plugin for subsets of my projects Thanks for help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 1:30 AM To: Maven Users List Subject: Re: sepcify a goal for an attained goal (multiproject:goal) Joachim Bader [EMAIL PROTECTED] wrote on 15/09/2003 04:25:04 PM: Hi, I can execute the goal java:compile of all subproject with maven -Dgoal=java:compile multirpoject:goal How can I do this from maven.xml? project goal name=mygoal !-- how can I set -Dgoal=java:compile -- j:set var=goal name=java:compile/ attainGoal name=multiproject:goal/ /goal /project cheers Joachim -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]