Looking for a Build Team perspective
I'm not looking from a developer's perspective,i'm looking from a build team perspective...Dev teanm continously submits new/updated files and I need to deploy it into the application.I've identified the process that i can implement using Maven-Continnum...I'll list the process...correct me or add your inputs to it.. 1.Dev checks in files into CVS 2.Maven runs :deploy goal, and deploys into the remote location 3.Now that the new/updated files have been deployed.How do I restart the server?So that the changes can be reflected? Is the process correct? -- View this message in context: http://www.nabble.com/Looking-for-a-Build-Team-perspective-tf3808306s177.html#a10778280 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[gpg][release] gpg plugin hangs when used in conjunction with release plugin
Hi, I have a situation where the build hangs when I use the gpg plugin in conjunction with the release plugin when issuing a mvn release:prepare command. Here's where it hangs in the build: [INFO] [clean:clean] [INFO] Deleting directory /home/akarasulu/projects/apache/directory/1.0-with-dependencies/shared/target [INFO] Deleting directory /home/akarasulu/projects/apache/directory/1.0-with-dependencies/shared/target/classes [INFO] Deleting directory /home/akarasulu/projects/apache/directory/1.0-with-dependencies/shared/target/test-classes [INFO] Deleting directory /home/akarasulu/projects/apache/directory/1.0-with-dependencies/shared/target/site [INFO] [site:attach-descriptor] [INFO] [gpg:sign {execution: sign-artifacts}] hangs here! I was wondering if anyone has had this problem and if there is a workaround for it? Thanks much, Alex
Re: [gpg][release] gpg plugin hangs when used in conjunction with release plugin
2007/5/24, Alex Karasulu [EMAIL PROTECTED]: Hi, I have a situation where the build hangs when I use the gpg plugin in conjunction with the release plugin when issuing a mvn release:prepare command. Here's where it hangs in the build: I had a similar problem, and the reason what that the deploy phase was asking for a GPG passphrase. But it was during execution of release:perform, not release:prepare. Anyway, add this property to your settings.xml: properties gpg.passphraseYOURGPGPASS/gpg.passphrase /properties HTH Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CVS parameters
You can run a cvs login command so you won't have to store your password in your pom or settings.xml. It will be stored in .cvspass if you use a standard cvs or in the windows registry if you use cvsnt Emmanuel Jon Strayer a écrit : Getting back to my original question, how can I set the password outside of the POM? On 5/21/07, Jon Strayer [EMAIL PROTECTED] wrote: I'm getting this error when I try to update my project: [ERROR] No CVS root is set. Check your repository information in the POM. Where in the POM do I set the CVS Root? How can I specify the user id and password outside of the POM? -- Esse Quam Videre To Be, rather than to Seem - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [gpg][release] gpg plugin hangs when used in conjunction with release plugin
On 24.05.2007, at 09:03, Antonio Petrelli wrote: 2007/5/24, Alex Karasulu [EMAIL PROTECTED]: Hi, I have a situation where the build hangs when I use the gpg plugin in conjunction with the release plugin when issuing a mvn release:prepare command. Here's where it hangs in the build: I had a similar problem, and the reason what that the deploy phase was asking for a GPG passphrase. But it was during execution of release:perform, not release:prepare. Anyway, add this property to your settings.xml: properties gpg.passphraseYOURGPGPASS/gpg.passphrase /properties You would wish keeping the passphrase around like this to not to be promoted ...anyway. Another option is to to turn off the bash history and provide it like this mvn release:prepare mvn release:perform -Dgpg.passphrase=$PASSPHRASE -Darguments=- Dgpg.passphrase=$PASSPHRASE HTH cheers -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [M2] Dependency Management transitivity
Siegmann Daniel, NY wrote on Wednesday, May 23, 2007 8:35 PM: I know dependency management is inherited from parents, but is it also used when the project is declared as a dependency of another project? With M206, yes, with older versions, no! For example, lets say I have a dependency graph D-C-B-A. B depends on A-1. C's dependency management section is set to use A-2. Assuming D does not declare A in either its dependency or dep. management sections, will it use A-1 or A-2? I read through the relevant guide[1], but I did not find an answer to this question. [1] http://maven.apache.org/guides/introduction/introduction-to-de pendency-m echanism.html - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Looking for a Build Team perspective
On 5/24/07, Ashwin E [EMAIL PROTECTED] wrote: I'm not looking from a developer's perspective,i'm looking from a build team perspective...Dev teanm continously submits new/updated files and I need to deploy it into the application.I've identified the process that i can implement using Maven-Continnum...I'll list the process...correct me or add your inputs to it.. 1.Dev checks in files into CVS 2.Maven runs :deploy goal, and deploys into the remote location 3.Now that the new/updated files have been deployed.How do I restart the server?So that the changes can be reflected? Is the process correct? 1. dev checks new files into CVS 2. your CI server monitors CVS and triggers a build when a change happens. It notifies the users of the build results. Build encompasses running some tests, usually the unit tests and maybe some or all of your integration tests. You can decide there to deploy the snapshots into your corporate snapshot repository and make them available to all your developers (this could happen upon change, or at a specific time. E.g. daily, or every hour. Whatever suits you best). 3. periodically you run a full integration test build. This is usually slower and thus happens less often than the simple build. The integration test build will typically use your latest snapshots, start the target server, run the integration tests and stop the integration test server. now if you want to deploy your latest application onto a live server, it depends if this is going to be a test or production server. With a production server, you probably want to be able to rollback if you have a problem. See http://www.martinfowler.com/articles/continuousIntegration.html#AutomateDeployment You can look into capistrano from rails, it should give you some ideas as well. http://manuals.rubyonrails.com/read/book/17 Now how to trigger this automatic deployment? You can make this operation part of any of these CI triggered builds or you can decide to make it manual only. Hint:automated is good. This is usually done periodically but depends on your usage of the target server (you don't want to necessary redeploy while people are using the server for tests). So you could make this part of your integration build, e.g. at the end of it. If you need to restart the server (either as part of your integration tests or as part of your deployment onto your test/production server), cargo may be an option (http://cargo.codehaus.org/). Also look into the Book JUnit in Action (Manning, V.Massol) (http://www.manning.com/massol/) Cheers, Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Manual or automated Reload button with 1.1
On Wed, May 23, 2007 at 08:34:49AM +0100, Shaun Barriball wrote: One suggested improvement for 1.1 is an explicit button to reload the Project Group Summary page or some form of automated reload based on a timer in the page. The issue we've found is that the developer pushes the build button and then wants to monitor the progress. If he/she hits the browser reload you force another build inadvertantly. In 1.0.3 you used to be able to keep clicking the Show Projects button but this is replaced with the Show Project Groups button in 1.1. Regards, Shaun. Perhaps the principles from http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost could be used to implement a working solution. -- Jan Thomas Moldung
How to run rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path
Hi, In maven's site: http://maven.apache.org/guides/mini/guide-mirror-settings.html Creating your own mirror The central repository requires around 10 GB and growing, and it's updated every 4 hours. You can mirror the central repository using rsync from several mirrors, choose one rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path rsync -v -t -l -r rsync://rsync.cica.es/maven2 /your/local/path but when I run rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path on commandline, it can't be execute,there is no rsync command,
RE: How to run rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path
but when I run rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path on commandline, it can't be execute,there is no rsync command, It is not part of maven. You have to install it on your machine 1st. http://samba.anu.edu.au/rsync/ regards, Bram -Original Message- From: sam [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 12:05 PM To: Maven Users List Subject: How to run rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path Hi, In maven's site: http://maven.apache.org/guides/mini/guide-mirror-settings.html Creating your own mirror The central repository requires around 10 GB and growing, and it's updated every 4 hours. You can mirror the central repository using rsync from several mirrors, choose one rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path rsync -v -t -l -r rsync://rsync.cica.es/maven2 /your/local/path but when I run rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path on commandline, it can't be execute,there is no rsync command, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JUnit4 test cases using @Before, @After fail test?
Alexander Sack wrote: Dennis, thanks for the tip. Kinda obvious too...damn... Okay, so can someone tell me what I need to do to FORCE it to use junit4? I specific junit-4.0 in my dependencies (scope is test). My parent dom of the whole project has surefire plugin version set to 2.3. I mean what else do I have to do at this point? I have this in my parent pom and @Before works for me: dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.3.1/version scopetest/scope /dependency IIRC early versions of junit 4 did not call @Before on subclasses. So if by any chance your MyTest class is a subclass of e.g. TestCase and this was really a bug in junit 4.0 then this might be the cause. FWIW: I noticed yesterday taht the junit4 runner in eclipse 3.2.2 does not call @Before on subclases of TestCase. maybe mvn -X ... gives more information? best regards Bernd -aps On 5/23/07, Dennis Cook [EMAIL PROTECTED] wrote: It looks like junit 3.8 is still being used. The reason the method name prefix with 'test' will be called by the older version. The annotation is probably ignored. Change the name of the test method to another prefix, and I bet it will not be executed. Alexander Sack [EMAIL PROTECTED] wrote: Btw, considering that @Test works, I'm pretty positive I'm using 2.3 at this point. The only issue is the @Before seems to never get called. Anyone run into this before? -aps On 5/23/07, Alexander Sack wrote: Tom, Thanks sorry. Yes I have specified in my root POM surefire-plugin 2.3but not in my submodule one (I will try that right now). The test ource is the one straight out of the FAQ regarding the colleciton, very simple test, passes on 3.8.1 but fails when I move up to 4.0 using the surefire plugin. I'm using Junit-4.0. Is suppose to work? The surefire report claims there is a null pointer: Here is my source: import static org.junit.Assert.* ; import java.util.ArrayList; import java.util.Collection; import org.junit.Before; import org.junit.Test; public class MyTest { private Collection c; @Before public void setUp() { c = new ArrayList(); } @Test public void testSomeMethod() { assertTrue(c.isEmpty()); } } Claims c is null which it isn't provided @Before runs (if I eliminate the method and put it in my testSomeMethod() it passes. How can I tell what version of surefire I'm running? The -e just says that test case has failed, etc stack. What am I doing wrong? (man, I've used maven2 in all kinds of advanced ways and I feel retarded that this is not working!). -aps On 5/23/07, Tom Huybrechts wrote: would you mind sharing some more information ? POMs, exceptions, test source, -X output ? As a general remark: make sure you have the latest surefire plugin... Tom On 5/23/07, Alexander Sack [EMAIL PROTECTED] wrote: Hey folks, is this a known issue that if I use @Before it will fail my test? I searched some of the archives and saw some threads go by about this. Is this still an issue? Thanks! -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven Eclipse plugin doesn't allow to configure Project name
Maven Eclipse plugin does not allow to configure Project name which is very much required or at least generated project name should use group id also in the eclipse project name as artifact id doesn't remain unique across different group.
Re: Maven Eclipse plugin doesn't allow to configure Project name
Hi, Maven Eclipse plugin does not allow to configure Project name which is very much required or at least generated project name should use group id also in the eclipse project name as artifact id doesn't remain unique across different group. Is this a question or just a complaint about a feature you'd like to see? In case of a question: AFAIK no, it's not possible. If it's the latter you're free to enter a bug report/feature request at http://jira.codehaus.org/browse/MECLIPSE BTW: http://jira.codehaus.org/browse/MECLIPSE-65 http://jira.codehaus.org/browse/MECLIPSE-251 HTH Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with classpath order
Hi, The reason is CDC.. CDC = ? (sorry, don't actually know what it is) There are some classes does not exist, so I have to implement them, however, to make sure I can run my applications on PC as well, I need same naming...extra method is for legacy reasons. I'd think about refactoring/redesigning the corresponding classes in your application that cause these special treatment... Regards Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please test Surefire 2.3.1 pre-release
Hi, The surefire 2.3.1 release vote is imminent, so I'd like to ask people to test the latest build. I'm particularly interested in those: - who can't use 2.3 because of a regression since 2.2 - who currently use 2.3 on Windows - who use different types of classloading configuration in tests To test the release, add the following to your pom: build pluginManagement plugins plugin artifactIdmaven-surefire-plugin/artifactId version2.3.1-SNAPSHOT/version /plugin /plugins /pluginManagement /build If you want to download the snapshot, add the following snapshot repository to your POM: http://people.apache.org/repo/m2-snapshot- repository Alternatively, you can build from source: http://svn.apache.org/repos/ asf/maven/surefire/branches/surefire-2.3.x Thanks! - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
scm Configuration for CVS Branch
Hi, I'm new to maven build. I'm trying to build a project using maven 2.0.4. In my cvs I ROOT as well as BRANCH projects. I'm using ssh to connect to my CVS. Using my current connection settings I'm able to build projects from the root, but i don't know how to build a project from a branch. I'm able to checkout the projects from branch using the cvs command CVS CO -r BRANCH_7_5 Test After checkout i don't know how to set the scm for the Branch. My scm settings for ROOT is as follows scm connectionscm:cvs:local:/var/lib/cvs/root:Common/connection developerConnectionscm:cvs:ext:[EMAIL PROTECTED]:/var/lib/cvs/root:Test/developerConnection tagRELEASE_7_4_18RC6/tag /scm I'm using PUTTY as a ssh client with private key Thanks for any help Arun P Johny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JUnit4 test cases using @Before, @After fail test?
Bernd, thanks. That did it, I switched to 4.3.1 and now it all works. Weirdness. AFAIK I thought Junit4 begin with @Before but I could be wrong since 4.x is new to me (I just went to the FAQ and trieed out the test case just to make sure surefire was working properly and chaos ensued). Thanks again, I really appreciate it! -aps On 5/24/07, berndq [EMAIL PROTECTED] wrote: Alexander Sack wrote: Dennis, thanks for the tip. Kinda obvious too...damn... Okay, so can someone tell me what I need to do to FORCE it to use junit4? I specific junit-4.0 in my dependencies (scope is test). My parent dom of the whole project has surefire plugin version set to 2.3. I mean what else do I have to do at this point? I have this in my parent pom and @Before works for me: dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.3.1/version scopetest/scope /dependency IIRC early versions of junit 4 did not call @Before on subclasses. So if by any chance your MyTest class is a subclass of e.g. TestCase and this was really a bug in junit 4.0 then this might be the cause. FWIW: I noticed yesterday taht the junit4 runner in eclipse 3.2.2 does not call @Before on subclases of TestCase. maybe mvn -X ... gives more information? best regards Bernd -aps On 5/23/07, Dennis Cook [EMAIL PROTECTED] wrote: It looks like junit 3.8 is still being used. The reason the method name prefix with 'test' will be called by the older version. The annotation is probably ignored. Change the name of the test method to another prefix, and I bet it will not be executed. Alexander Sack [EMAIL PROTECTED] wrote: Btw, considering that @Test works, I'm pretty positive I'm using 2.3 at this point. The only issue is the @Before seems to never get called. Anyone run into this before? -aps On 5/23/07, Alexander Sack wrote: Tom, Thanks sorry. Yes I have specified in my root POM surefire-plugin 2.3but not in my submodule one (I will try that right now). The test ource is the one straight out of the FAQ regarding the colleciton, very simple test, passes on 3.8.1 but fails when I move up to 4.0 using the surefire plugin. I'm using Junit-4.0. Is suppose to work? The surefire report claims there is a null pointer: Here is my source: import static org.junit.Assert.* ; import java.util.ArrayList; import java.util.Collection; import org.junit.Before; import org.junit.Test; public class MyTest { private Collection c; @Before public void setUp() { c = new ArrayList(); } @Test public void testSomeMethod() { assertTrue(c.isEmpty()); } } Claims c is null which it isn't provided @Before runs (if I eliminate the method and put it in my testSomeMethod() it passes. How can I tell what version of surefire I'm running? The -e just says that test case has failed, etc stack. What am I doing wrong? (man, I've used maven2 in all kinds of advanced ways and I feel retarded that this is not working!). -aps On 5/23/07, Tom Huybrechts wrote: would you mind sharing some more information ? POMs, exceptions, test source, -X output ? As a general remark: make sure you have the latest surefire plugin... Tom On 5/23/07, Alexander Sack [EMAIL PROTECTED] wrote: Hey folks, is this a known issue that if I use @Before it will fail my test? I searched some of the archives and saw some threads go by about this. Is this still an issue? Thanks! -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
Re: Need testSourceDirectory to come before dependencies on classpath during surefire run
In the long-run yes, but the use-case is trying to convert a bulk of projects to Maven 2. So that's why I said I'm just wanting to see how possible this is. I understand it would be a complete hack, but I have to know my actual options before I can weigh them. I asked because as I see it right now, this isn't possible at all (without recompiling surefire) and I wanted to know if I was correct in that conclusion. Thanks. /S On 5/24/07, Gregory Kick [EMAIL PROTECTED] wrote: if it looks like a hack, sounds like a hack, smells like a hack... what's your specific use case for this? it seems like you'd probably be better off with a design change than relying on classpath ordering. On 5/23/07, Steven Cummings [EMAIL PROTECTED] wrote: Hello, I looked in the archives before posting and the closest thing I could find to my particular situation is all of the messages surrounding http://jira.codehaus.org/browse/MNG-1412 (the ordering of the dependencies on the classpath). I need a specific class to hide another that is in a needed dependency and control this ordering. Unlike with the previous discussion, my preferred version lives in the testSourceDirectory. When I run mvn test surefire seems to have all of the dependencies loaded on the classpath *before* testSourceDirectory. I know that one possibility would be to move this class to a new artifact or another existing artifact and make it a dependency, but that isn't a viable solution right now as I'm doing a bulk conversion of projects to Maven 2. So right now, I'm just wanting to know, is this possible? Is there a way to tell surefire to order the testSourceDirectory before any dependencies on the classpath when it runs? Thanks. -- Steven Cummings -- Gregory Kick http://kickstyle.net/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Steven Cummings
[M2] Site upload
Hello, i stumbled http://www.dict.cc/englisch-deutsch/stumbled.html about some FTP problems with maven 2. Can someone tell me what works with maven2 when site-deploy is invoked ? Regards, Jens
Re: scm Configuration for CVS Branch
Send your message to users@maven.apache.org Emmanuel Arun P Johny a écrit : Hi, I'm new to maven build. I'm trying to build a project using maven 2.0.4. In my cvs I ROOT as well as BRANCH projects. I'm using ssh to connect to my CVS. Using my current connection settings I'm able to build projects from the root, but i don't know how to build a project from a branch. I'm able to checkout the projects from branch using the cvs command CVS CO -r BRANCH_7_5 Test After checkout i don't know how to set the scm for the Branch. My scm settings for ROOT is as follows scm connectionscm:cvs:local:/var/lib/cvs/root:Common/connection developerConnectionscm:cvs:ext:[EMAIL PROTECTED]:/var/lib/cvs/root:Test/developerConnection tagRELEASE_7_4_18RC6/tag /scm I'm using PUTTY as a ssh client with private key Thanks for any help Arun P Johny - 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: trouble building a multi-module project with cross-module dependencies
my guess is that your mod1/pom.xml is missing the modules modulemod1A/module modulemod1B/module /modules Andy On 23 May 2007, at 20:05, Tim Foster wrote: I'm having trouble building a multi-module project structured as below: top |-- pom.xml |-- mod1 ||-- pom.xml ||-- mod1A || |-- pom.xml || `-- src ||-- mod1B ||-- pom.xml |`-- src |-- mod2 | |-- pom.xml | `-- src `src... Additionally, mod1 is listed ahead of mod2 in the top-level pom.xml file, so I expect mod1 (and thus also its sub-modules) to be processed first. Also, mod2 has a dependency on mod1B. I run 'mvn install' from the top level, expecting it to a) include all of the phases in the lifecycle up to install as described in the documentation (http://maven.apache.org/guides/introduction/introduction-to-the- lifecyc le.html) and b) to do this recursively. With that assumption, I think that mod1B should be installed before mod2 is processed. But that is not the case, as the build of mod2 fails because mod1B is not found in the local repository. What seems to be happening is that the sub-modules of mod1 are not being processed, as evidenced by the following message: [INFO] No goals needed for project - skipping Rather, the only thing that gets done when processing mod1 when the command is invoked from the top-level project directory is that the pom file is installed (i.e., as a result of package type of pom for the module). Now if I change directory into mod1 and run the same 'mvn install' command, the mod1A and mod1B modules are installed. Then, I can run 'mvn install' from the top level and the dependency on mod1B is satisfied when processing mod2. Obviously I don't want to have this take multiple invocations of mvn to build my project. Are my assumptions correct about how recursion is supposed to work and, if so, is there something extra I need to do in order to have the sub-modules down the hierarchy to be processed? Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How do you exclude the generated java files when running appc?
I am using the weblogic-maven-plugin's appc goal to precompile my JSP's inside my .war file. How do you exclude the generated _*.java files from the WEB-INF/classes/jsp_servlet folder? I am trying to keep the size down. Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. 843-849-7476 ext. 6394 843-849-9485 (Fax) ~~ BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 05/02/2007)
Re: Maven2 plugin for eclipse
Hi Jacek, I'm using Tycho now and am quite happy with its features. I'm trying to migrate a large RCP project to tycho build, but It's lacking documentation. Is there any URL or sample project I could check? Thanks in advance. -- Danilo -- View this message in context: http://www.nabble.com/Maven2-plugin-for-eclipse-tf3391213s177.html#a10784428 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to adding non-free sources to an internal repository?
Hallo thanks a lot for that hint :) this works. i am only confused now with the generated pom files for each artifact. when adding the jar's with the .class files an artifact pom is created, when i then add the sources jar (zip) the artifact pom is rewritten does that matter at all? the only difference is the packaging type in the artifact pom which changes to packagingzip/ after the source archive is added. or would it be a better idea to specify a pom-file when i deploy the files instead of letting maven generate one? thanks :) regards ossi Wendy Smoak schrieb: On 5/23/07, ossi petz [EMAIL PROTECTED] wrote: i know how to add a non-free (commercial) jar into a local repository. i use deploy:deploy-file to achieve this: ... how can i add the sources to this jar file? (packed in core-2.0.0.zip) is there some other packaging type? (i havent found the available types) Try adding -Dclassifier=sources You might need to deploy it as a jar, I'm not sure if IDEs will find it as a .zip file. http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fwd: Settings Variable expansion
Just forwarding this response back to the users list, so everyone has a chance to read. -john Begin forwarded message: From: John Casey [EMAIL PROTECTED] Date: May 24, 2007 9:55:28 AM EDT To: Maven Developers List [EMAIL PROTECTED] Subject: Re: Settings Variable expansion System properties are basically the only thing available at the time that the settings.xml is read. Since profile definitions are read from the settings, it causes a sort of chicken-and-egg scenario to try variable expansion with variables defined in profiles. Also, if we took a second round of processing, this time including properties from profiles, we could in turn activate more profiles (or deactivate some that had already donated new variables)...which seems like an ambiguous, recursive mess. Also note that plugin configuration goes through a second round of variable expansion, using values from the current build state in addition to those used during initial POM and settings interpolation. Anything that isn't resolved through direct variable expansion in the settings or POM then has another chance at resolution here...just FWIW. That will not include Repository instances and so forth, which have already been constructed with their various value expressions...only direct plugin configuration. Oh, and you also have the option of performing additional variable expansion steps inside your own plugin, using that RegexBasedInterpolator if you like... HTH, -john On May 24, 2007, at 12:56 AM, Timothy Reilly wrote: I am reposting this question to dev list based on a (very) vague understanding of how it working now: I see the settings runs through org.codehaus.plexus.util.interpolation.RegexBasedInterpolator so I think the answer to my question is that only system properties are available for variable expansion in the settings files? And properties from an activated profile would not be? Also, without really obsorbing the code yet... Would a second round of processing be a valid enhancement request? (In the second round I assume there is a different ValueSource which would take properties defined by an activated profile?) -Original Message- From: Timothy Reilly Sent: Tuesday, May 22, 2007 5:21 PM To: users@maven.apache.org Subject: Settings Variable expansion Based on this information http://maven.apache.org/settings.html http://maven.apache.org/settings.html http://maven.apache.org/settings.html http://maven.apache.org/settings.html I thought that variables and variable expansion would be available anywhere in a POM _and_ settings files? Is this not the case - is it only pom xml that does expansion? quot They come in five different styles, _all accessible from the settings.xml_ /quot Currently my settings.xml has: settings xmlns=http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd http://maven.apache.org/xsd/settings-1.0.0.xsd profiles !-- desktop profile -- profile idwindows/id activation activeByDefaultfalse/activeByDefault os familywindows/family /os /activation properties environmentUNIT/environment /properties /profile profile idtest-resolution/id activation activeByDefaulttrue/activeByDefault /activation repositories repository idmy-unit/id layoutdefault/layout namemy-unit/name releases enabledtrue/enabled checksumPolicywarn/checksumPolicy updatePolicydaily/updatePolicy /releases snapshots enabledfalse/enabled /snapshots url http://myurl:18080/my/${environment}/release http://myurl:18080/my/${environment}/release /url /repository /repositories /profile /profiles /settings But help:effective-settings shows the ${environment} isn't expanding. repository releases updatePolicydaily/updatePolicy checksumPolicywarn/checksumPolicy /releases snapshots enabledfalse/enabled /snapshots idmy-unit/id namemy-unit/name urlhttp://myurl:18080/my/${environment}/release/url /repository Am I doing something incorrectly? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- John Casey Committer and PMC Member, Apache Maven mail: jdcasey at commonjava dot org blog: http://www.ejlife.net/blogs/john --- John Casey Committer and PMC Member, Apache Maven mail: jdcasey at commonjava dot org blog: http://www.ejlife.net/blogs/john
RE: trouble building a multi-module project with cross-module dependencies
Wayne, thanks for the reply. It is interesting to know that Maven determines the proper build ordering of the modules itself. As you may have surmised, the example I described is a simplified version of my real-life scenario, as I thought it would be easier to understand if I took out all of the extraneous data. The real-life pom file that parallels the mod1 pom does, indeed, have the sub-modules declared. This is what allows the install of those sub-modules to succeed when, as I said, I change directory into mod1 and run the same 'mvn install' command. It also has the parent pom defined, as it inherits configuration settings made only in the top-level pom file. I'm not sure what dependency would be missing, as it is the unresolved declared dependency on mod1B that makes the install of mod2 to fail. Anything else you or anyone else can think of that I might should look for? Tim -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 12:16 AM To: Maven Users List Subject: Re: trouble building a multi-module project with cross-module dependencies As I understand it, ordering of modules in the pom.xml file has nearly nothing to do with the way the pom is processed by Maven, so that assumption is incorrect. Maven should automatically find all your poms (assuming modules are declared) and resolve the proper graph that will allow it to successfully build your artifacts using the dependencies, modules, etc you have declared. It sounds like you are missing either a dependency or more likely a module/parent declaration in one of your poms, most likely the mod1 pom.xml file. Without seeing all the poms etc I can't be certain, but that's just what it sounds like. Wayne On 5/23/07, Tim Foster [EMAIL PROTECTED] wrote: I'm having trouble building a multi-module project structured as below: top |-- pom.xml |-- mod1 ||-- pom.xml ||-- mod1A || |-- pom.xml || `-- src ||-- mod1B ||-- pom.xml |`-- src |-- mod2 | |-- pom.xml | `-- src `src... Additionally, mod1 is listed ahead of mod2 in the top-level pom.xml file, so I expect mod1 (and thus also its sub-modules) to be processed first. Also, mod2 has a dependency on mod1B. I run 'mvn install' from the top level, expecting it to a) include all of the phases in the lifecycle up to install as described in the documentation (http://maven.apache.org/guides/introduction/introduction-to-the-lifecyc le.html) and b) to do this recursively. With that assumption, I think that mod1B should be installed before mod2 is processed. But that is not the case, as the build of mod2 fails because mod1B is not found in the local repository. What seems to be happening is that the sub-modules of mod1 are not being processed, as evidenced by the following message: [INFO] No goals needed for project - skipping Rather, the only thing that gets done when processing mod1 when the command is invoked from the top-level project directory is that the pom file is installed (i.e., as a result of package type of pom for the module). Now if I change directory into mod1 and run the same 'mvn install' command, the mod1A and mod1B modules are installed. Then, I can run 'mvn install' from the top level and the dependency on mod1B is satisfied when processing mod2. Obviously I don't want to have this take multiple invocations of mvn to build my project. Are my assumptions correct about how recursion is supposed to work and, if so, is there something extra I need to do in order to have the sub-modules down the hierarchy to be processed? 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]
AW: [M2] Site upload
Ist me again, i already tried to upload the Site to an Sun Server using SCP (FTP has this bug which is not fixed). The user maven have all permissions to create files or directories. Get always an error that the Permission is denied. The Password is correct also the username! I tried some kind of urls: scp://192.168.4.5 scp://192.168.4.5: scp://192.168.4.5/path/on/server scp://192.168.4.5/path/on/server/ All resulting in same failure :( Anyone have experience with that ? -Ursprüngliche Nachricht- Von: Jens Hohl Gesendet: Donnerstag, 24. Mai 2007 14:40 An: users@maven.apache.org Betreff: [M2] Site upload Hello, i stumbled http://www.dict.cc/englisch-deutsch/stumbled.html about some FTP problems with maven 2. Can someone tell me what works with maven2 when site-deploy is invoked ? Regards, Jens - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
dependency-resolution: eclipse-plugin vs. webstart-plugin
Hi all, I got a strange problem with the maven-webstart-plugin, it loses sight of some dependencies needed for the project. For example, the jakarta commons-codec lib is needed (derived dependency from a directly included artifact), but won't be included when generating the webstart-files. The strange thing is: The eclipse-plugin catches this dependency and correctly adds it to the project's classpath. Do these two plugins have different strategies for discovering dependencies? Does anyone have suggestions on how to resolve this issue? Kind regards, Tobias Vogel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: CVS parameters
I don't mind putting it in settings.xml. What do I need to wrap it in? On 5/24/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: You can run a cvs login command so you won't have to store your password in your pom or settings.xml. It will be stored in .cvspass if you use a standard cvs or in the windows registry if you use cvsnt Emmanuel Jon Strayer a écrit : Getting back to my original question, how can I set the password outside of the POM? On 5/21/07, Jon Strayer [EMAIL PROTECTED] wrote: I'm getting this error when I try to update my project: [ERROR] No CVS root is set. Check your repository information in the POM. Where in the POM do I set the CVS Root? How can I specify the user id and password outside of the POM? -- Esse Quam Videre To Be, rather than to Seem - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Esse Quam Videre To Be, rather than to Seem
Re: Problem with classpath order
I think Sun would not really like this :) You can cause very serious security violations in this manner. Can you not subclass File (com.my.File) and use that everywhere instead? It can extend File so you have the same sort of behaviour... Andy On 23 May 2007, at 14:53, redhatvswin wrote: Hm..Thanks The reason is CDC..There are some classes does not exist, so I have to implement them, however, to make sure I can run my applications on PC as well, I need same naming...extra method is for legacy reasons. Thorsten Heit-3 wrote: Hi, I have following problem and I am kind of stuck. I have project that depends on project where I override some java standard classes and sometimes I have extra methods in there. When i use eclipse, I can change order of classpath to have my Maven2 Dependencies over the JRE. However, when I try to install or compile, I can not because java complains that method not found in class java.io.File, for example. Is there a way to change this in maven to make sure compiler first looks classes in my dependencies and then in java libraries. AFAIK no. Just for curiosity: What's your use case that you override Java standard classes? You know that this can cause more or less serious problems trying to run your application on another machine because your classes perhaps will not be used/found...? Why don't you just create subclasses of them? Regards Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Problem-with- classpath-order-tf3803436s177.html#a10764313 Sent from the Maven - Users mailing list archive at Nabble.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]
Re: Problem with classpath order
I assume he meant CLDC (Connected Limited Device Configuration) aka J2ME (Java 2 Mobile Edition). I strongly agree with the other responses suggesting that you refactor things rather proceeding with this approach! Wayne On 5/24/07, Thorsten Heit [EMAIL PROTECTED] wrote: Hi, The reason is CDC.. CDC = ? (sorry, don't actually know what it is) There are some classes does not exist, so I have to implement them, however, to make sure I can run my applications on PC as well, I need same naming...extra method is for legacy reasons. I'd think about refactoring/redesigning the corresponding classes in your application that cause these special treatment... Regards Thorsten - 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: Maven2 compiler out of memory error
I got IBM WebSphere installed on my machine .. so I just tried to compile my app with the IBM JDK. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration executableC:/IBM/WebSphere/WAS60/java/bin/javac/executable forktrue/fork source 1.4/source target1.4/target meminitial128m/meminitial maxmem512m/maxmem verbosefalse/verbose /configuration /plugin It runs ok. So it seems a Sun javac bug (both JDK 1.4 and 1.5) , and not a Maven problem. Regards Pier. On 5/22/07, Pier Mauro Vignati [EMAIL PROTECTED] wrote: Switching to the JDK 1.5, I've got a detailed error ... ssomething really strange: The system is out of resources. Consult the following stack trace for details. java.lang.StackOverflowError at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:297) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1518) at com.sun.tools.javac.tree.Tree$Binary.accept(Tree.java:926) at com.sun.tools.javac.comp.Attr.attribTree (Attr.java:275) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:297) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1518) at com.sun.tools.javac.tree.Tree$Binary.accept(Tree.java :926) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:275) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:297) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1518) at com.sun.tools.javac.tree.Tree$Binary.accept(Tree.java:926) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:275) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:297) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1518) at com.sun.tools.javac.tree.Tree$Binary.accept(Tree.java:926) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:275) at com.sun.tools.javac.comp.Attr.attribExpr (Attr.java:297) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1518) at com.sun.tools.javac.tree.Tree$Binary.accept(Tree.java:926) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java :275) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:297) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1518) at com.sun.tools.javac.tree.Tree$Binary.accept(Tree.java:926) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:275) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:297) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1518) at com.sun.tools.javac.tree.Tree$Binary.accept(Tree.java:926) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:275) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:297) at com.sun.tools.javac.comp.Attr.visitBinary (Attr.java:1518) at com.sun.tools.javac.tree.Tree$Binary.accept(Tree.java:926) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:275) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java :297) at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1518) at com.sun.tools.javac.tree.Tree$Binary.accept(Tree.java:926) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:275) at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:297) Any idea ? is it a JDK bug ?? Regards Pier. On 5/22/07, Pier Mauro Vignati [EMAIL PROTECTED] wrote: Hi Bram, thanks for your reply. Yes, I did. I tried with -Xmx1024m -Xms512m and with -Xmx1024m -Xms512m -XX:PermSize=128m -XX:MaxPermSize=256m as I find in another thread, but it still not work. I set them from command line and I also tried to modify the mvn.bat file too .. still the same error .. Also, to compile the previous version I was using 512m. Now, with only 80 class more it seems that 1gb is not enought :-((. It seems than even if there are these options, the compiler doesn't see .. Regards Pier. On 5/22/07, Bram de Kruijff [EMAIL PROTECTED] wrote: Hi Pier, The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError not sure about the mem settings for the compiler plugin, but my OutOfMemoryError problems disappeared when I set the MAVEN_OPTS environment variable. eg. MAVEN_OPTS=-Xmx1024m -Xms512m export MAVEN_OPTS regards, Bram -Original Message- From: Pier Mauro Vignati [mailto: [EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 3:36 PM To: users@maven.apache.org Subject: Maven2 compiler out of memory error Hi, I've a problem when I'm trying to compile a new version of my application. fooApp_1.0 has 1905 files, and Maven compiles it right dooApp_1.1 has 1985 files, and whenI try to compile it with Maven (btw,
M2 Changelog plugin
When I execute mvn scm:changelog it works and generates this log entry (among others) [INFO] Executing: cvs -z3 -f -d : pserver:[EMAIL PROTECTED]:12310/appl/pkg1/cvs/reps/theteam/cvs -q log When I add the changelog report to my pom and execute mvn site it fails and generates these log entries: [INFO] Executing: cvs -z3 -f -d : pserver:[EMAIL PROTECTED]:12310/appl/pkg1/cvs/reps/theteam/cvs -q log -d '2007-04-24T15:43:16-04002007-05-25T15:43:16-0400' [ERROR] Provider message: [ERROR] The cvs command failed. [ERROR] Command output: [ERROR] 'cvs' is not recognized as an internal or external command, operable program or batch file. That last line makes me thing that the changelog plugin (version 2.0) is not using the Maven SCM plugin. Is that correct? -- Esse Quam Videre To Be, rather than to Seem
WAR plugin issue with classpath prefixes
Is there a way to set the default classpath prefix in the manifest of a WAR? I can do it all day in a JAR using the classPathPrefix tag but it seems the WAR plugin doesn't support this which to me would be a bad oversight. I rather not include the JARS in WEB-INF/lib and my EAR's lib directory (but it works). -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
War plugin doc issue
http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html The example of how to add custom entries is wrong - this should be changed to (as per jar): configuration archive manifestEntries manifest_entryvalue/manifest_entry /manifestEntries /archive /configuration The other way just doesn't work for me at all. Let me know, -aps -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
Daytrader doesn't compile
Has anyone run into the this problem that Better Builds with Maven code sample (Chapter 4) the Daytrader build will not compile? Starting with : [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure C:\temp\daytrader\wsappclient\src\main\java\org\apache\geronimo\samples\daytrader\client\ws\ClientApp.java:[1357,78] incompatible types found : org.apache.geronimo.samples.daytrader.client.ws.ArrayOfOrderDataBean required: java.lang.Object[] C:\temp\daytrader\wsappclient\src\main\java\org\apache\geronimo\samples\daytrader\client\ws\ClientApp.java:[1368,82] incompatible types found : org.apache.geronimo.samples.daytrader.client.ws.ArrayOfHoldingDataBean required: java.lang.Object[] ... and then a bunch of unresolved symbol errors Any help appreciated. Thank you.
Dependencies downloading for snapshot in Maven 2.0.5 and up
Hi All, Why are snapshots systematically downloaded in maven 2.0.5 and above? In maven 2.0.4 it seems to me they were downloaded only when the file had changed remotely ? known issue? Am I missing something ? regards Jerome T.
Including jtds package as project dependency.
Hello All, I want to use database calls from within my project and in order to do that I have included jtds in my project, added the following lines in POM dependency groupIdnet.sourceforge.jtds/groupId artifactIdjtds/artifactId version1.2/version /dependency and installed jtds jar into maven repository by using mvn install:install-file -DgroupId=net.sourceforge.jtds -DartifactId=jtds -Dversion=1.2 -Dpackaging=jar -Dfile=jtds-1.2.jar as specified in maven documentation, but I am still getting the following error on build package net.sourceforge.jtds does not exist I am new to maven2 so not sure what I am missing, any clues please. Regards, Imran. Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. http://autos.yahoo.com/carfinder/
Library Resource used in test goal
Hello, Any ideas why Maven can see classes in sunjce_provider.jar (SunJCE) at compile time but not when it runs tests? I wouldn't think it's a dependency issue as the jar is bundled with the jre I'm using (1.5_11) and is NOT listed as a dependency. If it was a test vs compile dependency issue I could understand but it's not listed as a dependency and as I said, compiles just fine - it's only during test goal that it can't find the class. Thoughts? Regards, Randall
mvn site error? 'VM_global_library.vm' ???
Why am i seeing the following error? How can i resolve it? [INFO] Velocimacro : initialization starting.^M [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm^ M [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.^M [INFO] Velocimacro : error using VM library template VM_global_library.vm : org .apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'V M_global_library.vm'^M [INFO] Velocimacro : VM library template macro registration complete.^M [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates ^M [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions^M [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be glob al in scope if allowed.^M [INFO] Velocimacro : initialization complete.^M [INFO] Velocity successfully started.^M
Getting manifest files generated without project version numbers
I'm trying to solve the problem where IBM RAD uses project names (and hence jar file references) without version numbers, but Maven creates its jars with version numbers. The main issue I have is with the automatic generation of the Manifest files. If I let Maven generate them, the resulting EAR doesn't work (because of other modules - I can solve the problem in the EAR). If I hardcode my manifest, I'm losing part of the reason I'm using maven in the first place! So I think there are two possible solutions: 1. Convince Maven when generating its Manifest files to exclude the version number from the name of the projects I specify (i.e my modules), or tell it to use the name I want rather than its own. 2. Merging a base manifest file with a generated one - the base one will contain my projects (with my names), and the generated one will have the other dependencies. 3. Hardcoding my Manifest file (yuck!) Anybody else come across this problem? If so, how did you solve it? Regards, Ian Rowlands Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from your computer. Privacy: If you are responding to this email or providing personal information to the SRO for the purposes of one of the Acts it administers, such information is used only for the purpose for which it was collected ( administration of SRO legislation ) and is protected by the Information Privacy Act 2000 and secrecy provisions contained in legislation administered by SRO. It is not disclosed otherwise than in accordance with the law. If you would like a copy of the SRO Privacy Policy please refer to SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a copy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]