Re: Using Mevenide on NetBeans 4.0 with multiprojects using multiple source directories per project
As I've already replied on the andromda's list, here's just the link to the filed jira issue: http://jira.codehaus.org/browse/MEVENIDE-93 Milos Philippe Monnet wrote: Today I decided to try out the new version of Mevenide for NetBeans 4.0 beta 1. It is a very cool plug-in: once you open the root project, Mevenide automatically parses the subprojects and mounts them in the IDE and sets the classpaths based on declared dependencies. This greatly makes life easier for Maven projects especially when using the Multiproject pattern. Kudos to the team! However when I use the AndroMDA tool , which uses multiprojects and use 2 types of source directories per project (one for always-re-generated code , and one for generated but to-be-tailored code), Mevenide only picks up the source directory declared in the project.xml (seems logical). I'm trying to figure out how to setup Maven/Mevenide so that both directories will be mounted in NetBeans. Does anyone have experience with this? Thanks in advance. Philippe PS - In case you are not familiar with AndroMDA ( http://team.andromda.org), AndroMDA uses subprojects and XDoclet to generate various artifacts like EJBs, common components, etc. If I have a root project called mysvc in C:\mysvc, the full directory structure looks as follow: project.properties - root project.xml .\ejb - subproject for the EJB components .\ejb\project.xml .\ejb\src\java --contains source code to be tailored by the developer (generated only once by AndroMDA through XDoclet ) .\ejb\src\java\org\mddtut\mddtut2\MySvcBeanImpl.java .\ejb\target .\ejb\target\classes ... .\ejb\target\classes\org\mddtut\mddtut2\MySvcBean.class .\ejb\target\classes\org\mddtut\mddtut2\MySvcBeanImpl.class ... .\ejb\target\src\- contains source code always re-/generated by AndroMDA through XDoclet ... .\ejb\target\src\org\mddtut\mddtut2\MySvcBean.java ... .\ejb\target\xdoclet\ .\mda - subproject containing the UML model driving the AndroMDA generation .\mda\project.xml .\mda\src\uml\mddtut2a-model.xmi .. If you look at the ejb subproject, you will notice the 2 source code directories: .\ejb\src\java --contains source code to be tailored by the developer (generated only once by AndroMDA through XDoclet ) .\ejb\target\src\- contains source code always re-/generated by AndroMDA through XDoclet In .\ejb\project.xml, the sourceDirectory points to src\java. However, since we also have code in target\java, that directory does not get mounted in NetBeans. I have tried to add a sourceModifications section but I must not know how to set that up properly: build sourceDirectorysrc/java/sourceDirectory sourceModifications sourceModification classNameMySvcBean/className includes includetarget/src/**/*.java/include /includes /sourceModification /sourceModifications /build - 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:prepare-release
Hi all, I'm trying to setup a release of my app. It uses multiples sub-projects and maven multiproject to build. Now I'd like to tag version and want to use scm:prepare-release goal It requires me to lauch maven on each sub-projects according to dependencies between them and update POMs that depends on it to reflect the updated version number. Do you have any best practice / suggestion about it ? Nico. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Dependency of type property
You may put such resources into jars. Michal -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 4:18 PM To: Maven-users Subject: Dependency of type property Hi, is there a way to declare a dependency of type 'property'? The reason is that it would be usefull to have a dependency of type property when using Struts (and I think not only) for MessageResource bundles. Basically a company may want to use always the same type of labels (already internationalized) for all its sites. Instead of copying the same every time, it would be nice to be able to declare a dependency and include it in the war artifact. 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]
tar plugin ?
Is the'yre any tar plugin for maven ? My app comes with some unix shells (install, admin batches) and a war. Can I set a new subproject with a tar artifact to bundle all this for delivery ? Nico. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tar plugin ?
Nicolas, The dist plugin generates a .tar.gz and .zip with your project. Felipe On Fri, 2004-09-10 at 04:28, Nicolas De Loof wrote: Can I set a new subproject with a tar artifact to bundle all this for delivery ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: easy way to fetch jar dependencies
On 10/9/04 3:39 am, James Mitchell [EMAIL PROTECTED] wrote: What's difficult about figuring out Struts dependencies? My problem was the following assumption: ibiblio.org/maven/struts/poms empty = no project.xml for Struts (therefore looking cvs unnecessary) It's not difficult I managed to do it myself (10 google searchs = 30 secs). I was just looking on the wrong place and didn¹t want to download Struts all over again. What version of Struts are you building with? http://cvs.apache.org/viewcvs.cgi/jakarta-struts/project.xml thank you or check the build.xml -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: Pedro Salgado [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Thursday, September 09, 2004 8:30 PM Subject: Re: easy way to fetch jar dependencies On 10/9/04 1:20 am, Brett Porter [EMAIL PROTECTED] wrote: not yet. We are currently developing maven 2 which already has this functionality. If you need any help... feel free to ask. I was googling to know the packages dependencies... and I found savant it sure seems similar to maven and has this feature. Cant wait for 2.0 :D Thank you! Pedro Salgado - 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: easy way to fetch jar dependencies
You mean that maven 2.0 will have recursive dependecy discovery and retrieval? Best regards Jose Brett Porter wrote: not yet. We are currently developing maven 2 which already has this functionality. - Brett On Fri, 10 Sep 2004 00:59:11 +0100, Pedro Salgado [EMAIL PROTECTED] wrote: Hi to all! Is there any way to do this: - fetch struts jar - fetch automatically all of struts dependencies? (without the need of writing the dependencies myself)? I tried the copy paste technique but I only found few poms in order to copy the dependencies :( Pedro Salgado - 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: tar plugin ?
dist plugin builds a package with jar javadoc I'm looking for a plugin to tar war + some text files (unix shells) I'll write a maven.xml and use ant:tar Thanks, Nico. Nicolas, The dist plugin generates a .tar.gz and .zip with your project. Felipe On Fri, 2004-09-10 at 04:28, Nicolas De Loof wrote: Can I set a new subproject with a tar artifact to bundle all this for delivery ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: MavenIDE
Maven typically only creates one deployable artifact per project.xml. If you want subprojects each producing an artifact Then set up a master project folder with a project.xml and then sub-project folders each with their own project.xml (they will inherit from master project.xml) See: http://www.theserverside.com/articles/article.tss?1=MavenMagic for more info. -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 10:07 PM To: [EMAIL PROTECTED] Subject: MavenIDE Is anybody using mavenide with eclipse to do the projects ? When I create a project, sample1 for sample, it create some folders: sample1 main/src/java main/src/test project.xml It works well if my project produce only one artifact, but what Can I do to use mavenIDE and my project produce two or more artifacts ? I think I need subprojects. One project.xml to each subproject. Am I right ? How can I do it, using mavenIDE ? thanks _ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br - 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: tar plugin ?
You can 'override' the goal dist:prepare-bin-fs (or something like that) to change the distribution layout On Fri, 10 Sep 2004 15:10:44 +0200, Nicolas De Loof [EMAIL PROTECTED] wrote: dist plugin builds a package with jar javadoc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Newbie question on using Reports section
How do you actually use the Reports section? I am requesting reports using some of the provided maven report plugins, but not getting any output. If someone could give suggestions or point me at a good resource (documentation?) that would help. Thanks. Jerald L. Henderson HRD Corporate Staff/UE Infrastructure Staff Sprint, inc. (913)315-3803 (Office)
RE: Newbie question on using Reports section
Reports usually get generated with the site goal. Did you try that? Andreas -Original Message- From: Henderson, Jerry L [CC] [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 7:09 AM To: Maven Users List Subject: Newbie question on using Reports section How do you actually use the Reports section? I am requesting reports using some of the provided maven report plugins, but not getting any output. If someone could give suggestions or point me at a good resource (documentation?) that would help. Thanks. Jerald L. Henderson HRD Corporate Staff/UE Infrastructure Staff Sprint, inc. (913)315-3803 (Office) This electronic mail message contains information belonging to PaymentOne, which may be confidential and/or legal privileged. The information is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, printing, copying, distribution, or the taking of any action in reliance on the contents of this electronically mailed information is strictly prohibited. If you receive this message in error, please immediately notify us by electronic mail and delete this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: easy way to fetch jar dependencies
Hi, Yes, it will. Regards Carlos Sanchez A Coruña, Spain http://www.jroller.com/page/carlossg/Weblog Oness Project http://oness.sourceforge.net -Original Message- From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 2:49 PM To: Maven Users List Subject: Re: easy way to fetch jar dependencies You mean that maven 2.0 will have recursive dependecy discovery and retrieval? Best regards Jose Brett Porter wrote: not yet. We are currently developing maven 2 which already has this functionality. - Brett On Fri, 10 Sep 2004 00:59:11 +0100, Pedro Salgado [EMAIL PROTECTED] wrote: Hi to all! Is there any way to do this: - fetch struts jar - fetch automatically all of struts dependencies? (without the need of writing the dependencies myself)? I tried the copy paste technique but I only found few poms in order to copy the dependencies :( Pedro Salgado - 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]
apartment hunt
Hi Friends of Adam- The building I currently live in is getting torn down in a couple of weeks, so I need to find a new apartment. Our landlords have been sending a thugish weenie of a man around every morning at 8AM to take photographs of us and to hurl subpeonas through the door because they're afraid we'll try to squat in their building. He's a strange little Polish mafia thug type sent to intimidate, but the large stuffed animal peering out from the front seat of his car hampers his effectiveness. That's a whole other story for a different time, though. Let's stay focused. Anyone know of any good apartments? I'm willing to live with people or alone. A cheap studio or one bedroom would probably be ideal, with a studio probably being the best. If I live with people, women would probably be preferable as roommates, or men with a knack for living with other human beings. I would love to stay in Williamsburg because I've grown oddly attached to the overpriced health food stores, and I'm afraid to live too far away from my brother and Lesley. I would live almost anywhere if the place were nice and the price was right, though. I would like to pay under $1300, and under $1000 would be preferable. If I live with people, I'd like to pay less. Anyway, that's a long winded way of saying please let me know if you know of any nice apartments. Hope everyone's well. -Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: accessing os from maven?
Thanks Dan. I'm aware of the java properties, but how do I access them from Maven? Some Jelly tag somewhere, something like that? I'm new to all this. Thanks. -Adam dan tran wrote: Check out the os properties available to your JVM http://java.sun.com/j2se/1.3/docs/api/java/lang/System.html#getProperties() properties available to JVM also avaiable to maven as well. -Dan On Thu, 09 Sep 2004 20:33:03 -0400, Adam Fisk [EMAIL PROTECTED] wrote: Anyone know how to check the operating system from Maven? I'm ultimately trying to report test results from different operating systems (a really important thing to do for widely deployed client apps), so I'd love any tips on how to do that cleanly if you've got 'em. Just accessing what OS Maven is running on would be a big start though. This is one of the most responsive lists I've ever been on, by the way. You guys rock. Thanks. -Adam - 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: apartment hunt
What country? -Original Message- From: Adam Fisk [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 1:09 PM To: Adam Fisk Subject: apartment hunt Hi Friends of Adam- The building I currently live in is getting torn down in a couple of weeks, so I need to find a new apartment. Our landlords have been sending a thugish weenie of a man around every morning at 8AM to take photographs of us and to hurl subpeonas through the door because they're afraid we'll try to squat in their building. He's a strange little Polish mafia thug type sent to intimidate, but the large stuffed animal peering out from the front seat of his car hampers his effectiveness. That's a whole other story for a different time, though. Let's stay focused. Anyone know of any good apartments? I'm willing to live with people or alone. A cheap studio or one bedroom would probably be ideal, with a studio probably being the best. If I live with people, women would probably be preferable as roommates, or men with a knack for living with other human beings. I would love to stay in Williamsburg because I've grown oddly attached to the overpriced health food stores, and I'm afraid to live too far away from my brother and Lesley. I would live almost anywhere if the place were nice and the price was right, though. I would like to pay under $1300, and under $1000 would be preferable. If I live with people, I'd like to pay less. Anyway, that's a long winded way of saying please let me know if you know of any nice apartments. Hope everyone's well. -Adam - 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: apartment hunt
Wow. Sorry everyone. Here's a severe warning against ever using Thunderbird's address book lists for just about anything. It's astonishingly buggy, with the most serious issue being lists mysteriously changing. My sincere apologies to the list. -Adam STRAYER, JON (SBCSI) wrote: What country? -Original Message- From: Adam Fisk [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 1:09 PM To: Adam Fisk Subject: apartment hunt Hi Friends of Adam- The building I currently live in is getting torn down in a couple of weeks, so I need to find a new apartment. Our landlords have been sending a thugish weenie of a man around every morning at 8AM to take photographs of us and to hurl subpeonas through the door because they're afraid we'll try to squat in their building. He's a strange little Polish mafia thug type sent to intimidate, but the large stuffed animal peering out from the front seat of his car hampers his effectiveness. That's a whole other story for a different time, though. Let's stay focused. Anyone know of any good apartments? I'm willing to live with people or alone. A cheap studio or one bedroom would probably be ideal, with a studio probably being the best. If I live with people, women would probably be preferable as roommates, or men with a knack for living with other human beings. I would love to stay in Williamsburg because I've grown oddly attached to the overpriced health food stores, and I'm afraid to live too far away from my brother and Lesley. I would live almost anywhere if the place were nice and the price was right, though. I would like to pay under $1300, and under $1000 would be preferable. If I live with people, I'd like to pay less. Anyway, that's a long winded way of saying please let me know if you know of any nice apartments. Hope everyone's well. -Adam - 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: accessing os from maven?
${thepropertiesyouneed} check the link I provided for all possible properties -D On Fri, 10 Sep 2004 14:12:12 -0400, Adam Fisk [EMAIL PROTECTED] wrote: Thanks Dan. I'm aware of the java properties, but how do I access them from Maven? Some Jelly tag somewhere, something like that? I'm new to all this. Thanks. -Adam dan tran wrote: Check out the os properties available to your JVM http://java.sun.com/j2se/1.3/docs/api/java/lang/System.html#getProperties() properties available to JVM also avaiable to maven as well. -Dan On Thu, 09 Sep 2004 20:33:03 -0400, Adam Fisk [EMAIL PROTECTED] wrote: Anyone know how to check the operating system from Maven? I'm ultimately trying to report test results from different operating systems (a really important thing to do for widely deployed client apps), so I'd love any tips on how to do that cleanly if you've got 'em. Just accessing what OS Maven is running on would be a big start though. This is one of the most responsive lists I've ever been on, by the way. You guys rock. Thanks. -Adam - 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: accessing os from maven?
Great. Thanks. dan tran wrote: ${thepropertiesyouneed} check the link I provided for all possible properties -D On Fri, 10 Sep 2004 14:12:12 -0400, Adam Fisk [EMAIL PROTECTED] wrote: Thanks Dan. I'm aware of the java properties, but how do I access them from Maven? Some Jelly tag somewhere, something like that? I'm new to all this. Thanks. -Adam dan tran wrote: Check out the os properties available to your JVM http://java.sun.com/j2se/1.3/docs/api/java/lang/System.html#getProperties() properties available to JVM also avaiable to maven as well. -Dan On Thu, 09 Sep 2004 20:33:03 -0400, Adam Fisk [EMAIL PROTECTED] wrote: Anyone know how to check the operating system from Maven? I'm ultimately trying to report test results from different operating systems (a really important thing to do for widely deployed client apps), so I'd love any tips on how to do that cleanly if you've got 'em. Just accessing what OS Maven is running on would be a big start though. This is one of the most responsive lists I've ever been on, by the way. You guys rock. Thanks. -Adam - 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: MavenIDE
Thanks, but what I wonder is how I can to do it using MavenIDE. I only get to do what this article show when I don't use any plugin to eclipse. Only when I do everything alone, without help of plugins. is There another plugin that help me with this requirements ? From: Henderson, Jerry L [CC] [EMAIL PROTECTED] Reply-To: Maven Users List [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Subject: RE: MavenIDE Date: Fri, 10 Sep 2004 08:22:50 -0500 Maven typically only creates one deployable artifact per project.xml. If you want subprojects each producing an artifact Then set up a master project folder with a project.xml and then sub-project folders each with their own project.xml (they will inherit from master project.xml) See: http://www.theserverside.com/articles/article.tss?1=MavenMagic for more info. -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 10:07 PM To: [EMAIL PROTECTED] Subject: MavenIDE Is anybody using mavenide with eclipse to do the projects ? When I create a project, sample1 for sample, it create some folders: sample1 main/src/java main/src/test project.xml It works well if my project produce only one artifact, but what Can I do to use mavenIDE and my project produce two or more artifacts ? I think I need subprojects. One project.xml to each subproject. Am I right ? How can I do it, using mavenIDE ? thanks _ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br - 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] _ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: MavenIDE
It would still be the same. If you look at the file structure of the code from the article you'll see what I mean. You would just use Eclipse to set that up. -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 4:24 PM To: [EMAIL PROTECTED] Subject: RE: MavenIDE Thanks, but what I wonder is how I can to do it using MavenIDE. I only get to do what this article show when I don't use any plugin to eclipse. Only when I do everything alone, without help of plugins. is There another plugin that help me with this requirements ? From: Henderson, Jerry L [CC] [EMAIL PROTECTED] Reply-To: Maven Users List [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Subject: RE: MavenIDE Date: Fri, 10 Sep 2004 08:22:50 -0500 Maven typically only creates one deployable artifact per project.xml. If you want subprojects each producing an artifact Then set up a master project folder with a project.xml and then sub-project folders each with their own project.xml (they will inherit from master project.xml) See: http://www.theserverside.com/articles/article.tss?1=MavenMagic for more info. -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 10:07 PM To: [EMAIL PROTECTED] Subject: MavenIDE Is anybody using mavenide with eclipse to do the projects ? When I create a project, sample1 for sample, it create some folders: sample1 main/src/java main/src/test project.xml It works well if my project produce only one artifact, but what Can I do to use mavenIDE and my project produce two or more artifacts ? I think I need subprojects. One project.xml to each subproject. Am I right ? How can I do it, using mavenIDE ? thanks _ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br - 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] _ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com - 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]
war plugin and dependant webapps
Hi, I have webapps depending upon a common webapp (for jsps, images, js...). Each webapp can override stuff in common webapp and contains the files in its own project. common/src/webapp/welcome.jsp webmoduleA/src/webapp/welcome.jsp To accomplish building webmoduleA, I tried copying files from common to ${maven.war.webapp.dir} as pre-goal but the war plug-in when copying the webmoduleA/src/webapp/ files does specify the ant:copy overwrite=true j:if test=${webSourcesPresent == 'true'} ant:copy todir=${maven.war.webapp.dir} preservelastmodified=true ant:fileset dir=${maven.war.src} includes=${maven.war.src.includes} excludes=${maven.war.src.excludes} /ant:fileset /ant:copy /j:if and hence the file is not overwritten. I made it as a post-goal and copy the files from common after the war:webapp but the problem comes if the common/.../welcome.jsp has been modified after webModuleA/.../welcome.jsp then it is overwritten. How to handle this case? Thanks, --Venkat. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
test:test classpath issue
I have a JUnit test which works fine from an Ant task, but when I run maven test:test it fails due to a ClassNotFoundException. Can someone inform me of how to get Maven to add my classes to its classpath? My project.xml contains the following: unitTestSourceDirectorysrc/test/unitTestSourceDirectory unitTest resources resource directory${basedir}/src/test/directory includes include**/*Test.java/include /includes /resource /resources /unitTest Derek Greer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: test:test classpath issue
Why do you want your test code (ie .java files) copied to your classpath? On Fri, 10 Sep 2004 18:46:57 -0600, Derek Greer [EMAIL PROTECTED] wrote: I have a JUnit test which works fine from an Ant task, but when I run maven test:test it fails due to a ClassNotFoundException. Can someone inform me of how to get Maven to add my classes to its classpath? My project.xml contains the following: unitTestSourceDirectorysrc/test/unitTestSourceDirectory unitTest resources resource directory${basedir}/src/test/directory includes include**/*Test.java/include /includes /resource /resources /unitTest Derek Greer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: test:test classpath issue
Never mind. I had my package prefixed with test. I'm guessing the norm is to store unittest cases under src/test but not actually designate test as part of the package name? Derek Derek Greer wrote: I have a JUnit test which works fine from an Ant task, but when I run maven test:test it fails due to a ClassNotFoundException. Can someone inform me of how to get Maven to add my classes to its classpath? My project.xml contains the following: unitTestSourceDirectorysrc/test/unitTestSourceDirectory unitTest resources resource directory${basedir}/src/test/directory includes include**/*Test.java/include /includes /resource /resources /unitTest Derek Greer - 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]