about castor on ibiblio
Hello, I was going to ask for upload of castor 0.9.6 on ibiblio as I discoverd a strange repository structure for this groupId : http://www.ibiblio.org/maven/castor/ has subdirectories by version, not by artifact type What's about this ? How to make maven download such an artifact ? 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: Continuous Integration + multiproject:site generation
Patrick Roumanoff wrote: From what I understand, you only need to have one project in cruisecontrol to trigger your multiproject goals. just make sure the modificationset for the multiproject goal is an aggregation of the modificationset for the subprojects. my cruisecontrol maven line looks like that: maven goal=-Dgoal=scm:update-project multiproject:goal| -Dmaven.test.reportsDirectory=/path/to/multiproject/target/test-reports -Dgoal=clean,test,site multiproject:goal projectfile=/path/to/multiproject/project.xml mavenscript=/path/to/maven/bin/maven you need to specify maven.test.reportsDirectory so the test reports for all the subproject will fall under and get analyzed/displayed by cruisecontrol. Hello Patrick, Thanks for the answer. It is indeed a good solution. Just one think : in your goal above, you don't call the artifact:install goal, so I don't see how your dependent projects can refer to the last good versions of each other ? Regards, -- Laurent PETIT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
multiproject
Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
project dependencies
Hi, How in Maven we specify that a project depends on another subprojects? Lets say we have a project A that depends on subprojects B and C (as jars). how can we specify that A depends on B and C? how it is done in the dependecies section? Regards, Bahaa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antwort: multiproject
Hi, this is easy with maven. To do that, you must define a reactor and dependencies in each project descriptor depends on the pom source of the other project source results: A: dependency groupId${pom.groupId}/groupId artifactIdB/artifactId version${pom.currentVersion}/version typejar/type /dependency dependency groupId${pom.groupId}/groupId artifactIdC/artifactId version${pom.currentVersion}/version typejar/type /dependency When you use it, the reactor checks each dependency in the project descriptors (A,B,C) and determines the build order dynamicly. For better understanding of these concepts you should read: http://www.theserverside.com/articles/article.tss?l=MavenMagic Bye, Chrisitan Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa BG-PHOENICS GMBH IT-EW / DS Thurnithistr.16 30519 Hannover Telefon: 0511-987-1248 mailto: [EMAIL PROTECTED]
Re: multiproject
Thanks Christian, I have problem, when i run maven i get (Attempting to downlaod A-.jar Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars) A.jar should be created during the build and not before it! do you have any suggestions? Thanks in advance On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, this is easy with maven. To do that, you must define a reactor and dependencies in each project descriptor depends on the pom source of the other project source results: A: dependency groupId${pom.groupId}/groupId artifactIdB/artifactId version${pom.currentVersion}/version typejar/type /dependency dependency groupId${pom.groupId}/groupId artifactIdC/artifactId version${pom.currentVersion}/version typejar/type /dependency When you use it, the reactor checks each dependency in the project descriptors (A,B,C) and determines the build order dynamicly. For better understanding of these concepts you should read: http://www.theserverside.com/articles/article.tss?l=MavenMagic Bye, Chrisitan Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa BG-PHOENICS GMBH IT-EW / DS Thurnithistr.16 30519 Hannover Telefon: 0511-987-1248 mailto: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: about castor on ibiblio
They are in addition to the actual ones under /jars/ - nothing to worry about. - Brett On Apr 6, 2005 6:46 PM, Nicolas De Loof [EMAIL PROTECTED] wrote: Hello, I was going to ask for upload of castor 0.9.6 on ibiblio as I discoverd a strange repository structure for this groupId : http://www.ibiblio.org/maven/castor/ has subdirectories by version, not by artifact type What's about this ? How to make maven download such an artifact ? 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiproject
Hi Bahaa - it looks like you haven't defined the version of the jar file that you're dependent on. Regards, John Bahaa Nasrallah wrote: Thanks Christian, I have problem, when i run maven i get (Attempting to downlaod A-.jar Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars) A.jar should be created during the build and not before it! do you have any suggestions? Thanks in advance On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, this is easy with maven. To do that, you must define a reactor and dependencies in each project descriptor depends on the pom source of the other project source results: A: dependency groupId${pom.groupId}/groupId artifactIdB/artifactId version${pom.currentVersion}/version typejar/type /dependency dependency groupId${pom.groupId}/groupId artifactIdC/artifactId version${pom.currentVersion}/version typejar/type /dependency When you use it, the reactor checks each dependency in the project descriptors (A,B,C) and determines the build order dynamicly. For better understanding of these concepts you should read: http://www.theserverside.com/articles/article.tss?l=MavenMagic Bye, Chrisitan Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa BG-PHOENICS GMBH IT-EW / DS Thurnithistr.16 30519 Hannover Telefon: 0511-987-1248 mailto: [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: multiproject
(or alternatively, that you didn't define a currentVersion) John Taylor wrote: Hi Bahaa - it looks like you haven't defined the version of the jar file that you're dependent on. Regards, John Bahaa Nasrallah wrote: Thanks Christian, I have problem, when i run maven i get (Attempting to downlaod A-.jar Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars) A.jar should be created during the build and not before it! do you have any suggestions? Thanks in advance On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, this is easy with maven. To do that, you must define a reactor and dependencies in each project descriptor depends on the pom source of the other project source results: A: dependency groupId${pom.groupId}/groupId artifactIdB/artifactId version${pom.currentVersion}/version typejar/type /dependency dependency groupId${pom.groupId}/groupId artifactIdC/artifactId version${pom.currentVersion}/version typejar/type /dependency When you use it, the reactor checks each dependency in the project descriptors (A,B,C) and determines the build order dynamicly. For better understanding of these concepts you should read: http://www.theserverside.com/articles/article.tss?l=MavenMagic Bye, Chrisitan Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa BG-PHOENICS GMBH IT-EW / DS Thurnithistr.16 30519 Hannover Telefon: 0511-987-1248 mailto: [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: about castor on ibiblio
My project requires castro 0.9.6. How to set dependency to it ? Do I need to ask for upload, even artifact is allready on ibiblio at a strange location ? Brett Porter a écrit : They are in addition to the actual ones under /jars/ - nothing to worry about. - Brett On Apr 6, 2005 6:46 PM, Nicolas De Loof [EMAIL PROTECTED] wrote: Hello, I was going to ask for upload of castor 0.9.6 on ibiblio as I discoverd a strange repository structure for this groupId : http://www.ibiblio.org/maven/castor/ has subdirectories by version, not by artifact type What's about this ? How to make maven download such an artifact ? 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] - 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: about castor on ibiblio
oh, I see. Preferably, you should contact the castor developers and ask them to rearrange it at: http://dist.codehaus.org/castor/ That's where it comes from. You can also file an upload request. If I see them on IRC, I'll try and remember to ask. - Brett On Apr 6, 2005 10:49 PM, Nicolas De Loof [EMAIL PROTECTED] wrote: My project requires castro 0.9.6. How to set dependency to it ? Do I need to ask for upload, even artifact is allready on ibiblio at a strange location ? Brett Porter a écrit : They are in addition to the actual ones under /jars/ - nothing to worry about. - Brett On Apr 6, 2005 6:46 PM, Nicolas De Loof [EMAIL PROTECTED] wrote: Hello, I was going to ask for upload of castor 0.9.6 on ibiblio as I discoverd a strange repository structure for this groupId : http://www.ibiblio.org/maven/castor/ has subdirectories by version, not by artifact type What's about this ? How to make maven download such an artifact ? 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiproject
On Wed, 6 Apr 2005, Bahaa Nasrallah wrote: Looks like you have a dependency on A somewhere. Anyway, building C which depends on B (you probably have A specified there as a dependency) won't work unless B is installed in the local repository. So run maven jar:install instead. Thanks, i have added the version and defined the currentVersion and still have the same problem: (Attempting to downlaod A-1.0.jar ...) Just to let you know that the property maven.jar.override = on becuase the jar files resides on local directory. any suggestions will be welcomed... Thanks in advance, Bahaa On Apr 6, 2005 1:30 PM, John Taylor [EMAIL PROTECTED] wrote: (or alternatively, that you didn't define a currentVersion) John Taylor wrote: Hi Bahaa - it looks like you haven't defined the version of the jar file that you're dependent on. Regards, John Bahaa Nasrallah wrote: Thanks Christian, I have problem, when i run maven i get (Attempting to downlaod A-.jar Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars) A.jar should be created during the build and not before it! do you have any suggestions? Thanks in advance On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, this is easy with maven. To do that, you must define a reactor and dependencies in each project descriptor depends on the pom source of the other project source results: A: dependency groupId${pom.groupId}/groupId artifactIdB/artifactId version${pom.currentVersion}/version typejar/type /dependency dependency groupId${pom.groupId}/groupId artifactIdC/artifactId version${pom.currentVersion}/version typejar/type /dependency When you use it, the reactor checks each dependency in the project descriptors (A,B,C) and determines the build order dynamicly. For better understanding of these concepts you should read: http://www.theserverside.com/articles/article.tss?l=MavenMagic Bye, Chrisitan Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa BG-PHOENICS GMBH IT-EW / DS Thurnithistr.16 30519 Hannover Telefon: 0511-987-1248 mailto: [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] -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiproject
You need to use SNAPSHOT version to force maven to resolve the build order Nicolas On Apr 6, 2005 3:14 PM, Kenney Westerhof [EMAIL PROTECTED] wrote: On Wed, 6 Apr 2005, Bahaa Nasrallah wrote: Looks like you have a dependency on A somewhere. Anyway, building C which depends on B (you probably have A specified there as a dependency) won't work unless B is installed in the local repository. So run maven jar:install instead. Thanks, i have added the version and defined the currentVersion and still have the same problem: (Attempting to downlaod A-1.0.jar ...) Just to let you know that the property maven.jar.override = on becuase the jar files resides on local directory. any suggestions will be welcomed... Thanks in advance, Bahaa On Apr 6, 2005 1:30 PM, John Taylor [EMAIL PROTECTED] wrote: (or alternatively, that you didn't define a currentVersion) John Taylor wrote: Hi Bahaa - it looks like you haven't defined the version of the jar file that you're dependent on. Regards, John Bahaa Nasrallah wrote: Thanks Christian, I have problem, when i run maven i get (Attempting to downlaod A-.jar Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars) A.jar should be created during the build and not before it! do you have any suggestions? Thanks in advance On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, this is easy with maven. To do that, you must define a reactor and dependencies in each project descriptor depends on the pom source of the other project source results: A: dependency groupId${pom.groupId}/groupId artifactIdB/artifactId version${pom.currentVersion}/version typejar/type /dependency dependency groupId${pom.groupId}/groupId artifactIdC/artifactId version${pom.currentVersion}/version typejar/type /dependency When you use it, the reactor checks each dependency in the project descriptors (A,B,C) and determines the build order dynamicly. For better understanding of these concepts you should read: http://www.theserverside.com/articles/article.tss?l=MavenMagic Bye, Chrisitan Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa BG-PHOENICS GMBH IT-EW / DS Thurnithistr.16 30519 Hannover Telefon: 0511-987-1248 mailto: [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] -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - 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: about castor on ibiblio
FYI: I spoke to Ralf on IRC, and as a result I have filed this: http://bugzilla.exolab.org/show_bug.cgi?id=1927 - Brett On Apr 6, 2005 10:55 PM, Brett Porter [EMAIL PROTECTED] wrote: oh, I see. Preferably, you should contact the castor developers and ask them to rearrange it at: http://dist.codehaus.org/castor/ That's where it comes from. You can also file an upload request. If I see them on IRC, I'll try and remember to ask. - Brett On Apr 6, 2005 10:49 PM, Nicolas De Loof [EMAIL PROTECTED] wrote: My project requires castro 0.9.6. How to set dependency to it ? Do I need to ask for upload, even artifact is allready on ibiblio at a strange location ? Brett Porter a écrit : They are in addition to the actual ones under /jars/ - nothing to worry about. - Brett On Apr 6, 2005 6:46 PM, Nicolas De Loof [EMAIL PROTECTED] wrote: Hello, I was going to ask for upload of castor 0.9.6 on ibiblio as I discoverd a strange repository structure for this groupId : http://www.ibiblio.org/maven/castor/ has subdirectories by version, not by artifact type What's about this ? How to make maven download such an artifact ? 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven and cruisecontrol
Stephen Gray wrote: Hi, I am trying to use maven to kick off cruisecontrol but Im having a problem with my cvs connection. I am using the following in my project.xml scm:cvs:local:ignored:/home/cvs:devbase which works fine when I run maven on its own. Im getting the following error; BUILD FAILED [exec] File.. /home/stephen/.maven/cache/maven-scm-plugin-1.4.1/plugin.jelly [exec] Element... ant:cvs [exec] Line.. 258 [exec] Column 9 [exec] cvs exited with error code 1 [exec] Command line was [Executing 'cvs' with arguments: [exec] '-d:local:/home/cvs' [exec] '-q' [exec] 'update' [exec] '-Pd' [exec] [exec] The ' characters around the executable and arguments are [exec] not part of the command. does anyone know what the problem is? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] That first line (File) might be showing the cause. If it was file xxx is in the way then you have to delete that file. Oh, to be only half as wonderful as my child thought I was when he was small, and only half as stupid as my teenager now thinks I am. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: project dependencies
Hi, I think you could set this dependency in the project descriptor project.xml like this dependencies dependency groupIdthe group/groupId artifactIdthe artifact/artifactId typejar/type version1.0/version /dependency /dependencies Alexandre Bahaa Nasrallah wrote: Hi, How in Maven we specify that a project depends on another subprojects? Lets say we have a project A that depends on subprojects B and C (as jars). how can we specify that A depends on B and C? how it is done in the dependecies section? Regards, Bahaa - 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: about castor on ibiblio
I've voted for this bug... symlinks from /jars may be a simple resolution. Thanks a lot. Brett Porter a écrit : FYI: I spoke to Ralf on IRC, and as a result I have filed this: http://bugzilla.exolab.org/show_bug.cgi?id=1927 - Brett On Apr 6, 2005 10:55 PM, Brett Porter [EMAIL PROTECTED] wrote: oh, I see. Preferably, you should contact the castor developers and ask them to rearrange it at: http://dist.codehaus.org/castor/ That's where it comes from. You can also file an upload request. If I see them on IRC, I'll try and remember to ask. - Brett On Apr 6, 2005 10:49 PM, Nicolas De Loof [EMAIL PROTECTED] wrote: My project requires castro 0.9.6. How to set dependency to it ? Do I need to ask for upload, even artifact is allready on ibiblio at a strange location ? Brett Porter a écrit : They are in addition to the actual ones under /jars/ - nothing to worry about. - Brett On Apr 6, 2005 6:46 PM, Nicolas De Loof [EMAIL PROTECTED] wrote: Hello, I was going to ask for upload of castor 0.9.6 on ibiblio as I discoverd a strange repository structure for this groupId : http://www.ibiblio.org/maven/castor/ has subdirectories by version, not by artifact type What's about this ? How to make maven download such an artifact ? 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] - 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] - 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: multiproject
Errm...I'm not sure that's true. As Kenney says, you seem to have a project that depends on A-1.0.jar, which is odd, as I thought you said A depended on BC. Can you clarify the dependencies for us? If, as in your original email, A depends on BC, then what I would have is: --subproject-A/project.xml (1) --subproject-A/project.properties (2) --subproject-B/project.xml (3) --subproject-B/project.properties (4) --subproject-C/project.xml (5) --subproject-C/project.properties (6) --project.xml (7) (1) should contain the snippet with the dependencies given by Christian below (2), (4), (6) should each contain the line maven.multiproject.type=jar so that the multiproject plugin knows what to build in each case. (7) should not have a dependencies section at all, as it is just a master POM to control the build process. Then in the top level directory execute maven multiproject:install This will build all your artifacts (all jars in this case) in the correct order and install them in your *local* repository (probably in ~/.maven/repository). Here's a more detailed example for you: http://www.astrogrid.org/maven/docs/HEAD/MultiMavenProject/index.html Nicolas Chalumeau wrote: You need to use SNAPSHOT version to force maven to resolve the build order Nicolas On Apr 6, 2005 3:14 PM, Kenney Westerhof [EMAIL PROTECTED] wrote: On Wed, 6 Apr 2005, Bahaa Nasrallah wrote: Looks like you have a dependency on A somewhere. Anyway, building C which depends on B (you probably have A specified there as a dependency) won't work unless B is installed in the local repository. So run maven jar:install instead. Thanks, i have added the version and defined the currentVersion and still have the same problem: (Attempting to downlaod A-1.0.jar ...) Just to let you know that the property maven.jar.override = on becuase the jar files resides on local directory. any suggestions will be welcomed... Thanks in advance, Bahaa On Apr 6, 2005 1:30 PM, John Taylor [EMAIL PROTECTED] wrote: (or alternatively, that you didn't define a currentVersion) John Taylor wrote: Hi Bahaa - it looks like you haven't defined the version of the jar file that you're dependent on. Regards, John Bahaa Nasrallah wrote: Thanks Christian, I have problem, when i run maven i get (Attempting to downlaod A-.jar Error retrieving artifact from [http://www.ibiblio.org/maven/A/jars/A-.jars) A.jar should be created during the build and not before it! do you have any suggestions? Thanks in advance On Apr 6, 2005 12:36 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, this is easy with maven. To do that, you must define a reactor and dependencies in each project descriptor depends on the pom source of the other project source results: A: dependency groupId${pom.groupId}/groupId artifactIdB/artifactId version${pom.currentVersion}/version typejar/type /dependency dependency groupId${pom.groupId}/groupId artifactIdC/artifactId version${pom.currentVersion}/version typejar/type /dependency When you use it, the reactor checks each dependency in the project descriptors (A,B,C) and determines the build order dynamicly. For better understanding of these concepts you should read: http://www.theserverside.com/articles/article.tss?l=MavenMagic Bye, Chrisitan Hi, I have a main project A that depends on subprojects B and C. A needs B and C as jar dependencies to be built so B and C must be compiled and jared and then to compile A. how can i perform that order with multiproject goal? how can i refer to B and C as depndencies in the project.xml of A ? which properties to set? thanks in advance, Bahaa BG-PHOENICS GMBH IT-EW / DS Thurnithistr.16 30519 Hannover Telefon: 0511-987-1248 mailto: [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] -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - 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: seperate src and test directories
No, the targetPath is defined as being relative to maven.build.dest (for normal resources) and maven.test.dest (for unit test resources). You shouldn't put your test resources in maven.build.dest as they'll end up in the JAR (or whatever is being built). Yeah, that's a good point. I don't want that file to be in that spot when I build the actual project. I'm just wondering if there are plans to check for absolute references vs relative references within these tags. If not, why set these property values as absolute references instead of relative? No, there is not. Sorry I didn't understand the last sentence here... I was just thinking that the maven.test.dest property could be a relative path, at which point, resolving the absolute path would be a concatenation of maven.build.dir and maven.test.dest. The same would apply for maven.build.dest and possibly other properties. That was just my initial thinking about these properties, though. Anyway, thanks for the info. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Generation of javadoc with multiple src directories
Hi Fred, It appears to work correctly if you use a preGoal on maven-javadoc-plugin:report goal to set your maven.compile.src.set property. Regards, Richard. -Original Message- From: Frédéric Burlet [mailto:[EMAIL PROTECTED] Sent: 15 March 2005 13:00 To: users@maven.apache.org Subject: RE: Generation of javadoc with multiple src directories Hi Stéphane :) As the debug output shows it, the pom.package properties is set. I checked it twice by looking into my project.xml and it is well defined... Regards, Fred. On Tue, 2005-03-15 at 13:50 +0100, Stéphane Nicoll wrote: Hey Fred ;-) Have you checked that your POM contains a package entry? This is used by the javadoc engine to filter which source files need to be handled packagecom.kiala.kserver/package should do it. Cheers, Stéphane -Original Message- From: Frédéric Burlet [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 1:48 PM To: users@maven.apache.org Subject: Generation of javadoc with multiple src directories Hi, I'm trying to generate javadoc for a project that has multiple directories. First I seen that this is only possible with the maven-javadoc-plugin 1.7 since there is a bug in 1.6.1. [1] [1] http://jira.codehaus.org/browse/MPJAVADOC-41 I checked the FAQ about how to handle project with multiple src dirs [2]. I setup my maven.xml to take care of this: I changed my pregoal name by javadoc:generate. [2] http://maven.apache.org/faq.html#multiple-source-directories However when I do maven -Dmaven.javadoc.debug=true javadoc:generate I see two things: a. maven.compile.src.set is not changed and contains only one path to a src dir (which is existing). b. the generation fails and I get: [echo] internal_javadoc_needed is false [echo] *** [echo] * No sources found. Javadoc not created ! * [echo] *** I would like to know if there are any docs somewhere about how to generate javadoc for a maven project with multiple source dirs; or if anybody from this ml already set up this kind of config ? Here below you will find the debug outpout of the maven-javadoc-public. Any help will be appreciated, Regards, Fred. ### Debug mode is on ### == === java plugin properties === == maven.compile.encoding= [] maven.compile.src.set = [/home/fbu/workspace-kserver- head/kserver/modules/tests/src/java] == === docs properties=== == maven.docs.outputencoding = [ISO-8859-1] == === javadoc plugin properties === == Javadoc properties : maven.javadoc.additionalparam = [] maven.javadoc.debug = [true] maven.javadoc.doclet = [] maven.javadoc.docletpath = [] maven.javadoc.excludepackagenames = [] maven.javadoc.locale = [] maven.javadoc.maxmemory = [] maven.javadoc.overview= [] maven.javadoc.package = [] maven.javadoc.private = [true] maven.javadoc.public = [] maven.javadoc.source = [] maven.javadoc.useexternalfile = [yes] Standard doclet properties : maven.javadoc.author = [true] maven.javadoc.bottom = [Copyright amp;copy; Kiala, IT Dev. All Rights Reserved.] maven.javadoc.customtags = [] maven.javadoc.destdir = [/home/fbu/workspace-kserver- head/kserver/modules/tests/target/docs/apidocs] maven.javadoc.links = [] maven.javadoc.offlineLinks= [] maven.javadoc.mode.online = [] maven.javadoc.stylesheet = [/home/fbu/.maven/cache/maven- javadoc-plugin-1.7/plugin-resources/stylesheet.css] maven.javadoc.tagletpath = [] maven.javadoc.taglets = [] maven.javadoc.use = [true] maven.javadoc.version = [true] maven.javadoc.windowtitle = [kserver-tests 1.2.0-SNAPSHOT API] == === Project descriptor === == pom.package = [com.kiala.kservertests] == === javadoc internal variables === == internal_javadoc_jar = [/home/fbu/workspace-kserver- head/kserver/modules/tests/target/kserver-tests-1.2.0- SNAPSHOT_javadoc.jar] internal_javadoc_needed = [] internal_javadoc_working_dir = [/home/fbu/workspace-kserver- head/kserver/modules/tests/target/javadoc] [mkdir] Created dir: /home/fbu/workspace-kserver- head/kserver/modules/tests/target/javadoc
Failure in Jelly Ant tags
Hi, Can anyone explain the relationship of Maven to Jelly:Ant tags? I'm using the Jelly Ant tags, and there seems to be a bug in it's implementation of the regexp mapping task, so I thought I would submit a bug report. I went to the Ant tag under the Jelly site and this was the link for issue tracking: http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10012 It isn't anymore specific to Maven then the Jelly site itself is, but there were bugs for the problem I'm having. For me, the max,min {n,m} notation isn't working, but the bugs indicate that it is working in other cases. Also some Ant tasks don't seem to work at all from Jelly, like globmapper. So I'm wondering if Jelly implements all Ant tasks or I have errors in my scripts. If not, is there a list of implemented tasks; if so, should Maven Jelly errors be posted to Maven's issue tracking site(http://jira.codehaus.org/browse/MAVEN) or the one for Jelly, listed above. This is the code that's not working: ant:copy todir=${maven.jnlp.dir} ant:mapper type=regexp from=^(.*)\.([jnlp|jar]{1})$$ to=\1-${formattedDate}.\2/ ant:fileset dir=${maven.jnlp.dir} ant:fileset include=*.jnlp/ ant:fileset include=*.jar/ /ant:fileset /ant:copy This works fine if I change '{1}' to '+' in the second line. Thanks, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-ui plugin 0.6 release!
Cool. This is a nice tool for Maven plugin development and testing. Minor problem: to get it working on Linux, I had to change line 65 of 'plugin.jelly': from: File runner_base = new File(basedir, \\components\\runner); into: File runner_base = new File(basedir, /components/runner); Otherwise you would get: $ maven maven-ui -X __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 [.. a lot of output ...] Root cause java.io.FileNotFoundException: /home/pvdhoef/.maven/cache/maven-ui-plugin-0.6/plugin-resources/\components\runner/runner.bsh (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:106) at java.io.FileReader.init(FileReader.java:55) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at bsh.Reflect.constructObject(Unknown Source) at bsh.BSHAllocationExpression.constructObject(Unknown Source) [.. etc ...] Greetings, Peter van de Hoef mattias_xdin wrote: Mattias Olofsson is pleased to announce the maven-ui plugin 0.6 release! http://olofsson.homeip.net/maven-ui-plugin-site/ The maven-ui enables you to invoke goals in an GUI environment instead of at the command line. See here for sample sceenshots: http://olofsson.homeip.net/maven-ui-plugin-site/ Features in this version includes: - Scanning for maven.xml files from the startup directory. Presented in a tree structure. - History list for attained goals. - Tabbed pane for output log for eache invoked goal. The plugin has been tested with Maven 1.0.2 on windows plattform. It can be installed through Maven: maven -DartifactId=maven-ui-plugin -DgroupId=xdin -Dversion=0.6 plugin:download /Mattias Olofsson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-ui plugin 0.6 release!
Did not get the tree-view either :-( The rest is working fine, thanks. Peter van de Hoef wrote: Cool. This is a nice tool for Maven plugin development and testing. Minor problem: to get it working on Linux, I had to change line 65 of 'plugin.jelly': from: File runner_base = new File(basedir, \\components\\runner); into: File runner_base = new File(basedir, /components/runner); Otherwise you would get: $ maven maven-ui -X __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 [.. a lot of output ...] Root cause java.io.FileNotFoundException: /home/pvdhoef/.maven/cache/maven-ui-plugin-0.6/plugin-resources/\components\runner/runner.bsh (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:106) at java.io.FileReader.init(FileReader.java:55) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at bsh.Reflect.constructObject(Unknown Source) at bsh.BSHAllocationExpression.constructObject(Unknown Source) [.. etc ...] Greetings, Peter van de Hoef mattias_xdin wrote: Mattias Olofsson is pleased to announce the maven-ui plugin 0.6 release! http://olofsson.homeip.net/maven-ui-plugin-site/ The maven-ui enables you to invoke goals in an GUI environment instead of at the command line. See here for sample sceenshots: http://olofsson.homeip.net/maven-ui-plugin-site/ Features in this version includes: - Scanning for maven.xml files from the startup directory. Presented in a tree structure. - History list for attained goals. - Tabbed pane for output log for eache invoked goal. The plugin has been tested with Maven 1.0.2 on windows plattform. It can be installed through Maven: maven -DartifactId=maven-ui-plugin -DgroupId=xdin -Dversion=0.6 plugin:download /Mattias Olofsson - 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]
Generating application.xml and WebSphere specific deployment descriptors
I have been trying to create an EAR file that has the application.xml (the normal generated file has the correct dependecies, but lacks security info) and the WebSphere specific .xmi files generated for it using the xdoclet plugin. Unfortunately, I can't find much outside of the realm of ejbdoclet when it comes to documentation for the xdoclet plugin. Would it be easier / smarter to use the underlying ant tasks instead of trying the plugin? Is anyone else deploying to WebSphere willing to share their solution? Thanks! Louis M. Burroughs III, OCTO - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Continuous Integration + multiproject:site generation
Thanks for the answer. It is indeed a good solution. Just one think : in your goal above, you don't call the artifact:install goal, so I don't see how your dependent projects can refer to the last good versions of each other ? you are right, the line was a strip-down version of my goal which use a in-house plugin to manage release snapshot build which in turn call jar:install-snapshot or something equivalent (artifact:install-snapshot) depending on what is being build. cheers, Patrick NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]