Checking projects out of CVS
Hi guys I checked a project(Project1) without problems from CVS using the following rules in my maven.xml file: Project1 Project2 I have commented out the rule to checkout Project1 , but not Project2 and my maven.xml file looks as shown below: Project2 When I run "maven scm:checkout-project" , Maven is still checking out Project1 instead of Project2.What am I missing here? jeff mutonho - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!
Re: Multiple URLs for issue tracking
It already exists in the next version of the POM. This version is currently under heavy development. On Mon, 16 Aug 2004 20:58:57 -0400, Mirabito, Massimo <[EMAIL PROTECTED]> wrote: > Dion, > > Thanks for reply. If it's not too much work and other have the need please consider > adding this feature. > > Thanks > Max > > > > -Original Message- > From: Dion Gillard <[EMAIL PROTECTED]> > To: Maven Users List <[EMAIL PROTECTED]> > Sent: Mon Aug 16 20:51:43 2004 > Subject: Re: Multiple URLs for issue tracking > > There is only support for a single issueTrackingURL at present > > On Mon, 16 Aug 2004 08:03:39 -0400, Mirabito, Massimo <[EMAIL PROTECTED]> wrote: > > Some of our projects have more that one issue tracking system. Is there > > a way to include multiple URLs in the project.xml file for the > > tag? > > > > I tried several ways but it does not work. > > > > 1) > > > > http://server1:8080 > > http://server2: > > > > > > 2) > > http://server1:8080 > > http://server2: > > > > Thanks in advance for any help > > > > Max > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > http://www.multitask.com.au/people/dion/ > > - > 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: Multiple URLs for issue tracking
Dion, Thanks for reply. If it's not too much work and other have the need please consider adding this feature. Thanks Max -Original Message- From: Dion Gillard <[EMAIL PROTECTED]> To: Maven Users List <[EMAIL PROTECTED]> Sent: Mon Aug 16 20:51:43 2004 Subject: Re: Multiple URLs for issue tracking There is only support for a single issueTrackingURL at present On Mon, 16 Aug 2004 08:03:39 -0400, Mirabito, Massimo <[EMAIL PROTECTED]> wrote: > Some of our projects have more that one issue tracking system. Is there > a way to include multiple URLs in the project.xml file for the > tag? > > I tried several ways but it does not work. > > 1) > > http://server1:8080 > http://server2: > > > 2) > http://server1:8080 > http://server2: > > Thanks in advance for any help > > Max > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven WebSphere 5.0/5.1 plugin release
On Mon, 16 Aug 2004 16:43:30 -0400, Karan-Sahni (Contractor) <[EMAIL PROTECTED]> wrote: > How about precompilation of JSP's too. Where? On install of the app?? -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven WebSphere 5.0/5.1 plugin release
On Mon, 16 Aug 2004 16:25:42 +0100, Matt Read <[EMAIL PROTECTED]> wrote: > Is anyone intending to add support for deployment of standalone WARs using > this plugin any time soon? Not that I know of. If you have a need I can help with the implementation. -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple URLs for issue tracking
There is only support for a single issueTrackingURL at present On Mon, 16 Aug 2004 08:03:39 -0400, Mirabito, Massimo <[EMAIL PROTECTED]> wrote: > Some of our projects have more that one issue tracking system. Is there > a way to include multiple URLs in the project.xml file for the > tag? > > I tried several ways but it does not work. > > 1) > > http://server1:8080 > http://server2: > > > 2) > http://server1:8080 > http://server2: > > Thanks in advance for any help > > Max > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jar] Unused properties!?
On Mon, 16 Aug 2004 15:34:18 +0200, Peter Nabbefeld <[EMAIL PROTECTED]> wrote: > That's why I've finally asked for, which functionality is available: The > documents seem to be either outdated and unmaintained or just a > declaration of intent - don't know, if the documentation should be > removed or if the functionality has to be implemented (these are not the > only properties I've found). It is most likely a case of the docs being out of date. Developers are sometimes lazy and forget to update the docs when they add code. Please open a JIRA issue to fix the jar plugin docs and we can work on it together. -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: MavenException
Looks like it is trying to load a plugin as a project instead of as a plugin. I don't know how it happened, but it should be corrected if you rm -rf /home/maven/.maven/cache. Check that there isn't any additional bad files in ~/.maven/plugins or $MAVEN_HOME/plugins too. Cheers, brett On Mon, 16 Aug 2004 07:30:10 -0700 (PDT), jeff mutonho <[EMAIL PROTECTED]> wrote: > Hi guys > > I've installed Maven on a Redhat 8.0 box and correctly setup the environment > varibles.I created a test project and manage to build it successfully.I'm having > problems running the command > > maven -g > > to get a full description of all the Maven goals available.Maven is throwing the > following exception: > > org.apache.maven.MavenException: Error parsing project.xml > '/home/maven/.maven/cache/plugin-parent/project.xml' > at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:208) > at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:232) > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144) > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123) > at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235) > at org.apache.maven.MavenSession.initialize(MavenSession.java:175) > at org.apache.maven.cli.App.doMain(App.java:473) > at org.apache.maven.cli.App.main(App.java:1215) > at java.lang.reflect.Method.invoke(Native Method) > at com.werken.forehead.Forehead.run(Forehead.java:551) > at com.werken.forehead.Forehead.main(Forehead.java:581) > You have encountered an unknown error running Maven. Please help us to correct > this problem by following these simple steps: > > I don't understand why it's looking for > '/home/maven/.maven/cache/plugin-parent/project.xml' because the directory > "plugin-parent" does not even exist. > > maven -g works fine on the other XP box with a similat Maven installation , even > though there's no "plugin-parent" under the ".maven" folder. > > Any ideas? > > jeff mutonho > > > - > Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven WebSphere 5.0/5.1 plugin release
How about precompilation of JSP's too. -Original Message- From: Matt Read [mailto:[EMAIL PROTECTED] Sent: Monday, August 16, 2004 11:26 AM To: 'Maven Users List' Subject: RE: Maven WebSphere 5.0/5.1 plugin release Is anyone intending to add support for deployment of standalone WARs using this plugin any time soon? Matt. > -Original Message- > From: Dion Gillard [mailto:[EMAIL PROTECTED] > Sent: 28 July 2004 16:24 > To: Maven Users List > Subject: Maven WebSphere 5.0/5.1 plugin release > > The maven-plugins team is pleased to announce the WebSphere 5 > (5.0/5.1) Plugin 1.0 release! > > http://maven-plugins.sourceforge.net/maven-was5-plugin/ > > A plugin to manage a WebSphere AppServer 5/5.1 artifacts and > installation > > Changes in this version include: > > New Features: > > o Add reinstallApp goal > o Create goals that use the Websphere supplied ant tasks > > To automatically install the plugin, type the following on a > single line: > > maven plugin:download > -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/maven/ > -DgroupId=maven-plugins > -DartifactId=maven-was5-plugin > -Dversion=1.0 > > For a manual installation, you can download the plugin here: > http://maven-plugins.sourceforge.net/maven/maven-plugins/plugi > ns/maven-was5-plugin-1.0.jar > > > Have fun! > -The maven-plugins team > > -- > http://www.multitask.com.au/people/dion/ > > - > 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: Maven WebSphere 5.0/5.1 plugin release
Is anyone intending to add support for deployment of standalone WARs using this plugin any time soon? Matt. > -Original Message- > From: Dion Gillard [mailto:[EMAIL PROTECTED] > Sent: 28 July 2004 16:24 > To: Maven Users List > Subject: Maven WebSphere 5.0/5.1 plugin release > > The maven-plugins team is pleased to announce the WebSphere 5 > (5.0/5.1) Plugin 1.0 release! > > http://maven-plugins.sourceforge.net/maven-was5-plugin/ > > A plugin to manage a WebSphere AppServer 5/5.1 artifacts and > installation > > Changes in this version include: > > New Features: > > o Add reinstallApp goal > o Create goals that use the Websphere supplied ant tasks > > To automatically install the plugin, type the following on a > single line: > > maven plugin:download > -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/maven/ > -DgroupId=maven-plugins > -DartifactId=maven-was5-plugin > -Dversion=1.0 > > For a manual installation, you can download the plugin here: > http://maven-plugins.sourceforge.net/maven/maven-plugins/plugi > ns/maven-was5-plugin-1.0.jar > > > Have fun! > -The maven-plugins team > > -- > http://www.multitask.com.au/people/dion/ > > - > 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]
MavenException
Hi guys I've installed Maven on a Redhat 8.0 box and correctly setup the environment varibles.I created a test project and manage to build it successfully.I'm having problems running the command maven -g to get a full description of all the Maven goals available.Maven is throwing the following exception: org.apache.maven.MavenException: Error parsing project.xml '/home/maven/.maven/cache/plugin-parent/project.xml' at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:208) at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:232) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123) at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235) at org.apache.maven.MavenSession.initialize(MavenSession.java:175) at org.apache.maven.cli.App.doMain(App.java:473) at org.apache.maven.cli.App.main(App.java:1215) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) You have encountered an unknown error running Maven. Please help us to correct this problem by following these simple steps: I don't understand why it's looking for '/home/maven/.maven/cache/plugin-parent/project.xml' because the directory "plugin-parent" does not even exist. maven -g works fine on the other XP box with a similat Maven installation , even though there's no "plugin-parent" under the ".maven" folder. Any ideas? jeff mutonho - Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers!
Re: disabling project documentation
thanks guys, looked at the xdoc docs and somehow missed that property. didn't think to look in the user guide. Charles Daniels wrote: I don't think that's quite what Nathan is looking for. Nathan see the last paragraph here: http://maven.apache.org/reference/user-guide.html Simply set maven.xdoc.includeProjectDocumentation="no" -Original Message- From: Norbert Pabis' [mailto:[EMAIL PROTECTED] Sent: Monday, August 16, 2004 11:54 AM To: Maven Users List Subject: Re: disabling project documentation Deregister all reports. Nathan Coast wrote: Hi, When executing the 'site' goal, is there any way to prevent the generation of the "Project Documentation" menu and related reports? I tried adding to maven.xml and to project.xml but the reports are still generated. thanks Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Norbert Pabis - 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: [jar] Unused properties!?
Dion Gillard schrieb: On Sun, 15 Aug 2004 11:30:34 +0200, Peter Nabbefeld <[EMAIL PROTECTED]> wrote: Hello, in the properties description for the jar-plugin I've found the following properties: maven.has.jar.resource.patterns maven.jar.resources.set The second is described to hold the includes from ${pom.build.resources.includes}, but inserting -tags here seems to do nothing. I've searched through plugin.jelly then, but I didn't find any reference to these properties: It seems they're documented but not implemented. Could anybody tell me more aboute these properties? Here's what I got from a text search of maven and maven-plugins: maven.has.jar.resource.patterns and maven.jar.resources.set don't appear to be used anymore. That's why I've finally asked for, which functionality is available: The documents seem to be either outdated and unmaintained or just a declaration of intent - don't know, if the documentation should be removed or if the functionality has to be implemented (these are not the only properties I've found). Kind regards Peter Nabbefeld - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple URLs for issue tracking
Some of our projects have more that one issue tracking system. Is there a way to include multiple URLs in the project.xml file for the tag? I tried several ways but it does not work. 1) http://server1:8080 http://server2: 2) http://server1:8080 http://server2: Thanks in advance for any help Max - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jar] Unused properties!?
On Sun, 15 Aug 2004 11:30:34 +0200, Peter Nabbefeld <[EMAIL PROTECTED]> wrote: > > Hello, > > in the properties description for the jar-plugin I've found the > following properties: > > maven.has.jar.resource.patterns > maven.jar.resources.set > > The second is described to hold the includes from > ${pom.build.resources.includes}, but inserting -tags here seems > to do nothing. I've searched through plugin.jelly then, but I didn't > find any reference to these properties: It seems they're documented but > not implemented. > > Could anybody tell me more aboute these properties? Here's what I got from a text search of maven and maven-plugins: maven.has.jar.resource.patterns and maven.jar.resources.set don't appear to be used anymore. -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jar] Why is the jar-plugin dependent on velocity?
On Sun, 15 Aug 2004 12:43:31 +0200, Peter Nabbefeld <[EMAIL PROTECTED]> wrote: > > Hi, > > I've not found out, where velocity is used in plugin.jelly, while I've > found the following entries in project.xml: > > >commons-jelly >commons-jelly-tags-velocity >20030303.205659 > > >velocity >velocity >1.4-dev > > > IMO these entries are outdated. Another question is: Don't You need Ant > as a dependency? However, it will not be a problem, as maven needs ant. We probably don't need these anymore. If you like, raise a Jira issue for it. As for Ant, in Maven 1.0, all of Maven's dependencies are on the classpath for better or worse. -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: disabling project documentation
Nathan Coast wrote: Hi, When executing the 'site' goal, is there any way to prevent the generation of the "Project Documentation" menu and related reports? I tried adding to maven.xml and to project.xml but the reports are still generated. what about maven.xdoc.includeProjectDocumentation ? -- gd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: disabling project documentation
I don't think that's quite what Nathan is looking for. Nathan see the last paragraph here: http://maven.apache.org/reference/user-guide.html Simply set maven.xdoc.includeProjectDocumentation="no" > -Original Message- > From: Norbert Pabis' [mailto:[EMAIL PROTECTED] > Sent: Monday, August 16, 2004 11:54 AM > To: Maven Users List > Subject: Re: disabling project documentation > > > Deregister all reports. > > > > > > Nathan Coast wrote: > > Hi, > > > > When executing the 'site' goal, is there any way to prevent the > > generation of the "Project Documentation" menu and related reports? > > > > I tried adding > > to maven.xml > > and > >to project.xml > > > > but the reports are still generated. > > > > thanks > > Nathan > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > Norbert Pabis > > > - > 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: disabling project documentation
Deregister all reports. Nathan Coast wrote: Hi, When executing the 'site' goal, is there any way to prevent the generation of the "Project Documentation" menu and related reports? I tried adding to maven.xml and to project.xml but the reports are still generated. thanks Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Norbert Pabis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven Test Suite Failing
Hi David, Looks like a missing junit library defined ... Cheers, Siegfried Goeschl -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Samstag, 14. August 2004 01:24 To: Maven User List Subject: Maven Test Suite Failing Hi for some reason my test:test case is failing, it is working great in intellij and intellij is using the generated classpath from maven idea.. just wondering if anyone has any ideas what might be wrong. Here is the normal output: Thanks for any ideas in advance, I'm wondering do I need to tell my test classes to have the path of my normal classes? ie test outputs to /target/test-classes and my normal source goes to /target/classes?? C:\projects\NADA>maven test:test __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0 build:start: java:prepare-filesystem: java:compile: [echo] Compiling to C:\projects\NADA/target/classes BUILD FAILED File.. C:\Documents and Settings\halcy\.maven\cache\maven-test-plugin-1.6.2\ plugin.jelly Element... junit Line.. 133 Column 41 java.lang.NoClassDefFoundError Total time: 2 seconds Finished at: Fri Aug 13 17:27:37 MDT 2004 and the verbose output: build:start: java:prepare-filesystem: java:compile: [echo] Compiling to C:\projects\NADA/target/classes BUILD FAILED java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at junit.framework.TestSuite.createTest(TestSuite.java:131) at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at junit.framework.TestSuite.(TestSuite.java:75) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.(J UnitTestRunner.java:261) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.(J UnitTestRunner.java:219) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JU nitTask.java:822) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT ask.java:556) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT ask.java:532) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 634) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at org.apache.maven.cli.App.doMain(App.java:486) at org.apache.maven.cli.App.main(App.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) File.. C:\Documents and Settings\halcy\.maven\cache\maven-test-plugin-1.6.2\ plugin.jelly Element... junit Line.. 133 Column 41 java.lang.NoClassDefFoundError Total time: 2 seconds Finished at: Fri Aug 13 17:28:08 MDT 2004 and the debug + verbose output: [junit] [DEBUG] Finding class org.dbunit.operation.DatabaseOperation [junit] [DEBUG] Class org.dbunit.operation.DatabaseOperation loaded from ant loader BUILD FAILED java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at junit.framework.TestSuite.createTest(TestSuite.java:131) at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at
Re: Codeczar Maven Tomcat Plugin improvements suggestions
Hi Nathan, I realized that my suggestion for the fragment replacement wasn't good, as I used a jelly expression. So instead of : we should use something like : or anything else that doesn't include ${} format. Also if I can help with the Tomcat plugin I'd be interested, provided I have the time and knowledge. Let me know. Regards, Serge Huber. At 00:09 13.09.2004, you wrote: thanks Serge, your suggestions are all good. I was sure the plugin compiled the generated java sources too - I'll check. I've collected a number of other suggestions for improvements to the plugin. I hope to have an improved version available some time in the next few weeks. cheers Nathan Serge Huber wrote: Hi all, First of all thanks to the guys at codeczar for their plugin. It's really helpful. I've recently started using the tomcat:jspc goal and I've had a few problems. First of all it fails if I don't declare a maven.war.src directory explicitely in my project.properties. This might be due to the final version of the WAR plugin that I'm using with Maven 1.0 final. Also, the JSP are translated into Java source code, but there is no target to compile the source code which I find a shame. Last but not least the @maven.tomcat.generated@ to be inserted in the web.xml file is not very elegant because if we don't execute the merge, we will end up with an invalid web.xml file. I suggest to use something like this : I have very limited knowledge of Jelly so I'm not sure how I can help do all these changes. I am showing below some goals that do implement all the stuff I've talked about, but they are not integrated with the Tomcat plugin. The following code has been tested with Tomcat 5.0.18 only. Regards, Serge Huber. project.xml (extract & the same as the Tomcat plugin) : --- tomcat catalina-ant 5.0.18 root tomcat jasper-compiler 5.0.18 tomcat jasper-runtime 5.0.18 commons-logging commons-logging 1.0.3 commons-el commons-el 1.0 root servletapi servlet-api 2.4-20040521 jar jspapi jsp-api 2.0-20040521 root jar project.properties : # Set to true if you want JSP precompilation to happen after war:webapp goal precompile.jsp=true maven.xml : --- xmlns:j="jelly:core" xmlns:define="jelly:define" xmlns:util="jelly:util" xmlns:jasper="jasper" xmlns:ant="jelly:ant"> name="JspC" className="org.apache.jasper.JspC" method="execute" /> - -- --- -=[ shuber2 at jahia dot com ]= --- -- - www.jahia.org : A collaborative source CMS and Portal Server - 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] - -- --- -=[ shuber2 at jahia dot com ]= --- -- - www.jahia.org : A collaborative source CMS and Portal Server - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Accessing Maven properties from a Jelly Bean ?
Hi Stefan, Thanks for the quick answer, it helped a lot ! Regards, Serge Huber. At 20:10 14.08.2004, you wrote: Hi Serge, just a short sample how i accessed simple properties: Hope this helps, -Stefan > -Original Message- > From: Serge Huber [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 14, 2004 7:27 PM > To: Maven Users List > Subject: Accessing Maven properties from a Jelly Bean ? > > > > Hi all, > > I'm a beginner, trying to develop my first Maven plugin, and I'm a > little lost :) > > I need to develop some functionality through a Jelly Bean, but I also > need to access some Maven properties (especially POM properties) from > the bean. Basically what I need to access in my Jelly Bean is : > > - the POM's dependencies > - other project related properties. > > I understand that I can pass parameters through to the JellyBean via > XML attributes, but can I pass a list of dependencies or > something like > that ? What is the recommended way of developing this functionality ? > > Thanks a lot, >Serge Huber. > > > - > 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] - -- --- -=[ shuber2 at jahia dot com ]= --- -- - www.jahia.org : A collaborative source CMS and Portal Server - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Accessing Maven properties from a Jelly Bean ?
Ok thanks, I have been developing a tag library over the week-end and it does work the way you specified. I just didn't believe Jelly could be that powerful ! Regards, Serge Huber. At 08:39 15.08.2004, you wrote: On Sat, 14 Aug 2004 19:26:48 +0200, Serge Huber <[EMAIL PROTECTED]> wrote: > - the POM's dependencies Following on, 'pom' is the project.xml as an object. > I understand that I can pass parameters through to the JellyBean via > XML attributes, but can I pass a list of dependencies or something like > that ? What is the recommended way of developing this functionality ? Use a bean. -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - -- --- -=[ shuber2 at jahia dot com ]= --- -- - www.jahia.org : A collaborative source CMS and Portal Server - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [jar] Which functionality is available?
Dion Gillard schrieb: The documentation should be correct. If it's not, we can help. Have You read my other two questions about the jar-plugin? Regards Peter On Sun, 15 Aug 2004 13:12:26 +0200, Peter Nabbefeld <[EMAIL PROTECTED]> wrote: Hello, there are several properties described for the jar plugin which don't seem to be implemented - where can I get a description of what works and a roadmap for the rest? Kind regards Peter Nabbefeld - 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]
disabling project documentation
Hi, When executing the 'site' goal, is there any way to prevent the generation of the "Project Documentation" menu and related reports? I tried adding to maven.xml and to project.xml but the reports are still generated. thanks Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]