Re: Assembly plugin includes directories
On your dependencySet, add outputFileNameMapping/ (empty element). I've fixed this in 2.2-beta-2-SNAPSHOT, but it's still broken in the latest release (beta-1). -john On Jul 31, 2007, at 2:52 PM, Petar Tahchiev wrote: Eric hi, thank you for your suggestions, but unfortunatelly it didn't help. I want to clarify that I am calling the plugin from my pom.xml on the install phase: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-assembly-plugin/artifactId configuration descriptorsrc/assemble/main.xml/descriptor /configuration executions execution phasepackage/phase goals goalsingle/goal /goals /execution /executions /plugin /plugins /build Any other suggestions? Thanks to all that try to help. 2007/7/31, Eric Redmond [EMAIL PROTECTED]: I don't remember includeBaseDirectory being a valid element under dependencytSet. Try removing it, and re-running the assembly by first running clean: mvn clean assembly:assembly -- Eric Redmond http://blog.propellors.net On 7/30/07, Petar Tahchiev [EMAIL PROTECTED] wrote: Andrew hi, and thank you for the swift response. As I have listed I have set includeBaseDirectoryfalse/includeBaseDirectory so I don't think this is the problem. The A:B and A:C artifacts doesn't have the B.jar and C.jar directories in their archives. Any other ideas? 2007/7/31, Andrew Boyer [EMAIL PROTECTED]: Check your assembly descriptor for A:B and A:C, make sure you've set the includeBaseDirectory property for them to false. Andrew -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 5:43 PM To: Maven Users List Subject: Assembly plugin includes directories Hi guys, I have the following situation: I have configured the assembl plugin so that it produces an archive that contains the content of another two archives. My assembly descriptor is this one: assembly formats formatjar/format /formats includeBaseDirectoryfalse/includeBaseDirectory dependencySets dependencySet outputDirectory//outputDirectory includeBaseDirectoryfalse/includeBaseDirectory includes includeA:B:jar/include includeA:C:jar/include /includes unpacktrue/unpack scopetest/scope /dependencySet /dependencySets /assembly The problem is that the new archive that is created contains the original folders, like: Archive | | B.jar-/contentsOfB | C.jar-/contentsOfC So basicaly in the example above I don't want the B.jar and C.jardirectories in my archive. Have anyone seen this problem? Thank you. -- Regards, Petar! Karlovo, Bulgaria. Bulgarian medics in Libya are innocent! http://www.nestesami.bg/main/index.php Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event? keyid=0x19658550C311061 1 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Regards, Petar! Karlovo, Bulgaria. Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event? keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 -- Regards, Petar! Karlovo, Bulgaria. Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event? keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 --- John Casey Committer and PMC Member, Apache Maven mail: jdcasey at commonjava dot org blog: http://www.ejlife.net/blogs/john
Database lifecycle in Maven
Hi, Have a couple of questions around databases and maven, 1. Does Maven create standards for database development? 2. Is there a plugin that handles the lifecycle of the database (create, drop, etc) I found a sql-maven-plugin but this forces me to bind sql files to code phases. While this might be good when testing, I find it might be heavy if I bind the install of my project with the database creation. Any ideas where I can look for this? Regards, -- Victor Bendig
Re: Assembly plugin includes directories
John, thank you very much :-). After getting the SNAPSHOT version of the assembly plugin and testing - it works. Just another question: when is the next release of the assembly plugin scheduled? Once again: thank you very much. Have a nice day. 2007/8/4, John Casey [EMAIL PROTECTED]: On your dependencySet, add outputFileNameMapping/ (empty element). I've fixed this in 2.2-beta-2-SNAPSHOT, but it's still broken in the latest release (beta-1). -john On Jul 31, 2007, at 2:52 PM, Petar Tahchiev wrote: Eric hi, thank you for your suggestions, but unfortunatelly it didn't help. I want to clarify that I am calling the plugin from my pom.xml on the install phase: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-assembly-plugin/artifactId configuration descriptorsrc/assemble/main.xml/descriptor /configuration executions execution phasepackage/phase goals goalsingle/goal /goals /execution /executions /plugin /plugins /build Any other suggestions? Thanks to all that try to help. 2007/7/31, Eric Redmond [EMAIL PROTECTED]: I don't remember includeBaseDirectory being a valid element under dependencytSet. Try removing it, and re-running the assembly by first running clean: mvn clean assembly:assembly -- Eric Redmond http://blog.propellors.net On 7/30/07, Petar Tahchiev [EMAIL PROTECTED] wrote: Andrew hi, and thank you for the swift response. As I have listed I have set includeBaseDirectoryfalse/includeBaseDirectory so I don't think this is the problem. The A:B and A:C artifacts doesn't have the B.jar and C.jar directories in their archives. Any other ideas? 2007/7/31, Andrew Boyer [EMAIL PROTECTED]: Check your assembly descriptor for A:B and A:C, make sure you've set the includeBaseDirectory property for them to false. Andrew -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 5:43 PM To: Maven Users List Subject: Assembly plugin includes directories Hi guys, I have the following situation: I have configured the assembl plugin so that it produces an archive that contains the content of another two archives. My assembly descriptor is this one: assembly formats formatjar/format /formats includeBaseDirectoryfalse/includeBaseDirectory dependencySets dependencySet outputDirectory//outputDirectory includeBaseDirectoryfalse/includeBaseDirectory includes includeA:B:jar/include includeA:C:jar/include /includes unpacktrue/unpack scopetest/scope /dependencySet /dependencySets /assembly The problem is that the new archive that is created contains the original folders, like: Archive | | B.jar-/contentsOfB | C.jar-/contentsOfC So basicaly in the example above I don't want the B.jar and C.jardirectories in my archive. Have anyone seen this problem? Thank you. -- Regards, Petar! Karlovo, Bulgaria. Bulgarian medics in Libya are innocent! http://www.nestesami.bg/main/index.php Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event? keyid=0x19658550C311061 1 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Regards, Petar! Karlovo, Bulgaria. Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event? keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 -- Regards, Petar! Karlovo, Bulgaria. Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event? keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 --- John Casey Committer and PMC Member, Apache Maven mail: jdcasey at commonjava dot org blog: http://www.ejlife.net/blogs/john -- Regards, Petar! Karlovo, Bulgaria. Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611
Re: Database lifecycle in Maven
This is the second time you've asked, so I figured I'd reply with what I know, which isn't much. 1) Not that I am aware of. 2) Not that I am aware of. We handle this manually with ant scripts that run before/after our builds/deploys. Wayne On 8/4/07, Victor Bendig [EMAIL PROTECTED] wrote: Hi, Have a couple of questions around databases and maven, 1. Does Maven create standards for database development? 2. Is there a plugin that handles the lifecycle of the database (create, drop, etc) I found a sql-maven-plugin but this forces me to bind sql files to code phases. While this might be good when testing, I find it might be heavy if I bind the install of my project with the database creation. Any ideas where I can look for this? Regards, -- Victor Bendig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [JETTY PLUGIN]
Ok, Will try again the MAVEN_OPTS Thanks for your response, Regards, João Kreuzberg On 8/3/07, Craig Ching [EMAIL PROTECTED] wrote: Hi Joao Maybe I'm wrong about this, but I don't think there would be a way to set those in the pom as the jetty plugin runs inside the same JVM that maven runs in and I don't know of a way to set those after the JVM has been created. I think you're going to need to find a way (maybe using MAVEN_OPTS as you've tried, but I don't know much about that) to invoke the java command with your settings. Cheers, Craig On 8/2/07, João Kreuzberg [EMAIL PROTECTED] wrote: Hello Guys, I need to setup some memory config from my maven-jetty plugin. Tried to set MAVEN_OPTS=-Xms1024M -Xmx1024M -XX:PermSize=96M -XX:MaxPermSize=128M but didn't work. The best scenario for me would be configure this within my pom.xml file. Any idea if that is possible? Any solution that allow me to configure the memory just for running jetty will be ok. Best Regards, -- João Kreuzberg -- João Kreuzberg
Re: Incorrect timestamp of deploy artifact - 12 hours out? AM vs PM
Yes, after thinking about it for a while, I decided that that must be what was going on. Quite a good idea really... Although in company projects that are only used in one timezone, I imagine there will be resistance from developers (e.g. mine :( ) It was funny - I am from New Zealand, and we are +12 GMT, so it looked like it was AM/PM issue! :) Hervé BOUTEMY wrote: Le vendredi 3 août 2007, Antony Stubbs a écrit : My deploy goal generates files with timestamps on them, like so: ETRWebEAR-1.0.2-20070803.083222-6.ear however, when i created this - the time was 8:32 PM! not AM, as the '24 hour' timestamp implies. The clock on my sys try correctly says ~8:30 pm. I could not find any posts on the topic, and i haven't waited 12 hours to see if it's only a '12 hour' timestamp, and not 24 hour, but i doubt that. Has anyone encountered this? Shall I file a bug report? AFAIK, the timestamp in the filename is expressed as UTC, not local time: this permits people all around the planet to work on the same artifact without having conflicts. regards, Hervé - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Incorrect-timestamp-of-deploy-artifact---12-hours-out--AM-vs-PM-tf4211367s177.html#a12002008 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]