Re: Sample EJB Project Using JBoss and Maven?
Quoting [EMAIL PROTECTED]: > BUILD FAILED > File.. file:/c:/workspace/webshop/Webshop-Beans/ > Element... attainGoal > Line.. 18 > Column 41 > No goal [xdoclet:ejbdoclet] > Total time: 11 seconds > Finished at: Tue Jan 27 17:36:50 PST 2004 Do you have the xdoclet plugin installed? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using maven for a project with multiple dependencies.
You need to do is to install (copy) all jars of the 5 others projects in your local repository (or in a local repository for your company). Then in your new project you can use dependencies with the others. You only need to define how to update the old projects jars (manually, ftp, ) Arnaud. -Message d'origine- De : Dmitriy Yuriev [mailto:[EMAIL PROTECTED] Envoyé : mardi 27 janvier 2004 16:39 À : [EMAIL PROTECTED] Objet : Using maven for a project with multiple dependencies. Greetings. I am starting a new project and would like to use maven for the development process (my compliments to its creators and all committers). One obstacle I am facing is that the code for the new project will be dependent upon several (up to 5) other projects and builds for those projects have been handled strictly by the IDE (WebSphere Studio 5.0 built on eclipse 2.0) and I don't really want create/troubleshoot build scripts/project files for 5 other projects. Is there a way around it? Or is maven a 'all or nothing' kind of a thing when it comes to multiple projects? Thanks. _ There are now three new levels of MSN Hotmail Extra Storage! Learn more. http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1 - 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 to deploy plugins ?
yes it is the plugin plugin : http://maven.apache.org/reference/plugins/plugin/goals.html -Message d'origine- De : Stoffels, Ralf (FWI-AW2) [mailto:[EMAIL PROTECTED] Envoyé : mardi 27 janvier 2004 12:51 À : '[EMAIL PROTECTED]' Objet : plugin to deploy plugins ? Hi, I believe that it is very obvious, but I miss it: Is there a plugin or tag library to jar a self-written plugin and deploy it as a maven plugin ? Ralf - 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: Sample EJB Project Using JBoss and Maven?
$ maven clean jar jar:install __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT Hi, I have tried the webshop but I'm unable to get past the first command. BEGIN TRANSCRIPT: MY-MACHINE ~/workspace/webshop/Webshop-Beans $ maven clean jar jar:install clean:clean: [delete] Deleting directory C:\workspace\webshop\Webshop-Beans\target clean: java:prepare-filesystem: [mkdir] Created dir: C:\workspace\webshop\Webshop-Beans\target\classes java:compile: [echo] XDoclet : Generation of EJB interfaces and deployments BUILD FAILED File.. file:/c:/workspace/webshop/Webshop-Beans/ Element... attainGoal Line.. 18 Column 41 No goal [xdoclet:ejbdoclet] Total time: 11 seconds Finished at: Tue Jan 27 17:36:50 PST 2004 END TRANSCRIPT: BTW, I had to update project.properties with the following: # # local repository properties # maven.repo.local = C:/.maven/repository # # remote repositories properties # maven.repo.remote = http://www.ibiblio.org/maven/,http://maven.companyname.com/ If anyone has any ideas as to how to resolve this issue, please post to the group and/or send me an e-mail. Thanks in advance, -Conrad > Hi, does anyone know where I can find a sample EJB project using JBoss and Maven? I > have seen alot of code fragements and other thing online but I'm looking for > something > complete. Well, I must go and I look forward to hearing from you soon. > > Thanks in advance, > > -Conrad > > > - > 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 to deploy plugins ?
Hello, I use the jar plugin to jar it and then use the artifact tag library to deploy it. hth Matt -Original Message- From: Stoffels, Ralf (FWI-AW2) [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 6:51 AM To: '[EMAIL PROTECTED]' Subject: plugin to deploy plugins ? Hi, I believe that it is very obvious, but I miss it: Is there a plugin or tag library to jar a self-written plugin and deploy it as a maven plugin ? Ralf - 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: [scm] Problem Running scm:bootstrap-project
Dsoes maven.conf.dir include ${basedir}? It looks like an additional "edog" path is being added. - Brett > -Original Message- > From: Norm Deane [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 28 January 2004 3:22 AM > To: Maven Users List > Subject: [scm] Problem Running scm:bootstrap-project > > > I'm trying to get the scm:bootstrap-project working and am > running into a problem. > > I'm running 'maven scm:boostrap-project > -Dmaven.scm.cvs.module=edog' from c:\projects\crap\scm. The > cvs checkout completes successfully (creating > c:\projects\crap\scm\edog) but when it tries to run my > bootstrap goal I get an error. > > In my bootstrap goal I'm doing the following... > > file="${maven.conf.dir}/${pom.artifactId}.filters"> > filtersfile="${maven.conf.dir}/${pom.artifactId}.filters"/> > > > And am getting an error... > file:/c:/tools/apache/maven_local/plugins/maven-mis-util-plugin-1.0.0/:86:84 : Must specify a file not a directory in the filtersfile attribute:C:\p rojects\crap\scm\edog\edog\src\conf\edog.filters com.werken.werkz.UnattainableGoalException: Unable to obtain goal [scm:bootstrap -project] -- file:/c:/tools/apache/maven_local/plugins/maven-scm-plugin-1.1/:77: 9: file:/c:/tools/apache/maven_local/plugins/maven-mis-util-plugin -1.0.0/:86:84: Must specify a file not a directory in the filtersfi le attribute:C:\projects\crap\scm\edog\edog\src\conf\edog.filters Apparently, the file path is correct when the is evaluated or else we would never get inside the body of the tag. However, when the is evaluated an extra 'edog' is added into the absolute file path. Any ideas? --Norm -- Norm Deane MIS Consultant Vanderbilt University (615) 322-7855 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: aspectj injars
Seriously though... Anybody know how to do this? Project A creates a jar - projectA.jar Project B wants to weave into projectA.jar Where do I list this? What property do I set in project.properties or project.xml to make this happen? Two months ago I hacked apart the aspectj plugin.jelly and then added as a property of the jars. I lost that work because I didn't save it anywhere. Is there a correct way to do this? The only place in plugin.jelly that has inJars it has it set to "maven.aspectj.injar.nonweaved". That doesn't make any sense. When I set that variable maven creates two jars, one with the aspects in it, and one without. Neither of which includes projectA.jar. Any ideas at all would be extremely helpful. Thanks again. Charlie Charles N. Harvey III wrote: Hello. I have a jar from one project that I need woven, but not until it is included in the next project. As in, I don't always want it woven. AspectJ has an feature, does the aspectj-plugin have the same feature? And if it does, how do I specify a jar that I want woven? Thanks a lot. Charlie - 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: Classpath within a plugin?
hehe, nice. thx Chad. I'm currently writing a plugin and I'll also need to execute a class with the dependency classpath. Very helpfull :) Eric. Chad Brandon wrote: Alex, Eric almost got it right, but it should be "plugin.getDependencyClasspath()" instead of "pom.getDependencyClasspath()" if you're within a plugin. Or you can include a single dependency at a time: "plugin:getDependencyPath("groupId:artifactId")". Chad - Original Message - From: "Eric Giguere" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 1:26 PM Subject: Re: Classpath within a plugin? Hi Alex Did you try using this call : pom.getDependencyClasspath() ? By embedding this in an ant tag, you can pass it classpath info. ... ...> Alex Vollmer wrote: I have a Java executable class I need to run and I am unable to determine how to run the task with a classpath that points to the Hope it helps, I'm not sure though. My example is made in a maven.xml file of a project, not from a plugin but still... should work. Eric. classes packaged within my plugin. Is there any way to access this? Alex Vollmer [EMAIL PROTECTED] Software Engineer Tenzing Communications, Inc. 705 Fifth Avenue South, Suite 700 Seattle, WA 98104 USA T: +1 206.607.2869 Bring your laptop and try inflight email on your next United, Continental or Cathay Pacific flight. All you need is your laptop, user ID, password, and email server URL. Tenzing Communications, Inc. provides inflight email systems that help airborne travelers stay in touch. - 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]
Can I copy the src code from all sub projects into the parent project?
I want to run Simian on all the code in my subprojects from the parent. I see that simian only looks at the parent's src directory, so perhaps I need to copy all the subprojects src code into that src code before simian runs. Does anyone have any sample code of how to do that? Brian N. Burridge - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Retrieving inner elements as text
Is there some way that I can populate an object field with a String that looks like this: 'some text bold textitalic text more text'. Put another way, I'd like to grab the text inside the title elements with its markup and populate a String property on my Java object. some text bold textitalic text more text I've looked through the documentation and played around with the UnmarshallListener but no obvious solution came to me. Thank you, Chris Christopher Farnham Senior Consultant at Wrycan, Inc. [EMAIL PROTECTED] http://www.wrycan.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: the project.properties file
AFAIK there is no special syntax. It will be inherited automatically. Automatically? Meaning if my project.xml has /usr/local/share/java/maven/master/project-master.xml Then maven will look for /usr/local/share/java/maven/master/project.properties Automatically? Or does it look soley for ${basedir}/../project.properties? Thanks, --Sean
Re: the project.properties file
Great! That's one thing that is kind of a pain in 1.0-RC1. Thanks, Chad - Original Message - From: "Michal Maczka" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 1:35 PM Subject: RE: the project.properties file > > > > -Original Message- > > From: Chad Brandon [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 27, 2004 4:05 PM > > To: Maven Users List > > Subject: Re: the project.properties file > > > > > > Is it in 1.1 in CVS? If so, whats the syntax to use to extend the > > properties? > > > AFAIK there is no special syntax. It will be inherited automatically. > > > Michal > > > - > 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: the project.properties file
> -Original Message- > From: Chad Brandon [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 27, 2004 4:05 PM > To: Maven Users List > Subject: Re: the project.properties file > > > Is it in 1.1 in CVS? If so, whats the syntax to use to extend the > properties? > AFAIK there is no special syntax. It will be inherited automatically. Michal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Classpath within a plugin?
Alex, Eric almost got it right, but it should be "plugin.getDependencyClasspath()" instead of "pom.getDependencyClasspath()" if you're within a plugin. Or you can include a single dependency at a time: "plugin:getDependencyPath("groupId:artifactId")". Chad - Original Message - From: "Eric Giguere" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 1:26 PM Subject: Re: Classpath within a plugin? > Hi Alex > > Did you try using this call : pom.getDependencyClasspath() ? > By embedding this in an ant tag, you can pass it classpath info. > ... > > > > > ...> Alex Vollmer wrote: > > >I have a Java executable class I need to run and I am unable to > >determine how to run the task with a classpath that points to the > > Hope it helps, I'm not sure though. My example is made in a maven.xml > file of a project, not from a plugin but still... should work. > > Eric. > > >classes packaged within my plugin. Is there any way to access this? > > > >Alex Vollmer > > > >[EMAIL PROTECTED] > > > >Software Engineer > >Tenzing Communications, Inc. > >705 Fifth Avenue South, Suite 700 > >Seattle, WA 98104 USA > > > >T: +1 206.607.2869 > > > >Bring your laptop and try inflight email on your next United, > >Continental or Cathay Pacific flight. All you need is your laptop, user > >ID, password, and email server URL. Tenzing Communications, Inc. > >provides inflight email systems that help airborne travelers stay in > >touch. > > > > > > > > > - > 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: Classpath within a plugin?
Hi Alex Did you try using this call : pom.getDependencyClasspath() ? By embedding this in an ant tag, you can pass it classpath info. ... ... Hope it helps, I'm not sure though. My example is made in a maven.xml file of a project, not from a plugin but still... should work. Eric. Alex Vollmer wrote: I have a Java executable class I need to run and I am unable to determine how to run the task with a classpath that points to the classes packaged within my plugin. Is there any way to access this? Alex Vollmer [EMAIL PROTECTED] Software Engineer Tenzing Communications, Inc. 705 Fifth Avenue South, Suite 700 Seattle, WA 98104 USA T: +1 206.607.2869 Bring your laptop and try inflight email on your next United, Continental or Cathay Pacific flight. All you need is your laptop, user ID, password, and email server URL. Tenzing Communications, Inc. provides inflight email systems that help airborne travelers stay in touch. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiproject Cactus Plugin
Thanks Vincent I'll give it a try :) Tim Chen [EMAIL PROTECTED] -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 7:42 AM To: 'Maven Users List' Cc: [EMAIL PROTECTED] Subject: RE: Multiproject Cactus Plugin Hi Tim, You're right. I'm not sure why it is causing any problem but I've modified the Cactus plugin code to not include project sources in the cactified WAR when testing using the test-ear goal (only the Cactus sources are included). It's currently in CVS HEAD. Thanks -Vincent PS: Please post to the Cactus mailing list next time as the Cactus is living there (it is no longer in the Maven project itself). > -Original Message- > From: Tim Chen [mailto:[EMAIL PROTECTED] > Sent: 23 January 2004 06:07 > To: 'Maven Users List' > Subject: Multiproject Cactus Plugin > > Can someone provide an example of using the cactus plugin in a > multiproject environment? > > I have a project that is laid out roughly as: > > Root > --ui (for war) > --ejb (for ejb jar) > --src > --ejb > --test-cactus > --webapp >--web.xml (skeleton web.xml for cactus as in samples) --ear (for > final ear) > > The problem is that when the cactus:test-ear is run it tries to create a > war that has pretty much all the files from the ejb module even though > they should not be in the war. That causes an error in the deployment. > > The same thing seems to happen in > jakarta-cactus\integration\maven\samples\ejb > When I do a maven cactus:test-ear from there it seems to do the same > thing (although I had to change the j2ee dependency to the jboss-j2ee to > test). > > It causes errors such as: > 00:03:42,712 INFO [Engine] StandardHost[localhost]: MAPPING > configuration error for request URI > /maven-cactus-sample-ejb/ServletRedirector > 00:03:43,253 INFO [Engine] StandardHost[localhost]: MAPPING > configuration error for request URI > /maven-cactus-sample-ejb/ServletRedirector > To appear in the log repeatedly. > For the sample it's okay because eventually it will run.. But for my own > tests it will timeout before ever getting a chance to run. :( > > I'm using the latest one from cvs when getting these. > -Tim > > > - > 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]
[scm] Problem Running scm:bootstrap-project
I'm trying to get the scm:bootstrap-project working and am running into a problem. I'm running 'maven scm:boostrap-project -Dmaven.scm.cvs.module=edog' from c:\projects\crap\scm. The cvs checkout completes successfully (creating c:\projects\crap\scm\edog) but when it tries to run my bootstrap goal I get an error. In my bootstrap goal I'm doing the following... And am getting an error... file:/c:/tools/apache/maven_local/plugins/maven-mis-util-plugin-1.0.0/:86:84 : Must specify a file not a directory in the filtersfile attribute:C:\p rojects\crap\scm\edog\edog\src\conf\edog.filters com.werken.werkz.UnattainableGoalException: Unable to obtain goal [scm:bootstrap -project] -- file:/c:/tools/apache/maven_local/plugins/maven-scm-plugin-1.1/:77: 9: file:/c:/tools/apache/maven_local/plugins/maven-mis-util-plugin -1.0.0/:86:84: Must specify a file not a directory in the filtersfi le attribute:C:\projects\crap\scm\edog\edog\src\conf\edog.filters Apparently, the file path is correct when the is evaluated or else we would never get inside the body of the tag. However, when the is evaluated an extra 'edog' is added into the absolute file path. Any ideas? --Norm -- Norm Deane MIS Consultant Vanderbilt University (615) 322-7855 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using maven for a project with multiple dependencies.
Greetings. I am starting a new project and would like to use maven for the development process (my compliments to its creators and all committers). One obstacle I am facing is that the code for the new project will be dependent upon several (up to 5) other projects and builds for those projects have been handled strictly by the IDE (WebSphere Studio 5.0 built on eclipse 2.0) and I don't really want create/troubleshoot build scripts/project files for 5 other projects. Is there a way around it? Or is maven a 'all or nothing' kind of a thing when it comes to multiple projects? Thanks. _ There are now three new levels of MSN Hotmail Extra Storage! Learn more. http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: the project.properties file
Is it in 1.1 in CVS? If so, whats the syntax to use to extend the properties? Thanks, Chad - Original Message - From: "Emmanuel Venisse" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 9:50 AM Subject: Re: the project.properties file > Yes, in the next version. > > - Original Message - > From: "Sean Kelly" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 27, 2004 3:47 PM > Subject: the project.properties file > > > > A subproject can use the in its project.xml to inherit > > information from another project.xml file. > > > > However, it seems not all project knowledge is contained in the Project > > Object Model. Some of that resides in the project.properties (mostly > > look-and-feel things). Is there a way to the > > project.properties file? > > > > Something like: > > > > --- > > # My Subproject's properties: > > extend = ../project.properties > > override.value = 2 > > my.value = 5 > > --- > > > > If not, is there a way to specify properties that normally appear only > > in project.properties in the project.xml file instead? > > > > Thanks, > > Sean. > > > > -- > > Sean Kelly > > Independent Consultant > > http://seankelly.biz/ > > > > > > > > - > > 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: [FOURTH TIME] Cannot run the "site" goal
No, I didn't. I created a directory structure following the suggestions on the Maven site, and then I generated the artifacts and the site. Marco - Original Message - From: "Charles Sabourdin" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Monday, January 26, 2004 10:29 PM Subject: Re: [FOURTH TIME] Cannot run the "site" goal Did you create a regular empty project "maven -Dpackage=com.mycompany.app genapp" and then generate you site. Le Lundi 26 Janvier 2004 01:17, Marco Tedone a écrit : > Yes, I just tried to delete the plugin folder and I get the same error. > > Marco > - Original Message - > From: "Arnaud Heritier" <[EMAIL PROTECTED]> > To: "'Maven Users List'" <[EMAIL PROTECTED]>; "'Marco Tedone'" > <[EMAIL PROTECTED]> > Sent: Sunday, January 25, 2004 11:12 PM > Subject: RE: [FOURTH TIME] Cannot run the "site" goal > > > Hello Marco. > > Did you try to delete your directory C:/Documents and > Settings/mtedone/.maven/plugins directory ?? > > The plugin cache directory is maybe corrupted !! > > Arnaud > > > -Message d'origine- > > De : Marco Tedone [mailto:[EMAIL PROTECTED] > > Envoyé : dimanche 25 janvier 2004 23:53 > > À : Maven-users > > Objet : [FOURTH TIME] Cannot run the "site" goal > > > > Hi folk, it's the fourth time (included the one sent to the "license- > > plugin" > > pm) that I post the following problem, hoping that first or later someone > > will answer. > > > > I'm trying to execute the 'default' site goal, and I obtain the following > > error: > > > > D:\Projects\Merlin_template>maven site > > __ __ > > > > | \/ |__ _Apache__ ___ > > | > > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > > | > > |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT > > > > BUILD FAILED > > File.. file:/C:/Documents and > > Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/ > > Element... attainGoal > > Line.. 587 > > Column 57 > > No goal [maven-license-plugin:register] > > Total time: 2 seconds > > Finished at: Sun Jan 25 22:48:12 GMT 2004 > > > > D:\Projects\Merlin_template> > > > > This happens if I don't specify any report in the project.xml file or if > > I specify the > > > > maven-license-plugin > > > > element. > > > > I've got both the "license" and the "xdoc" plugins. The > > 'maven-license-plugin:register' goal exists in the license plugin, > > therefore > > I cannot figure out why I obtain the following error. > > > > Plz help! > > > > Marco > > > > > > > > > > - > > 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]
Re: the project.properties file
Yes, in the next version. - Original Message - From: "Sean Kelly" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 3:47 PM Subject: the project.properties file > A subproject can use the in its project.xml to inherit > information from another project.xml file. > > However, it seems not all project knowledge is contained in the Project > Object Model. Some of that resides in the project.properties (mostly > look-and-feel things). Is there a way to the > project.properties file? > > Something like: > > --- > # My Subproject's properties: > extend = ../project.properties > override.value = 2 > my.value = 5 > --- > > If not, is there a way to specify properties that normally appear only > in project.properties in the project.xml file instead? > > Thanks, > Sean. > > -- > Sean Kelly > Independent Consultant > http://seankelly.biz/ > > > > - > 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]
the project.properties file
A subproject can use the in its project.xml to inherit information from another project.xml file. However, it seems not all project knowledge is contained in the Project Object Model. Some of that resides in the project.properties (mostly look-and-feel things). Is there a way to the project.properties file? Something like: --- # My Subproject's properties: extend = ../project.properties override.value = 2 my.value = 5 --- If not, is there a way to specify properties that normally appear only in project.properties in the project.xml file instead? Thanks, Sean. -- Sean Kelly Independent Consultant http://seankelly.biz/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [FOURTH TIME] Cannot run the "site" goal
So i suggest that you create an empty project using maven -Dpackage=com.mycompany.app genapp and try to generate your site form this project. Base on that, you would be able to say if your struture or maven is wrong. I also sugest that you check you project.xml fil and remove all the report tag first an then and then one by one. good luck ;) Le Mardi 27 Janvier 2004 10:06, Marco Tedone a écrit : > No, I didn't. I created a directory structure following the suggestions on > the Maven site, and then I generated the artifacts and the site. > > Marco > - Original Message - > From: "Charles Sabourdin" <[EMAIL PROTECTED]> > To: "Maven Users List" <[EMAIL PROTECTED]> > Sent: Monday, January 26, 2004 10:29 PM > Subject: Re: [FOURTH TIME] Cannot run the "site" goal > > > Did you create a regular empty project "maven -Dpackage=com.mycompany.app > genapp" and then generate you site. > > Le Lundi 26 Janvier 2004 01:17, Marco Tedone a écrit : > > Yes, I just tried to delete the plugin folder and I get the same error. > > > > Marco > > - Original Message - > > From: "Arnaud Heritier" <[EMAIL PROTECTED]> > > To: "'Maven Users List'" <[EMAIL PROTECTED]>; "'Marco Tedone'" > > <[EMAIL PROTECTED]> > > Sent: Sunday, January 25, 2004 11:12 PM > > Subject: RE: [FOURTH TIME] Cannot run the "site" goal > > > > > > Hello Marco. > > > > Did you try to delete your directory C:/Documents and > > Settings/mtedone/.maven/plugins directory ?? > > > > The plugin cache directory is maybe corrupted !! > > > > Arnaud > > > > > -Message d'origine- > > > De : Marco Tedone [mailto:[EMAIL PROTECTED] > > > Envoyé : dimanche 25 janvier 2004 23:53 > > > À : Maven-users > > > Objet : [FOURTH TIME] Cannot run the "site" goal > > > > > > Hi folk, it's the fourth time (included the one sent to the "license- > > > plugin" > > > pm) that I post the following problem, hoping that first or later > > someone > > > > will answer. > > > > > > I'm trying to execute the 'default' site goal, and I obtain the > > following > > > > error: > > > > > > D:\Projects\Merlin_template>maven site > > > __ __ > > > > > > | \/ |__ _Apache__ ___ > > > | > > > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > > > | > > > |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT > > > > > > BUILD FAILED > > > File.. file:/C:/Documents and > > > Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/ > > > Element... attainGoal > > > Line.. 587 > > > Column 57 > > > No goal [maven-license-plugin:register] > > > Total time: 2 seconds > > > Finished at: Sun Jan 25 22:48:12 GMT 2004 > > > > > > D:\Projects\Merlin_template> > > > > > > This happens if I don't specify any report in the project.xml file or > > > if I specify the > > > > > > maven-license-plugin > > > > > > element. > > > > > > I've got both the "license" and the "xdoc" plugins. The > > > 'maven-license-plugin:register' goal exists in the license plugin, > > > therefore > > > I cannot figure out why I obtain the following error. > > > > > > Plz help! > > > > > > Marco > > > > > > > > > > > > > > > - > > > 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] -- Charles-Alexandre SABOURDIN - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: plugin to deploy plugins ?
You can see at "plugin" plugin. It package plugin and deploy it http://maven.apache.org/reference/plugins/plugin/ - Original Message - From: "Stoffels, Ralf (FWI-AW2)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 27, 2004 12:51 PM Subject: plugin to deploy plugins ? > Hi, > > I believe that it is very obvious, but I miss it: > Is there a plugin or tag library to jar a self-written plugin and deploy it > as a maven plugin ? > > Ralf > > > - > 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]
plugin to deploy plugins ?
Hi, I believe that it is very obvious, but I miss it: Is there a plugin or tag library to jar a self-written plugin and deploy it as a maven plugin ? Ralf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [FOURTH TIME] Cannot run the "site" goal
Not yet, only when I'll be able to build Maven from the source. At the moment, I'm downloading the maven-plugins CVS. Marco - Original Message - From: "Arnaud Heritier" <[EMAIL PROTECTED]> To: "'Maven Users List'" <[EMAIL PROTECTED]> Sent: Monday, January 26, 2004 11:05 PM Subject: RE: [FOURTH TIME] Cannot run the "site" goal Can't you test the last maven's snapshot release ?? Arnaud > -Message d'origine- > De : Brett Porter [mailto:[EMAIL PROTECTED] > Envoyé : lundi 26 janvier 2004 22:37 > À : 'Maven Users List' > Objet : RE: [FOURTH TIME] Cannot run the "site" goal > > Are you SURE you have the license plugin? > > Check the contents of C:/Documents and Settings/mtedone/.maven/plugins > for maven-license-plugin-X.X, then open plugin.jelly and see whether that > goal is in there. > > You should also confirm that you really are using that plugin directory - > if > it gets deleted, and the contents reappear after running maven, you should > be fine. > > - Brett > > > -Original Message- > > From: Marco Tedone [mailto:[EMAIL PROTECTED] > > Sent: Monday, 26 January 2004 11:18 AM > > To: Maven Users List > > Subject: Re: [FOURTH TIME] Cannot run the "site" goal > > > > > > Yes, I just tried to delete the plugin folder and I get the > > same error. > > > > Marco > > - Original Message - > > From: "Arnaud Heritier" <[EMAIL PROTECTED]> > > To: "'Maven Users List'" <[EMAIL PROTECTED]>; "'Marco > > Tedone'" <[EMAIL PROTECTED]> > > Sent: Sunday, January 25, 2004 11:12 PM > > Subject: RE: [FOURTH TIME] Cannot run the "site" goal > > > > > > Hello Marco. > > > > Did you try to delete your directory C:/Documents and > > Settings/mtedone/.maven/plugins directory ?? > > > > The plugin cache directory is maybe corrupted !! > > > > Arnaud > > > > > -Message d'origine- > > > De : Marco Tedone [mailto:[EMAIL PROTECTED] > > > Envoyé : dimanche 25 janvier 2004 23:53 > > > À : Maven-users > > > Objet : [FOURTH TIME] Cannot run the "site" goal > > > > > > Hi folk, it's the fourth time (included the one sent to the > > "license- > > > plugin" > > > pm) that I post the following problem, hoping that first or later > > > someone will answer. > > > > > > I'm trying to execute the 'default' site goal, and I obtain the > > > following > > > error: > > > > > > D:\Projects\Merlin_template>maven site > > > __ __ > > > | \/ |__ _Apache__ ___ > > > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > > > |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT > > > > > > > > > BUILD FAILED > > > File.. file:/C:/Documents and > > > Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/ > > > Element... attainGoal > > > Line.. 587 > > > Column 57 > > > No goal [maven-license-plugin:register] > > > Total time: 2 seconds > > > Finished at: Sun Jan 25 22:48:12 GMT 2004 > > > > > > D:\Projects\Merlin_template> > > > > > > This happens if I don't specify any report in the > > project.xml file or > > > if I specify the > > > > > > maven-license-plugin > > > > > > element. > > > > > > I've got both the "license" and the "xdoc" plugins. The > > > 'maven-license-plugin:register' goal exists in the license plugin, > > > therefore I cannot figure out why I obtain the following error. > > > > > > Plz help! > > > > > > Marco > > > > > > > > > > > > > > > > > - > > > 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]
Re: [FOURTH TIME] Cannot run the "site" goal
Already done. - Original Message - From: "Brett Porter" <[EMAIL PROTECTED]> To: "'Marco Tedone'" <[EMAIL PROTECTED]>; "Maven Users List" <[EMAIL PROTECTED]> Sent: Monday, January 26, 2004 10:00 PM Subject: RE: [FOURTH TIME] Cannot run the "site" goal You are using a clean released version of Maven 1.0 RC1? IF so, can you run with -X and post to JIRA with a small sample application that replicates it. Thanks, - Brett > -Original Message- > From: Marco Tedone [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 27 January 2004 8:59 AM > To: Maven Users List > Cc: Brett Porter > Subject: Re: [FOURTH TIME] Cannot run the "site" goal > > > Yes, I confirm I've got the the following goal in plugin.jelly: > > >name="Project License" > pluginName="maven-license-plugin" > link="license" > description="Displays the primary license for the project."/> > > > Marco > - Original Message - > From: "Brett Porter" <[EMAIL PROTECTED]> > To: "'Maven Users List'" <[EMAIL PROTECTED]> > Sent: Monday, January 26, 2004 9:37 PM > Subject: RE: [FOURTH TIME] Cannot run the "site" goal > > > Are you SURE you have the license plugin? > > Check the contents of C:/Documents and > Settings/mtedone/.maven/plugins for maven-license-plugin-X.X, > then open plugin.jelly and see whether that goal is in there. > > You should also confirm that you really are using that plugin > directory - if it gets deleted, and the contents reappear > after running maven, you should be fine. > > - Brett > > > -Original Message- > > From: Marco Tedone [mailto:[EMAIL PROTECTED] > > Sent: Monday, 26 January 2004 11:18 AM > > To: Maven Users List > > Subject: Re: [FOURTH TIME] Cannot run the "site" goal > > > > > > Yes, I just tried to delete the plugin folder and I get the same > > error. > > > > Marco > > - Original Message - > > From: "Arnaud Heritier" <[EMAIL PROTECTED]> > > To: "'Maven Users List'" <[EMAIL PROTECTED]>; "'Marco > > Tedone'" <[EMAIL PROTECTED]> > > Sent: Sunday, January 25, 2004 11:12 PM > > Subject: RE: [FOURTH TIME] Cannot run the "site" goal > > > > > > Hello Marco. > > > > Did you try to delete your directory C:/Documents and > > Settings/mtedone/.maven/plugins directory ?? > > > > The plugin cache directory is maybe corrupted !! > > > > Arnaud > > > > > -Message d'origine- > > > De : Marco Tedone [mailto:[EMAIL PROTECTED] > > > Envoyé : dimanche 25 janvier 2004 23:53 > > > À : Maven-users > > > Objet : [FOURTH TIME] Cannot run the "site" goal > > > > > > Hi folk, it's the fourth time (included the one sent to the > > "license- > > > plugin" > > > pm) that I post the following problem, hoping that first or later > > > someone will answer. > > > > > > I'm trying to execute the 'default' site goal, and I obtain the > > > following > > > error: > > > > > > D:\Projects\Merlin_template>maven site > > > __ __ > > > | \/ |__ _Apache__ ___ > > > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > > > |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT > > > > > > > > > BUILD FAILED > > > File.. file:/C:/Documents and > > > Settings/mtedone/.maven/plugins/maven-xdoc-plugin-1.4/ > > > Element... attainGoal > > > Line.. 587 > > > Column 57 > > > No goal [maven-license-plugin:register] > > > Total time: 2 seconds > > > Finished at: Sun Jan 25 22:48:12 GMT 2004 > > > > > > D:\Projects\Merlin_template> > > > > > > This happens if I don't specify any report in the > > project.xml file or > > > if I specify the > > > > > > maven-license-plugin > > > > > > element. > > > > > > I've got both the "license" and the "xdoc" plugins. The > > > 'maven-license-plugin:register' goal exists in the > license plugin, > > > therefore I cannot figure out why I obtain the following error. > > > > > > Plz help! > > > > > > Marco > > > > > > > > > > > > > > > > > > - > > > 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: Maven Presentation For Maven and Developers?
Hi Conrad, here's the "Further reading" section we have on our internal wiki site at Sun. Vincent Massol's preso is my personal favorite preso about Maven. P@ Further Reading Vincent Massol's excellent presentation Building J2EE projects with Maven It explains more complex topics like the Reactor, and describes very well the basics of maven architecture. BuildingAndRunning Geronimo explains how to build Apache Geronimo J2EE container project, which is based on maven. Maven Eclipse Plugin provides the ability to generate Eclipse project files (.classpath and .project files), as well as configure Eclipse to use Maven as an External Tool. This plugin bridges the gap between "Managed Enterprise Build" provided by Maven, with continuous integration, dependencies management, and automated web site generation, and a single developer's practice with the Eclipse IDE. Developing with Maven by Rob Herbst, 10/22/2003 describes the basics, with a good overview of the reporting aspect of maven. Project management: Maven makes it easy by Charles Chan ([EMAIL PROTECTED]), Senior Software Developer, Finetix LLC, 8 April 2003, on IBM DeveloperWorks? site. This article goes in more details. Notably it describes the differences between ant and maven, and talks a little bit about the reactor. Maven Magic on The Server Side by Srikanth Shenoy, november 2003, is very detailed, and describes very well how to use maven for a J2EE project, the use of the reactor for multi project, and more importantly how to customize an existing maven plugin, which gives you an insight at how to develop your own plugin. [EMAIL PROTECTED] wrote: Hi, does anyone have overview documentation for Maven? I'm looking to do a presentation on Maven. In short, I trying to get the company to buy into it. Thus, if anyone has any leads as to where I can locate such information, please drop me an e-mail or post to the e-mail list. Thanks in advance, -Conrad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <>
e-mails are slow
Hi all, Is it normal that there are several hours between the moment when I post in the mailing list and the moment when I receive the mail ? Is it the same thing for everybody ??? Arnaud.
How to invoke and wait for multiple threads?
In one of my goals I'm trying to exec multiple copies of a program that will send test data to my server at the same time. I plan to invoke the program once for each name in a property list, using that name to determine where to find the data. I want to wait for all copies of the program to finish before I continue. I know how to process the list at runtime, but I'm having trouble with the threads. After Googling the Internet, searching the Jelly lists, and looking through source code, I still can't get it to work. If anyone has done this, would you please give me some pointers. Here are some examples of what I've tried so far, and why they are not working: Jelly thread taglib --- This will create and wait for the threads, but since threads:group gathers up all threads before invoking them, the value of ${type} for every thread is the last item in dataList: ${interfaces} ${type}: sleeping for ${i} millisecond ${type}: done Waiting on threads: ${feeds} All threads have finished I also tried invoking the threads without the thread group, then going through the same forEach loop and using threads:waitFor or threads:join for each thread. In both cases, that gives the error message "Property 'thread' has no write method". Ant parallel and sequential tasks - This lets me get a different ${type} per thread, but the threads get invoked sequentially, even when within the parallel tag: ${interfaces} ${type}: sleeping for ${i} millisecond ${type}: done Waiting on threads All threads have finished I thought the above loop would be the same as doing something like: ... but apparently it's not. If anyone can give me some more ideas to investigate, I'd appreciate it. Jeff -- mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]