How to configure Maven2 changelog plugin
Hi, this is really a newbie's question: I am trying to configure the changelog plugin in Maven 2, but I don't even know where to put the plugin section in my pom.xml. I tried to stuff it directly into build, into reporting and a few others. I am always getting parse errors. The thing is, that the plugin project page shows sample config snippets, but without any context. So I would appreciate a full sample pom.xml and also a sample command line, as I don't even know which goal to specify. I never used Maven 1.x and am still a Maven 2 newbie, as I said. So I apologise to everybody who thinks this should be crystal-clear. It is not to me, unfortunately. Regards Alexander Kriegisch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Do i have to live with same group name for different project
I have the same issue. I have 10 projects with different groupIds (I several times double checked this) specified in pom files but in the continumm Show Projects page I see 4 groups only, instead of 10. Some projects uses groupIds that doesn't belongs to them. Why? This is started from first time when I use continuum. Now I installed maetsro - 1.0.1. Best regards, Juri. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 12:00 AM To: continuum-users@maven.apache.org Cc: continuum-users@maven.apache.org Subject: Re: Do i have to live with same group name for different project i use continuum 1.0.3.1 and maven 2.0.4 Thanks, Raghurajan Gurunathan Andrew Williams [EMAIL PROTECTED] 07/24/2006 03:53 PM Please respond to continuum-users To: continuum-users@maven.apache.org cc: Subject:Re: Do i have to live with same group name for different project what version of continuum? On Mon, 2006-07-24 at 15:49 -0500, [EMAIL PROTECTED] wrote: yes, and they all different Andrew Williams [EMAIL PROTECTED] 07/24/2006 02:38 PM Please respond to continuum-users To: continuum-users@maven.apache.org cc: Subject:Re: Do i have to live with same group name for different project your poms have a groupId? (assuming maven2 project) Andy On Mon, 2006-07-24 at 13:12 -0500, [EMAIL PROTECTED] wrote: Hi I couldn't figure out what am i doing wrong can any one help pls? i setup my continuum with lot of different projects, but the problem is continuum is automatically picking up the Group name from some where so all my projects have the same group name like the i first project i setup in continuum how can i update this group name? or is there something i can fix without touching continuum database?? Or -- Do i just need to live with this ??? Pls help Thanks, Raghurajan Gurunathan - This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.
NPE with release-plugin and profile
Hi I get a Nullpointerexception when executing a release:prepare and using a profile: (using Maven 2.0.4) mvn -P profilename clean release:prepare (downloding...) [INFO] [release:prepare] [INFO] Resuming release from phase 'run-preparation-goals' [INFO] Executing preparation goals 'clean integration-test'... [INFO] Executing: mvn clean integration-test --no-plugin-updates -P profilename [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at org.apache.maven.project.injection.DefaultProfileInjector.injectPlugins(DefaultProfileInjector.java:147) at org.apache.maven.project.injection.DefaultProfileInjector.injectBuild(DefaultProfileInjector.java:134) at org.apache.maven.project.injection.DefaultProfileInjector.inject(DefaultProfileInjector.java:80) at org.apache.maven.project.DefaultMavenProjectBuilder.injectActiveProfiles(DefaultMavenProjectBuilder.java:998) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:828) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:586) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile(DefaultMavenProjectBuilder.java:298) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:276) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:509) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:441) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:345) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:276) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) *** I can execute the last goal mvn clean integration-test --no-plugin-updates -P profilename manually and it works. I can also use release:prepare with no profile and it works. Any ideas? best regards Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Build Notification
You might try and use the antRunhttp://maven.apache.org/plugins/maven-antrun-plugin/plugin to do this. I know ant as these features. They work with listeners http://ant.apache.org/manual/listeners.html. And they have a mail task http://ant.apache.org/manual/CoreTasks/mail.html. Best regards, Ivo On 7/25/06, Thomas Van Buskirk [EMAIL PROTECTED] wrote: Hi everyone, I know this topic has been covered before, but I was wondering if there have been any updates. I'd like to send build failure notifications to an email address without using Continuum (or other CI tool). Is this possible? Thanks! Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Expansion of maven variables
${project.classpathElements} can be used when your parameter is a List . Here you want to place it in a String. Moreover, I think that the expension done into the pom, and the things done in the plugin is different. So, there is maybe some differences. -- View this message in context: http://www.nabble.com/Expansion-of-maven-variables-tf1996470.html#a5480707 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Build Notification
You can use the antrun plugin to send mail at a given phase of your build. But I don't think you can have this when your build fails. When the maven build fail, it stop. I don't think there is any listener. Did you search in jira to see if there is a feature request? If not, you should maybe introduce it. Gilles -- View this message in context: http://www.nabble.com/Maven-Build-Notification-tf1995888.html#a5480753 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JUnit Output Directory
Ole Ersoy wrote: Hi, Does anyone know whether I can specify which directory a junit test will run in. What kind of output do your Junit tests have? IMHO, Junit shouldn't have any output, except for failure of the test. Junit is about automatised tests. Such test shouldn't have any output. Moreover, if your tests have any output, it should definitly goes in the target directory, not in the src... Denis. -- View this message in context: http://www.nabble.com/JUnit-Output-Directory-tf1993004.html#a5481005 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 execute jar:jar just once?
Wayne Fay wrote: I think you should just move the configuration/ element to be a child inside plugin/, and then remove the executions/ completely. Wayne +1 with Wayne. Should get the resulting part in your build/plugins part: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.1-SNAPSHOT/version configuration archive manifestSections manifestSection nameel4j-config/name manifestEntries Module${el4j-config.module}/Module Files${el4j-config.files}/Files Dependencies${el4j-config.dependencies}/Dependencies /manifestEntries /manifestSection /manifestSections /archive /configuration /plugin What you want to do is change the configuration of the jar plugin, not add a execution of this plugin with a specific configuration Denis. -- View this message in context: http://www.nabble.com/How-to-execute-jar%3Ajar-just-once--tf1993039.html#a5481055 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 URLs with in xdoc files
Manfred Moser-2 wrote: Using http://www.somewhere.net/test=yes%amp;id=12 test just leaves the url as it is, which doesnt work either. Supposedly in M1 you can put but that does not seem to work in M2. What am I missing? Shouldn't this be simple. Correct XML syntax would require: http://www.somewhere.net/test=yesamp;id=12 test Have you tried this (was the % a typo error)? Denis. -- View this message in context: http://www.nabble.com/M2-URLs-with---in-xdoc-files-tf1995074.html#a5481099 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-jar-plugin: include/exclude functionality?
Simon Kitching-2 wrote: I need to build 3 jars from the classes created by a module; a full jar and two jars that contain subsets of the available classes. If you need to build 3 different jars (not taking into account javadoc and sources jar) from a single module, it's probably that this module should be 3 different modules :) If, for whatever reason, you don't want to split up your module in 3 different modules, you have to use the assembly plugin to create customs jars out of your module. Denis. -- View this message in context: http://www.nabble.com/maven-jar-plugin%3A-include-exclude-functionality--tf1995736.html#a5481135 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 configure Maven2 changelog plugin
Alexander Kriegisch wrote: this is really a newbie's question: I am trying to configure the changelog plugin in Maven 2, but I don't even know where to put the plugin section in my pom.xml. I tried to stuff it directly into build, into reporting and a few others. I am always getting parse errors. The configuration should go in the reporting/plugins part. Have a look at http://maven.apache.org/guides/mini/guide-site.html (section Configuring Reports) Alexander Kriegisch wrote: The thing is, that the plugin project page shows sample config snippets, but without any context. So I would appreciate a full sample pom.xml and also a sample command line, as I don't even know which goal to specify. I never used Maven 1.x and am still a Maven 2 newbie, as I said. So I apologise to everybody who thinks this should be crystal-clear. It is not to me, unfortunately. You're right, documentation isn't clear at the moment, but I guess you should read the documentation above, and things would get more clear for you. The maven team is at the moment putting a lot of work on the plugin documentation: http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Documentation?showComments=trueshowCommentArea=true Denis. -- View this message in context: http://www.nabble.com/How-to-configure-Maven2-changelog-plugin-tf1996564.html#a5481183 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NPE with release-plugin and profile
Daniel Schaedler wrote: Hi I get a Nullpointerexception when executing a release:prepare and using a profile: (using Maven 2.0.4) Does your profile attach a specific plugin to any lifecycle goal? Such errors commonly comes from mispelled groupId/artifactId plugins attached to the build lifecycle. Can you show us the content of your profile? Denis. -- View this message in context: http://www.nabble.com/NPE-with-release-plugin-and-profile-tf1996576.html#a5481211 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Generating TOC in sites created in APT or simplified docbook format
Ralf Quebbemann wrote: Looks very promising. That is indeed something I am looking for. Just another question: I am not sure why I must specify an XML file to describe the book's chapters and sections. That information can be extracted from the apt document structure. Is it mandatory to provide that XML file? Currently it is. I'm open to suggestions on how you would structure a document if you're not to use some form of descriptor. I found making a deep directory structure annoying and the same with a special naming convention. Using a descriptor also made it easier to include external content as it's all referenced using IDs instead of file paths. Note that Doxia Book is very much a scratching of a personal itch but it has been useful in the couple of projects I've used it in. For any other interrested parties I've uploaded the new Doxia site which includes an example site to [1]. [1]: http://maven.apache.org/doxia/doxia-example-book/ -- Trygve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Curious behaviour for version element in parent element of pom
Hi, I mention here something that had been discussed many times in this mailing list but wasn't answered usable on my opinion. I have the following parent definiton in my pom which will not work: parent groupIdch.elca.el4j/groupId artifactIdel4j/artifactId version${el4j.version}/version /parent In the ~/.m2/settings.xml I've created a profile which is always active and has property el4j.version set to 1.1-SNAPSHOT. Can someone tell me what I have to do to make this work? Thanks for your help in advance! Cheers, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to configure Maven2 changelog plugin
Alexander Kriegisch wrote: Hi, this is really a newbie's question: I am trying to configure the changelog plugin in Maven 2, but I don't even know where to put the plugin section in my pom.xml. I tried to stuff it directly into build, into reporting and a few others. I am always getting parse errors. The thing is, that the plugin project page shows sample config snippets, but without any context. So I would appreciate a full sample pom.xml and also a sample command line, as I don't even know which goal to specify. I never used Maven 1.x and am still a Maven 2 newbie, as I said. So I apologise to everybody who thinks this should be crystal-clear. It is not to me, unfortunately. We are working on improving the documentation for all plugins. There is a work-in-progress page that you can check out until it has been published officially: http://people.apache.org/~dennisl/maven-changes-plugin/ -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: clover:save-history goal for 2.x?
Hi Michael, -Original Message- From: Michael Waluk [mailto:[EMAIL PROTECTED] Sent: jeudi 20 juillet 2006 22:41 To: Maven Users List Subject: Re: clover:save-history goal for 2.x? Thank you Vincent! I can now generate the history save points, but I was wondering if we can have Maven generate that historical report (HTML) with the nice-looking chart. I think we can use an Ant task to do it like we used to pre-Maven but I was hoping that there would be a plugin configuration point that would cause this historical report page to be generated (and ideally linked to in the standard clover report). Can you let me know if using Ant is the only way to do it? Could you please open a jira issue for this and I'll look into it? Thanks -Vincent On 6/26/06, Vincent Massol [EMAIL PROTECTED] wrote: Michael, Just to let you know that I've released v2.2 of the clover plugin today. It should be on ibiblio in a few hours. -Vincent -Original Message- From: Michael Waluk [mailto:[EMAIL PROTECTED] Sent: vendredi 23 juin 2006 20:41 To: Maven Users List Subject: clover:save-history goal for 2.x? Hi, I was just wondering if anyone (VM?) knows if/when the historical data report will be available in this plugin for Maven 2.x. I don't mean to be pushy, but I was just curious. Or alternatively is anyone creating it by binding an equivalent ant call(s)? Thanks, Michael __ _ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ 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 generate clover historical HTML report?
Dup of previous email... -Vincent -Original Message- From: Michael Waluk [mailto:[EMAIL PROTECTED] Sent: lundi 24 juillet 2006 17:03 To: Maven Users List Subject: How to generate clover historical HTML report? Hi, With the latest version of the clover plugin I can now generate the history save points, but I was wondering if we can have Maven generate that historical report (HTML) with the nice-looking chart. I think we can use an Ant task to do it like we used to pre-Maven but I was hoping that there would be a plugin configuration point that would cause this historical report page to be generated (and ideally linked to in the standard clover report). Can you let me know if using Ant is the only way to do it? Thanks, Michael ___ 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: Expansion of maven variables
Hi Gilles, Thanks for your comments. On Mon, 2006-07-24 at 23:48 -0700, Gilles Scokart wrote: ${project.classpathElements} can be used when your parameter is a List . Here you want to place it in a String. True, and maybe that's the problem. The things that are working are all of type String. The data is magically managed via the declaration: /** * @parameter */ private Properties systemProperties; I believe that it is the plexus container that implements the necessary dependency injection stuff to take the xml in the pom.xml file and map it into a Properties object and assign it to systemProperties. Obviously that code is buried deep down inside plexus where normal mortals can't see. A Properties object does implement Map and therefore potentially supports objects, but the surefire code clearly doesn't support this (and reasonably too): // Add all system properties configured by the user Iterator iter = systemProperties.keySet().iterator(); while ( iter.hasNext() ) { String key = (String) iter.next(); String value = systemProperties.getProperty( key ); System.setProperty( key, value ); } In my case, it would be ok for the classpath to be mapped from a List to a string that the unit tests can parse; I therefore tried ${project.classpathElements.toString()} but unfortunately that didn't work either. Oddly, neither did ${project.artifactId.substring(8)} when used in the properties section, though that expression certainly does work in other places in the pom. Scary; I thought that this variable handling/injection was being managed by Plexus and therefore would work consistently everywhere but that doesn't seem to be the case. If it's not going to be possible to map the classpath into a string so it can be passed as a system property, can anyone else suggest a way for the unit tests to obtain the surefire test-classpath? The unit tests are explicitly run in a custom classloader to isolate them, so even if there is some singleton method that the unit tests could call to obtain a reference to the project object or the surefire plugin object, I expect they wouldn't be able to see it. I see that the existing code explicitly sets basedir and localRepository system properties so unit tests can retrieve these. Maybe this could be generalised.. Moreover, I think that the expension done into the pom, and the things done in the plugin is different. So, there is maybe some differences. Isn't it all done by Plexus? Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NPE with release-plugin and profile
Thanks Denis for the reply Denis Cabasson wrote: Daniel Schaedler wrote: Hi I get a Nullpointerexception when executing a release:prepare and using a profile: (using Maven 2.0.4) Does your profile attach a specific plugin to any lifecycle goal? no, the only plugin configured in the pom is the maven-compiler-plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin and I use wagon-ftp as an extension. Such errors commonly comes from mispelled groupId/artifactId plugins attached to the build lifecycle. But for almost all other goals than the release I get a successful build (compile, test, package, deploy, ...) Can you show us the content of your profile? sure: profiles profile idpan/id activation property nameenv/name valueaaa/value /property /activation build filters filter${basedir}/rsrc/env_aaa.properties/filter /filters /build /profile profile idnca/id activation property nameenv/name valuebbb/value /property /activation build filters filter${basedir}/rsrc/env_bbb.properties/filter /filters /build /profile /profiles Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: changes plugin and jira-report
Hi, thx you for the hint. I tried the snapshot you recommended. But still the same result. When I use the download-URL directly in the browser it shows the correct result. But the file which the plugin creates (jira-results.xml) is in fact a html file. So, sure the code cant read the html file while expecting a xml formatted file. I think there must be a bug between downloading the jira issues and writing the file jira-results.xml. Is that maybe the case?? But how other people could create then the jira-report?? I really appreciate any more info because thats for our project very important. Thank you again and have a nice day, juergen -- View this message in context: http://www.nabble.com/changes-plugin-and-jira-report-tf1992932.html#a5482093 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What to do after a release prepare that fails
Hi, I am using continuum for my projects. I am trying to do my first release. The first time I did a release:prepare it has failed in the middle. So now, if I launch it again, continuum fails to do its scm update because there is modified files in the directory. What's the best practice in this case : is there any way to tell continuum to override every local files either if they are modified ? do I have to delete something by hand ? Regards Seb
Re: findbugs plugin for Maven2
Hi Dennis, thx for your help. i tried what u told me, but still get the following error message: [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org/jaxen/JaxenException [INFO] [INFO] Trace java.lang.NoClassDefFoundError: org/jaxen/JaxenException at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230) at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207) at org.dom4j.tree.AbstractNode.valueOf(AbstractNode.java:189) at edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:125) at edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:88) at edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugins(DetectorFactoryCollection.java:188) at edu.umd.cs.findbugs.DetectorFactoryCollection.init(DetectorFactoryCollection.java:52) at edu.umd.cs.findbugs.DetectorFactoryCollection.instance(DetectorFactoryCollection.java:73) at edu.umd.cs.findbugs.config.UserPreferences.enableAllDetectors(UserPreferences.java:314) at org.codehaus.mojo.findbugs.FindBugsMojo.initialiseFindBugs(FindBugsMojo.java:312) at org.codehaus.mojo.findbugs.FindBugsMojo.executeReport(FindBugsMojo.java:254) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:73) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav a:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 10 seconds [INFO] Finished at: Tue Jul 25 11:08:36 CEST 2006 [INFO] Final Memory: 9M/17M [INFO] It seems to me that there is another plugIn missing. I already tried a dependency to xalan, which i read in another post: dependency groupIdjaxen/groupId artifactIdjaxen/artifactId version1.1-beta-8/version scopecompile/scope /dependency but then i get some strange errors: [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure could not parse error message: warning: [path] bad path element C:\Dokumente und Einstellungen\rcerny\.m2\repository\xa lan\xalan\2.6.0\xercesImpl.jar: no such file or directory warning: [path] bad path element C:\Dokumente und Einstellungen\rcerny\.m2\repository\xalan\xalan\2.6.0\xml-apis.jar: no such file or directory [INFO] [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47 5) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav a:306) at
Re: findbugs plugin for Maven2
Hi Well, that sounds like a bug to me. You should file an issue report about it over at the Mojo project: http://jira.codehaus.org/browse/MOJO -- Dennis Lundberg CodingPlayer wrote: Hi Dennis, thx for your help. i tried what u told me, but still get the following error message: [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org/jaxen/JaxenException [INFO] [INFO] Trace java.lang.NoClassDefFoundError: org/jaxen/JaxenException at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230) at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207) at org.dom4j.tree.AbstractNode.valueOf(AbstractNode.java:189) at edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:125) at edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:88) at edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugins(DetectorFactoryCollection.java:188) at edu.umd.cs.findbugs.DetectorFactoryCollection.init(DetectorFactoryCollection.java:52) at edu.umd.cs.findbugs.DetectorFactoryCollection.instance(DetectorFactoryCollection.java:73) at edu.umd.cs.findbugs.config.UserPreferences.enableAllDetectors(UserPreferences.java:314) at org.codehaus.mojo.findbugs.FindBugsMojo.initialiseFindBugs(FindBugsMojo.java:312) at org.codehaus.mojo.findbugs.FindBugsMojo.executeReport(FindBugsMojo.java:254) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:73) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav a:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 10 seconds [INFO] Finished at: Tue Jul 25 11:08:36 CEST 2006 [INFO] Final Memory: 9M/17M [INFO] It seems to me that there is another plugIn missing. I already tried a dependency to xalan, which i read in another post: dependency groupIdjaxen/groupId artifactIdjaxen/artifactId version1.1-beta-8/version scopecompile/scope /dependency but then i get some strange errors: [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure could not parse error message: warning: [path] bad path element C:\Dokumente und Einstellungen\rcerny\.m2\repository\xa lan\xalan\2.6.0\xercesImpl.jar: no such file or directory warning: [path] bad path element C:\Dokumente und Einstellungen\rcerny\.m2\repository\xalan\xalan\2.6.0\xml-apis.jar: no such file or directory [INFO] [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47 5) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at
Re: Curious behaviour for version element in parent element of pom
Zeltner Martin wrote: In the ~/.m2/settings.xml I've created a profile which is always active and has property el4j.version set to 1.1-SNAPSHOT. Have you tried renaming your property, to another, less error prone, name? (say foobar?) Denis. -- View this message in context: http://www.nabble.com/Curious-behaviour-for-version-element-in-parent-element-of-pom-tf1996891.html#a5482299 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mvn install installs jar as war file in my local repository!
FYI: I've solved the issue. It is a bug in maven-jar-plugin. See http://jira.codehaus.org/browse/MJAR-53 Cheers, Martin -Original Message- From: Zeltner Martin [mailto:[EMAIL PROTECTED] Sent: Montag, 24. Juli 2006 11:14 To: Maven Users List Subject: RE: mvn install installs jar as war file in my local repository! Hi, I paste the poms from chlid to parent project: D:\Projects\EL4J\external\framework\tests\remoting\web\pom.xml: --- ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion !-- Version: $Revision: 640 $ -- !-- URL: $URL: https://svn.sourceforge.net/svnroot/el4j/branches/el4j_1.1-alp ha-m2/el4j /framework/tests/remoting/web/pom.xml $ -- !-- Date: $Date: 2006-07-21 12:31:31 +0200 (Fr, 21 Jul 2006) $ -- !-- Author: $Author: swisswheel $ -- parent groupIdch.elca.el4j.tests/groupId artifactIdel4j-framework-tests-remoting/artifactId version1.1.0-SNAPSHOT/version /parent artifactIdmodule-remoting-tests-web/artifactId version${version.module-remoting-tests}/version packagingwar/packaging nameEL4J web module for remoting tests/name description Test web module for remoting modules of the EL4J framework. /description build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId /plugin /plugins /build dependencies !-- EL4J framework modules -- dependency groupIdch.elca.el4j/groupId artifactIdmodule-remoting_caucho/artifactId typejar/type /dependency dependency groupIdch.elca.el4j/groupId artifactIdmodule-remoting_soap/artifactId typejar/type /dependency dependency groupIdch.elca.el4j/groupId artifactIdmodule-web/artifactId typejar/type /dependency dependency groupIdch.elca.el4j/groupId artifactIdmodule-env/artifactId typejar/type /dependency dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId /dependency /dependencies /project +++ D:\Projects\EL4J\external\framework\tests\remoting\pom.xml: --- ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion !-- Version: $Revision: 640 $ -- !-- URL: $URL: https://svn.sourceforge.net/svnroot/el4j/branches/el4j_1.1-alp ha-m2/el4j /framework/tests/remoting/pom.xml $ -- !-- Date: $Date: 2006-07-21 12:31:31 +0200 (Fr, 21 Jul 2006) $ -- !-- Author: $Author: swisswheel $ -- parent groupIdch.elca.el4j.tests/groupId artifactIdel4j-framework-tests/artifactId version1.1.0-SNAPSHOT/version /parent artifactIdel4j-framework-tests-remoting/artifactId packagingpom/packaging nameEL4J module for remoting tests/name description Test module for remoting modules of the EL4J framework. /description modules moduleweb/module modulefunctional-tests/module /modules dependencyManagement dependencies !-- module-remoting-tests -- dependency groupIdch.elca.el4j.tests/groupId artifactIdmodule-remoting-tests-web/artifactId version${version.module-remoting-tests}/version typejar/type /dependency dependency groupIdch.elca.el4j.tests/groupId artifactIdmodule-remoting-tests-web/artifactId version${version.module-remoting-tests}/version typewar/type scopeprovided/scope /dependency /dependencies /dependencyManagement /project +++ D:\Projects\EL4J\external\framework\tests\pom.xml: --- ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
RE: Curious behaviour for version element in parent element of pom
Yes, (tried abc) but it won't. Here's my output: ** $ mvn -N install [INFO] Scanning for projects... [INFO] [INFO] Building EL4J framework [INFO]task-segment: [install] [INFO] Downloading: http://el4.elca-services.ch/el4j/maven2repository/ch/elca/el4j/el4j/${ab c}/el4j-${abc}.pom [WARNING] Unable to get resource from repository el4jPluginRepository (http://el4.elca-services.ch/el4j/maven2repository ) Downloading: http://repo1.maven.org/maven2/ch/elca/el4j/el4j/${abc}/el4j-${abc}.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://el4.elca-services.ch/el4j/maven2repository/ch/elca/el4j/el4j/${ab c}/el4j-${abc}.pom [WARNING] Unable to get resource from repository el4jModuleRepository (http://el4.elca-services.ch/el4j/maven2repository ) Downloading: http://repo1.maven.org/maven2/ch/elca/el4j/el4j/${abc}/el4j-${abc}.pom [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: ch.elca.el4j ArtifactId: el4j Version: ${abc} Reason: Unable to download the artifact from any repository ch.elca.el4j:el4j:pom:${abc} from the specified remote repositories: el4jPluginRepository (http://el4.elca-services.ch/el4j/maven2repository), central (http://repo1.maven.org/maven2), el4jModuleRepository (http://el4.elca-services.ch/el4j/maven2repository) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Tue Jul 25 11:44:32 CEST 2006 [INFO] Final Memory: 3M/5M [INFO] FATAL ERROR: Unable to configure the Maven application For more information, run with the -e flag ** Cheers, Martin -Original Message- From: Denis Cabasson [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. Juli 2006 11:34 To: users@maven.apache.org Subject: Re: Curious behaviour for version element in parent element of pom Zeltner Martin wrote: In the ~/.m2/settings.xml I've created a profile which is always active and has property el4j.version set to 1.1-SNAPSHOT. Have you tried renaming your property, to another, less error prone, name? (say foobar?) Denis. -- View this message in context: http://www.nabble.com/Curious-behaviour-for-version-element-in -parent-element-of-pom-tf1996891.html#a5482299 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: How to configure Maven2 changelog plugin
Thanks for those hints. I think I got the POM stuff right now, but the next problem is already there. 'mvn site' says: The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist or no valid version could be found Alexander Kriegisch wrote: this is really a newbie's question: I am trying to configure the changelog plugin in Maven 2, but I don't even know where to put the plugin section in my pom.xml. I tried to stuff it directly into build, into reporting and a few others. I am always getting parse errors. The configuration should go in the reporting/plugins part. Have a look at http://maven.apache.org/guides/mini/guide-site.html (section Configuring Reports) Alexander Kriegisch wrote: The thing is, that the plugin project page shows sample config snippets, but without any context. So I would appreciate a full sample pom.xml and also a sample command line, as I don't even know which goal to specify. I never used Maven 1.x and am still a Maven 2 newbie, as I said. So I apologise to everybody who thinks this should be crystal-clear. It is not to me, unfortunately. You're right, documentation isn't clear at the moment, but I guess you should read the documentation above, and things would get more clear for you. The maven team is at the moment putting a lot of work on the plugin documentation: http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Documentation?showComments=trueshowCommentArea=true Denis. -- View this message in context: http://www.nabble.com/How-to-configure-Maven2-changelog-plugin-tf1996564.html#a5481183 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: How to configure Maven2 changelog plugin
See http://mail-archives.apache.org/mod_mbox/maven-users/200607.mbox/[EMAIL PROTECTED] and http://maven.apache.org/guides/development/guide-testing-development-plugins.html -- Dennis Lundberg Alexander Kriegisch wrote: Thanks for those hints. I think I got the POM stuff right now, but the next problem is already there. 'mvn site' says: The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist or no valid version could be found Alexander Kriegisch wrote: this is really a newbie's question: I am trying to configure the changelog plugin in Maven 2, but I don't even know where to put the plugin section in my pom.xml. I tried to stuff it directly into build, into reporting and a few others. I am always getting parse errors. The configuration should go in the reporting/plugins part. Have a look at http://maven.apache.org/guides/mini/guide-site.html (section Configuring Reports) Alexander Kriegisch wrote: The thing is, that the plugin project page shows sample config snippets, but without any context. So I would appreciate a full sample pom.xml and also a sample command line, as I don't even know which goal to specify. I never used Maven 1.x and am still a Maven 2 newbie, as I said. So I apologise to everybody who thinks this should be crystal-clear. It is not to me, unfortunately. You're right, documentation isn't clear at the moment, but I guess you should read the documentation above, and things would get more clear for you. The maven team is at the moment putting a lot of work on the plugin documentation: http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Documentation?showComments=trueshowCommentArea=true Denis. -- View this message in context: http://www.nabble.com/How-to-configure-Maven2-changelog-plugin-tf1996564.html#a5481183 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to configure Maven2 changelog plugin
Thanks again. This is also helpful. Forgive me for asking another dumb question: I was talking about the changelog plugin (maven-changelog-plugin). Is it the same as the changes plugin? I want a CVS changelog, not a Jira report. Regards Alexander Kriegisch See http://mail-archives.apache.org/mod_mbox/maven-users/200607.mbox/[EMAIL PROTECTED] and http://maven.apache.org/guides/development/guide-testing-development-plugins.html -- Dennis Lundberg Alexander Kriegisch wrote: Thanks for those hints. I think I got the POM stuff right now, but the next problem is already there. 'mvn site' says: The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist or no valid version could be found Alexander Kriegisch wrote: this is really a newbie's question: I am trying to configure the changelog plugin in Maven 2, but I don't even know where to put the plugin section in my pom.xml. I tried to stuff it directly into build, into reporting and a few others. I am always getting parse errors. The configuration should go in the reporting/plugins part. Have a look at http://maven.apache.org/guides/mini/guide-site.html (section Configuring Reports) Alexander Kriegisch wrote: The thing is, that the plugin project page shows sample config snippets, but without any context. So I would appreciate a full sample pom.xml and also a sample command line, as I don't even know which goal to specify. I never used Maven 1.x and am still a Maven 2 newbie, as I said. So I apologise to everybody who thinks this should be crystal-clear. It is not to me, unfortunately. You're right, documentation isn't clear at the moment, but I guess you should read the documentation above, and things would get more clear for you. The maven team is at the moment putting a lot of work on the plugin documentation: http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Documentation?showComments=trueshowCommentArea=true Denis. -- View this message in context: http://www.nabble.com/How-to-configure-Maven2-changelog-plugin-tf1996564.html#a5481183 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] - 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 configure Maven2 changelog plugin
/me Slaps palm to forehead Doh. Of course you were, my bad. Here's a link to the docs for that plugin. http://maven.apache.org/plugins/maven-changelog-plugin/ They are in the process of being rewritten. Is you want to track that check this issue in JIRA: http://jira.codehaus.org/browse/MCHANGELOG-40 Alexander Kriegisch wrote: Thanks again. This is also helpful. Forgive me for asking another dumb question: I was talking about the changelog plugin (maven-changelog-plugin). Is it the same as the changes plugin? I want a CVS changelog, not a Jira report. Regards Alexander Kriegisch See http://mail-archives.apache.org/mod_mbox/maven-users/200607.mbox/[EMAIL PROTECTED] and http://maven.apache.org/guides/development/guide-testing-development-plugins.html -- Dennis Lundberg Alexander Kriegisch wrote: Thanks for those hints. I think I got the POM stuff right now, but the next problem is already there. 'mvn site' says: The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist or no valid version could be found Alexander Kriegisch wrote: this is really a newbie's question: I am trying to configure the changelog plugin in Maven 2, but I don't even know where to put the plugin section in my pom.xml. I tried to stuff it directly into build, into reporting and a few others. I am always getting parse errors. The configuration should go in the reporting/plugins part. Have a look at http://maven.apache.org/guides/mini/guide-site.html (section Configuring Reports) Alexander Kriegisch wrote: The thing is, that the plugin project page shows sample config snippets, but without any context. So I would appreciate a full sample pom.xml and also a sample command line, as I don't even know which goal to specify. I never used Maven 1.x and am still a Maven 2 newbie, as I said. So I apologise to everybody who thinks this should be crystal-clear. It is not to me, unfortunately. You're right, documentation isn't clear at the moment, but I guess you should read the documentation above, and things would get more clear for you. The maven team is at the moment putting a lot of work on the plugin documentation: http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Documentation?showComments=trueshowCommentArea=true Denis. -- View this message in context: http://www.nabble.com/How-to-configure-Maven2-changelog-plugin-tf1996564.html#a5481183 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] - 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] -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Connection refused during site-deploy
I'm trying to do a site deploy for my project to a locally(on my XP machine) running apache server.I've added the username/password I use to log into my PC , into the setting.xml file as : servers server idiam-003191.mycompany.co.za/id usernamemutonhj/username passwordmypassword/password /server /servers then in my pom.xml I have : distributionManagement site ideportal.site/id nameJ2EE application called ePortal/name urlscp://iam-003191.mycompany.co.za/websites/eportal/url /site /distributionManagement However , when I run mvn site-deploy , I'm getting a connection refused error shown below : [DEBUG] -- end configuration -- [INFO] [site:deploy] Session error: com.jcraft.jsch.JSchException: Session.connect: java.net.Connect Exception: Connection refused: connect scp://iam-003191.mycompany.co.za/websites/eportal - Session: Disconnecting scp://iam-003191.mycompany.co.za/websites/eportal - Session: Disconnected [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error uploading site Embedded error: Cannot connect. Reason: Session.connect: java.net.ConnectExcepti on: Connection refused: connect [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (DefaultLi fecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) I know I can use the file url option but would rather cater for the scp option. Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
AW: multi-module project site: link to module sites
Hi Valerio, sorry for the late reply. Just the case you have something like: +Project | +-Module A | +-Module B | +-Module C In your parent pom you have set up the following parameters in order to stage your site completely. 1. the Distribution Management Tag distributionManagement site idmy-site/id nameMy Website/name urlscpexe://www.myPath.toMyProject//url /site /distributionManagement This setting will be used to place the full website into the directory c:\fullsite\www.myPath.toMyProject 2. The Module Tag modules moduleA/module moduleB/module moduleC/module /modules In order to tell maven which submodules are present. The last thing is to use the full pathname and not a relative one for the stagingDirectory Parameter: e.g. mvn site:stage -DstagingDirectory=C:\fullsite Maven itself will find out which subprojects are present and stage the content of the site to the specified directory. If only the site of the parent projects is available, than you did not specify the modules section in the pom. Please refer to the following pages for details: http://maven.apache.org/plugins/maven-site-plugin/howto.html and http://maven.apache.org/guides/mini/guide-site.html Within my project everything works fine. Hope this helps, Arne -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Valerio Schiavoni Gesendet: Samstag, 22. Juli 2006 15:56 An: Maven Users List Betreff: Re: multi-module project site: link to module sites Hello Arne, On 7/21/06, Arne Sutor [EMAIL PROTECTED] wrote: Maven first creates in each module a directory staging and than copies everything in the directory c:\fullsite. i launched mvn clean site:stage -DstagingDirectory=fullsite/ the content of fullsite is only about the parent project website. that is, the copy of module websites has not being performed... did you specify a particular revision for the maven-site-plugin ? thanks, valerio -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
modules and assembly problem
Hi all, I still have problem with the assembly plugin. :( I'm trying to build a zip file of my project which includes the modules's jars and there dependencies. With the standard goals jar-with-dependencies it works fine on each modules. But when I call the goal from the parent pom, the assembly is empty. I'm using 2.2-SNAPSHOP version of the assembly plugin. My project struture is as follows : * Parent Projet * pom.xml *-- Module 1 * pom.xml *-- Module 2 * pom.xml Here is my descriptor file : assembly idjar-with-dependencies/id formats formatzip/format formatdir/format /formats includeBaseDirectoryfalse/includeBaseDirectory fileSets fileSet directorytarget/classes/directory outputDirectory//outputDirectory /fileSet /fileSets dependencySets dependencySet outputDirectory//outputDirectory unpackfalse/unpack scoperuntime/scope /dependencySet /dependencySets /assembly Thank's all Damien -- -- Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED] -- | http://www.improve-foundations.com __/ \__ | http://www.improve.fr improve | http://www.application-servers.com /_\-| http://www.improve-technologies.com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: modules and assembly problem
On 7/25/06, Damien Viel [EMAIL PROTECTED] wrote: With the standard goals jar-with-dependencies it works fine on each modules. But when I call the goal from the parent pom, the assembly is empty. [del] assembly idjar-with-dependencies/id formats formatzip/format formatdir/format /formats includeBaseDirectoryfalse/includeBaseDirectory fileSets fileSet directorytarget/classes/directory outputDirectory//outputDirectory /fileSet /fileSets dependencySets dependencySet outputDirectory//outputDirectory unpackfalse/unpack scoperuntime/scope /dependencySet /dependencySets /assembly Your parent pom doesn't have any dependency hence it won't include anything. You will need to create your own assembly descriptor and make use of the moduleSets. I've never used the moduleSets myself. Our build includes a client side app, an ear, and a standalone application. So the way I build a distributable is to have another module called project-build which has dependencies on the binary assemblies of these other projects and to use dependencySet to pull them in. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connection refused during site-deploy
Hi! servers server idiam-003191.mycompany.co.za/id usernamemutonhj/username passwordmypassword/password /server /servers then in my pom.xml I have : distributionManagement site ideportal.site/id nameJ2EE application called ePortal/name urlscp://iam-003191.mycompany.co.za/websites/eportal/url /site /distributionManagement You have got to make the IDs match. Change ideportal.site/id to idiam-003191.mycompany.co.za/id and it should work. Otherwise Maven doesn't know to find the credentials for your server. -- Mit freundlichen Grüßen / Kind regards Hendrik Busch - Stellv. Leiter der Softwareentwicklung LexisNexis Deutschland GmbH http://www.lexisnexis.de Feldstiege 100 D-48161 Münster phone +49 (0) 2533-9300-455 fax +49 (0) 02533-9300-50 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Wagon, WebDAV and HTTP Proxy
Hi people, Last night, I configured my deploys with webDAV wagon. Everything worked perfect. But, now in my office and behind a http proxy, I can't get connected to my server. I've no problems downloadings any library or plugin from Internet, because I've configured in my settings.xml my http proxy. It seems WebDAV wagon doesn't use this settings. is there any way to deploy in my server behind a firewall?? Thanks! German.- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] maven-changelog-plugin - Has someone found a repository for it?
Hi all, I tried to get the change log reporting plug-in up and running. Unfortunately there is during the site goal I get an error saying, that the plugin could not be found or not a valid version is specified. My pom looks in excerps like this: pluginRepositories pluginRepository idibiblio/id nameibiblio/name urlhttp://www.ibiblio.org/maven2/url releasesenabledtrue/enabled/releases snapshotsenabledtrue/enabled/snapshots /pluginRepository /pluginRepositories reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId reportSets reportSet iddual-report/id configuration typerange/type range30/range /configuration reports reportchangelog/report reportdev-activity/report /reports /reportSet /reportSets /plugin /plugins /reporting After I browsed the ibibleo library I found out that the specified directory org/apache/maven/plugins/maven-changelog-plugin does not exists. Did anyone get the changelog report working with the correct repository settings? Thanks for an answer, Arne
Re: [M2] maven-changelog-plugin - Has someone found a repository for it?
Hi Arne That plugin has not been release yet, so it is only available in the Apache snapshot repository. You will need to configure that. See this link for info on how to do that: http://maven.apache.org/guides/development/guide-testing-development-plugins.html -- Dennis Lundberg Arne Sutor wrote: Hi all, I tried to get the change log reporting plug-in up and running. Unfortunately there is during the site goal I get an error saying, that the plugin could not be found or not a valid version is specified. My pom looks in excerps like this: pluginRepositories pluginRepository idibiblio/id nameibiblio/name urlhttp://www.ibiblio.org/maven2/url releasesenabledtrue/enabled/releases snapshotsenabledtrue/enabled/snapshots /pluginRepository /pluginRepositories reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId reportSets reportSet iddual-report/id configuration typerange/type range30/range /configuration reports reportchangelog/report reportdev-activity/report /reports /reportSet /reportSets /plugin /plugins /reporting After I browsed the ibibleo library I found out that the specified directory org/apache/maven/plugins/maven-changelog-plugin does not exists. Did anyone get the changelog report working with the correct repository settings? Thanks for an answer, Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: modules and assembly problem
Thank for your help. I've tried your solution with a dedicated project for the build which has dependencies on the binary assemblies. But my assembly still empty. Here is my new pom of the build-project : project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdfr.toto.corp/groupId artifactIdproject-build/artifactId packagingpom/packaging namePROJECT-BUILD/name version${buildVersion}/version url${siteURL}/url build sourceDirectory${basedir}/src/java/sourceDirectory testSourceDirectory${basedir}/src/test/testSourceDirectory plugins plugin artifactIdmaven-assembly-plugin/artifactId version2.2-SNAPSHOT/version /plugin /plugins /build dependencies dependency groupIdfr.toto.corp/groupId artifactIdmod1/artifactId version1.3/version /dependency dependency groupIdfr.toto.corp/groupId artifactIdmod2/artifactId version1.0/version /dependency /dependencies /project And I call the pre-defined Descriptor Files : jar-with-dependencies. http://maven.apache.org/plugins/maven-assembly-plugin/predefined.html Damien Barrie Treloar a écrit : On 7/25/06, Damien Viel [EMAIL PROTECTED] wrote: With the standard goals jar-with-dependencies it works fine on each modules. But when I call the goal from the parent pom, the assembly is empty. [del] assembly idjar-with-dependencies/id formats formatzip/format formatdir/format /formats includeBaseDirectoryfalse/includeBaseDirectory fileSets fileSet directorytarget/classes/directory outputDirectory//outputDirectory /fileSet /fileSets dependencySets dependencySet outputDirectory//outputDirectory unpackfalse/unpack scoperuntime/scope /dependencySet /dependencySets /assembly Your parent pom doesn't have any dependency hence it won't include anything. You will need to create your own assembly descriptor and make use of the moduleSets. I've never used the moduleSets myself. Our build includes a client side app, an ear, and a standalone application. So the way I build a distributable is to have another module called project-build which has dependencies on the binary assemblies of these other projects and to use dependencySet to pull them in. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED] -- | http://www.improve-foundations.com __/ \__ | http://www.improve.fr improve | http://www.application-servers.com /_\-| http://www.improve-technologies.com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: changes plugin and jira-report
Hi, as an additional Info: In the jira-result.xml (which is on my site a html formatted file) I found http://localhost:8083/jira/secure/IssueNavigator.jspa?; and connection refused. But in the log (I posted before) it says the correct url which actually shows the correct issues manually. Maybe this points to something This thing already takes hours and I couldnt solve it right now. Please Help ! Have a nice day, juergen -- View this message in context: http://www.nabble.com/changes-plugin-and-jira-report-tf1992932.html#a5484663 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Connection refused during site-deploy
On 7/25/06, Hendrik Busch [EMAIL PROTECTED] wrote: Hi! servers server idiam-003191.mycompany.co.za/id usernamemutonhj/username passwordmypassword/password /server /servers then in my pom.xml I have : distributionManagement site ideportal.site/id nameJ2EE application called ePortal/name urlscp://iam-003191.mycompany.co.za/websites/eportal/url /site /distributionManagement You have got to make the IDs match. Change ideportal.site/id to idiam-003191.mycompany.co.za/id and it should work. Otherwise Maven doesn't know to find the credentials for your server. I've done that but still getting the same error message: Session error: com.jcraft.jsch.JSchException: Session.connect: java.net.Connect Exception: Connection refused: connect scp://iam-003191.mycompany.co.za/htdocs/websites/eportal - Session: Disconnecting scp://iam-003191.mycompany.co.za/htdocs/websites/eportal - Session: Disconnected [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error uploading site Embedded error: Cannot connect. Reason: Session.connect: java.net.ConnectExcepti on: Connection refused: connect -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Latex plugin with pdflatex
Is anyone successfully using th Maven Latex plugin? Jaxen's build keeps dying with a maeesage about can't find file ` pdflatex '. [latex] running command: pdflatex pdflatex \nonstopmode\input{/Users/elharo/Projects/Jaxen/target/latex/intro-slides.tex} [latex] This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) [latex] entering extended mode [latex] ! I can't find file ` pdflatex '. [latex] to be read again [latex] \nonstopmode [latex] * pdflatex \nonstopmode [latex] \input{/Users/elharo/Projects/Jaxen/target/latex... ^C [latex] Please type another input file name: [latex] command exitcode = 143 Any ideas? http://jira.codehaus.org/browse/JAXEN-150 -- Elliotte Rusty Harold [EMAIL PROTECTED] Java I/O 2nd Edition Just Published! http://www.cafeaulait.org/books/javaio2/ http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jdepend plugin
The plugin fails to download with the error message :\ [INFO] Velocity successfully started. [WARNING] While downloading netbeans:cvslib:3.6 This artifact has been relocated to org.netbeans:lib:3.6. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.codehaus.mojo:jdepend-maven-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch http://mojo.codehaus.org/jdepend-maven-plugin/usage.html says groupId should be org.codehaus.mojo. Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: changes plugin and jira-report
Ok, I found now the solution and would like to share with others: In the source JiraDownloader2.java from the plugin source I found determineProxy( cl ); Here the proxy from the settings.xml will be determined. But this didnt work in my network. The proxy is necessary to connect to repositories but for the access to my JIRA-Server it wont work because its inside the internal network. The reason its the security policy in our network but if other users have similar effects maybe a parameter may help. Maybe there are other ways too but I am more than happy (after hours) it works for me. Juergen -- View this message in context: http://www.nabble.com/changes-plugin-and-jira-report-tf1992932.html#a5485712 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven-jar-plugin: include/exclude functionality?
Another option is to build your subset jars and attach them as artifacts with the build-helper plugin. See: http://www.nabble.com/-maven2--Generating-several-artifacts-per-project- --tf1689630.html#a4630045 Chris Hilton -Original Message- From: Denis Cabasson [mailto:[EMAIL PROTECTED] Sent: Tuesday, 25 July, 2006 02:37 To: users@maven.apache.org Subject: Re: maven-jar-plugin: include/exclude functionality? Simon Kitching-2 wrote: I need to build 3 jars from the classes created by a module; a full jar and two jars that contain subsets of the available classes. If you need to build 3 different jars (not taking into account javadoc and sources jar) from a single module, it's probably that this module should be 3 different modules :) If, for whatever reason, you don't want to split up your module in 3 different modules, you have to use the assembly plugin to create customs jars out of your module. Denis. -- View this message in context: http://www.nabble.com/maven-jar-plugin%3A-include-exclude-func tionality--tf1995736.html#a5481135 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: multi-module project site: link to module sites
Hello Arne, On 7/25/06, Arne Sutor [EMAIL PROTECTED] wrote: The last thing is to use the full pathname and not a relative one for the stagingDirectory Parameter: e.g. mvn site:stage -DstagingDirectory=C:\fullsite i was doing everything correct but this little detail. (i was using mvn site:stage -DstagingDirectory=fullsite/ , as a relative directory from the root directory of the project). Specifying the absolute path to the staging directory seems to solve this.. thanks a lot, valerio -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni
change-log plugin fails with java.lang.IllegalArgumentException:cvs repository connection string doesn't contain six tokens
The changelog-maven-plugin is failing with a message saying : [ERROR] FATAL ERROR [INFO] [INFO] cvs repository connection string doesn't contain six tokens [INFO] [INFO] Trace java.lang.IllegalArgumentException: cvs repository connection string doesn't con tain six tokens at org.apache.maven.util.RepositoryUtils.splitSCMConnection (RepositoryUt ils.java:91) at org.apache.maven.cvslib.CvsChangeLogGenerator.getScmLogCommand (CvsCha ngeLogGenerator.java:123) at org.apache.maven.cvslib.CvsChangeLogGenerator.getEntries (CvsChangeLog Generator.java:94) at org.apache.maven.changelog.ChangeLog.generateSets(ChangeLog.java :430) at org.apache.maven.changelog.ChangeLog.doExecute(ChangeLog.java :369) at org.apache.maven.changelog.ChangeLogReport.getChangeLog (ChangeLogRepo The working connection string I'm using is scm connection scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev /connection developerConnection scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev /developerConnection /scm -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
[m1.1] Unable to deploy to remote repository
Hi, I have been using maven 1.0.2 for more than a year now. I use it to make all of our releases on our internal repository. I have setup maven-proxy to access that repository and eveything works fine. In my build.properties file I have the following settings: maven.repo.RF1=sftp://gdps maven.repo.RF1.username=cvs maven.repo.RF1.password=*** maven.repo.RF1.directory=/cvs/maven/repo-local I tried to migrate to maven 1.1-beta3-SNAPSHOT (20060723) and I am unable to deploy something to the remote repository. (I tried jar:deploy, plugin:repository-deploy, etc all with the same exception). My configuration seems ok based on the maven-artifact-plugin doc. Looking on google I saw that we need to put the trust attribute to true, (if it is the ant task that is used by maven), but didn't find any way to configure it. I absolutely have to use sftp or scp. Here is the complete exception trace: Failed to deploy to: RF1 Reason: org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect. Reason: reject HostKey: gdps org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect. Reason: reject HostKey: gdps at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection( AbstractSshWagon.java:232) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java :143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java :106) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deployFiles( DefaultArtifactDeployer.java:372) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doDeploy( DefaultArtifactDeployer.java:320) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleDeploy( DefaultArtifactDeployer.java:119) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy (DefaultArtifactDeployer.java:90) at org.apache.maven.artifact.deployer.DeployBean.deploy( DeployBean.java:155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.jelly.impl.DynamicBeanTag.doTag( DynamicBeanTag.java:180) at org.apache.commons.jelly.impl.StaticTagScript.run( StaticTagScript.java:102) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java :95) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java :79) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java :95) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag( MavenGoalTag.java:82) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction (MavenGoalTag.java:115) at org.apache.maven.werkz.Goal.fire(Goal.java:647) at org.apache.maven.werkz.Goal.attain(Goal.java:582) at org.apache.maven.plugin.PluginManager.attainGoals( PluginManager.java:709) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:264) at org.apache.maven.cli.App.doMain(App.java:546) at org.apache.maven.cli.App.main(App.java:1359) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: com.jcraft.jsch.JSchException: reject HostKey: gdps at com.jcraft.jsch.Session.checkHost(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection( AbstractSshWagon.java:221) ... 31 more Thanks, Daniel
Exclude certain files during tests
Hi, I have JUnit and HTTPUnit tests in my project, but I dont want surefire to execute my HTTPUnit tests. I tried a testExcludes testExclude implementation=java.lang.Stringpattern/testExclude /testExcludes in the configuration of the Maven Compiler Plugin, without success... (maybe my pattern was just wrong?) Is there a solution for excluding everything in a directory wich is part of my test dir? (Namely I have a ui/ directory with all the HTTPUnit tests below my default test directory). If there is no other way I have to seperate JUnit and HTTPUnit test in differen root folder, say src/test and src/uitest or someting... Regards Nick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: change-log plugin fails with java.lang.IllegalArgumentException:cvs repository connection string doesn't contain six tokens
Jeff Mutonho wrote: The changelog-maven-plugin is failing with a message saying : Have you tried using the maven-changelog-plugin instead? I think the former codehaus project has been moved to maven itself. Maven-changelog-plugin may fix your problem (you'll have to use a maven snapshot repository). Cheers! Denis. -- View this message in context: http://www.nabble.com/change-log-plugin-fails-with-java.lang.IllegalArgumentException%3Acvs-repository-connection-string-doesn%27t-contain-six-tokens-tf1998473.html#a5486549 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Exclude certain files during tests
Nick Panienski wrote: Hi, I have JUnit and HTTPUnit tests in my project, but I dont want surefire to execute my HTTPUnit tests. I tried a testExcludes testExclude implementation=java.lang.Stringpattern/testExclude /testExcludes in the configuration of the Maven Compiler Plugin, without success... (maybe my pattern was just wrong?) Aren't you confusing Maven 1.x syntax with Maven 2? If you're using maven 2, the correct syntax is (should be), in the build/plugins part: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration excludes excludeui/**/exclude /excludes /configuration /plugin You can find more information about the surefire plugin here: http://maven.apache.org/plugins/maven-surefire-plugin/howto.html Cheers! Denis. -- View this message in context: http://www.nabble.com/Exclude-certain-files-during-tests-tf1998613.html#a5486614 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jdepend plugin
Jeff Mutonho wrote: The plugin fails to download with the error message :\ [INFO] Velocity successfully started. [WARNING] While downloading netbeans:cvslib:3.6 This artifact has been relocated to org.netbeans:lib:3.6. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.codehaus.mojo:jdepend-maven-plugin' does not exist or no valid version could be found This plugin hasn't been released yet. You need to include the codehaus snapshot repository, as described here: http://mojo.codehaus.org/using-sandbox-plugins.html Cheers! Denis. -- View this message in context: http://www.nabble.com/jdepend-plugin-tf1998392.html#a5486669 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JavaDocs report not appearing
JavaDocs does not appear under the generated reports , even though I have configured my pom.xml to generate javadoc reports as shown below: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration aggregatetrue/aggregate links linkhttp://java.sun.com/j2se/1.4.2/docs/api/link linkhttp://plexus.codehaus.org/ref/1.0-alpha-9/apidocs/link /links aggregatetrue/aggregate /configuration /plugin The other reports such as PMD,CPD ,etc are generated. Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Connection refused during site-deploy
Jeff Mutonho wrote: I've done that but still getting the same error message: Session error: com.jcraft.jsch.JSchException: Session.connect: java.net.Connect Exception: Connection refused: connect scp://iam-003191.mycompany.co.za/htdocs/websites/eportal - Session: Disconnecting scp://iam-003191.mycompany.co.za/htdocs/websites/eportal - Session: Disconnected [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error uploading site Embedded error: Cannot connect. Reason: Session.connect: java.net.ConnectExcepti on: Connection refused: connect -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 Have you tried connecting from the command line, or with a ssh client, using you username/password? Denis. -- View this message in context: http://www.nabble.com/Connection-refused-during-site-deploy-tf1997630.html#a5486702 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: modules and assembly problem
I guess you can't add the assembly plugin to a pom packaging project... I have to add the assembly-plugin to each of my modules I wanted to be assembled. But I'm certainly interested in a better solution :) Denis. Damien Viel wrote: Thank for your help. I've tried your solution with a dedicated project for the build which has dependencies on the binary assemblies. But my assembly still empty. Here is my new pom of the build-project : project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdfr.toto.corp/groupId artifactIdproject-build/artifactId packagingpom/packaging namePROJECT-BUILD/name version${buildVersion}/version url${siteURL}/url build sourceDirectory${basedir}/src/java/sourceDirectory testSourceDirectory${basedir}/src/test/testSourceDirectory plugins plugin artifactIdmaven-assembly-plugin/artifactId version2.2-SNAPSHOT/version /plugin /plugins /build dependencies dependency groupIdfr.toto.corp/groupId artifactIdmod1/artifactId version1.3/version /dependency dependency groupIdfr.toto.corp/groupId artifactIdmod2/artifactId version1.0/version /dependency /dependencies /project And I call the pre-defined Descriptor Files : jar-with-dependencies. http://maven.apache.org/plugins/maven-assembly-plugin/predefined.html Damien Barrie Treloar a écrit : On 7/25/06, Damien Viel [EMAIL PROTECTED] wrote: With the standard goals jar-with-dependencies it works fine on each modules. But when I call the goal from the parent pom, the assembly is empty. [del] assembly idjar-with-dependencies/id formats formatzip/format formatdir/format /formats includeBaseDirectoryfalse/includeBaseDirectory fileSets fileSet directorytarget/classes/directory outputDirectory//outputDirectory /fileSet /fileSets dependencySets dependencySet outputDirectory//outputDirectory unpackfalse/unpack scoperuntime/scope /dependencySet /dependencySets /assembly Your parent pom doesn't have any dependency hence it won't include anything. You will need to create your own assembly descriptor and make use of the moduleSets. I've never used the moduleSets myself. Our build includes a client side app, an ear, and a standalone application. So the way I build a distributable is to have another module called project-build which has dependencies on the binary assemblies of these other projects and to use dependencySet to pull them in. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED] -- | http://www.improve-foundations.com __/ \__ | http://www.improve.fr improve | http://www.application-servers.com /_\-| http://www.improve-technologies.com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/modules-and-assembly-problem-tf1997680.html#a5486737 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 URLs with in xdoc files
Denis Cabasson wrote: Manfred Moser-2 wrote: Using http://www.somewhere.net/test=yes%amp;id=12 test just leaves the url as it is, which doesnt work either. Supposedly in M1 you can put but that does not seem to work in M2. What am I missing? Shouldn't this be simple. Correct XML syntax would require: http://www.somewhere.net/test=yesamp;id=12 test Have you tried this (was the % a typo error)? Thanks Denis. That worked. Don't ask me why I had a % instead of a there... manfred - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latex plugin with pdflatex
The latex plugin has been deprecated in maven 1.1 because it wasn't functional. I could never get it to work myself. -Lukas Elliotte Harold wrote: Is anyone successfully using th Maven Latex plugin? Jaxen's build keeps dying with a maeesage about can't find file ` pdflatex '. [latex] running command: pdflatex pdflatex \nonstopmode\input{/Users/elharo/Projects/Jaxen/target/latex/intro-slides.tex} [latex] This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) [latex] entering extended mode [latex] ! I can't find file ` pdflatex '. [latex] to be read again [latex] \nonstopmode [latex] * pdflatex \nonstopmode [latex] \input{/Users/elharo/Projects/Jaxen/target/latex... ^C [latex] Please type another input file name: [latex] command exitcode = 143 Any ideas? http://jira.codehaus.org/browse/JAXEN-150 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: change-log plugin fails with java.lang.IllegalArgumentException:cvs repository connection string doesn't contain six tokens
On 7/25/06, Denis Cabasson [EMAIL PROTECTED] wrote: Jeff Mutonho wrote: The changelog-maven-plugin is failing with a message saying : Have you tried using the maven-changelog-plugin instead? I think the former codehaus project has been moved to maven itself. Maven-changelog-plugin may fix your problem (you'll have to use a maven snapshot repository). Cheers! Denis. -- Thanx Denis.This is what I have in my pom.xml plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId /plugin (after looking at http://maven.apache.org/plugins/maven-changelog-plugin/howto.html) However , I still get this : [INFO] Velocity successfully started. [INFO] artifact org.apache.maven.plugins:maven-changelog-plugin: checking for up dates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exi st or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 9 seconds [INFO] Finished at: Tue Jul 25 16:57:52 CAT 2006 [INFO] Final Memory: 16M/1016M [INFO] Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Connection refused during site-deploy
Have you tried connecting from the command line, or with a ssh client, using you username/password? Denis. This running off my windows xp machine :) Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Connection refused during site-deploy
Jeff Mutonho wrote: Have you tried connecting from the command line, or with a ssh client, using you username/password? Denis. This running off my windows xp machine :) Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 Have you tried connecting from the command line, or with a ssh client, using you username/password? Denis. This running off my windows xp machine :) Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 Well, you have many tools available to connect to a ssh server, with windows XP. Most popular one is probably putty. Denis. -- View this message in context: http://www.nabble.com/Connection-refused-during-site-deploy-tf1997630.html#a5487127 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: change-log plugin fails with java.lang.IllegalArgumentException:cvs repository connection string doesn't contain six tokens
Jeff Mutonho wrote: On 7/25/06, Denis Cabasson [EMAIL PROTECTED] wrote: Jeff Mutonho wrote: The changelog-maven-plugin is failing with a message saying : Have you tried using the maven-changelog-plugin instead? I think the former codehaus project has been moved to maven itself. Maven-changelog-plugin may fix your problem (you'll have to use a maven snapshot repository). Cheers! Denis. -- Thanx Denis.This is what I have in my pom.xml plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId /plugin (after looking at http://maven.apache.org/plugins/maven-changelog-plugin/howto.html) However , I still get this : [INFO] Velocity successfully started. [INFO] artifact org.apache.maven.plugins:maven-changelog-plugin: checking for up dates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exi st or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 9 seconds [INFO] Finished at: Tue Jul 25 16:57:52 CAT 2006 [INFO] Final Memory: 16M/1016M [INFO] Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 the maven-changelog-plugin hasn't been released to central yet. You have to use snapshot repositories, as described here: http://maven.apache.org/guides/development/guide-testing-development-plugins.html Denis. -- View this message in context: http://www.nabble.com/change-log-plugin-fails-with-java.lang.IllegalArgumentException%3Acvs-repository-connection-string-doesn%27t-contain-six-tokens-tf1998473.html#a5487226 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JavaDocs report not appearing
Jeff Mutonho wrote: JavaDocs does not appear under the generated reports , even though I have configured my pom.xml to generate javadoc reports as shown below: Please see http://jira.codehaus.org/browse/MJAVADOC-72 aggregating of Javadoc isn't working AFAIK. Denis. -- View this message in context: http://www.nabble.com/JavaDocs-report-not-appearing-tf1998678.html#a5487275 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latex plugin with pdflatex
Lukas Theussl wrote: The latex plugin has been deprecated in maven 1.1 because it wasn't functional. I could never get it to work myself. Perhaps this could be mentioned on the web site? http://maven.apache.org/maven-1.x/plugins/latex/ -- Elliotte Rusty Harold [EMAIL PROTECTED] Java I/O 2nd Edition Just Published! http://www.cafeaulait.org/books/javaio2/ http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Exclude certain files during tests
Denis wrote: If you're using maven 2, the correct syntax is (should be), in the build/plugins part: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration excludes excludeui/**/exclude /excludes /configuration /plugin Thanks for the fast reply! Sorry, I meant Maven 2 :) This is indeed working, although the pattern ui/** is not. I am a little bit confused about these pattern, is there a page describing the syntax? I tried a **/*.* - which worked fine - no more tests at all :) I configured testSourceDirectorysrc/test/testSourceDirectory and my ui tests sites are located in src/test/de/company/project/ui/tests/a/b/ If somewhere in the path ui is present I want to skip tests. Any ideas for the correct pattern? Cheers Nick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Exclude certain files during tests
Nick Panienski wrote: Denis wrote: If you're using maven 2, the correct syntax is (should be), in the build/plugins part: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration excludes excludeui/**/exclude /excludes /configuration /plugin Thanks for the fast reply! Sorry, I meant Maven 2 :) This is indeed working, although the pattern ui/** is not. I am a little bit confused about these pattern, is there a page describing the syntax? I tried a **/*.* - which worked fine - no more tests at all :) I configured testSourceDirectorysrc/test/testSourceDirectory and my ui tests sites are located in src/test/de/company/project/ui/tests/a/b/ If somewhere in the path ui is present I want to skip tests. Any ideas for the correct pattern? Cheers Nick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Don't know exactly where these patterns come from, but to me, they are ant-like: http://ant.apache.org/manual/dirtasks.html#patterns I thought ui was the base directory for your HttpUnit tests. So, with this directory structure, exclusion pattern should be something like: **/ui/** (Hope it helps) Denis. -- View this message in context: http://www.nabble.com/Exclude-certain-files-during-tests-tf1998613.html#a5487420 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latex plugin with pdflatex
The m1 plugins are listed on this overview page: http://maven.apache.org/maven-1.x/plugins/ where you will find latex in the sandbox. Check also the plugins history: http://maven.apache.org/maven-1.x/plugins/bundledHistory.html But you are right, we should add a note on each plugin's main page if it has been deprecated. -Lukas Elliotte Harold wrote: Lukas Theussl wrote: The latex plugin has been deprecated in maven 1.1 because it wasn't functional. I could never get it to work myself. Perhaps this could be mentioned on the web site? http://maven.apache.org/maven-1.x/plugins/latex/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: changes plugin and jira-report
juergen.schumacher wrote: Ok, I found now the solution and would like to share with others: In the source JiraDownloader2.java from the plugin source I found determineProxy( cl ); Here the proxy from the settings.xml will be determined. But this didnt work in my network. The proxy is necessary to connect to repositories but for the access to my JIRA-Server it wont work because its inside the internal network. The reason its the security policy in our network but if other users have similar effects maybe a parameter may help. Maybe there are other ways too but I am more than happy (after hours) it works for me. Juergen How about we add a parameter useJiraProxy to the appropriate mojo. Default value would be true, meaning that a proxy will be used if one is defined in settings.xml. If you set it to false, no proxy would be used when connecting to JIRA whether a proxy is defined or not. -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: Exclude certain files during tests
Denis wrote: Don't know exactly where these patterns come from, but to me, they are ant-like: http://ant.apache.org/manual/dirtasks.html#patterns I thought ui was the base directory for your HttpUnit tests. So, with this directory structure, exclusion pattern should be something like: **/ui/** Thanks, this did the job! I tried a **/ui/*.* as well which did not work. Why did the Ant guys had to invent their own expression language anyway when there is regex around? ;) Thanks again for the fast and helpful replies! Cheers Nick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Version variables for filtering
I currently have a resource file that I'm filtering and inserting the version of the project using the variable ${project.version}. Are there any other version variables that I can utilize? Specifically, I'd like to be able to exclude the -SNAPSHOT qualifier. Is there a variable that will have the datetime-stamp/build-id replacement of -SNAPSHOT? Thanks, -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: changes plugin and jira-report
dennisl-2 wrote: How about we add a parameter useJiraProxy to the appropriate mojo. Default value would be true, meaning that a proxy will be used if one is defined in settings.xml. If you set it to false, no proxy would be used when connecting to JIRA whether a proxy is defined or not. I have tried opening a JIRA issue on the subject: http://jira.codehaus.org/browse/MNG-2457 To me, the relevant place is the nonProxyHost list, in the settings.xml, but this list is mostly ignored by plugins using the proxy settings You can vote for this issue, and maybe one ofe the Maven gurus will think of a solution :) Denis. -- View this message in context: http://www.nabble.com/changes-plugin-and-jira-report-tf1992932.html#a5487745 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
scm connection in parent POM?
How does the scm connection in a parent POM have to configured so that sub-projects are found with the convention of putting them in groupId/artifactId (with dots replaced by slashes in groupId) in CVS?
Re: modules and assembly problem
jar-with-dependencies won't work for a pom project. You need to use moduleSets... Please see http://maven.apache.org/plugins/maven-assembly-plugin/examples/index.html. Damien Viel wrote: Hi all, I still have problem with the assembly plugin. :( I'm trying to build a zip file of my project which includes the modules's jars and there dependencies. With the standard goals jar-with-dependencies it works fine on each modules. But when I call the goal from the parent pom, the assembly is empty. I'm using 2.2-SNAPSHOP version of the assembly plugin. My project struture is as follows : * Parent Projet * pom.xml *-- Module 1 * pom.xml *-- Module 2 * pom.xml Here is my descriptor file : assembly idjar-with-dependencies/id formats formatzip/format formatdir/format /formats includeBaseDirectoryfalse/includeBaseDirectory fileSets fileSet directorytarget/classes/directory outputDirectory//outputDirectory /fileSet /fileSets dependencySets dependencySet outputDirectory//outputDirectory unpackfalse/unpack scoperuntime/scope /dependencySet /dependencySets /assembly Thank's all Damien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] site plugin and generated anchors
This is from memory, correct me if I'm wrong. We're having trouble with links (to anchors) on the generated website. Maven 1: section name=Shale Downloads a name=Shale_Downloads section name=Shale Downloads href=downloads a name=downloads (I'm fairly sure the 'href' was added in m1. It was something we had at Struts, possibly added to the original Jakarta xdoc stylesheet, and it was necessary because for PDF generation, FOP dies if there are duplicate ids in a page.) Maven 2, with site plugin 2.0-beta-4 section name=Shale Downloads [nothing] Maven 2, with site plugin 2.0-beta-5 section name=Shale Downloads a name=Shale Downloads (so you have to link to it as #Shale%20Downloads) How does this match up with section names and anchors in APT? I'd like to be able to specify the anchor name, to avoid having anchors like #This_is_a_really_long_section_name, or worse, #This%20is%20a%20really%20long%20section%20name. Can the section name=... href=... and subsection name=... href=... format be supported in m2? Thanks, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Adding HTTP an context
Hello, I could use some advice on configuring Continuum (perhaps Jetty really). I have a project that is an Ant build. It uses the junitreport task to build... well, JUnit unit reports. I find this pretty valuable for determining the cause of a failed build. junitreport todir=${junit.output} fileset dir=${junit.output} include name=TEST-*.xml/ /fileset report format=frames todir=${junit.output}/html/ /junitreport The problem is if the unit tests fail, the output from Ant doesn't have much information of value, so you have to digging in on the server to figure out what went wrong. BUILD FAILED /home/build/continuum/work/1/build.xml:1277: The following error occurred while executing this line: /home/build/continuum/work/1/build.xml:510: The following error occurred while executing this line: /home/build/continuum/work/1/build.xml:587: Junit failure. See /home/build/continuum/work/1/test/output/html/index.html I would like to be able mount the /home/build/continuum/work directory as a web context in the Jetty server, so I can retrieve these reports. Can I do this or do I need to run another HTTP server to make this happen? Thanks very much, Michael
Re: modules and assembly problem
Yes !! It's working. But I'll try with a moduleSets solution. Thanks Damien Denis Cabasson a écrit : I guess you can't add the assembly plugin to a pom packaging project... I have to add the assembly-plugin to each of my modules I wanted to be assembled. But I'm certainly interested in a better solution :) Denis. Damien Viel wrote: Thank for your help. I've tried your solution with a dedicated project for the build which has dependencies on the binary assemblies. But my assembly still empty. Here is my new pom of the build-project : project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdfr.toto.corp/groupId artifactIdproject-build/artifactId packagingpom/packaging namePROJECT-BUILD/name version${buildVersion}/version url${siteURL}/url build sourceDirectory${basedir}/src/java/sourceDirectory testSourceDirectory${basedir}/src/test/testSourceDirectory plugins plugin artifactIdmaven-assembly-plugin/artifactId version2.2-SNAPSHOT/version /plugin /plugins /build dependencies dependency groupIdfr.toto.corp/groupId artifactIdmod1/artifactId version1.3/version /dependency dependency groupIdfr.toto.corp/groupId artifactIdmod2/artifactId version1.0/version /dependency /dependencies /project And I call the pre-defined Descriptor Files : jar-with-dependencies. http://maven.apache.org/plugins/maven-assembly-plugin/predefined.html Damien Barrie Treloar a écrit : On 7/25/06, Damien Viel [EMAIL PROTECTED] wrote: With the standard goals jar-with-dependencies it works fine on each modules. But when I call the goal from the parent pom, the assembly is empty. [del] assembly idjar-with-dependencies/id formats formatzip/format formatdir/format /formats includeBaseDirectoryfalse/includeBaseDirectory fileSets fileSet directorytarget/classes/directory outputDirectory//outputDirectory /fileSet /fileSets dependencySets dependencySet outputDirectory//outputDirectory unpackfalse/unpack scoperuntime/scope /dependencySet /dependencySets /assembly Your parent pom doesn't have any dependency hence it won't include anything. You will need to create your own assembly descriptor and make use of the moduleSets. I've never used the moduleSets myself. Our build includes a client side app, an ear, and a standalone application. So the way I build a distributable is to have another module called project-build which has dependencies on the binary assemblies of these other projects and to use dependencySet to pull them in. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED] -- | http://www.improve-foundations.com __/ \__ | http://www.improve.fr improve | http://www.application-servers.com /_\-| http://www.improve-technologies.com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED] -- | http://www.improve-foundations.com __/ \__ | http://www.improve.fr improve | http://www.application-servers.com /_\-| http://www.improve-technologies.com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
post-integration-test not run if integration-test fails (problem for continuum)
I have to start up 2 servers and a bunch of webservices in pre- integration-test. Then I run my integration tests. Then post- integration-test stops my servers. However, if some of my integration tests fail, maven exits and does not stop my services. Despite being annoying when I'm just running my tests, it is a real problem if I ask continuum to run my integration tests as it leaves the servers running on my continuum box if any test fails. Is there a maven solution to this besides writing a shell script on continuum? My colleague tried using mvn -fae, but that doesn't solve the problem either. Thanks, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to do after a release prepare that fails
use scm:bootstrap to force a new checkout before doing the release so that if the release:prepare fail, it will not contaminate your checkout area in continuum space. On 7/25/06, Sebastien Cesbron [EMAIL PROTECTED] wrote: Hi, I am using continuum for my projects. I am trying to do my first release. The first time I did a release:prepare it has failed in the middle. So now, if I launch it again, continuum fails to do its scm update because there is modified files in the directory. What's the best practice in this case : is there any way to tell continuum to override every local files either if they are modified ? do I have to delete something by hand ? Regards Seb
Re: modules and assembly problem
Hi, I've tried to implement the solution proposed in this link http://maven.apache.org/plugins/maven-assembly-plugin/examples/index.html. and I've got the folloing stack : Embedded error: You must set at least one file. [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error creating assembly at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:219) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating assembly at org.apache.maven.plugin.assembly.AbstractDirectoryMojo.createDirectory(AbstractDirectoryMojo.java:72) at org.apache.maven.plugin.assembly.AbstractDirectoryMojo.execute(AbstractDirectoryMojo.java:41) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.codehaus.plexus.archiver.ArchiverException: You must set at least one file. at org.codehaus.plexus.archiver.dir.DirectoryArchiver.createArchive(DirectoryArchiver.java:56) at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.createArchive(AbstractAssemblyMojo.java:383) at org.apache.maven.plugin.assembly.AbstractDirectoryMojo.createDirectory(AbstractDirectoryMojo.java:63) ... 19 more [INFO] [INFO] Total time: 11 seconds [INFO] Finished at: Tue Jul 25 19:04:17 CEST 2006 [INFO] Final Memory: 11M/20M [INFO] Can anyone have a idea ? Damien Edwin Punzalan a écrit : jar-with-dependencies won't work for a pom project. You need to use moduleSets... Please see http://maven.apache.org/plugins/maven-assembly-plugin/examples/index.html. Damien Viel wrote: Hi all, I still have problem with the assembly plugin. :( I'm trying to build a zip file of my project which includes the modules's jars and there dependencies. With the standard goals jar-with-dependencies it works fine on each modules. But when I call the goal from the parent pom, the assembly is empty. I'm using 2.2-SNAPSHOP version of the assembly plugin. My project struture is as follows : * Parent Projet * pom.xml *-- Module 1 * pom.xml *-- Module 2 * pom.xml Here is my descriptor file : assembly idjar-with-dependencies/id formats formatzip/format formatdir/format /formats includeBaseDirectoryfalse/includeBaseDirectory fileSets fileSet directorytarget/classes/directory outputDirectory//outputDirectory /fileSet /fileSets dependencySets dependencySet outputDirectory//outputDirectory unpackfalse/unpack scoperuntime/scope /dependencySet /dependencySets /assembly Thank's all Damien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED] -- | http://www.improve-foundations.com __/ \__ | http://www.improve.fr improve | http://www.application-servers.com /_\-| http://www.improve-technologies.com --
RE: post-integration-test not run if integration-test fails (problem for continuum)
Hi Eric, -Original Message- From: Eric Brown [mailto:[EMAIL PROTECTED] Sent: mardi 25 juillet 2006 18:54 To: Maven Users List Subject: post-integration-test not run if integration-test fails (problem for continuum) I have to start up 2 servers and a bunch of webservices in pre- integration-test. Then I run my integration tests. Then post- integration-test stops my servers. However, if some of my integration tests fail, maven exits and does not stop my services. Despite being annoying when I'm just running my tests, it is a real problem if I ask continuum to run my integration tests as it leaves the servers running on my continuum box if any test fails. Is there a maven solution to this besides writing a shell script on continuum? My colleague tried using mvn -fae, but that doesn't solve the problem either. I've had this problem too which is why I'm currently recommending to use the Cargo Java API from your own JUnit test, as described on http://cargo.codehaus.org/Functional+testing. This allows you to control the start and stop of your containers from within your tests and you don't need the pre-it and post-it phases. Hope it helps, -Vincent ___ 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]
[m2] Custom built org.apache.maven.plugins.* plugins
I'm having an issue with some custom built plugins - I'm taking a SNAPSHOT version of a plugin (e.g. maven-jar-plugin-2.1-SNAPSHOT) from SVN, modifying the version to be a release (e.g. 2.1-417949, using the svn version for the number) and building the plugin and deploying it into an in-house remote plugin repository (this is so we can use the release plugin, which doesn't like SNAPSHOTs). I have referenced this plugin repository in our organization POM: pluginRepositories pluginRepository idcustom/id nameCustom Built Plugin Repository/name urlhttp://my.server.com/maven/custom/url layoutdefault/layout releases enabledtrue/enabled updatePolicydaily/updatePolicy checksumPolicywarn/checksumPolicy /releases snapshots enabledfalse/enabled /snapshots /pluginRepository /pluginRepositories Everything works fine *as long as* this custom build is also installed in the local repository. If it is not installed in the local repository it doesn't seem to download correctly from the remote custom plugin repository and the build fails. Also, in my local repository I am left with just the JAR and not the POM for the plugin. I can also get this to work if I use our central proxy (using Proximity) to also proxy this custom repository - I suppose because then the custom version is in central, as far as mvn knows. My reason for not wanting to do this is so that if someone doesn't have their mirror settings set up to point to our proxy then things should still work because the custom build is in a specifically defined plugin repository. i.e. the central mirror contains *only* central artifacts and nothing else. So, is there a way to deploy custom builds of org.apache.maven.plugins.* plugins to an internal remote repository? I had a search through the archives and it seems that maybe others have seen this, but previous messages seemed to imply that the issue was resolved. Am I just doing something wrong or is there a real issue here? Hopefully this makes sense - let me know if I need to clarify anything! Thanks, Mark Here's the partial output from mvn clean package on our project that should use the custom maven-jar-plugin version. (this is edited a little to remove company specifics - just paths, URLs etc.) ... [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from custom [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from central [DEBUG] maven-jar-plugin: resolved to version 2.1-417949 from repository central [DEBUG] Trying repository central Downloading: http://my.server.com/proximity/repository/org/apache/maven/plugins/maven-jar-plugin/2.1-417949/maven-jar-plugin-2.1-417949.pom [DEBUG] Artifact not found - using stub model: Unable to locate resource in repository org.apache.maven.plugins:maven-jar-plugin:pom:2.1-417949 from the specified remote repositories: central (http://repo1.maven.org/maven2), custom (http://my.server.com/maven/custom) [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-jar-plugin:pom:2.1-417949 [DEBUG] Trying repository fdsecure-custom Downloading: http://my.server.com/maven/custom/org/apache/maven/plugins/maven-jar-plugin/2.1-417949/maven-jar-plugin-2.1-417949.jar 20K downloaded [DEBUG] Artifact resolved ... [DEBUG] org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-417949:runtime (selected for runtime) - this realm = app0.child-container[org.apache.maven.plugins:maven-jar-plugin] urls[0] = file:/C:/maven-repo/org/apache/maven/plugins/maven-jar-plugin/2.1-417949/maven-jar-plugin-2.1-417949.jar Number of imports: 0 this realm = plexus.core.maven urls[0] = file:/G:/bin/maven-2.0.4/bin/../lib/commons-cli-1.0.jar urls[1] = file:/G:/bin/maven-2.0.4/bin/../lib/doxia-sink-api-1.0-alpha-7.jar urls[2] = file:/G:/bin/maven-2.0.4/bin/../lib/jsch-0.1.24.jar urls[3] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-artifact-2.0.4.jar urls[4] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-artifact-manager-2.0.4.jar urls[5] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-core-2.0.4.jar urls[6] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-error-diagnostics-2.0.4.jar urls[7] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-model-2.0.4.jar urls[8] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-monitor-2.0.4.jar urls[9] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-plugin-api-2.0.4.jar urls[10] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-plugin-descriptor-2.0.4.jar urls[11] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-plugin-parameter-documenter-2.0.4.jar urls[12] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-plugin-registry-2.0.4.jar urls[13] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-profile-2.0.4.jar urls[14] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-project-2.0.4.jar urls[15] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-reporting-api-2.0.4.jar urls[16] = file:/G:/bin/maven-2.0.4/bin/../lib/maven-repository-metadata-2.0.4.jar
deploying jars without version information
Hi, Does anybody know if you can have Maven deploy the jars that end up in webapp/WEB-INF/lib without the version information in the filename? Thanks, Jpl
Re: deploying jars without version information
What do you means by deploting? Deploying on a maven repository or on a application server ? In the first case, the answer is no because Maven needs those metadatas to be able to manage dependencies. In the other case, yes it's possible just change the name in your war/jar plugin configuration section. On 7/25/06, LaCasse, John [EMAIL PROTECTED] wrote: Hi, Does anybody know if you can have Maven deploy the jars that end up in webapp/WEB-INF/lib without the version information in the filename? Thanks, Jpl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: deploying jars without version information
I'm talking about the second case; in the target\webapp\WEB-INF\lib. All compile and runtime scoped dependant jars that get put into this location; I would like the war plugin not to include the version info on all the jars it includes in this location. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 10:53 AM To: Maven Users List Subject: Re: deploying jars without version information What do you means by deploting? Deploying on a maven repository or on a application server ? In the first case, the answer is no because Maven needs those metadatas to be able to manage dependencies. In the other case, yes it's possible just change the name in your war/jar plugin configuration section. On 7/25/06, LaCasse, John [EMAIL PROTECTED] wrote: Hi, Does anybody know if you can have Maven deploy the jars that end up in webapp/WEB-INF/lib without the version information in the filename? Thanks, Jpl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Build Notification
Thank you gscokart and ivolimmen ... I'll check JIRA for the issue. It would be nice to be able to determine the actual project that broke through Maven w/o CI (whereas if I use antrun or just have a script that executes on build failure, I would not have that ability). I'll keep searching ... Thanks again! Tom [EMAIL PROTECTED] 07/24/06 11:54 PM You can use the antrun plugin to send mail at a given phase of your build. But I don't think you can have this when your build fails. When the maven build fail, it stop. I don't think there is any listener. Did you search in jira to see if there is a feature request? If not, you should maybe introduce it. Gilles -- View this message in context: http://www.nabble.com/Maven-Build-Notification-tf1995888.html#a5480753 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]
jstl dependency
Hi guys, what is the correct jstl dependency, how to add to project both jstl and standart jars? -- .:Regards, AK:. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: deploying jars without version information
Why? Removing version info is very dangerous. You then have no idea which version was actually selected by Maven by looking in the artifact after the fact. -Original Message- From: LaCasse, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 12:57 PM To: Maven Users List Subject: RE: deploying jars without version information I'm talking about the second case; in the target\webapp\WEB-INF\lib. All compile and runtime scoped dependant jars that get put into this location; I would like the war plugin not to include the version info on all the jars it includes in this location. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 10:53 AM To: Maven Users List Subject: Re: deploying jars without version information What do you means by deploting? Deploying on a maven repository or on a application server ? In the first case, the answer is no because Maven needs those metadatas to be able to manage dependencies. In the other case, yes it's possible just change the name in your war/jar plugin configuration section. On 7/25/06, LaCasse, John [EMAIL PROTECTED] wrote: Hi, Does anybody know if you can have Maven deploy the jars that end up in webapp/WEB-INF/lib without the version information in the filename? Thanks, Jpl - 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: jstl dependency
quite straightforward: dependency groupIdjavax.servlet/groupId artifactIdjstl/artifactId version1.1.2/version scopecompile/scope /dependency dependency groupIdtaglibs/groupId artifactIdstandard/artifactId version1.1.2/version scopecompile/scope /dependency be sure to declare your web application as of servlet specification 2.4 as follows: web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 last thing to mention, don't use jsp 1.0 uri's in taglib declarations in jsp's. for jstl 1.1 use: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % please notice the bold marked jsp there regards, Ahmet On 7/25/06, AK [EMAIL PROTECTED] wrote: Hi guys, what is the correct jstl dependency, how to add to project both jstl and standart jars? -- .:Regards, AK:. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: deploying jars without version information
Ironic. I was just getting ready to ask a similar question. Although I'm fine with the versioning that occurs in the repository, I need the ability for the jar name to not contain this version string in it when I create a release or deploy the project to the integration server for testing. In my case I'm extending a pre-existing J2EE commercial application. It expects jars, even ones especially created for end-user customization, to follow certain naming conventions. It's just not feasible for these jars to be renamed to something else (yaddayadda-1.0-SNAPSHOT.jar). Yes, it's true that you can use the plug in configuration section to force a generated jar or war to have a certain name. As far as I can tell, this only affects the package phase. Am I on the wrong track here thinking that maven2 is suitable for creating official releases, for deploying to integration test servers? If it is appropriate to use maven2 for this purpose, how would you recommend I get around the naming issue? (Again, not in the repository, rather during integration testing and product release). On 7/25/06, Mike Perham [EMAIL PROTECTED] wrote: Why? Removing version info is very dangerous. You then have no idea which version was actually selected by Maven by looking in the artifact after the fact. -Original Message- From: LaCasse, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 12:57 PM To: Maven Users List Subject: RE: deploying jars without version information I'm talking about the second case; in the target\webapp\WEB-INF\lib. All compile and runtime scoped dependant jars that get put into this location; I would like the war plugin not to include the version info on all the jars it includes in this location. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 10:53 AM To: Maven Users List Subject: Re: deploying jars without version information What do you means by deploting? Deploying on a maven repository or on a application server ? In the first case, the answer is no because Maven needs those metadatas to be able to manage dependencies. In the other case, yes it's possible just change the name in your war/jar plugin configuration section. On 7/25/06, LaCasse, John [EMAIL PROTECTED] wrote: Hi, Does anybody know if you can have Maven deploy the jars that end up in webapp/WEB-INF/lib without the version information in the filename? Thanks, Jpl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: modules and assembly problem
If you're trying to use moduleSets/, then you may need to execute like this: mvn package assembly:assembly The problem is in the way the Maven 2.0 lifecycle is setup. More specifically, the top-level POM is probably used as a parent/ in multiple of the modules (or all of them). This means that the goals specific to the parent POM's build will run ahead of the modules, to ensure that the parent is available...however, it also means that the assembly:assembly mojo will run before any of the modules have been built. This sort of use case is something we're hoping to address in 2.1. -john On 7/25/06, Damien Viel [EMAIL PROTECTED] wrote: Hi, I've tried to implement the solution proposed in this link http://maven.apache.org/plugins/maven-assembly-plugin/examples/index.html. and I've got the folloing stack : Embedded error: You must set at least one file. [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error creating assembly at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal( DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:219) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating assembly at org.apache.maven.plugin.assembly.AbstractDirectoryMojo.createDirectory( AbstractDirectoryMojo.java:72) at org.apache.maven.plugin.assembly.AbstractDirectoryMojo.execute( AbstractDirectoryMojo.java:41) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.codehaus.plexus.archiver.ArchiverException: You must set at least one file. at org.codehaus.plexus.archiver.dir.DirectoryArchiver.createArchive( DirectoryArchiver.java:56) at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.createArchive( AbstractAssemblyMojo.java:383) at org.apache.maven.plugin.assembly.AbstractDirectoryMojo.createDirectory( AbstractDirectoryMojo.java:63) ... 19 more [INFO] [INFO] Total time: 11 seconds [INFO] Finished at: Tue Jul 25 19:04:17 CEST 2006 [INFO] Final Memory: 11M/20M [INFO] Can anyone have a idea ? Damien Edwin Punzalan a écrit : jar-with-dependencies won't work for a pom project. You need to use moduleSets... Please see http://maven.apache.org/plugins/maven-assembly-plugin/examples/index.html. Damien Viel wrote: Hi all, I still have problem with the assembly plugin. :( I'm trying to build a zip file of my project which includes the modules's jars and there dependencies. With the standard goals jar-with-dependencies it works fine on each modules. But when I call the goal from the parent pom, the assembly is empty. I'm using 2.2-SNAPSHOP version of the assembly plugin. My project struture is as follows : * Parent Projet * pom.xml *-- Module 1 * pom.xml *-- Module 2 * pom.xml Here is my descriptor file : assembly idjar-with-dependencies/id formats formatzip/format formatdir/format /formats includeBaseDirectoryfalse/includeBaseDirectory fileSets fileSet directorytarget/classes/directory outputDirectory//outputDirectory /fileSet /fileSets dependencySets dependencySet outputDirectory//outputDirectory
Re: deploying jars without version information
Ironic. I was just getting ready to ask a similar question. Although I'm fine with the versioning that occurs in the repository, I need the ability for the jar name to not contain this version string in it when I create a release or deploy the project to the integration server for testing. In my case I'm extending a pre-existing J2EE commercial application. It expects jars, even ones especially created for end-user customization, to follow certain naming conventions. It's just not feasible for these jars to be renamed to something else (yaddayadda-1.0-SNAPSHOT.jar). Yes, it's true that you can use the plug in configuration section to force a generated jar or war to have a certain name. As far as I can tell, this only affects the package phase. Am I on the wrong track here thinking that maven2 is suitable for creating official releases, for deploying to integration test servers? If it is appropriate to use maven2 for this purpose, how would you recommend I get around the naming issue? (Again, not in the repository, rather during integration testing and product release). On 7/25/06, Mike Perham [EMAIL PROTECTED] wrote: Why? Removing version info is very dangerous. You then have no idea which version was actually selected by Maven by looking in the artifact after the fact. -Original Message- From: LaCasse, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 12:57 PM To: Maven Users List Subject: RE: deploying jars without version information I'm talking about the second case; in the target\webapp\WEB-INF\lib. All compile and runtime scoped dependant jars that get put into this location; I would like the war plugin not to include the version info on all the jars it includes in this location. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 10:53 AM To: Maven Users List Subject: Re: deploying jars without version information What do you means by deploting? Deploying on a maven repository or on a application server ? In the first case, the answer is no because Maven needs those metadatas to be able to manage dependencies. In the other case, yes it's possible just change the name in your war/jar plugin configuration section. On 7/25/06, LaCasse, John [EMAIL PROTECTED] wrote: Hi, Does anybody know if you can have Maven deploy the jars that end up in webapp/WEB-INF/lib without the version information in the filename? Thanks, Jpl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: deploying jars without version information
While migrating projects at my company, I've taken a bit of an Ant/Maven hybrid approach. I've been able to Mavenize a couple of projects, but some other projects need to refer to those jars with their original names. In those cases, I've modified the Ant builds in those projects to use the Ant tasks for Maven to copy the files from the repository and rename them for local use. Chris Hilton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trent Albright Sent: Tuesday, 25 July, 2006 13:43 To: Maven Users List Subject: Re: deploying jars without version information Ironic. I was just getting ready to ask a similar question. Although I'm fine with the versioning that occurs in the repository, I need the ability for the jar name to not contain this version string in it when I create a release or deploy the project to the integration server for testing. In my case I'm extending a pre-existing J2EE commercial application. It expects jars, even ones especially created for end-user customization, to follow certain naming conventions. It's just not feasible for these jars to be renamed to something else (yaddayadda-1.0-SNAPSHOT.jar). Yes, it's true that you can use the plug in configuration section to force a generated jar or war to have a certain name. As far as I can tell, this only affects the package phase. Am I on the wrong track here thinking that maven2 is suitable for creating official releases, for deploying to integration test servers? If it is appropriate to use maven2 for this purpose, how would you recommend I get around the naming issue? (Again, not in the repository, rather during integration testing and product release). On 7/25/06, Mike Perham [EMAIL PROTECTED] wrote: Why? Removing version info is very dangerous. You then have no idea which version was actually selected by Maven by looking in the artifact after the fact. -Original Message- From: LaCasse, John [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 12:57 PM To: Maven Users List Subject: RE: deploying jars without version information I'm talking about the second case; in the target\webapp\WEB-INF\lib. All compile and runtime scoped dependant jars that get put into this location; I would like the war plugin not to include the version info on all the jars it includes in this location. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 10:53 AM To: Maven Users List Subject: Re: deploying jars without version information What do you means by deploting? Deploying on a maven repository or on a application server ? In the first case, the answer is no because Maven needs those metadatas to be able to manage dependencies. In the other case, yes it's possible just change the name in your war/jar plugin configuration section. On 7/25/06, LaCasse, John [EMAIL PROTECTED] wrote: Hi, Does anybody know if you can have Maven deploy the jars that end up in webapp/WEB-INF/lib without the version information in the filename? Thanks, Jpl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
exec-maven-plugin and classpath
Hi All... I'm trying to make the exec-maven-plugin run a java Main using the project's classpath, but I'm running into trouble. As per TFM I have specified the arguments thusly: arguments argument-classpath/argument !-- automatically creates the classpath using all project dependencies, also adding the project build directory -- classpath/ /arguments This gives me the nasty stacktrace at the bottom, using maven 2.0.2 and 2.0.4. If I remove the classpath goop, it will attempt to run the specified class but fails on the first dependency. Anyone have any idea what is wrong? Sean -- excerpt from pom.xml - plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution goals goaljava/goal /goals /execution /executions configuration mainClasscom.caribbeancricket.walcott.tools.ArticleImporter/mainClass arguments argument-classpath/argument !-- automatically creates the classpath using all project dependencies, also adding the project build directory -- classpath/ /arguments systemProperties systemProperty keymyproperty/key valuemyvalue/value /systemProperty /systemProperties /configuration /plugin --NASTY STACKTRACE--- [INFO] Trace java.lang.ArrayStoreException at java.lang.System.arraycopy(Native Method) at java.util.ArrayList.toArray(ArrayList.java:304) at org.codehaus.plexus.component.configurator.converters.composite.ArrayConverter.fromConfiguration(ArrayConverter.java:141) at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:247) at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137) at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56) at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1033) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:579) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:393) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:485) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:455) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: deploying jars without version information
Maven must use it's own naming scheme within the repo, that's why it only affects packaging. Note you can change the names of jars/wars within an ear so that the module URI in the application.xml does not need to change with every version increment. As Chris mentioned, the best way is to add a copy step after the fact which renames the file to your legacy format and uploads to the server. mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trent Albright Sent: Tuesday, July 25, 2006 1:43 PM To: Maven Users List Subject: Re: deploying jars without version information Yes, it's true that you can use the plug in configuration section to force a generated jar or war to have a certain name. As far as I can tell, this only affects the package phase. Am I on the wrong track here thinking that maven2 is suitable for creating official releases, for deploying to integration test servers? If it is appropriate to use maven2 for this purpose, how would you recommend I get around the naming issue? (Again, not in the repository, rather during integration testing and product release). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: deploying jars without version information
Note you can change the names of jars/wars within an ear so that the module URI in the application.xml does not need to change with every version increment. How? Do tell! =) As Chris mentioned, the best way is to add a copy step after the fact which renames the file to your legacy format and uploads to the server. What is the maven2 way of doing this? Creating a custom script that is executed from instructions in the POM after a certain phase? Or are you suggesting I write a script to be run completely seperate from the execution of the maven2 build? I'm new to maven so if you could point me in the general direction, I can read up and take it from there. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
WTP and maven.
My project use a war dependency. This war is uncompressed by maven-war-plugins automaticly. Good. But how uncompress to publish in a server using WTP eclipse. -- Lucas Gonçalves Tel: (31)87382096
Supressing Plugin Documentation Report on Parent
I'm working on a handful of Maven Plugins to support a few custom workflows. I have a parent pom that defines modules, some plugin configuration, scm, distributionManagement and reporting and then a child module for each plugin. I'm trying to keep the child poms as short as possible - really just the basics plus dependencies. That's all working fine, but now I'm trying to generate a site for these modules. When I generate the site for the parent pom, however, there's a link to Plugin documentation under Project Reports in the navigation. I can't seem to supress this report without removing it from the parent pom and adding it to each child pom. I've seen some discussion on adding a reportingManagement section to the pom schema, but it's not clear to me that that addition will help me accomplish this, at least if reportingManagement works like pluginManagement. Any ideas? Thanks
issue with setting up M1 POM URL
Hi there, Please help me on the following issue: I installed Continuum 1-0-3 on my local machine, and our project is managed by Perforce on another server. My problem is: On the web interface of Continuum (http://localhost:8080/continuum/servlet/continuum), I clicked Add Maven 1.x project, however, whatever M1 POM URL I gave, I got the error saying [ You must provide a valid url (http, https, ftp and file protocols are allowed) ]. For example, I gave one URL string as ftp:///C:/p4/WS_u208479_AIS/EAI_weblogic/uia2_5.0/project.xml and got the error mentioned earlier. Could anybody help me on what the M1 POM URL would be? One note is that our project includes a bunch of subprojects, meaning I can't use the Upload POM function Thanks, Bill (Xinxue) Yuan Retail Bank Services and Systems Application Architectur/Integration Washington Mutual 847.393.5382 Office 847.903.4548 Mobile 340 N. Milwaukee Ave., VHF4A01, Vernon Hills, IL 60061
Re: [m1.1] Unable to deploy to remote repository
Hi Daniel, Did you try to logon to your proxy host using ssh ? ssh -l cvs gdps It will certainly ask if you want to accept permanently the key. Arnaud On 7/25/06, Daniel Beland [EMAIL PROTECTED] wrote: Hi, I have been using maven 1.0.2 for more than a year now. I use it to make all of our releases on our internal repository. I have setup maven-proxy to access that repository and eveything works fine. In my build.properties file I have the following settings: maven.repo.RF1=sftp://gdps maven.repo.RF1.username=cvs maven.repo.RF1.password=*** maven.repo.RF1.directory=/cvs/maven/repo-local I tried to migrate to maven 1.1-beta3-SNAPSHOT (20060723) and I am unable to deploy something to the remote repository. (I tried jar:deploy, plugin:repository-deploy, etc all with the same exception). My configuration seems ok based on the maven-artifact-plugin doc. Looking on google I saw that we need to put the trust attribute to true, (if it is the ant task that is used by maven), but didn't find any way to configure it. I absolutely have to use sftp or scp. Here is the complete exception trace: Failed to deploy to: RF1 Reason: org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect. Reason: reject HostKey: gdps org.apache.maven.wagon.authentication.AuthenticationException: Cannot connect. Reason: reject HostKey: gdps at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection( AbstractSshWagon.java:232) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java :143) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java :106) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deployFiles( DefaultArtifactDeployer.java:372) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doDeploy( DefaultArtifactDeployer.java:320) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleDeploy( DefaultArtifactDeployer.java:119) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy (DefaultArtifactDeployer.java:90) at org.apache.maven.artifact.deployer.DeployBean.deploy( DeployBean.java:155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.jelly.impl.DynamicBeanTag.doTag( DynamicBeanTag.java:180) at org.apache.commons.jelly.impl.StaticTagScript.run( StaticTagScript.java:102) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java :95) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java :79) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java :95) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag( MavenGoalTag.java:82) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction (MavenGoalTag.java:115) at org.apache.maven.werkz.Goal.fire(Goal.java:647) at org.apache.maven.werkz.Goal.attain(Goal.java:582) at org.apache.maven.plugin.PluginManager.attainGoals( PluginManager.java:709) at org.apache.maven.MavenSession.attainGoals(MavenSession.java :264) at org.apache.maven.cli.App.doMain(App.java:546) at org.apache.maven.cli.App.main(App.java:1359) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: com.jcraft.jsch.JSchException: reject HostKey: gdps at com.jcraft.jsch.Session.checkHost(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at com.jcraft.jsch.Session.connect(Unknown Source) at org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection( AbstractSshWagon.java:221) ... 31 more Thanks, Daniel
Re: issue with setting up M1 POM URL
If your POM isn't on a web server but on your local disk, you have to define something like : fille://C:/p4/WS_u208479_AIS/EAI_weblogic/uia2_5.0/project.xmlftp://c/p4/WS_u208479_AIS/EAI_weblogic/uia2_5.0/project.xml cheers arnaud On 7/25/06, Yuan, Bill [EMAIL PROTECTED] wrote: Hi there, Please help me on the following issue: I installed Continuum 1-0-3 on my local machine, and our project is managed by Perforce on another server. My problem is: On the web interface of Continuum (http://localhost:8080/continuum/servlet/continuum), I clicked Add Maven 1.x project, however, whatever M1 POM URL I gave, I got the error saying [ You must provide a valid url (http, https, ftp and file protocols are allowed) ]. For example, I gave one URL string as ftp:///C:/p4/WS_u208479_AIS/EAI_weblogic/uia2_5.0/project.xml and got the error mentioned earlier. Could anybody help me on what the M1 POM URL would be? One note is that our project includes a bunch of subprojects, meaning I can't use the Upload POM function Thanks, Bill (Xinxue) Yuan Retail Bank Services and Systems Application Architectur/Integration Washington Mutual 847.393.5382 Office 847.903.4548 Mobile 340 N. Milwaukee Ave., VHF4A01, Vernon Hills, IL 60061
Re: deploying jars without version information
Use the Antrun plugin: http://maven.apache.org/plugins/maven-antrun-plugin/ to run an Ant script, and attach that to the package phase of your Maven build. - Stephen On 7/25/06, Trent Albright [EMAIL PROTECTED] wrote: Note you can change the names of jars/wars within an ear so that the module URI in the application.xml does not need to change with every version increment. How? Do tell! =) As Chris mentioned, the best way is to add a copy step after the fact which renames the file to your legacy format and uploads to the server. What is the maven2 way of doing this? Creating a custom script that is executed from instructions in the POM after a certain phase? Or are you suggesting I write a script to be run completely seperate from the execution of the maven2 build? I'm new to maven so if you could point me in the general direction, I can read up and take it from there. - 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]