jar file not included in application.xml in maven ear plugin
hello everyone when i sets the poperty to autogenerate application.xml it does not include a jar file however there is no such problem with war file and if i provide it the jar file manually it makes an extra folder during deployment on to server. plz reply soon if have the slution to this problem. thanks in advance Manoj
Re: How to change dependencies at run time?
Valerio Schiavoni wrote: i'm not sure if using profiles it is also possiible to define dependencies..maybe that could be a way to go. Profiles? Hmm... I've never heard of those. I'll check them out. Thanks. Olli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Better to use variables or hard-coded paths?
On 8/23/06, Scott Ryan [EMAIL PROTECTED] wrote: We actually use the same application context but use the test resources construct to pull it out of the main build path for use during testing. You just need to include the xml files from the main tree in your resources during testing and it works very nice. We use a different hibernate configuration since in one case we are using a JNDI lookup in production and during testing just a direct jdbc connection. The xml is configured to build the session factory from the data source we define in the properties file. If you like I can send you the maven 1 or 2 config we are using. I like, please send. Thanks, Matt Scott Ryan Chief Technology Officer Soaring Eagle L.L.C. [EMAIL PROTECTED] www.soaringeagleco.com (303) 263-3044 -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 10:58 AM To: Maven Users List Subject: Re: Better to use variables or hard-coded paths? On 8/23/06, Daniel Serodio [EMAIL PROTECTED] wrote: Matt Raible wrote: I'm customizing my pom.xml so XML files are available on my classpath (at /WEB-INF/*.xml) when testing. My question is (hopefully) simple. Is it better to use: snip/ I think using Hard-coded directories is more Maven-like, while using variables is more Ant-like. I'd stick with the hard-coded directories, or better yet, use Maven's stardard directory layout http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html I am using this layout, I just need to include src/main/webapp in my classpath so I can use /WEB-INF/applicationContext.xml in my tests - w/o having duplicate context files. Thanks for your advice Daniel. Matt HTH, Daniel Serodio - 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: Compilation errors on web site
Hello, Does anybody have a response to my question? Thanks in advance. Franck HUGOT -Message d'origine- De : HUGOT Franck [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 août 2006 11:56 À : Maven Users List Objet : Compilation errors on web site Hello, Is there a way to display compilation errors on generated maven's project web site? Do we have to use continuum? Thanks in advance. Franck HUGOT - 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: Building MyEclipse project with Maven2
A lot of WTP specific configuration files. For example : .wtpmodules and lots of file in .settings folder, such as org.eclipse.wst.common.component or other (depending on WTP version too). What is this update sources you're talking about? Denis. Douglas Ferguson wrote: Just curious what the plugin does to specifically deal with wtp? Also, what does update sources do? D- -Original Message- From: Denis Cabasson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 8:48 AM To: users@maven.apache.org Subject: Re: Building MyEclipse project with Maven2 Konstantin Bartchenkov wrote: Hi Guys, I'm having a problem building myEclipse project using m2. The main issue is that it's not in default maven file structure. I don't know exactly what myEclipse is, but your porject looks a lot like a WTP project to me. In this case, I'd advocate for the maven file structure, with the maven-eclipse-plugin being able to generate correct eclipse settings so that WTP can correctly recognize your project structure. See: http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html Cheers! Denis -- View this message in context: http://www.nabble.com/Building-MyEclipse-project-with-Maven2-tf2151867.html#a5944810 Sent from the Maven - Users forum 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] -- View this message in context: http://www.nabble.com/Building-MyEclipse-project-with-Maven2-tf2151867.html#a5959219 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: authorization error deploying to tomcat
Hi Satish, On 23/08/06, Satish [EMAIL PROTECTED] wrote: Scenario: trying to deploy app to tomcat using org.codehaus.mojo plugin Error: getting authorization error, how do pass/specify the tomcat manger username/pwd See http://mojo.codehaus.org/tomcat-maven-plugin/configuration.html The mojo user list user@mojo.codehaus.org is the best place for mojo-related discussions. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using archiva as a maven1 repo proxy...
I've created http://jira.codehaus.org/browse/MRM-153 for this and attached a patch. This patch works to download : /servletapi/jars/servletapi-2.4.jar -- /servletapi/servletapi/2.4/servletapi-2.4.jar -- /servletapi/servletapi/2.4/servletapi-2.4.pom [relocation] -- /javax/servlet/servlet-api/2.4/servlet-api-2.4.jar Code may require some rewriting as I'm newbee with Maven2 APIs... Please notice if you thy this sample that servletapi-2.4.pom has a buggy checksum file on ibilio. I also noticed this : When Archiva downloads a maven1 artifact, (let's say servletapi-2.3 if relocation isn't used) the checksum is stored in repo using a maven2 path, but the artifact is stored using original maven1 path. This may produce lot's of duplicates in the managed repo. - servletapi\servletapi\2.3\servletapi-2.3.jar.sha1 - servletapi\jars\servletapi-2.3.jar When a maven2 client asks for it, the artifact is downloaded a second time - servletapi\servletapi\2.3\servletapi-2.3.jar I'll investigate this... Nico. question 2. may be more difficult... Somewhat, but I think it's entirely possible. This is what Archiva is designed for. Nicolas De Loof a écrit : Two questions about archiva support for maven1 repository requests : 1. How does archiva extracts artifactId / version from maven1 request ? I have created a quick dirty converter for my repo and wanted to use the ibilio regexp to convert, but I got issues for artifact which artifact ID has multiple parts separated by -. I solved it by not useing regexp but parsing the name for - and searchnig the first element starting with a digit char, but it fails for groovy-1.0-jsr-06.jar (version found is 1.0-jsr-06) 2. Could archiva support relocation for maven1 request ? As maven1 has no relocation mecanism, it would be great to avoid muliple artifacts for same jar (let's say servletapi...) and use maven2 relocation to automagically convert /servletapi/jars/servletapi-2.5.jar to /javax/servlet/servlet-api/2.5/servlet-api-2.5.jar. This requires archiva proxy to be not a simple proxy, but also a maven2 agent and search for POM when looking for an artifact... 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. 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. 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.
Re: Is it possible to build Eclipse 3.1 plugins using M2 ?
It's on apache SNAPSHOT repo . http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-eclipse-plugin/2.3-SNAPSHOT/ add the following in your $HOME/.m2/settings.xml : pluginRepositories .. pluginRepository idapache-snapshot/id nameApache Snapshots repository/name url http://people.apache.org/maven-snapshot-repository /url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases /pluginRepository /pluginRepositories Stéphane Sharma, Jaikumar a écrit : Thanks Stephane. I am not able to locate this plugin version in M2 repo. Regards -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 1:50 PM To: Maven Users List Subject: Re: Is it possible to build Eclipse 3.1 plugins using M2 ? There is also a thread about building eclipse RCP apps but i believe this is for eclipse 3.2 : http://www.nabble.com/Eclipse-bundle-howto-tf2065506.html#a5690799 Stéphane. Valerio Schiavoni a écrit : after a quick search, i found it my self. adding these lines to your pom: plugin artifactIdmaven-eclipse-plugin/artifactId version2.3-SNAPSHOT/version configuration pdetrue/pde /configuration /plugin you should be able at least to compile an eclipse plugin. On 8/23/06, Valerio Schiavoni [EMAIL PROTECTED] wrote: improvements in the maven-eclipse-plugin - 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]
[m2] Same output dir for maven and eclipse?
I'm setting up a project where team members could use either Maven2 or Eclipse to build the project. Normally, Maven will be used during CI/nightly builds and Eclipse by developers. The question is: where is the particular output of these builds going? Do you recommend to use the same output folder for compiled classes of both tools, or what are the best practices in this case? If not using the same folder, I wish to put both output folder under target. So I would have to configure maven to use target/maven/classes and target/maven/test-classes, for example. How do I set the main output folder used for all build results (classes, test-classes, site, source generation, ...)? Setting just directory attribute in my POM (Maven docu says: The directory where all files generated by the build are placed) is not working, so do I have to set all paths separately? Thanks for your hints, Christoph. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] does mvn install ignore finalName?
I configured the finalname in the pom to something like this: finelNameabcfinalName After mvn install there is a file with the name abc.jar in the target folder, as expected. But in the maven repository the filename still has the form artifactid-version.jar, the finalName seems to be ignored. Is there a way to have a custom filename like abc.jar in the repository, or would this violate basic maven2 concepts? Tom __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
hibernate3-maven-plugin: hbm2hbmxml does not generate any hbm.xml files
Hi! I'm trying to generate hbm.xml files running mvn hibernate3:hbm2hbmxml, but no hbm.xml files are generated. Do I need in some way to tell the plugin which tables to generate mappingsfiles for, other than specifying the jdbc url, username and password for the database in hibernate.cfg.xml? Here is the output I get: $mvn hibernate3:hbm2hbmxml [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'hibernate3'. [INFO] [INFO] Building Xs [INFO]task-segment: [hibernate3:hbm2hbmxml] [INFO] [INFO] Preparing hibernate3:hbm2hbmxml [INFO] No goals needed for project - skipping [INFO] [hibernate3:hbm2hbmxml] [INFO] No output directory found for hbm2hbmxml, using the default: target/hibernate3/generated-mappings INFO 24.08 09:42:57 (Environment.java:479) - Hibernate 3.1.2 INFO 24.08 09:42:57 (Environment.java:509) - hibernate.properties not found INFO 24.08 09:42:57 (Environment.java:525) - using CGLIB reflection optimizer INFO 24.08 09:42:57 (Environment.java:555) - using JDK 1.4 java.sql.Timestamp handling INFO 24.08 09:42:57 (Configuration.java:1342) - configuring from file: hibernate.cfg.xml DEBUG 24.08 09:42:57 (DTDEntityResolver.java:42) - trying to locate http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath under org/hibernate/ DEBUG 24.08 09:42:57 (DTDEntityResolver.java:56) - found http:// hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.connection.password=xxx DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.connection.url= DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.connection.username= DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.dialect=org.hibernate.dialect.Oracle9Dialect DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.show_sql=true DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.use_sql_comments=true INFO 24.08 09:42:57 (Configuration.java:1419) - Configured SessionFactory: null DEBUG 24.08 09:42:57 (Configuration.java:1420) - properties: {hibernate.connection.password=xxx, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=/System/ Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries, java.vm.version=1.5.0_06-64, awt.nativeDoubleBuffering=true, hibernate.connection.username=, gopherProxySet=false, java.vm.vendor=Apple Computer, Inc., java.vendor.url=http:// apple.com/, path.separator=:, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=unknown, java.vm.specification.name=Java Virtual Machine Specification, user.dir=xxxtrunk, java.runtime.version=1.5.0_06-112, java.awt.graphicsenv=apple.awt.CGraphicsEnvironment, java.endorsed.dirs=/System/Library/Frameworks/JavaVM.framework/ Versions/1.5.0/Home/lib/endorsed, os.arch=i386, java.io.tmpdir=/tmp, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., os.name=Mac OS X, classworlds.conf=/usr/local/maven2/bin/m2.conf, sun.jnu.encoding=MacRoman, java.library.path=.:/Library/Java/ Extensions:/System/Library/Java/Extensions:/usr/lib/java, java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot Client Compiler, os.version=10.4.7, user.home=/Users/kajh, user.timezone=Europe/Oslo, java.awt.printerjob=apple.awt.CPrinterJob, file.encoding=MacRoman, java.specification.version=1.5, hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, java.class.path=/usr/local/maven2/core/boot/classworlds-1.1.jar:/ System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ Classes/.compatibility/14compatibility.jar, user.name=kajh, hibernate.use_sql_comments=true, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=/System/Library/ Frameworks/JavaVM.framework/Versions/1.5.0/Home, sun.arch.data.model=32, hibernate.dialect=org.hibernate.dialect.Oracle9Dialect, hibernate.connection.url=, user.language=en, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=apple.awt.CToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, sharing, java.version=1.5.0_06, java.ext.dirs=/Library/Java/ Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/ JavaVM.framework/Versions/1.5.0/Home/lib/ext, sun.boot.class.path=/ System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/ 1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/
Re: [m2] does mvn install ignore finalName?
Such files (abc.jar) should be uploaded using assembly plugin, which can attach another artifact to the instlal phase. I guess the standard jar is always deployed, to be available for dependency... Denis. Tom Will wrote: I configured the finalname in the pom to something like this: finelNameabcfinalName After mvn install there is a file with the name abc.jar in the target folder, as expected. But in the maven repository the filename still has the form artifactid-version.jar, the finalName seems to be ignored. Is there a way to have a custom filename like abc.jar in the repository, or would this violate basic maven2 concepts? Tom __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-m2--does-mvn-install-ignore-finalName--tf2157431.html#a5960211 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Is it possible to build Eclipse 3.1 plugins using M2 ?
Thanks Stephance. I was able to install the 2.3 SNAPSHOT plugin from the repository, now I can play around to build the plugins. Thanks for your help! Regards. -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 1:27 PM To: Maven Users List Subject: Re: Is it possible to build Eclipse 3.1 plugins using M2 ? It's on apache SNAPSHOT repo . http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/ maven-eclipse-plugin/2.3-SNAPSHOT/ add the following in your $HOME/.m2/settings.xml : pluginRepositories .. pluginRepository idapache-snapshot/id nameApache Snapshots repository/name url http://people.apache.org/maven-snapshot-repository /url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases /pluginRepository /pluginRepositories Stéphane Sharma, Jaikumar a écrit : Thanks Stephane. I am not able to locate this plugin version in M2 repo. Regards -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 1:50 PM To: Maven Users List Subject: Re: Is it possible to build Eclipse 3.1 plugins using M2 ? There is also a thread about building eclipse RCP apps but i believe this is for eclipse 3.2 : http://www.nabble.com/Eclipse-bundle-howto-tf2065506.html#a5690799 Stéphane. Valerio Schiavoni a écrit : after a quick search, i found it my self. adding these lines to your pom: plugin artifactIdmaven-eclipse-plugin/artifactId version2.3-SNAPSHOT/version configuration pdetrue/pde /configuration /plugin you should be able at least to compile an eclipse plugin. On 8/23/06, Valerio Schiavoni [EMAIL PROTECTED] wrote: improvements in the maven-eclipse-plugin - 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: installing sources to local repository by means of install plugin
Hi allan I tried to use install:install-file like this: mvn install:install-file -DgeneratePom=true -Dpackaging=jar -DgroupId=myGroupId -Dversion=myVersion -DartifactId=myArtifactId -Dclassifier=sources -Dfile=myArtifactId-myVersion-sources.jar but it didn't install my sources.jar correctly - the binary jar file was simply replaces. It looks to me like the classifier option is not really supported .. Thanks Simon -Ursprüngliche Nachricht- Von: Allan Ramirez [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 24. August 2006 02:48 An: Maven Users List Betreff: Re: installing sources to local repository by means of install plugin Hi Simon, classifier is also supported for the install:install-file goal, so it should do the same with the deploy:deploy-file goal. allan Gunzenreiner Simon wrote: Hi all I am missing documentation about how to install sources packed by the source plugin into the local repository. I want to avoid file copying because I assume I should be able to do it with the install plugin. I assume that the sources postfix is a dependency classifier, so I was hoping to be able to use a classifier argument to the install:install-file plugin, as it is possible with the deploy:deploy-file plugin. Any hints appreciatet, Simon - 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]
[M2] Define System Property with maven-antrun-plugin
Hi All With the maven-antrun-plugin in Maven 2.0.4 is it possibly to define a system property. Instead of me doing this all the time. mvn install -Duser.install.root=C:\Program Files\IBM\WebSphere\AppServer For more info on the context see my blog http://www.jroller.com/page/peter_pilgrim?entry=how_to_configure_xemacs_ http -- Peter Pilgrim UBS Investment Bank, PTS Portal / IT FIRC OPS LDN, 100 Liverpool Street, London EC2M 2RH, United Kingdom +44 (0) 20 75 75692 :: Java EE / E-Commerce / Enterprise Integration / Development :: Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: installing sources to local repository by means of install plugin
Gunzenreiner Simon wrote: I tried to use install:install-file like this: mvn install:install-file -DgeneratePom=true -Dpackaging=jar -DgroupId=myGroupId -Dversion=myVersion -DartifactId=myArtifactId -Dclassifier=sources -Dfile=myArtifactId-myVersion-sources.jar but it didn't install my sources.jar correctly - the binary jar file was simply replaces. It looks to me like the classifier option is not really supported .. Classifier works, believe me. I'd guess that the generatePom=true is a problem. Jochen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cargo Tomcat
On 24.08.2006, at 00:03, Vincent Massol wrote: Hi Doug, -Original Message- From: Douglas Ferguson [mailto:[EMAIL PROTECTED] Sent: mercredi 23 août 2006 22:44 To: users Subject: Cargo Tomcat Anybody using cargo with tomcat? I’m curious about how you deal with quick dev cycle changes where you might want to push 1 file but don’t want to do an entire build to do so. Yes this can be done with Cargo and Tomcat. It's not documented yet but you can see a test project that does it here: http://fisheye.codehaus.org/browse/cargo/cargo/trunk/samples/ extensions/mave n2/src/test/projects/testStartInplaceDevelopment In this scenario, will Tomcat pick up the class files from target/ classes/ and jars from my local m2 repository? Or do I have to use war:inplace (which I'd rather not)? Cheers, -Ralph. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Same output dir for maven and eclipse?
On 24.08.2006, at 10:45, Amshoff Christoph, Köln wrote: I'm setting up a project where team members could use either Maven2 or Eclipse to build the project. Normally, Maven will be used during CI/nightly builds and Eclipse by developers. Same here. The question is: where is the particular output of these builds going? Do you recommend to use the same output folder for compiled classes of both tools, or what are the best practices in this case? Is there any reason to separate the output folders? We use the maven eclipse plugin [1] to generate our eclipse project files, which re- uses maven's output directories for eclipse (at least by default). Cheers, -Ralph. [1] http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html If not using the same folder, I wish to put both output folder under target. So I would have to configure maven to use target/maven/classes and target/maven/test-classes, for example. How do I set the main output folder used for all build results (classes, test-classes, site, source generation, ...)? Setting just directory attribute in my POM (Maven docu says: The directory where all files generated by the build are placed) is not working, so do I have to set all paths separately? Thanks for your hints, Christoph. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cargo Tomcat
-Original Message- From: Ralph Pöllath [mailto:[EMAIL PROTECTED] Sent: jeudi 24 août 2006 11:36 To: Maven Users List Subject: Re: Cargo Tomcat On 24.08.2006, at 00:03, Vincent Massol wrote: Hi Doug, -Original Message- From: Douglas Ferguson [mailto:[EMAIL PROTECTED] Sent: mercredi 23 août 2006 22:44 To: users Subject: Cargo Tomcat Anybody using cargo with tomcat? Im curious about how you deal with quick dev cycle changes where you might want to push 1 file but dont want to do an entire build to do so. Yes this can be done with Cargo and Tomcat. It's not documented yet but you can see a test project that does it here: http://fisheye.codehaus.org/browse/cargo/cargo/trunk/samples/ extensions/mave n2/src/test/projects/testStartInplaceDevelopment In this scenario, will Tomcat pick up the class files from target/ classes/ and jars from my local m2 repository? No it won't. It'll only pick up the modified files in your src/main/webapp dir. Or do I have to use war:inplace (which I'd rather not)? Please use the cargo list for discussing cargo-related stuff. Thanks -Vincent p5.vert.ukl.yahoo.com uncompressed Thu Aug 24 09:27:01 GMT 2006 ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Disable POM generation for deploye artifacts
Is it possible to disable pom generation for deployed artifacts ? Regards
filtering not working for file in META-INF directory
Hello, I'm trying to pull in the database parameters (user name, password, etc) from a properties file. Filtering works correctly for my hibernate.cfg file in src/test/resources. However, I have a context.xml file in my META-INF folder. Following the instructions for the 'war' plugin, I tried to customize it as shown below: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0-beta-3-SNAPSHOT/version configuration filters filter myproject.properties /filter /filters webResources resource directorysrc/main/webapp/META-INF/directory filteringtrue/filtering It does not work, however, and I'm not sure I'm doing it right. Any suggestions? Thanks in advance. Regards, Sharath __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [m2] Same output dir for maven and eclipse?
Well... I thought there could be problems when merging class files generated by Maven with those generated by Eclipse. Not sure how Eclipse handels this situation. But when Maven's Eclipse plugin (don't know that yet) is setting it up this way, it's probably safe. Thanx, Christoph. -Ursprüngliche Nachricht- Von: Ralph Pöllath [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 24. August 2006 11:46 An: Maven Users List Betreff: Re: [m2] Same output dir for maven and eclipse? On 24.08.2006, at 10:45, Amshoff Christoph, Köln wrote: I'm setting up a project where team members could use either Maven2 or Eclipse to build the project. Normally, Maven will be used during CI/nightly builds and Eclipse by developers. Same here. The question is: where is the particular output of these builds going? Do you recommend to use the same output folder for compiled classes of both tools, or what are the best practices in this case? Is there any reason to separate the output folders? We use the maven eclipse plugin [1] to generate our eclipse project files, which re- uses maven's output directories for eclipse (at least by default). Cheers, -Ralph. [1] http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html If not using the same folder, I wish to put both output folder under target. So I would have to configure maven to use target/maven/classes and target/maven/test-classes, for example. How do I set the main output folder used for all build results (classes, test-classes, site, source generation, ...)? Setting just directory attribute in my POM (Maven docu says: The directory where all files generated by the build are placed) is not working, so do I have to set all paths separately? Thanks for your hints, Christoph. - 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]
How to write groovy plugins/mojos?
Hi all, I've seeing on the mailing list that it should be possible to write groovy mojos, like to write Ant mojos. But the project : groovy-maven-tools doesn't seem to work ... (http://mojo.codehaus.org/groovy-maven-tools = not found) So if somebody can give me some indication it would help me a lot, because i am moving a whole project from maven 1 to maven 2, and the dirty jelly migration will be easier with groovy :) Currently i am creating some emply java mojo which call groovy scripts) I know there is a groovy plugin http://mojo.codehaus.org/groovy-maven-plugin/, but this is not what i want. I want to easily create groovy mojos. Thanks a lot. Ben *** Benoit doumas J2EE consultant www.octo.com www.doumas.com *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Disable POM generation for deploye artifacts
I have configured the maven-deploy-plugin in my parent pom as below, which is supposed to disable the pom generation for deployed artifact : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-deploy-plugin/artifactId version2.2.1/version configuration generatePomfalse/generatePom /configuration /plugin But, it does not work. Any thoughts ? Regards. -Original Message- From: Sharma, Jaikumar Sent: Thursday, August 24, 2006 3:30 PM To: Maven Users List Subject: Disable POM generation for deploye artifacts Is it possible to disable pom generation for deployed artifacts ? Regards - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
RE: XDoclet2 plugin + Maven2 + Hibernate problem
Can anyone give me some idea on this? -Original Message- From: Adrian Shum Sent: Wednesday, August 16, 2006 2:58 PM To: 'users@maven.apache.org' Subject: XDoclet2 plugin + Maven2 + Hibernate problem Hi all, I tried to use XDoclet2 plugin for Maven2 in order to generate Hibernate mapping files. plugin groupIdxdoclet/groupId artifactIdmaven2-xdoclet2-plugin/artifactId version2.0.5-SNAPSHOT/version configuration configs config !-- here's where you specify which xdoclet-plugin to run, by its class name -- pluginorg.xdoclet.plugin.hibernate.HibernateMappingPlugin/plugin !-- here's some config for your plugin-- params destdirtarget/generated-resources//destdir version3.0/version /params /config !-- run multiple plugins by repeating this config element -- /configs /configuration dependencies !-- here's where you specify which xdoclet-plugin you need, by its groupId/artifactId, and any additional dependency it might have - although you'll most likely already have these in your project, so no need to repeat them here -- dependency groupIdxdoclet-plugins/groupId artifactIdxdoclet-plugin-hibernate/artifactId version1.0.3/version /dependency /dependencies executions execution goals goalxdoclet/goal /goals /execution /executions /plugin However, it failed to run which give me the following error messages: Missing: -- 1) xdoclet-plugins:xdoclet-plugin-qtags:jar:${pom.currentVersion} (something deleted) -- 1 required artifact is missing. for artifact: xdoclet:maven2-xdoclet2-plugin:maven-plugin:2.0.5-SNAPSHOT I bet this is one of the dependent artifacts. However, it look strange to me that the version is not something expanded correctly. Even I want to download the jar and install locally, I don't really know what should be the version I required to deploy the artifact as. Did I make any mistakes in the POM? One more related problem, though I have setup the legacy repository correctly as what described in http://xdoclet.codehaus.org/Maven2+Plugin, mvn still failed to download the plugin. At last I downloaded the JAR and install locally (and it works). What maybe the problem causing this? Thanks a lot. Best regards, Adrian This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sender immediately. Any unauthorized use, disclosure, dissemination or copying of this email is prohibited. Taifook Securities Group, its group companies and their content providers (Parties) shall not be responsible for the accuracy or completeness of this email or its attachment, if any, which could contain virus, be corrupted, destroyed, incomplete, intercepted, lost or arrive late. The Parites do not accept liability for any damage caused by this email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: exec plugin - how to define more than one?
Hi, This is taken from one of my poms : plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution idStop Container/id phasepackage/phase configuration executablestopService.bat/executable workingDirectory${edev.utils}/workingDirectory arguments argument${container.service.name}/argument /arguments /configuration goals goalexec/goal /goals /execution execution idStart Container/id phaseinstall/phase configuration executablestartService.bat/executable workingDirectory${edev.utils}/workingDirectory arguments argument${container.service.name}/argument argument${container.deploy.pause}/argument /arguments /configuration goals goalexec/goal /goals /execution /executions /plugin This snipet ties the executions to a build phase. However I am yet to find a way of executing when not tied to a phase. If anyone can help here.. Cheers Jon iceman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks for the tip. I still don't seem to get it, based on what you are saying my config should change to: ... plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution idclient/id goals goalexec/goal /goals configuration executablefoo/executable arguments argument-classpath/argument classpath/ argumentA B C D/argument /arguments /configuration /execution ... [ more execution definitions here] /executions /plugin However maven complains with the following error: - [ERROR] BUILD ERROR [INFO] [INFO] One or more required plugin parameters are invalid/missing for 'exec:exec ' [0] inside the definition for plugin: 'exec-maven-plugin'specify the following: configuration ... executableVALUE/executable /configuration -OR- on the command line, specify: '-Dexec.executable=VALUE' - Assuming I were to get the config right, I am still not understanding how I would distinguish between one execution or another from the command line. My goal is that I want to use Maven to launch execution A, or execution B - not both. thanks! Jon SlinnHawkins wrote: Hi, Put the configuration within an execution for each executable you require. Cheers Jon iceman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've been able to successfully define the configuration for a single execution, but I would like to define more than one. IOTW, I have the following: ... plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution idclient/id goals goalexec/goal /goals /execution /executions configuration executablefoo/executable arguments argument-classpath/argument classpath/ argumentA B C D/argument /arguments /configuration !-- This doesn't work - you'll have to pass everything on the cmdline! configuration executablebar/executable arguments argumentX Y Z/argument /arguments /configuration -- /plugin As you can see, I can define how to run foo, but not bar. I would like to do both, since it will be common for users of the software to run more than one application. -- View this message in context: http://www.nabble.com/exec-plugin---how-to-define-more-than-one--tf2149338.html#a5935357 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/exec-plugin---how-to-define-more-than-one--tf2149338.html#a5947937 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Disable POM generation for deploye artifacts
if you are not generating a pom, you need to supply a pom to be deployed. pomFileblah/blah/pom.xml/pomFile Cheers Jon Sharma, Jaikumar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have configured the maven-deploy-plugin in my parent pom as below, which is supposed to disable the pom generation for deployed artifact : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-deploy-plugin/artifactId version2.2.1/version configuration generatePomfalse/generatePom /configuration /plugin But, it does not work. Any thoughts ? Regards. -Original Message- From: Sharma, Jaikumar Sent: Thursday, August 24, 2006 3:30 PM To: Maven Users List Subject: Disable POM generation for deploye artifacts Is it possible to disable pom generation for deployed artifacts ? Regards - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: installing sources to local repository by means of install plugin
Hi Jochen sorry for bugging you but I also tried it out without the generatePom=true option, and it always turns my myArtifactId-myVersion-sources.jar into myArtifactId-myVersion.jar once I import it into the repository as described below (without generatePom) ... Simon -Ursprüngliche Nachricht- Von: Jochen Wiedmann [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 24. August 2006 11:24 An: Maven Users List Betreff: Re: AW: installing sources to local repository by means of install plugin Gunzenreiner Simon wrote: I tried to use install:install-file like this: mvn install:install-file -DgeneratePom=true -Dpackaging=jar -DgroupId=myGroupId -Dversion=myVersion -DartifactId=myArtifactId -Dclassifier=sources -Dfile=myArtifactId-myVersion-sources.jar but it didn't install my sources.jar correctly - the binary jar file was simply replaces. It looks to me like the classifier option is not really supported .. Classifier works, believe me. I'd guess that the generatePom=true is a problem. Jochen - 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: How to write groovy plugins/mojos?
On 8/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I've seeing on the mailing list that it should be possible to write groovy mojos, like to write Ant mojos. But the project : groovy-maven-tools doesn't seem to work ... (http://mojo.codehaus.org/groovy-maven-tools = not found) you may find it here: http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/mojo-sandbox/groovy-maven-tools but I'm worry that's all I can help. regards, Tomek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Disable POM generation for deploye artifacts
Thanks Jon, but there is no way around to disable it completely ? Regards. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jon SlinnHawkins Sent: Thursday, August 24, 2006 4:08 PM To: users@maven.apache.org Subject: Re: Disable POM generation for deploye artifacts if you are not generating a pom, you need to supply a pom to be deployed. pomFileblah/blah/pom.xml/pomFile Cheers Jon Sharma, Jaikumar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have configured the maven-deploy-plugin in my parent pom as below, which is supposed to disable the pom generation for deployed artifact : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-deploy-plugin/artifactId version2.2.1/version configuration generatePomfalse/generatePom /configuration /plugin But, it does not work. Any thoughts ? Regards. -Original Message- From: Sharma, Jaikumar Sent: Thursday, August 24, 2006 3:30 PM To: Maven Users List Subject: Disable POM generation for deploye artifacts Is it possible to disable pom generation for deployed artifacts ? Regards - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - - - - - - - DISCLAIMER- - - - - - - - Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
site:site menu inheritance ?!?!?
Hi, How can i get the inherit feature working for menus in site.xml I have a organisation pom and site.xml from which i would like to inherit one of the menus. I have specified the menu in the parent site.xml as menu name=Applications inherit=top or menu name=Applications item name=Phoenix href=http://localhost/sites/Phoenix-Parent/index.html/ item name=LWR href=http://localhost/sites/LWR-Parent/index.html/ /menu and have deployed the snapshot to our inhouse repo. in the child site.xml i have menu name=Applications inherit=top or menu name=Applications /menu What am i missing, i have tried putting the inherit=top in either and both of the site.xml menu nodes. - All i get is an empty menu named Applications I have also tried without the menu node in the child site.xml - Then i get no Applications menu at all. NB: I am using a flat structure so we can use eclipse - i hope it is not this causing the problems. a warning i get from the debug of site:site : however it then seems to get the eDev (organisation) pom / site.xml from the repo. [INFO] [site:site] [WARNING] Unable to load parent project from repository: Could not find the model file 'C:\Dev_Workspaces\Eclipse_3.1.1\PhoenixJ2EE\Phoenix-Parent\..\pom.xml'. [DEBUG] eDev: resolved to version 1.0-20060824.094554-81 from repository central Has anyone got this working ??? Many Thanks Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
multimodule maven site : how to put links to other modules pages ?
hello, i have a multi-module project, and its nice web-site, with the parent project and references to submodules. Now, say that in the about page of the submodule A i would like to put a hyperlink to another page (say: how-to.html) of the submodule B: is this possible using APT ? i cannot find a reference to this topic on the apt guide at http://maven.apache.org/guides/mini/guide-apt-format.html i use FML to write faqs for my project: what is the syntax to put hyperlinks to sections of the website from the faq page (possibly without using absolute addresses) ? thanks, valerio -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni
RE: hibernate3-maven-plugin: hbm2hbmxml does not generate any hbm.xml files
Kaj Question, do you have annotated classes? Regards Johann Reyes -Original Message- From: Kaj Hejer [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 4:58 AM To: users@maven.apache.org Subject: hibernate3-maven-plugin: hbm2hbmxml does not generate any hbm.xml files Hi! I'm trying to generate hbm.xml files running mvn hibernate3:hbm2hbmxml, but no hbm.xml files are generated. Do I need in some way to tell the plugin which tables to generate mappingsfiles for, other than specifying the jdbc url, username and password for the database in hibernate.cfg.xml? Here is the output I get: $mvn hibernate3:hbm2hbmxml [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'hibernate3'. [INFO] [INFO] Building Xs [INFO]task-segment: [hibernate3:hbm2hbmxml] [INFO] [INFO] Preparing hibernate3:hbm2hbmxml [INFO] No goals needed for project - skipping [INFO] [hibernate3:hbm2hbmxml] [INFO] No output directory found for hbm2hbmxml, using the default: target/hibernate3/generated-mappings INFO 24.08 09:42:57 (Environment.java:479) - Hibernate 3.1.2 INFO 24.08 09:42:57 (Environment.java:509) - hibernate.properties not found INFO 24.08 09:42:57 (Environment.java:525) - using CGLIB reflection optimizer INFO 24.08 09:42:57 (Environment.java:555) - using JDK 1.4 java.sql.Timestamp handling INFO 24.08 09:42:57 (Configuration.java:1342) - configuring from file: hibernate.cfg.xml DEBUG 24.08 09:42:57 (DTDEntityResolver.java:42) - trying to locate http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath under org/hibernate/ DEBUG 24.08 09:42:57 (DTDEntityResolver.java:56) - found http:// hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.connection.password=xxx DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.connection.url= DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.connection.username= DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.dialect=org.hibernate.dialect.Oracle9Dialect DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.show_sql=true DEBUG 24.08 09:42:57 (Configuration.java:1269) - hibernate.use_sql_comments=true INFO 24.08 09:42:57 (Configuration.java:1419) - Configured SessionFactory: null DEBUG 24.08 09:42:57 (Configuration.java:1420) - properties: {hibernate.connection.password=xxx, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=/System/ Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries, java.vm.version=1.5.0_06-64, awt.nativeDoubleBuffering=true, hibernate.connection.username=, gopherProxySet=false, java.vm.vendor=Apple Computer, Inc., java.vendor.url=http:// apple.com/, path.separator=:, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=unknown, java.vm.specification.name=Java Virtual Machine Specification, user.dir=xxxtrunk, java.runtime.version=1.5.0_06-112, java.awt.graphicsenv=apple.awt.CGraphicsEnvironment, java.endorsed.dirs=/System/Library/Frameworks/JavaVM.framework/ Versions/1.5.0/Home/lib/endorsed, os.arch=i386, java.io.tmpdir=/tmp, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., os.name=Mac OS X, classworlds.conf=/usr/local/maven2/bin/m2.conf, sun.jnu.encoding=MacRoman, java.library.path=.:/Library/Java/ Extensions:/System/Library/Java/Extensions:/usr/lib/java, java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot Client Compiler, os.version=10.4.7, user.home=/Users/kajh, user.timezone=Europe/Oslo, java.awt.printerjob=apple.awt.CPrinterJob, file.encoding=MacRoman, java.specification.version=1.5, hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver, java.class.path=/usr/local/maven2/core/boot/classworlds-1.1.jar:/ System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ Classes/.compatibility/14compatibility.jar, user.name=kajh, hibernate.use_sql_comments=true, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=/System/Library/ Frameworks/JavaVM.framework/Versions/1.5.0/Home, sun.arch.data.model=32, hibernate.dialect=org.hibernate.dialect.Oracle9Dialect, hibernate.connection.url=, user.language=en, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=apple.awt.CToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, sharing, java.version=1.5.0_06, java.ext.dirs=/Library/Java/ Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/ JavaVM.framework/Versions/1.5.0/Home/lib/ext, sun.boot.class.path=/
Re: XDoclet2 plugin + Maven2 + Hibernate problem
I think the issue is that a published POM has bad data in it for qtags, so I exclude the qtags stuff and it seems to work plugin groupIdxdoclet/groupId artifactIdmaven2-xdoclet2-plugin/artifactId version2.0.5-SNAPSHOT/version configuration configs config plugin org.xdoclet.plugin.hibernate.HibernateMappingPlugin/plugin params version2.0/version destdir${basedir}/target/classes//destdir /params /config /configs /configuration dependencies !-- here's where you specify which xdoclet-plugin you need, by its groupId/artifactId, and any additional dependency it might have - although you'll most likely have these in your project, so no need to repeat them here -- dependency groupIdxdoclet-plugins/groupId artifactIdxdoclet-plugin-hibernate/artifactId version1.0.4-SNAPSHOT/version exclusions exclusion groupIdxdoclet-plugins/groupId artifactIdxdoclet-plugin-qtags/artifactId /exclusion /exclusions /dependency /dependencies executions execution goals goalxdoclet/goal /goals /execution /executions /plugin jmp Adrian Shum wrote: Can anyone give me some idea on this? -Original Message- From:Adrian Shum Sent:Wednesday, August 16, 2006 2:58 PM To: 'users@maven.apache.org' Subject: XDoclet2 plugin + Maven2 + Hibernate problem Hi all, I tried to use XDoclet2 plugin for Maven2 in order to generate Hibernate mapping files. plugin groupIdxdoclet/groupId artifactIdmaven2-xdoclet2-plugin/artifactId version2.0.5-SNAPSHOT/version configuration configs config !-- here's where you specify which xdoclet-plugin to run, by its class name -- pluginorg.xdoclet.plugin.hibernate.HibernateMappingPlugin/plugin !-- here's some config for your plugin-- params destdirtarget/generated-resources//destdir version3.0/version /params /config !-- run multiple plugins by repeating this config element -- /configs /configuration dependencies !-- here's where you specify which xdoclet-plugin you need, by its groupId/artifactId, and any additional dependency it might have - although you'll most likely already have these in your project, so no need to repeat them here -- dependency groupIdxdoclet-plugins/groupId artifactIdxdoclet-plugin-hibernate/artifactId version1.0.3/version /dependency /dependencies executions execution goals goalxdoclet/goal /goals /execution /executions /plugin However, it failed to run which give me the following error messages: Missing: -- 1) xdoclet-plugins:xdoclet-plugin-qtags:jar:${pom.currentVersion} (something deleted) -- 1 required artifact is missing. for artifact: xdoclet:maven2-xdoclet2-plugin:maven-plugin:2.0.5-SNAPSHOT I bet this is one of the dependent artifacts. However, it look strange to me that the version is not something expanded correctly. Even I want to download the jar and install locally, I don't really know what should be the version I required to deploy the artifact as. Did I make any mistakes in the POM? One more related problem, though I have setup the legacy repository correctly as what described in http://xdoclet.codehaus.org/Maven2+Plugin, mvn still failed to download the plugin. At last I downloaded the JAR and install locally (and it works). What maybe the problem causing this? Thanks a lot. Best regards, Adrian This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sender immediately. Any unauthorized use, disclosure, dissemination or copying of this email is prohibited. Taifook Securities Group, its group companies and their content providers (Parties) shall not be responsible for the accuracy or completeness of this email or its attachment, if any, which could contain virus, be corrupted, destroyed, incomplete, intercepted, lost or arrive late. The Parites do not accept liability for any damage caused by this email. - 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: Override dependency own dependency
Hi Yann, I try and it's working now. Thank you Sébastien -Message d'origine- De : Yann Le Du [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 août 2006 20:44 À : Maven Users List Objet : Re: Override dependency own dependency Hi Sébastien, If you add directly dependency2 into your project POM, it should override the transitive one. Does it help ? - Yann 2006/8/23, Sébastien Boutté [EMAIL PROTECTED]: Hi, I would like to know how i can override a specific dependency of one of my dependency : My project has a dependency on dependency1 which has a dependency on dependency2. I have made some improvements/bug fixes on dependy2'jar, how can I configure Maven 2 to use My own dependency2'jar in place of the one in the default repository ? For the two cases : 1. Generation of war file 2. Creation of Eclipse Workspace Libraries dependency Thanks for your help, Sébastien Boutté - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Disable POM generation for deploye artifacts
Hi Sharma, Sharma, Jaikumar wrote on Thursday, August 24, 2006 12:55 PM: Thanks Jon, but there is no way around to disable it completely ? I think that this parameter is only taken into account for the deploy:deploy-file goal. For a normal deploy it has no meaning. Regards. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jon SlinnHawkins Sent: Thursday, August 24, 2006 4:08 PM To: users@maven.apache.org Subject: Re: Disable POM generation for deploye artifacts if you are not generating a pom, you need to supply a pom to be deployed. pomFileblah/blah/pom.xml/pomFile Not true. Sun artifacts are deployed into local repos without POM generation and without providing a POM file, since it is available in the public repo. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Updates of transitive dependencies not working?
ArneD wrote on Thursday, August 24, 2006 2:43 PM: Hello all, I defined two repositories in the settings.xml, both with updatePolicy set to always. My project A has a dependency to version 5.0-SNAPSHOT of a JAR B. That JAR B has a dependency to version 1.6 of another JAR C. In my local repository there's an outdated version 1.6 of JAR C (i.e. version 1.6 has been redeployed after a bug has been found). The problem is: During my build of project A Maven is looking for an update of JAR B, but NOT of JAR C. Is this a bug or am I missing some setting? Yes. You cannot upgrade a final version! Therefore it is final. Maven will *never* look for an update. That's what snapshots are for (although it does also not work because of a bug). - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Updates of transitive dependencies not working?
Jörg Schaible wrote: ArneD wrote on Thursday, August 24, 2006 2:43 PM: I defined two repositories in the settings.xml, both with updatePolicy set to always. My project A has a dependency to version 5.0-SNAPSHOT of a JAR B. That JAR B has a dependency to version 1.6 of another JAR C. In my local repository there's an outdated version 1.6 of JAR C (i.e. version 1.6 has been redeployed after a bug has been found). The problem is: During my build of project A Maven is looking for an update of JAR B, but NOT of JAR C. Is this a bug or am I missing some setting? Yes. You cannot upgrade a final version! Therefore it is final. Maven will *never* look for an update. That's what snapshots are for I know that you normally should use snapshot versions for that. Anyway, Maven *does* allow to overwrite an existing version in the repository by re-deploying it. To make builds repeatable, I believe, Maven has to look for updates, even for released versions, not only snapshot versions. Isn't that what the repositoryreleaseupdatePolicyalways/... setting is for? (although it does also not work because of a bug). Do you know the bug number? Thank you! Arne -- View this message in context: http://www.nabble.com/-m2--Updates-of-transitive-dependencies-not-working--tf2158398.html#a5963829 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to specify repository for a dependency?
hello, is it possible to force the repository to be checked for updates of a specific dependency? thanks, valerio -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni
Re: [Cruisecontrol-user] jar file not included in application.xml in maven ear plugin
Plus you can maybe RTFM? http://maven.apache.org/plugins/maven-ear-plugin/howto.html See Including a third party library in the generated application.xml s/ On 8/24/06, Jeffrey Fredrick [EMAIL PROTECTED] wrote: does this have anything to do with cruisecontrol or are you just hoping that by cross-posting here and the Maven list improves your odds? Jtf On 8/23/06, manoj kaushik [EMAIL PROTECTED] wrote: hello everyone when i sets the poperty to autogenerate application.xml it does not include a jar file however there is no such problem with war file and if i provide it the jar file manually it makes an extra folder during deployment on to server. plz reply soon if have the slution to this problem. thanks in advance Manoj -- http://www.developertesting.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Cruisecontrol-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -- .::You're welcome ::. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Scm problem
I've been on 1.0.2 for a while and so thought I'd move on up to one of the 1.1 rcs. I'm having trouble with rc3 though - when I do certain scm operations it fails. e.g. scm:update scm:update: [echo] Updating from SCM BUILD FAILED File.. file:/C:/Temp/.maven/cache/maven-scm-plugin-1.5/plugin.jelly Element... scm:update Line.. 131 Column 138 org.apache.maven.scm.manager.ScmManager.update(Lorg/apache/maven/scm/rep ository/ScmRepository;Lorg/apache/maven/scm/ScmFileSet;Ljava/lang/String ;)Lorg/apache/maven/scm/command/update/UpdateScmResult; This is the repo section from my project.xml: repository connectionscm:cvs:pserver:[EMAIL PROTECTED]:/home/eu_fid_source/eufidetradec vs:Jdialtone/connection developerConnectionscm:cvs:pserver:[EMAIL PROTECTED]:/home/eu_fid _source/eufidetradecvs:Jdialtone/developerConnection /repository Running scm:parse-connection shows it's working things out from the url fine, so I'm not sure what could be wrong. Using rc2 is absolutely fine though. Any ideas? I have had a browse through the archives but I can't see anything that looks like the answer thanks James -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Disable POM generation for deploye artifacts
Yes, Jorg, This is true, I have tried it (: Thanks. -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 6:46 PM To: Maven Users List Subject: RE: Disable POM generation for deploye artifacts Hi Sharma, Sharma, Jaikumar wrote on Thursday, August 24, 2006 12:55 PM: Thanks Jon, but there is no way around to disable it completely ? I think that this parameter is only taken into account for the deploy:deploy-file goal. For a normal deploy it has no meaning. Regards. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jon SlinnHawkins Sent: Thursday, August 24, 2006 4:08 PM To: users@maven.apache.org Subject: Re: Disable POM generation for deploye artifacts if you are not generating a pom, you need to supply a pom to be deployed. pomFileblah/blah/pom.xml/pomFile Not true. Sun artifacts are deployed into local repos without POM generation and without providing a POM file, since it is available in the public repo. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Updates of transitive dependencies not working?
ArneD wrote on Thursday, August 24, 2006 3:27 PM: Jörg Schaible wrote: ArneD wrote on Thursday, August 24, 2006 2:43 PM: I defined two repositories in the settings.xml, both with updatePolicy set to always. My project A has a dependency to version 5.0-SNAPSHOT of a JAR B. That JAR B has a dependency to version 1.6 of another JAR C. In my local repository there's an outdated version 1.6 of JAR C (i.e. version 1.6 has been redeployed after a bug has been found). The problem is: During my build of project A Maven is looking for an update of JAR B, but NOT of JAR C. Is this a bug or am I missing some setting? Yes. You cannot upgrade a final version! Therefore it is final. Maven will *never* look for an update. That's what snapshots are for I know that you normally should use snapshot versions for that. Anyway, Maven *does* allow to overwrite an existing version in the repository by re-deploying it. Your own risk. To make builds repeatable, I believe, Maven has to look for updates, even for released versions, not only snapshot versions. It does not. Isn't that what the repositoryreleaseupdatePolicyalways/... setting is for? updatePolicy defines how often *SNAPSHOTS* are looked for. Although it is also defined for the releases section, it is IMHO just ignored there (or maybe it is the same as with the bug for the snapshots). Raise an issue ... (although it does also not work because of a bug). Do you know the bug number? http://jira.codehaus.org/browse/MNG-1908 - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] eclipse:eclipse and eclipse 3.2 projects within a project suppo
baerrach wrote: Because there is no .project file eclipse will show all the subprojects as being available. i don't get this step working...it doesn't show submodule projects as being availble, even if each of them have their respective .project and .classpath any one with my same issue ? thanks, valerio -- View this message in context: http://www.nabble.com/-m2--eclipse%3Aeclipse-and-eclipse-3.2-projects-within-a-project-support.-tf2112924.html#a5964416 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Muse parser in Java
Hi to all, Some of you might be interested to know that I have just released the first public version of muse-parser package numbered somewhat poetically 1.0-rc1. This package is a parser for muse markup in Java. Its main purpose is to allow easy integration of muse-formatted documentation in maven built projects. It is *not* meant as a full-featured replacement for Emacs nor muse mode :-) Some information and documentation can be found at http://www.oqube.com/projects/muse-parser/index.html As usual, feedback is welcomed. Muse is an authoring and publishing mode for emacs hosted at http://www.mwolson.org/projects/MuseMode.html regards, -- OQube software engineering \ génie logiciel Arnaud Bailly, Dr. \web http://www.oqube.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 2.0.4 : wrong changelog reports generated links (svn)
Can anyone give a feedback to me please ? I'm blocked ! Thanks in advance Rob -- View this message in context: http://www.nabble.com/Maven-2.0.4-%3A-wrong-changelog-reports-generated-links-%28svn%29-tf2140898.html#a5964502 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to write groovy plugins/mojos?
Thanks, I've tried to compile all the sources but it seems quite old and doesn't work well. I 've contacted the plugin developper but no answer (maybe holidays:), does anyone know if he still working on it ?? Maybe i can help ... Ben *** Benoit doumas J2EE consultant www.octo.com www.doumas.com *** Selon Tomasz Pik [EMAIL PROTECTED]: On 8/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I've seeing on the mailing list that it should be possible to write groovy mojos, like to write Ant mojos. But the project : groovy-maven-tools doesn't seem to work ... (http://mojo.codehaus.org/groovy-maven-tools = not found) you may find it here: http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/mojo-sandbox/groovy-maven-tools but I'm worry that's all I can help. regards, Tomek - 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: How to write groovy plugins/mojos?
Benoit, You could also try posting on the mojo list as it's a mojo project, although I believe most mojo developers will also be on the maven list. -Vincent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: jeudi 24 août 2006 16:04 To: Maven Users List; Tomasz Pik Cc: Maven Users List Subject: Re: How to write groovy plugins/mojos? Thanks, I've tried to compile all the sources but it seems quite old and doesn't work well. I 've contacted the plugin developper but no answer (maybe holidays:), does anyone know if he still working on it ?? Maybe i can help ... Ben *** Benoit doumas J2EE consultant www.octo.com www.doumas.com *** Selon Tomasz Pik [EMAIL PROTECTED]: On 8/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I've seeing on the mailing list that it should be possible to write groovy mojos, like to write Ant mojos. But the project : groovy-maven-tools doesn't seem to work ... (http://mojo.codehaus.org/groovy-maven-tools = not found) you may find it here: http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/mojo-sandbox/groovy- maven-tools but I'm worry that's all I can help. regards, Tomek - 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] p5.vert.ukl.yahoo.com uncompressed Thu Aug 24 13:27:00 GMT 2006 ___ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to stop a build in continuum
thanks for your advice but it doesn't work for me Badre 2006/8/23, Emmanuel Venisse [EMAIL PROTECTED]: It's a little bug in 1.0.3. After a continuum restart, click on build all button. Emmanuel Badre AKARIDAN a écrit : Him I'm new user of continuum and I have a problem with one task. A build was launch automatically 23 days ago and he is again in progress. So I want to know, how can i stop it? I stop the continuum server and restart it but he's running again. Do you have any idea for to fix this problem Thanks, PS: sorry for my timid english Badre
RE: [m2] Updates of transitive dependencies not working?
Thank you, Jörg. I filed issue MNG-2528. Arne -- View this message in context: http://www.nabble.com/-m2--Updates-of-transitive-dependencies-not-working--tf2158398.html#a5964861 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ant based plugin
I haven't written an ant plugin so I can't help you with the first part. On the second question, the plugin tag can also take a dependencies tag and these dependencies will be added to the classpath when your plugin executes. http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html#class_ plugin -Original Message- From: Dave Sowerby [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 12:17 PM To: users@maven.apache.org Subject: ant based plugin Hi All, I have been using an antrun execution to generate some code whilst prototyping a maven build system. I want to make a generic ant plugin to do this but had some issues in doing so. First of, I couldn't see how to use the paths as allowed in antrun - such as maven.compile.classpath, I eventually got it to work with a custom ant task and setting a property of type java.util.List - not ideal, I can deal with it until it's fixed in a release but is there any tidier way to do it? Secondly my maven-plugin-plugin usage in my ant maven-plugin has it's own dependencies - a generic set that should always be used with this plugin but I can't see how to access these - any ideas? Thanks for your time in advance. Dave. - 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: ant based plugin
Thanks for the response, Unfortunately this wasn't the case, I tried using the plugin's dependencies in the hope that they would be accessible - they weren't. I gave up in the end and decided a java based plugin would be easier to developer rather than fighting against the ant based plugin - though I would love to see it up, running and fully functional. Dave. On 8/24/06, Brian E. Fox [EMAIL PROTECTED] wrote: I haven't written an ant plugin so I can't help you with the first part. On the second question, the plugin tag can also take a dependencies tag and these dependencies will be added to the classpath when your plugin executes. http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html#class_ plugin -Original Message- From: Dave Sowerby [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 12:17 PM To: users@maven.apache.org Subject: ant based plugin Hi All, I have been using an antrun execution to generate some code whilst prototyping a maven build system. I want to make a generic ant plugin to do this but had some issues in doing so. First of, I couldn't see how to use the paths as allowed in antrun - such as maven.compile.classpath, I eventually got it to work with a custom ant task and setting a property of type java.util.List - not ideal, I can deal with it until it's fixed in a release but is there any tidier way to do it? Secondly my maven-plugin-plugin usage in my ant maven-plugin has it's own dependencies - a generic set that should always be used with this plugin but I can't see how to access these - any ideas? Thanks for your time in advance. Dave. - 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] -- Dave Sowerby MEng MBCS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[VARCHAR]
Dear all, I am trying to use Continuum with maven 2 projects. I am a new user of both technology. But I get the following error in my wrapper.log INFO | jvm 1| 2006/08/24 17:09:31 | ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'cvs update: move away target/site/continuumdoc.html; it is i' to length 1024. I found a post on it, but it was not very clear how to solve the problem. http://www.mail-archive.com/continuum-users@maven.apache.org/msg01208.html For example, I don't found the database of continuum, where do I have to change exactly the configuration in order to adresse this problem? Sincerely, Francois -- Francois Le Fevre Bioinformatics Engineer Computational Biology Group Genoscope Tél. : (+33) 1 60 87 45 83 Web : http://www.genoscope.cns.fr/bioinfo
Query around continuous integration
Hi, I am evaluating Continuum as a Continuous Integration tool. I had a query around a specific scenario. If I am connected to the software repository through the network I can very well checkout the files on my local box and do the build using Continuum. Now, if I assume that my network is down and I want to do a force build without taking the updates, Continuum will throw error messages indicating that it can't connect to the network and halt the build. My query is, is there any configuration changes that I can do which will allow me to perform a build even if I am disconnected from the network. Lastly, I would also like to know if the same is possible in case of CruiseControl. Many Thanks, Shinjan
multi-module project report enhancement
Hi, I understand from reading the archives that it is not yet possible to roll up reports for many modules into a single project-wide report. However, is there some way to at least get correct links to the various reports generated for the individual modules? The default URL for modules index page seem to be project/target/site/module/index.html, while in my project, the module docs are located at project/module/target/site/index.html. Is there some way I can get maven to generate this URL correctly? Thanks a lot Denis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Use System Properties in Settings.xml?
I forgot to mentioned I tried this XML fragment profile iduser-install-root/id activation property name!user.install.root/name /property /activation properties user.install.rootC:\\Program Files\\IBM\\WebSphere\\AppServer/user.install.root /properties /profile But it did not work for me at all! -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: 23 August 2006 13:38 To: Maven Users List Subject: Re: Use System Properties in Settings.xml? You create at profile in settings.xml that is active by default, and contains a properties element with the property you wish to active. On 8/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -Original Message- From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED] Sent: 19 August 2006 08:51 To: Maven Users List Subject: RE: Use System Properties in Settings.xml? As I had initially mentioned, this works for me, not sure about adding ENV as a prefix to MAVEN_HOME. localRepository${MAVEN_HOME}/repository/localRepository ==== -- Peter Pilgrim UBS Investment Bank, PTS Portal / IT FIRC OPS LDN, 100 Liverpool Street, London EC2M 2RH, United Kingdom +44 (0) 20 75 75692 :: Java EE / E-Commerce / Enterprise Integration / Development :: Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antrun Classpath Issues [m2]
Hi all, I have an ant script that I need to call from a Maven build (a script provided by WebLogic for some WL-specific actions). The ant script defines some typedefs without issue, but when trying to use those types, ant complains that it can't find any regular expression matchers: jar:file:/C:/bea/weblogic92/workshop/lib/wlw-antlib.jar!/com/bea/wlw/ant lib/antlib.xml:44: No supported regular expression matcher found It looks as if the tasks must be using the base 'java.class.path' when executing, and I don't believe that there is a way to change the classpath that they are using. Any other ideas - I'd really like to be able to use Maven to control the overall build, but at this point it's looking like I'll have to settle with plain old ant. I'm using a 1.2-SNAPSHOT version of the plugin that I downloaded and built this morning.
Re: using javadoc overview and maven plugin
This was a known problem on the 2.0 beta 3 and was fixed in the 2.0version. thanks for all the help. Robbie On 8/17/06, franz see [EMAIL PROTECTED] wrote: On 8/17/06, Robbie Minshall [EMAIL PROTECTED] wrote: My current conclusion: Definately want to use a relative path or else this will obviously break builds left and right. Using the ${basedir} looks like it will work nicely. However, right now it seems that the javadoc plugin is not replacing backslashes with slashes. I have put various configurations and the error below demonstrating this. It may be that I am doing something stupid here which would be great, or it may be that the back slashes are not currently being replaced appropiately for platform independence. thanks guys for taking the time to have a peek at this . . . * * * WHAT WORKS * * * * full path double back slashes build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration overviewc:\\working\\tuscany07252006\\java\\samples\\sdo\\src\\main\\java\\overview.html/overview /configuration /plugin /plugins * full path forward slashes build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration overviewc:/working/tuscany07252006/java/samples/sdo/src/main/java/overview.html/overview /configuration /plugin /plugins /build * * * FULL PATH - SINGLE BACK SLASHES * * * build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration overviewc:\working\tuscany07252006\java\samples\sdo\src\main\java\overview.html/overview /configuration /plugin /plugins /build -- javadoc: error - Error while reading file c:working uscany07252006javasamplessdosrcmainjavaoverview.html * * * RELATIVE PATH USING BASEDIR VARIABLE * * * build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration overview${basedir}/src/main/java/overview.html/overview /configuration /plugin /plugins /build -- javadoc: error - Error while reading file C:working uscany07252006javasamplessdo/src/main/java/overview.html Robbie John. Good day to you, Robbie, Curious, what maven-javadoc-plugin are you using? I'm using 2.1-SNAPSHOTand I don't think I've encountered your problem. Cheers, Franz -- View this message in context: http://www.nabble.com/using-javadoc-overview-and-maven-plugin-tf2110480.html#a5860779 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- * * * Charlie * * * Check out some pics of little Charlie at http://www.flickr.com/photos/[EMAIL PROTECTED]/sets/ * * * Addresss * * * 1914 Overland Drive Chapel Hill NC 27517 * * * Number * * * 919-225-1553
The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist
I've added the maven-antrun-plugin to my pom.xml as shown below. However, it can't seem to find the plugin. INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist or no valid version could be found Any ideas? Thanks, Matt build defaultGoalinstall/defaultGoal plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasetest/phase configuration tasks echobeotch!/echo /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin plugin artifactIdmaven-war-plugin/artifactId /plugin /plugins testResources testResource directorysrc/test/resources/directory /testResource testResource directorysrc/main/webapp/directory includes include**/*.xml/include /includes /testResource /testResources /build - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist
Adding a version element fixed the problem. plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version Is this really necessary? If so, how do I say get the latest version of the plugin? Thanks, Matt On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: I've added the maven-antrun-plugin to my pom.xml as shown below. However, it can't seem to find the plugin. INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist or no valid version could be found Any ideas? Thanks, Matt build defaultGoalinstall/defaultGoal plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasetest/phase configuration tasks echobeotch!/echo /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin plugin artifactIdmaven-war-plugin/artifactId /plugin /plugins testResources testResource directorysrc/test/resources/directory /testResource testResource directorysrc/main/webapp/directory includes include**/*.xml/include /includes /testResource /testResources /build - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can CVS be used as a local repository in Maven 2.0
Hello, I am new to Maven and just downloaded Maven2.0. I have a CVS location which holds my jar files and instead of trying to download the jars to a local repository and then building i was wondering if there was a way to just specify my CVS location as the local repository for maven to use for the build process. If so, please let me know how this can be done. Thanks, Yamini Korrapati
RE : The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist
Hi, Try again with -U. If not again : rm -rf $HOME/.m2/repository -- Olivier -Message d'origine- De : Matt Raible [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24 août 2006 19:20 À : Maven Users List Objet : The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist I've added the maven-antrun-plugin to my pom.xml as shown below. However, it can't seem to find the plugin. INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist or no valid version could be found Any ideas? Thanks, Matt build defaultGoalinstall/defaultGoal plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasetest/phase configuration tasks echobeotch!/echo /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin plugin artifactIdmaven-war-plugin/artifactId /plugin /plugins testResources testResource directorysrc/test/resources/directory /testResource testResource directorysrc/main/webapp/directory includes include**/*.xml/include /includes /testResource /testResources /build - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, any attachments and the information contained therein (this message) are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. ** Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après le message ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does anyone know how to use the maven DBUnit plugin?
Ray Tsang wrote: i'm using dbunit ant task to load initial data.. i have something like the following in profiles section of the pom.xml. it will execute when `mvn -DloadData=true` profile iddbunit-load-data/id activation property nameloadData/name valuetrue/value /property /activation build plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution idprocess-classes/id phaseprocess-classes/phase goals goalrun/goal /goals configuration tasks property value=CLEAN_INSERT name=operation / property value=src/test/sql/test-data.xml name=file / taskdef name=dbunit classname=org.dbunit.ant.DbUnitTask / dbunit driver=${database.driver} url=${database.url} userid=${database.username} password=${database.password} supportBatchStatement=false operation type=${operation} src=${file} format=xml / /dbunit /tasks /configuration /execution /executions dependencies dependency groupId${database.dependency.groupId}/groupId artifactId${database.dependency.artifactId}/artifactId version${database.dependency.version}/version /dependency dependency groupIddbunit/groupId artifactIddbunit/artifactId version2.1/version /dependency dependency groupIdant/groupId artifactIdant-nodeps/artifactId version1.6.5/version scopecompile/scope /dependency dependency groupIdcom.sun/groupId artifactIdtools/artifactId version1.5/version scopesystem/scope systemPath${java.home}/../lib/tools.jar/systemPath /dependency /dependencies /plugin /plugins /build /profile I'm using a similar setup (see XML below), but having a couple of issues. 1. Is it possible to have the task invoked at the beginning of the test phase? Using phasetest/phase invokes it after running all the tests. I want it to run before. Using phasetest-compile/phase works, but seems to be one phase behind what I want. 2. How do I load a properties file in to set the ${...} properties? It tried property file=${project.build.sourceResources}/database.properties/ and it doesn't work.I get the following error: Embedded error: Class Not Found: JDBC driver ${jdbc.driverClassName} could not be loaded plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution phasetest-compile/phase configuration tasks property file=${project.build.sourceResources}/database.properties/ condition property=operation value=MSSQL_CLEAN_INSERT else=CLEAN_INSERT equals arg1=${database.type} arg2=sqlserver/ /condition property name=file value=resources/dbunit/sample-data.xml/ taskdef name=dbunit classname=org.dbunit.ant.DbUnitTask/ dbunit driver=${jdbc.driverClassName} supportBatchStatement=false url=${jdbc.url} userid=${jdbc.username} password=${jdbc.password} operation type=${operation} src=${file} format=xml/ /dbunit /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIddbunit/groupId artifactIddbunit/artifactId version2.1/version /dependency /dependencies /plugin Thanks, Matt P.S. Anyone know if a DbUnit plugin that's being developed for M2? -- View this message in context: http://www.nabble.com/Does-anyone-know-how-to-use-the-maven-DBUnit-plugin--tf1857895.html#a5969492 Sent from the Maven - Users forum at Nabble.com.
Re: Use System Properties in Settings.xml?
Hm. That is a pickle. Since settings.xml profiles override pom and profiles.xml profiles, then if you make it active by default it will always win. But you only want to set the property iff it is not already set. I'd say file an issue under the Profiles component. http://jira.codehaus.org/browse/MNG Eric On 8/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I forgot to mentioned I tried this XML fragment profile iduser-install-root/id activation property name!user.install.root/name /property /activation properties user.install.rootC:\\Program Files\\IBM\\WebSphere\\AppServer/user.install.root /properties /profile But it did not work for me at all! -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: 23 August 2006 13:38 To: Maven Users List Subject: Re: Use System Properties in Settings.xml? You create at profile in settings.xml that is active by default, and contains a properties element with the property you wish to active. On 8/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -Original Message- From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED] Sent: 19 August 2006 08:51 To: Maven Users List Subject: RE: Use System Properties in Settings.xml? As I had initially mentioned, this works for me, not sure about adding ENV as a prefix to MAVEN_HOME. localRepository${MAVEN_HOME}/repository/localRepository ==== -- Peter Pilgrim UBS Investment Bank, PTS Portal / IT FIRC OPS LDN, 100 Liverpool Street, London EC2M 2RH, United Kingdom +44 (0) 20 75 75692 :: Java EE / E-Commerce / Enterprise Integration / Development :: Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond
Running maven from ant
Currently, our pre-staging/production deployment methods are strictly ant based. With development migrating to m2 for building, we no longer have various stack.property files lying around, everything exists in profiles.xml. So what I'd like to do is use the maven ant tasks as defined here: http://maven.apache.org/ant-tasks.html (I've opted for the put the jar in the ant_home\lib directory install option) But, I'm having no success - project name=testprops default=build xmlns:artifact=antlib:org.apache.maven.artifact.ant target name=build artifact:pom id=project file=pom.xml / echo message=${maven.project.version}/ /target /project As just a simple tester, the resulting echo statement is - Buildfile: test.xml mavenrun: [echo] ${maven.project.version} What am I doing wrong?
Re: [m2] DBUnit plugin form m2?
Srepfler Srgjan wrote: Hi, Does anyone know if there is a m2 plugin for DBUnit and if not, can someone post an example pom that uses it via ant? Is anyone working on such a plugin? Using Ant is pretty verbose and seems to require putting the data XML file in each module in my (limited) experience. Thanks, Matt -- View this message in context: http://www.nabble.com/-m2--DBUnit-plugin-form-m2--tf750700.html#a5970828 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
basic http auth credentials not beign sent to the server
I have setup a repository in my pom: repositories repository idalm2/id urlhttp://1234.1234.1234.124:8080/repository/url /repository repositories and in my settings.xml: servers server idalm2/id usernamemyuser/username passwordmypassword/password /server /servers but when I check the logs of the tomcat server , it says that the authorization header is null. Why is not sending the credentials ? do I need to add another parameter ? In maven1 I just need to specify http://myuser:[EMAIL PROTECTED]:8080/repository and it works fine. I'm using maven 2.0.4. Thanks - ** This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ** SAVE PAPER - THINK BEFORE YOU PRINT!
SNAPSHOT Deploy
Question: How can I get Maven to deploy version-less SNAPSHOT files to our SNAPSHOT repository? Background: It appears to me as if the mvn deploy command on a SNAPSHOT version does only deploy numbered snapshot files, but not unnumbered ones. The mvn install command in contrary puts an unnumbered SNAPSHOT file in my local repository. - I get i18n-4.0.0-SNAPSHOT.jar in my local repository with mvn install - I get i18n-4.0.0-20060811.001428-3.jar in my configured SNAPSHOT repository What I would like to have is an unnumbered (i18n-4.0.0-SNAPSHOT.jar) jar file in our company SNAPSHOT server in addition to the numbered one. Is there a way to convince Maven to deploy an unnumbered jar file into the SNAPSHOT repository? Thanks in advance for any hint or help. Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] DBUnit plugin form m2?
I found the following on the web, and it appears there's files in Mojo's subversion for this plugin. Do I have to build/publish the mojo sandbox locally to use this? plugin groupIdorg.codehaus.mojo/groupId artifactIddbunit-maven-plugin/artifactId executions execution phasetest-compile/phase goals goalclean-insert/goal /goals configuration drivercom.mysql.jdbc.Driver/driver usernametest/username passwordtest/password urljdbc:mysql://localhost/appfuse?useUnicode=trueamp;characterEncoding=utf-8/url sourceData${basedir}/src/test/resources/sql/sample-data.xml/sourceData sourceDataFormatxml/sourceDataFormat /configuration /execution /executions dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.0.3/version /dependency /dependencies /plugin Matt On 8/24/06, mraible [EMAIL PROTECTED] wrote: Srepfler Srgjan wrote: Hi, Does anyone know if there is a m2 plugin for DBUnit and if not, can someone post an example pom that uses it via ant? Is anyone working on such a plugin? Using Ant is pretty verbose and seems to require putting the data XML file in each module in my (limited) experience. Thanks, Matt -- View this message in context: http://www.nabble.com/-m2--DBUnit-plugin-form-m2--tf750700.html#a5970828 Sent from the Maven - Users forum 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: [m2] DBUnit plugin form m2?
On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: I found the following on the web, and it appears there's files in Mojo's subversion for this plugin. Do I have to build/publish the mojo sandbox locally to use this? To answer my own question - yes. I checked out this plugin from Subversion, installed it and now I can successfully use the settings below. Matt plugin groupIdorg.codehaus.mojo/groupId artifactIddbunit-maven-plugin/artifactId executions execution phasetest-compile/phase goals goalclean-insert/goal /goals configuration drivercom.mysql.jdbc.Driver/driver usernametest/username passwordtest/password urljdbc:mysql://localhost/appfuse?useUnicode=trueamp;characterEncoding=utf-8/url sourceData${basedir}/src/test/resources/sql/sample-data.xml/sourceData sourceDataFormatxml/sourceDataFormat /configuration /execution /executions dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.0.3/version /dependency /dependencies /plugin Matt On 8/24/06, mraible [EMAIL PROTECTED] wrote: Srepfler Srgjan wrote: Hi, Does anyone know if there is a m2 plugin for DBUnit and if not, can someone post an example pom that uses it via ant? Is anyone working on such a plugin? Using Ant is pretty verbose and seems to require putting the data XML file in each module in my (limited) experience. Thanks, Matt -- View this message in context: http://www.nabble.com/-m2--DBUnit-plugin-form-m2--tf750700.html#a5970828 Sent from the Maven - Users forum 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]
Distribution Management
I am looking into setting up an internal repository which would be used for retrieving artifacts built by other members of the team and also other 3rd party libs that arent available at ibiblio. If I am reading correctly, I have to define this in 4 places. 1) server defined in settings.xml to setup the user/pass for ssh 2) distribution management in the parent pom file 3) repository section in settings.xml 4) pluginRepository section in settings.xml I noticed that all of these locations have id, name, url. Can I just put the name and url I nthe server setting then reference id in the other 3 places? D-
RE: SNAPSHOT Deploy
Nathan, Thank you for your help. Indeed that forces Maven to generate a non unique SNAPSHOT version. But now I have no unique versions anymore. What I am looking for is not black or white; I would like to have both on the SNAPSHOT repository server. Does not look like this is possible. Andreas -Original Message- From: Beyer,Nathan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 1:21 PM To: Maven Users List Subject: RE: SNAPSHOT Deploy I believe you need to add uniqueVersionfalse/uniqueVersion to the 'distributionManagement' repository/snapshotRepository configuration in the POM. -Nathan -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 2:35 PM To: Maven Users List Subject: SNAPSHOT Deploy Question: How can I get Maven to deploy version-less SNAPSHOT files to our SNAPSHOT repository? Background: It appears to me as if the mvn deploy command on a SNAPSHOT version does only deploy numbered snapshot files, but not unnumbered ones. The mvn install command in contrary puts an unnumbered SNAPSHOT file in my local repository. - I get i18n-4.0.0-SNAPSHOT.jar in my local repository with mvn install - I get i18n-4.0.0-20060811.001428-3.jar in my configured SNAPSHOT repository What I would like to have is an unnumbered (i18n-4.0.0-SNAPSHOT.jar) jar file in our company SNAPSHOT server in addition to the numbered one. Is there a way to convince Maven to deploy an unnumbered jar file into the SNAPSHOT repository? Thanks in advance for any hint or help. Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Plugin issue
I've recently developed a plugin that allows for a workaround fix specific to the team I'm working for. I've bound it to the process-classes build phase. My issue is that regardless as to whether the plugin succeeds or fails (for whatever reason) or an exception is thrown, the rest of the build reports a success. I don't know what the issue is, but somehow I would like to tie the success (or failure) of the plugin directly to the success/failure of the build. Thanks, --Snir
Plugin issue
I've recently developed a plugin that allows for a workaround fix specific to the team I'm working for. I've bound it to the process-classes build phase. My issue is that regardless as to whether the plugin succeeds or fails (for whatever reason) or an exception is thrown, the rest of the build reports a success. I don't know what the issue is, but somehow I would like to tie the success (or failure) of the plugin directly to the success/failure of the build. Thanks, --Snir
RE: SNAPSHOT Deploy
I think so too. I believe in Maven 1 you had both worlds. Andreas -Original Message- From: Beyer,Nathan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 2:20 PM To: Maven Users List Subject: RE: SNAPSHOT Deploy Sounds like an enhancement request. :) -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 4:07 PM To: Maven Users List Subject: RE: SNAPSHOT Deploy Nathan, Thank you for your help. Indeed that forces Maven to generate a non unique SNAPSHOT version. But now I have no unique versions anymore. What I am looking for is not black or white; I would like to have both on the SNAPSHOT repository server. Does not look like this is possible. Andreas -Original Message- From: Beyer,Nathan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 1:21 PM To: Maven Users List Subject: RE: SNAPSHOT Deploy I believe you need to add uniqueVersionfalse/uniqueVersion to the 'distributionManagement' repository/snapshotRepository configuration in the POM. -Nathan -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 2:35 PM To: Maven Users List Subject: SNAPSHOT Deploy Question: How can I get Maven to deploy version-less SNAPSHOT files to our SNAPSHOT repository? Background: It appears to me as if the mvn deploy command on a SNAPSHOT version does only deploy numbered snapshot files, but not unnumbered ones. The mvn install command in contrary puts an unnumbered SNAPSHOT file in my local repository. - I get i18n-4.0.0-SNAPSHOT.jar in my local repository with mvn install - I get i18n-4.0.0-20060811.001428-3.jar in my configured SNAPSHOT repository What I would like to have is an unnumbered (i18n-4.0.0-SNAPSHOT.jar) jar file in our company SNAPSHOT server in addition to the numbered one. Is there a way to convince Maven to deploy an unnumbered jar file into the SNAPSHOT repository? Thanks in advance for any hint or help. Andreas - CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --- - 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]
Using Java System Properties in pom.xml
Hi! Been reading through the documentation on maven.apache.org and the book, but I can't find any information on if it is possible to use Java System Properties such as file.separator, user.name and more (http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getProperties()) in pom.xml? I have a problem with file separators because we use both Linux and Windows when developing and it therefore looks as I if I need to use ${file.separator} in our common POM. Regards, Jimisola -- View this message in context: http://www.nabble.com/Using-Java-System-Properties-in-pom.xml-tf2161474.html#a5973537 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SNAPSHOT Deploy
I believe you need to add uniqueVersionfalse/uniqueVersion to the 'distributionManagement' repository/snapshotRepository configuration in the POM. -Nathan -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 2:35 PM To: Maven Users List Subject: SNAPSHOT Deploy Question: How can I get Maven to deploy version-less SNAPSHOT files to our SNAPSHOT repository? Background: It appears to me as if the mvn deploy command on a SNAPSHOT version does only deploy numbered snapshot files, but not unnumbered ones. The mvn install command in contrary puts an unnumbered SNAPSHOT file in my local repository. - I get i18n-4.0.0-SNAPSHOT.jar in my local repository with mvn install - I get i18n-4.0.0-20060811.001428-3.jar in my configured SNAPSHOT repository What I would like to have is an unnumbered (i18n-4.0.0-SNAPSHOT.jar) jar file in our company SNAPSHOT server in addition to the numbered one. Is there a way to convince Maven to deploy an unnumbered jar file into the SNAPSHOT repository? Thanks in advance for any hint or help. Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven 2 maven-antrun-plugin javascript -- how/where do I set Ant's classpath?
Hi, I'm trying to call ant tasks using the maven-antrun-plugin. I'm able to get to the build file using ant inheritRefs=true antfile=./build.xml successfully, but the build.xml uses Javascript and Ant is falling apart when I run 'mvn compile' -- I get an embedded error. I've tried adding apache-ant-bsf jar/plugin and the js.jar plugin, and I have unfortunately had no success. Any ideas or suggestions? I guess a more appropriate question would be: How do I set the classpath of Ant when I launch it from Maven? I know I should do something like classpath refid=maven.plugin.classpath /, but I don't know which tags to correctly put it in. Thanks, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] DBUnit plugin form m2?
I am not quite sure why you would need a dbUnit plug-in. dbUnit is a JUnit extension and if used together with JUnit will be executed by Surefire with your unit tests. Andreas Srepfler Srgjan wrote: Hi, Does anyone know if there is a m2 plugin for DBUnit and if not, can someone post an example pom that uses it via ant? Is anyone working on such a plugin? Using Ant is pretty verbose and seems to require putting the data XML file in each module in my (limited) experience. Thanks, Matt -- View this message in context: http://www.nabble.com/-m2--DBUnit-plugin-form-m2--tf750700.html#a5970828 Sent from the Maven - Users forum 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]
[m2][javadoc] How does one get 'doc-files' support to work?
I have the javadoc plugin configured in my reports as follows and I have 'doc-files' folder in one of my 'resources' folders, but the doc-files aren't showing up with the javadoc. The javadoc folders do contain 'doc-files' folders, but they are empty. Am I doing something wrong? Do the 'doc-files' folders need to be elsewhere? Thanks. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration charsetUTF-8/charset docencodingUTF-8/docencoding docfilessubdirstrue/docfilessubdirs links linkhttp://java.sun.com/j2se/1.5.0/docs/api//link /links source1.5/source showprotected/show /configuration /plugin -Nathan - CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ---
Re: [m2] Frustration getting Maven 2 and Hibernate working together
Paul Kuykendall wrote: Jose, I found this in a blog somewhere (I didn't bookmark it, just copied it into a tips and tricks email I sent myself at work). I still ran into problems with the hibernate3-maven-plugin complaining it couldn't resolve a dependency somewhere down the line to maven-hibernate3-plugin. It could have been something I've been doing wrong, but your problem was fairly easy to track down (after more than a few hours of google searching). I did use a different way of doing the jta installation. I created a jar file and installed that rather than the zip file. /Paul The below is quite shamefully included without attribution. I take no claim for its origination. Special dependencies Most of the dependencies you need will be automatically downloaded by Maven from a remote repository, but two by Sun can't be held there. Go to this page http://java.sun.com/products/jta/ to get the JTA interfaces from the Download link next to Class Files 1.0.1B, then paste the following into a shell in your download directory: mvn install:install-file -DgroupId=javax.transaction \ -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar \ -Dfile=jta-1_0_1B-classes.zip (Or use jta.jar from the Hibernate 3.1.1 distribution, if you have that already — just change the -Dfile= parameter above.) For the EJB 3.0 *public final draft* dependency, you'll need to download Hibernate Annotationshttp://prdownloads.sourceforge.net/hibernate/hibernate-annotations-3.2.0.CR1.tar.gz?download, expand the archive, change to its lib directory, then: mvn install:install-file -DgroupId=javax.persistence \ -DartifactId=ejb -Dversion=3.0-public-draft-20060502 \ -Dpackaging=jar -Dfile=ejb3-persistence.jar Is it possible to override a plugin's dependencies, like you can with a normal dependency? I'm trying to use the maven-hibernate3-plugin, and getting the following error: Missing: -- 1) javax.transaction:jta:jar:1.0.1B Try downloading the file manually from: http://java.sun.com/products/jta Then, install it using the command: mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \ -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20060418.000301-9 2) org.hibernate:hibernate-tools:jar:3.1.0.beta4 3) org.hibernate:hibernate:jar:3.1.2 4) javax.transaction:jta:jar:1.0.1B -- 1 required artifact is missing. for artifact: org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20060418.000301-9 I'd like to do something like I can do in my normal pom.xml's - where I can use Geronimo's JTA implementation instead: dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId version3.2.0.cr3/version exclusions exclusion groupIdjavax.transaction/groupId artifactIdjta/artifactId /exclusion /exclusions /dependency dependency groupIdgeronimo-spec/groupId artifactIdgeronimo-spec-jta/artifactId version1.0.1B-rc4/version /dependency Thanks, Matt -- View this message in context: http://www.nabble.com/-m2--Frustration-getting-Maven-2-and-Hibernate-working-together-tf1892454.html#a5972898 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SNAPSHOT Deploy
Sounds like an enhancement request. :) -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 4:07 PM To: Maven Users List Subject: RE: SNAPSHOT Deploy Nathan, Thank you for your help. Indeed that forces Maven to generate a non unique SNAPSHOT version. But now I have no unique versions anymore. What I am looking for is not black or white; I would like to have both on the SNAPSHOT repository server. Does not look like this is possible. Andreas -Original Message- From: Beyer,Nathan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 1:21 PM To: Maven Users List Subject: RE: SNAPSHOT Deploy I believe you need to add uniqueVersionfalse/uniqueVersion to the 'distributionManagement' repository/snapshotRepository configuration in the POM. -Nathan -Original Message- From: Andreas Guther [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 2:35 PM To: Maven Users List Subject: SNAPSHOT Deploy Question: How can I get Maven to deploy version-less SNAPSHOT files to our SNAPSHOT repository? Background: It appears to me as if the mvn deploy command on a SNAPSHOT version does only deploy numbered snapshot files, but not unnumbered ones. The mvn install command in contrary puts an unnumbered SNAPSHOT file in my local repository. - I get i18n-4.0.0-SNAPSHOT.jar in my local repository with mvn install - I get i18n-4.0.0-20060811.001428-3.jar in my configured SNAPSHOT repository What I would like to have is an unnumbered (i18n-4.0.0-SNAPSHOT.jar) jar file in our company SNAPSHOT server in addition to the numbered one. Is there a way to convince Maven to deploy an unnumbered jar file into the SNAPSHOT repository? Thanks in advance for any hint or help. Andreas - CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SNAPSHOT Deploy
On 8/25/06, Andreas Guther [EMAIL PROTECTED] wrote: Question: How can I get Maven to deploy version-less SNAPSHOT files to our SNAPSHOT repository? Background: It appears to me as if the mvn deploy command on a SNAPSHOT version does only deploy numbered snapshot files, but not unnumbered ones. The mvn install command in contrary puts an unnumbered SNAPSHOT file in my local repository. - I get i18n-4.0.0-SNAPSHOT.jar in my local repository with mvn install - I get i18n-4.0.0-20060811.001428-3.jar in my configured SNAPSHOT repository Maven takes care of all this for you. You do not need to care that there is no -SNAPSHOT on the remote repository (which is not needed anyway) If you check out the meta data it lists all the versions and what the correct latest version is. For an artifact my.group:artifactId which is laid out on the file system as: http://NUCLEUS/path/to/repo/group/my/atifactId You will see the following: - version directories e.g. 4.0.0-SNAPSHOT - maven-metadata.xml - maven-metadata.xml.md5 - maven-metadata.xml.sha1 In maven-metadata is all the information maven needs in order to download the latest snapshot version and to install it into your local repository as -SNAPSHOT. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
probs with profiles
I have a question about profiles and their usage. Our build machines have one path to things like jboss and other third party directories, in the various qa stacks, these paths may be different. Additionally, a property may change from project to project. How come the sub projects don't get the second profile?! E:\work\up-svcs\lty\proj\LTY-P39mvn help:active-profiles -P LTY-P39,dev-crimson -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Unnamed - lty:app:pom:1.0-SNAPSHOT [INFO] Lty Utils [INFO] Lty Crypto(Client) [INFO] LtyModel [INFO] LtyDataGen [INFO] Crypto Server [INFO] Upromise.com Site [INFO] Searching repository for plugin with prefix: 'help'. [INFO] [INFO] Building Unnamed - lty:app:pom:1.0-SNAPSHOT [INFO]task-segment: [help:active-profiles] (aggregator-style) [INFO] [INFO] [help:active-profiles] [INFO] Active Profiles for Project 'lty:app:pom:1.0-SNAPSHOT': The following profiles are active: - dev-crimson (source: profiles.xml) - LTY-P39 (source: settings.xml) Active Profiles for Project 'lty:lty-utils:jar:1.0-SNAPSHOT': The following profiles are active: - LTY-P39 (source: settings.xml) Active Profiles for Project 'lty:crypto:jar:1.0-SNAPSHOT': The following profiles are active: - LTY-P39 (source: settings.xml) Active Profiles for Project 'lty:lty-model:jar:1.0-SNAPSHOT': The following profiles are active: - LTY-P39 (source: settings.xml) Active Profiles for Project 'lty:lty-datagen:jar:1.0-SNAPSHOT': The following profiles are active: - LTY-P39 (source: settings.xml) Active Profiles for Project 'lty:cryptoServer:jar:1.0-SNAPSHOT': The following profiles are active: - LTY-P39 (source: settings.xml) Active Profiles for Project 'uprweb:uprweb:war:1.0-SNAPSHOT': The following profiles are active: - LTY-P39 (source: settings.xml)
Re: Maven cannot find dependencies classes from WEB-INF/classes
On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: So based on this feedback, where I have a webapp like AppFuse (that implements the same thing with 4 webapps, but also wants to be a library for users), would you suggest doing something like the following? web (JARs) - common (common filters, listeners, etc. between impls below) - jsf - spring - struts - tapestry war (WARs) - common (common jsps, images, stylesheets, etc between wars below) - jsf - spring - struts - tapestry I suppose this seems reasonable; I just never expected AppFuse to turn into 9 JARs and 5 WARs! Matt Thinking about this a bit more, the following seems like it might be a little easier to understand and work with (from an AppFuse developer perspective, not a users). web - common - war - jsf - war - spring - war - struts - war - tapestry - war Thoughts? Thanks, Matt On 8/23/06, Eric Redmond [EMAIL PROTECTED] wrote: This isn't really a shortcomming of Maven as much as a Java thing. Imagine that your WAR was a JAR that contained a class in: somejar.jar:WEB-INF/classes/com.MyClass.class the classloader isn't going to find it anyway. The only reason that classes existing in WEB-IN/classes are found in a WAR is because the loading container knows where to look for them. So, yes, if you want to share classes between projects you will have to create a seperate JAR project, and that JAR will be a dependency of the WAR. This is not a bad thing. Eric On 8/22/06, Denis Cabasson [EMAIL PROTECTED] wrote: I guess this functionality isn't present in Maven, as it goes against the best practice Maven is trying to enforce. If an artifact is supposed to be used as both an external dependency and a webapp, it should be bundled in its own jar, and user as a normal dependency in both project. To be more precise, the buisness logic (which is to be re-used as a dependency in another project) should be in another project, well the user interface, and all the webapp related stuff should stay in the war project. Well, at least, that's my point of view on the matter. Denis. Matt Raible-3 wrote: I discovered this same thing last week. http://www.nabble.com/Re%3A-Converting-AppFuse-to-a-Maven-2-Project-p5870757.html Seems like a bug to me, but it's probably more of a missing feature. What would it take to add this functionality? Thanks, Matt On 8/22/06, alexsun [EMAIL PROTECTED] wrote: I use this configuration in my pom file ... dependency groupId!-- groupId of the war --/groupId artifactId!-- artifactId of the war --/artifactId version! -- version of the war --/version typewar/type /dependency ... but during build process get error that classes from war-package not found. Why? -- View this message in context: http://www.nabble.com/Maven-cannot-find-dependencies-classes-from-WEB-INF-classes-tf2147059.html#a5928069 Sent from the Maven - Users forum 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] -- View this message in context: http://www.nabble.com/Maven-cannot-find-dependencies-classes-from-WEB-INF-classes-tf2147059.html#a5930280 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Java System Properties in pom.xml
You can use System properties. However, you don't need to use file.seperator... you can just use forward slash for paths. Eric On 8/24/06, Jimisola Laursen [EMAIL PROTECTED] wrote: Hi! Been reading through the documentation on maven.apache.org and the book, but I can't find any information on if it is possible to use Java System Properties such as file.separator, user.name and more ( http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getProperties() ) in pom.xml? I have a problem with file separators because we use both Linux and Windows when developing and it therefore looks as I if I need to use ${file.separator} in our common POM. Regards, Jimisola -- View this message in context: http://www.nabble.com/Using-Java-System-Properties-in-pom.xml-tf2161474.html#a5973537 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond
Re: Maven cannot find dependencies classes from WEB-INF/classes
I'm not sure what you're getting at. Is that one single project? Why do projects like common or struts need their own wars? Perhaps its my unfamiliarity with AppFuse. Eric On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: So based on this feedback, where I have a webapp like AppFuse (that implements the same thing with 4 webapps, but also wants to be a library for users), would you suggest doing something like the following? web (JARs) - common (common filters, listeners, etc. between impls below) - jsf - spring - struts - tapestry war (WARs) - common (common jsps, images, stylesheets, etc between wars below) - jsf - spring - struts - tapestry I suppose this seems reasonable; I just never expected AppFuse to turn into 9 JARs and 5 WARs! Matt Thinking about this a bit more, the following seems like it might be a little easier to understand and work with (from an AppFuse developer perspective, not a users). web - common - war - jsf - war - spring - war - struts - war - tapestry - war Thoughts? Thanks, Matt On 8/23/06, Eric Redmond [EMAIL PROTECTED] wrote: This isn't really a shortcomming of Maven as much as a Java thing. Imagine that your WAR was a JAR that contained a class in: somejar.jar:WEB-INF/classes/com.MyClass.class the classloader isn't going to find it anyway. The only reason that classes existing in WEB-IN/classes are found in a WAR is because the loading container knows where to look for them. So, yes, if you want to share classes between projects you will have to create a seperate JAR project, and that JAR will be a dependency of the WAR. This is not a bad thing. Eric On 8/22/06, Denis Cabasson [EMAIL PROTECTED] wrote: I guess this functionality isn't present in Maven, as it goes against the best practice Maven is trying to enforce. If an artifact is supposed to be used as both an external dependency and a webapp, it should be bundled in its own jar, and user as a normal dependency in both project. To be more precise, the buisness logic (which is to be re-used as a dependency in another project) should be in another project, well the user interface, and all the webapp related stuff should stay in the war project. Well, at least, that's my point of view on the matter. Denis. Matt Raible-3 wrote: I discovered this same thing last week. http://www.nabble.com/Re%3A-Converting-AppFuse-to-a-Maven-2-Project-p5870757.html Seems like a bug to me, but it's probably more of a missing feature. What would it take to add this functionality? Thanks, Matt On 8/22/06, alexsun [EMAIL PROTECTED] wrote: I use this configuration in my pom file ... dependency groupId!-- groupId of the war --/groupId artifactId!-- artifactId of the war --/artifactId version! -- version of the war --/version typewar/type /dependency ... but during build process get error that classes from war-package not found. Why? -- View this message in context: http://www.nabble.com/Maven-cannot-find-dependencies-classes-from-WEB-INF-classes-tf2147059.html#a5928069 Sent from the Maven - Users forum 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] -- View this message in context: http://www.nabble.com/Maven-cannot-find-dependencies-classes-from-WEB-INF-classes-tf2147059.html#a5930280 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond
Re: Distribution Management
Nope, but you can create a property, and re-use it! On 8/24/06, Douglas Ferguson [EMAIL PROTECTED] wrote: I am looking into setting up an internal repository which would be used for retrieving artifacts built by other members of the team and also other 3rd party libs that aren't available at ibiblio. If I am reading correctly, I have to define this in 4 places. 1) server defined in settings.xml to setup the user/pass for ssh 2) distribution management in the parent pom file 3) repository section in settings.xml 4) pluginRepository section in settings.xml I noticed that all of these locations have id, name, url. Can I just put the name and url I nthe server setting then reference id in the other 3 places? D- -- Eric Redmond http://codehaus.org/~eredmond
Re: [m2] Frustration getting Maven 2 and Hibernate working together
Sure you can: plugin ... dependencies dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId version3.2.0.cr3/version exclusions exclusion groupIdjavax.transaction/groupId artifactIdjta/artifactId /exclusion /exclusions /dependency /dependencies On 8/24/06, mraible [EMAIL PROTECTED] wrote: Paul Kuykendall wrote: Jose, I found this in a blog somewhere (I didn't bookmark it, just copied it into a tips and tricks email I sent myself at work). I still ran into problems with the hibernate3-maven-plugin complaining it couldn't resolve a dependency somewhere down the line to maven-hibernate3-plugin. It could have been something I've been doing wrong, but your problem was fairly easy to track down (after more than a few hours of google searching). I did use a different way of doing the jta installation. I created a jar file and installed that rather than the zip file. /Paul The below is quite shamefully included without attribution. I take no claim for its origination. Special dependencies Most of the dependencies you need will be automatically downloaded by Maven from a remote repository, but two by Sun can't be held there. Go to this page http://java.sun.com/products/jta/ to get the JTA interfaces from the Download link next to Class Files 1.0.1B, then paste the following into a shell in your download directory: mvn install:install-file -DgroupId=javax.transaction \ -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar \ -Dfile=jta-1_0_1B-classes.zip (Or use jta.jar from the Hibernate 3.1.1 distribution, if you have that already — just change the -Dfile= parameter above.) For the EJB 3.0 *public final draft* dependency, you'll need to download Hibernate Annotations http://prdownloads.sourceforge.net/hibernate/hibernate-annotations-3.2.0.CR1.tar.gz?download , expand the archive, change to its lib directory, then: mvn install:install-file -DgroupId=javax.persistence \ -DartifactId=ejb -Dversion=3.0-public-draft-20060502 \ -Dpackaging=jar -Dfile=ejb3-persistence.jar Is it possible to override a plugin's dependencies, like you can with a normal dependency? I'm trying to use the maven-hibernate3-plugin, and getting the following error: Missing: -- 1) javax.transaction:jta:jar:1.0.1B Try downloading the file manually from: http://java.sun.com/products/jta Then, install it using the command: mvn install:install-file -DgroupId=javax.transaction-DartifactId=jta \ -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20060418.000301-9 2) org.hibernate:hibernate-tools:jar:3.1.0.beta4 3) org.hibernate:hibernate:jar:3.1.2 4) javax.transaction:jta:jar:1.0.1B -- 1 required artifact is missing. for artifact: org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20060418.000301-9 I'd like to do something like I can do in my normal pom.xml's - where I can use Geronimo's JTA implementation instead: dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId version3.2.0.cr3/version exclusions exclusion groupIdjavax.transaction/groupId artifactIdjta/artifactId /exclusion /exclusions /dependency dependency groupIdgeronimo-spec/groupId artifactIdgeronimo-spec-jta/artifactId version1.0.1B-rc4/version /dependency Thanks, Matt -- View this message in context: http://www.nabble.com/-m2--Frustration-getting-Maven-2-and-Hibernate-working-together-tf1892454.html#a5972898 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond
Re: [m2] eclipse:eclipse and eclipse 3.2 projects within a project suppo
If you have a structure like this: root |--module1 |--module2 |--submodule2-1 ... you would have to make sure that you hide/delete/rename the .project file in both the root and module2 directories for the submodule2-1 project to show up on the import. When Eclipse finds a .project file at a node in the file tree, all projects from the subtree rooted at that node are hidden, because Eclipse does not support hierarchical project structures. IMO, moving your parent pom to a subdir is a better compromise than having all of your files show up two or more times in Eclipse. I would use the technique outlined in this thread ONLY in cases where you could not move the parent pom to a subdirectory. -Max Valerio Schiavoni wrote: baerrach wrote: Because there is no .project file eclipse will show all the subprojects as being available. i don't get this step working...it doesn't show submodule projects as being availble, even if each of them have their respective .project and .classpath any one with my same issue ? thanks, valerio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven cannot find dependencies classes from WEB-INF/classes
AppFuse is basically a kickstart web application. When I used Ant, it basically just created a project, and put all the files in it to implement various features. With Maven 2, I'd like to change things to create a shell/archetype. For the end user, their pom will something like the following: dependency groupIdorg.appfuse/groupId artifactIdappfuse-hibernate/artifactId version2.0/version /dependency dependency groupIdorg.appfuse/groupId artifactIdappfuse-struts/artifactId version2.0/version typewar/type /dependency However, since typewar/type doesn't bring in that WAR's dependencies (it only overlays static artifacts or classes that you don't refer to in your project), it seems I'll have to do something like this instead: dependency groupIdorg.appfuse/groupId artifactIdappfuse-hibernate/artifactId version2.0/version /dependency dependency groupIdorg.appfuse/groupId artifactIdappfuse-struts/artifactId version2.0/version dependency groupIdorg.appfuse/groupId artifactIdappfuse-struts-war/artifactId version2.0/version typewar/type /dependency In appfuse-struts will be things like base classes, etc. (hopefully I can include a base test class w/o too much trouble too), whereas appfuse-struts-war will contain JSPs and XML artifacts (i.e. web.xml, struts.xml). Make sense? Sure, we could continue doing things the way we used to do it with Ant and create an archetype with all the XML, .java and JSP files in the project - but that makes it difficult to upgrade from one version to the next. I'm definitely open to suggestions - I want to make AppFuse as easy to use/upgrade as possible - and I'm still hopeful that Maven 2 will be the main facilitator of that. Matt On 8/24/06, Eric Redmond [EMAIL PROTECTED] wrote: I'm not sure what you're getting at. Is that one single project? Why do projects like common or struts need their own wars? Perhaps its my unfamiliarity with AppFuse. Eric On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: So based on this feedback, where I have a webapp like AppFuse (that implements the same thing with 4 webapps, but also wants to be a library for users), would you suggest doing something like the following? web (JARs) - common (common filters, listeners, etc. between impls below) - jsf - spring - struts - tapestry war (WARs) - common (common jsps, images, stylesheets, etc between wars below) - jsf - spring - struts - tapestry I suppose this seems reasonable; I just never expected AppFuse to turn into 9 JARs and 5 WARs! Matt Thinking about this a bit more, the following seems like it might be a little easier to understand and work with (from an AppFuse developer perspective, not a users). web - common - war - jsf - war - spring - war - struts - war - tapestry - war Thoughts? Thanks, Matt On 8/23/06, Eric Redmond [EMAIL PROTECTED] wrote: This isn't really a shortcomming of Maven as much as a Java thing. Imagine that your WAR was a JAR that contained a class in: somejar.jar:WEB-INF/classes/com.MyClass.class the classloader isn't going to find it anyway. The only reason that classes existing in WEB-IN/classes are found in a WAR is because the loading container knows where to look for them. So, yes, if you want to share classes between projects you will have to create a seperate JAR project, and that JAR will be a dependency of the WAR. This is not a bad thing. Eric On 8/22/06, Denis Cabasson [EMAIL PROTECTED] wrote: I guess this functionality isn't present in Maven, as it goes against the best practice Maven is trying to enforce. If an artifact is supposed to be used as both an external dependency and a webapp, it should be bundled in its own jar, and user as a normal dependency in both project. To be more precise, the buisness logic (which is to be re-used as a dependency in another project) should be in another project, well the user interface, and all the webapp related stuff should stay in the war project. Well, at least, that's my point of view on the matter. Denis. Matt Raible-3 wrote: I discovered this same thing last week. http://www.nabble.com/Re%3A-Converting-AppFuse-to-a-Maven-2-Project-p5870757.html Seems like a bug to me, but it's probably more of a missing feature. What would it take to add this functionality? Thanks, Matt On 8/22/06, alexsun [EMAIL PROTECTED] wrote: I use this configuration in my pom file ... dependency groupId!-- groupId of the war --/groupId
Re: [m2] Frustration getting Maven 2 and Hibernate working together
Thanks, that worked. On 8/24/06, Eric Redmond [EMAIL PROTECTED] wrote: Sure you can: plugin ... dependencies dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId version3.2.0.cr3/version exclusions exclusion groupIdjavax.transaction/groupId artifactIdjta/artifactId /exclusion /exclusions /dependency /dependencies On 8/24/06, mraible [EMAIL PROTECTED] wrote: Paul Kuykendall wrote: Jose, I found this in a blog somewhere (I didn't bookmark it, just copied it into a tips and tricks email I sent myself at work). I still ran into problems with the hibernate3-maven-plugin complaining it couldn't resolve a dependency somewhere down the line to maven-hibernate3-plugin. It could have been something I've been doing wrong, but your problem was fairly easy to track down (after more than a few hours of google searching). I did use a different way of doing the jta installation. I created a jar file and installed that rather than the zip file. /Paul The below is quite shamefully included without attribution. I take no claim for its origination. Special dependencies Most of the dependencies you need will be automatically downloaded by Maven from a remote repository, but two by Sun can't be held there. Go to this page http://java.sun.com/products/jta/ to get the JTA interfaces from the Download link next to Class Files 1.0.1B, then paste the following into a shell in your download directory: mvn install:install-file -DgroupId=javax.transaction \ -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar \ -Dfile=jta-1_0_1B-classes.zip (Or use jta.jar from the Hibernate 3.1.1 distribution, if you have that already — just change the -Dfile= parameter above.) For the EJB 3.0 *public final draft* dependency, you'll need to download Hibernate Annotations http://prdownloads.sourceforge.net/hibernate/hibernate-annotations-3.2.0.CR1.tar.gz?download , expand the archive, change to its lib directory, then: mvn install:install-file -DgroupId=javax.persistence \ -DartifactId=ejb -Dversion=3.0-public-draft-20060502 \ -Dpackaging=jar -Dfile=ejb3-persistence.jar Is it possible to override a plugin's dependencies, like you can with a normal dependency? I'm trying to use the maven-hibernate3-plugin, and getting the following error: Missing: -- 1) javax.transaction:jta:jar:1.0.1B Try downloading the file manually from: http://java.sun.com/products/jta Then, install it using the command: mvn install:install-file -DgroupId=javax.transaction-DartifactId=jta \ -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20060418.000301-9 2) org.hibernate:hibernate-tools:jar:3.1.0.beta4 3) org.hibernate:hibernate:jar:3.1.2 4) javax.transaction:jta:jar:1.0.1B -- 1 required artifact is missing. for artifact: org.codehaus.mojo:hibernate3-maven-plugin:maven-plugin:1.0-20060418.000301-9 I'd like to do something like I can do in my normal pom.xml's - where I can use Geronimo's JTA implementation instead: dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId version3.2.0.cr3/version exclusions exclusion groupIdjavax.transaction/groupId artifactIdjta/artifactId /exclusion /exclusions /dependency dependency groupIdgeronimo-spec/groupId artifactIdgeronimo-spec-jta/artifactId version1.0.1B-rc4/version /dependency Thanks, Matt -- View this message in context: http://www.nabble.com/-m2--Frustration-getting-Maven-2-and-Hibernate-working-together-tf1892454.html#a5972898 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond
[M2-WAR] different build output on different machines?
Hi all, i stumbled recently in an interesting problem: the setup: i have a WAR project (call it base) that simply holds shared resources (non-Java mainly) for a webapp, and another (call it flavour) which is the final WAR artifact, just as described here: http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html I _have_ overlapping files (just like web.xml in example) which bothers me, like Spring applicationContext.xml. Just to note: The project does not make use of profiles, local settings.xmlor whatsoever local setup, everything is in POM, that comes from SVN. Both machines are direct connected to net, no http-proxy, no Proximity, no maven-proxy - just Maven 2.0.4. Both machines uses JDK 1.5.0_07, both are i386, both are Linux(!) etc. etc. But: When I build on one machine (SuSE), Maven2 behaves just as I thought, it had overwritten the base overlapping files with flavour ones. When I build on other machine (Linux, Fedora), Maven2 consistently behaves just opposite! It consistently overwrites the flavour with base files! I'm am playing with this a while. After this happened, I executed $ mvn -U clean install from project root on both machines, the Fedora got updated with new WAR plugin (!) (and some checksum problems from repo1 but M2 ignored it) but it _still_ produces the same effect. On SuSE the WAR overlay behaves as i expect from it and on Fedora on reverse! Ideas? Thanx in advance, ~t~
Re: [M2-WAR] different build output on different machines?
More tries: I DELETED my local repo on Fedora machine, so clean maven 2.0.4 and made $ mvn clean install The result is SAME, even the web.xml is from base and not from flavour (!) -- it may slipped to me, it was maybe already happening during previous letter. ~t~ On 8/25/06, Tamás Cservenák [EMAIL PROTECTED] wrote: Hi all, ...
Berlios StatCVS M2 Plugin
Anyone have any experience with this? I seems hardly complete and abandoned as far as commits go... I can get it to run but it doesn't copy the images generated to the target/site after generation. Starting my quest to learn the maven report api to start fixing it, any shortcuts would be appreciated! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Distribution Management
Distribution Management has to be in the pom right? - Original Message - From: Eric Redmond Sent: Thu, 8/24/2006 6:06pm To: Maven Users List Subject: Re: Distribution Management Nope, but you can create a property, and re-use it! On 8/24/06, Douglas Ferguson [EMAIL PROTECTED] wrote: I am looking into setting up an internal repository which would be used for retrieving artifacts built by other members of the team and also other 3rd party libs that aren't available at ibiblio. If I am reading correctly, I have to define this in 4 places. 1) server defined in settings.xml to setup the user/pass for ssh 2) distribution management in the parent pom file 3) repository section in settings.xml 4) pluginRepository section in settings.xml I noticed that all of these locations have id, name, url. Can I just put the name and url I nthe server setting then reference id in the other 3 places? D- -- Eric Redmond http://codehaus.org/~eredmond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2-WAR] different build output on different machines?
Got it: Maven WAR Plugin -- since I used wrong switch (-U instead of -cpu), SuSE machine had version 2.0 which works WELL (well is undefined in war docs, is well this-way or that way). Fedora, which is a newer installation got only 2.0.1 -- which works just opposite as 2.0 did. Why? When I fix the plugin version in POM, Fedore built properly (or just same bad as SUSE), but it is what i needed. Gosh. ~t~ On 8/25/06, Tamás Cservenák [EMAIL PROTECTED] wrote: More tries:
commons-lang 2.0 is newer than 2.1?
I need to have commons-lang-2.1.jar included in my WAR for displaytag-1.1. However, Acegi Security 1.0.1 depends on commons-lang-2.0.jar. From mvn -X: org.acegisecurity:acegi-security:jar:1.0.1:compile ... commons-lang:commons-lang:jar:2.0:compile (selected for compile) displaytag:displaytag:jar:1.1:compile (selected for compile) commons-lang:commons-lang:jar:2.1:compile (removed - nearer found: 2.0) Why is 2.0 considered newer? I figured the fix would be to exclude commons-lang from acegi-security: dependency groupIdorg.acegisecurity/groupId artifactIdacegi-security/artifactId version1.0.1/version exclusions !-- Maven thinks 2.0 is newer than 2.1 -- exclusion groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId /exclusion However, this results in both 2.0 and 2.1 being added to my WAR. [DEBUG] adding entry WEB-INF/lib/commons-lang-2.0.jar [DEBUG] adding entry WEB-INF/lib/commons-lang-2.1.jar I tried adding the following to my pom explicitly, but no dice. !-- Force commons-lang 2.1 for the displaytag -- dependency groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId version2.1/version /dependency dependency groupIddisplaytag/groupId artifactIddisplaytag/artifactId version1.1/version /dependency Any ideas? Thanks, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: commons-lang 2.0 is newer than 2.1?
On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: displaytag:displaytag:jar:1.1:compile (selected for compile) commons-lang:commons-lang:jar:2.1:compile (removed - nearer found: 2.0) Why is 2.0 considered newer? It's not newer, it's nearer in the dependency graph that Maven constructs. Run with -X and count the levels of indentation to see why it thinks that's true. There are some issues with dependency resolution. Your own project's poms aren't given priority, so you can pick up the 'wrong' version of a dependency transitively, even though it's defined correctly in your own 'parent' pom. It just depends on how far away the definition is from the basedir when you execute mvn. (So it can change depending on where in your own project hierarchy you execute mvn.) Also take a look at this issue that describes a problem with dependencyManagement: http://jira.codehaus.org/browse/MNG-1577 HTH, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: commons-lang 2.0 is newer than 2.1?
I'm not sure why adding it to your POM explicitly didn't work. What was the output of -X in that case? -Stephen On 8/24/06, Matt Raible [EMAIL PROTECTED] wrote: I need to have commons-lang-2.1.jar included in my WAR for displaytag-1.1. However, Acegi Security 1.0.1 depends on commons-lang-2.0.jar. From mvn -X: org.acegisecurity:acegi-security:jar:1.0.1:compile ... commons-lang:commons-lang:jar:2.0:compile (selected for compile) displaytag:displaytag:jar:1.1:compile (selected for compile) commons-lang:commons-lang:jar:2.1:compile (removed - nearer found: 2.0) Why is 2.0 considered newer? I figured the fix would be to exclude commons-lang from acegi-security: dependency groupIdorg.acegisecurity/groupId artifactIdacegi-security/artifactId version1.0.1/version exclusions !-- Maven thinks 2.0 is newer than 2.1 -- exclusion groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId /exclusion However, this results in both 2.0 and 2.1 being added to my WAR. [DEBUG] adding entry WEB-INF/lib/commons-lang-2.0.jar [DEBUG] adding entry WEB-INF/lib/commons-lang-2.1.jar I tried adding the following to my pom explicitly, but no dice. !-- Force commons-lang 2.1 for the displaytag -- dependency groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId version2.1/version /dependency dependency groupIddisplaytag/groupId artifactIddisplaytag/artifactId version1.1/version /dependency Any ideas? Thanks, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Stephen Duncan Jr www.stephenduncanjr.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]