RE: maven NG /maven2
http://wiki.codehaus.org/maven/MavenNg -Original Message- From: Nadeem Bitar [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 April 2004 10:27 AM To: Maven Users List Subject: maven NG /maven2 Where can I find more information about maven2/maven NG? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] www.sensis.com.au A leading Australian advertising, information and directories business. www.yellowpages.com.au www.whitepages.com.au www.citysearch.com.au www.whereis.com.au www.telstra.com.au This email and any attachments are intended only for the use of the recipient and may be confidential and/or legally privileged. Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or damage arising from using, opening or transmitting this email. If you are not the intended recipient you must not use, interfere with, disclose, copy or retain this email and you should notify the sender immediately by return email or by contacting Sensis Pty Ltd by telephone on [+61 3 9201 4888]
Re: maven NG /maven2
On Wed, 2004-04-07 at 20:26, Nadeem Bitar wrote: > Where can I find more information about maven2/maven NG? > The first alpha will be release a few weeks after 1.0 final is released. Be patient :-) > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven NG /maven2
Where can I find more information about maven2/maven NG? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: multiproject:site (plugin v1.2) fails to create a directory
Can you add this to JIRA? Thanks, Brett > -Original Message- > From: Paul Spencer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 6 April 2004 11:09 AM > To: 'Maven Users List' > Subject: multiproject:site (plugin v1.2) fails to create a directory > > > Maven 1.0-RC2 (multiproject plugin v1.2) > > The multiproject:site goals was failing with following error: > creation was not successful for an unknown reason > > After much looking around, I found the problem. One of the > project.xml > files was a missing tag in a project XML. > > After adding the tag to the project.xml, the goal succeeded! > > Paul Spencer > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
RE: appserver plugin java.lang.reflect.InvocationTargetException
(Addressing to both lists so everyone has the benefit, but please don't cross-post in future). This is already fixed in CVS (search the archives/JIRA for more information). A workaround is to run some webserver goal as well in the same invocation. Eg maven webserver:install appserver:install. I think there is a webserver:init goal which is harmless enough to run every time. - Brett > -Original Message- > From: Guillaume Lasnier [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 7 April 2004 10:45 PM > To: Maven Users List; [EMAIL PROTECTED] > Subject: appserver plugin java.lang.reflect.InvocationTargetException > > > Hi, > I have a problem with the RC2 (which I didn't have with RC1) when > invoking the appserver:init goal. It seems like it cannot find the > maven-webserver-plugin when analyzing the log trace : > > ASTIdentifier : java.lang.reflect.InvocationTargetException > java.lang.reflect.InvocationTargetException > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > orImpl.jav > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > odAccessor > Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.apache.commons.jexl.util.introspection.UberspectImpl$VelMe > thodImpl.i > nvoke(UberspectImpl.java:304) > at > org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:56) > at > org.apache.commons.jexl.parser.ASTReference.execute(ASTReferen > ce.java: > 106) > at > org.apache.commons.jexl.parser.ASTReference.value(ASTReference > .java:88) > at > org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java: > 123) > at > org.apache.commons.jelly.expression.jexl.JexlExpression.evalua > te(JexlExp > ression.java:115) > at > org.apache.commons.jelly.expression.jexl.JexlExpressionFactory > $Expressio > nSupportLocal.evaluate(JexlExpressionFactory.java:168) > at > org.apache.commons.jelly.expression.ExpressionSupport.evaluate > Recurse(Ex > pressionSupport.java:106) > at > org.apache.commons.jelly.impl.TagScript.run(TagScript.java:249) > at > org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) > at > org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(Mave > nGoalTag.j > ava:78) > at > org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction > .performAc > tion(MavenGoalTag.java:99) > 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: > 531) > at > org.apache.maven.MavenSession.attainGoals(MavenSession.java:265) > at org.apache.maven.cli.App.doMain(App.java:466) > at org.apache.maven.cli.App.main(App.java:1117) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > orImpl.jav > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > odAccessor > Impl.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: org.apache.maven.plugin.UnknownPluginException: Unknown > plugin "maven-webserver-plugin" > at > org.apache.maven.plugin.PluginManager.getPluginContext(PluginM > anager.jav > a:727) > at > org.apache.maven.project.Project.getPluginContext(Project.java:321) > ... 29 more > > But when I run maven -g, I can see the webserver plugin > registered. The > plugin is also installed in the > $HOME/.maven/plugins/maven-appserver-plugin-2.0 directory. > I managed to get the error fixed when commenting all the > lines having > the instruction > pom.getPluginContext('maven-webserver-plugin') > in the plugin.jelly for the appserver plugin, but in that > case I cannot > take advantage of the filterset and properties defined to integrate > with the appserver plugin. Is anyone aware of this? Is this a bug? > > -- > Guillaume Lasnier > mailto:[EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
Re: HELP! - rc2 - resource exception on download
[EMAIL PROTECTED] wrote: Ever since upgrading to rc2, I cannot run any maven goals that require fetches from the remote repo... maven crashes out w/ the following message: BUILD FAILED File.. file:/export/java/maven/currentversion/plugins/unpacked/maven-xdoc-plugin-1.6/plugin.jelly Element... attainGoal Line.. 639 Column 48 Can't find bundle for base name org/apache/maven/messages/messages, locale en Total time: 12 seconds Finished at: Wed Apr 07 13:50:54 BST 2004 it must have to do w/ the fetches, since if i disable remote repo it runs fine (reporting messages about remote repo being disabled, which, incidentally reside in the same resource bundle that it's complaining about above) if anyone has any suggestions, please post them - i'm not picky, i must have gone through more pages than google could serve today, in search of an answer, all to no avail... I found that upgrading to RC2 also caused me some issues. I just deleted (moved away) my ~/.maven directory and downloaded everything I needed again. It was anoying (because it took so long) but it all seemed to work again after that. At first I tried just deleteing the plugins directory but that wasn't enough... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: test:test goal can't find JUnitTask
Jarrell, Maury wrote: Since I wrote this first message, I found the plugin.jelly script in $HOME/.maven/plugins/maven-test-plugin-1.5/plugin.jelly and added a line to echo the classpath. The classpath has the ant-optional-1.5.3-1.jar, but the task can't see the JUnitTask. Is Jelly referencing a different classpath? The output is below. I'd appreciate any nudge in the right direction. Thanks, Maury $ maven test:test __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc2 build:start: java:prepare-filesystem: java:compile: [echo] Compiling to $HOME/fhrcc-java/target/classes java:jar-resources: test:prepare-filesystem: test:test-resources: test:compile: test:test: [echo] Here we are. [echo] $HOME/.maven/repository/mail/jars/mail.jar:$HOME/.maven/repository/oro/jars/ oro-2.0.8.jar:$HOME/.maven/repository/commons-net/jars/commons-net-1.1.0.jar :$HOME/.maven/repository/oracle/jars/classes111.zip:$HOME/.maven/repository/ log4j/jars/log4j-1.2.8.jar:$HOME/.maven/repository/activation/jars/activatio n.jar:$HOME/.maven/repository/junit/jars/junit-3.8.1.jar:$HOME/.maven/reposi tory/jtds/jars/jtds-0.5.1.jar:$HOME/.maven/repository/bsh/jars/bsh-2.0b1.jar :$HOME/.maven/repository/ant/jars/ant-1.5.3-1.jar:$HOME/.maven/repository/an t/jars/ant-optional-1.5.3-1.jar BUILD FAILED File.. file:$HOME/.maven/plugins/maven-test-plugin-1.5/plugin.jelly Element... taskdef Line.. 108 Column 9 taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found Total time: 25 seconds Finished at: Tue Apr 06 16:44:37 CDT 2004 $ -Original Message- From: Jarrell, Maury [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 9:11 AM To: Maven Users List Subject: test:test goal can't find JUnitTask The test:test goal can't find the JUnitTask. I think it might have to do with the fact that I have ant 1.6.1 installed. Maven 1.0-rc2 seems to rely on ant 1.5.3-1. In 1.5.3-1 the JUnitTask is in optional.jar. In ant-1.6.1 it is in ant-junit.jar. I find the ant-optional-1.5.3-1.jar in $MAVEN_HOME/lib. It is also in $HOME/.maven/repository/ant/jars I've tried unsetting my other ANT_HOME, but still get the same error. Any ideas? - 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] I found that I needed the below dependancy in my project.xml file: junit junit 3.8.1 to run my junit tests... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XDOC
On 7 Apr 2004, at 09:42, James Hughes wrote: Thanks Robert. The reason I ask is because doing a Google on XDOC also comes up with the following site: http://www.openmechanics.org/projects/xdoc/ Which I assume is not the same XDOC? it doesn't look like it is. So from what I can tell, JDOM is a simple API for manipulating XML, Velocity is a template engine, Anakia is a project (and from what I can tell, pretty much an Ant task) that puts JDOM and Velocity together (and which itself only exists as a sub-project of Velocity), and XDOC is an extension to Anakia specifically for Maven - is that correct? If it is, why did the Maven folk prefer to invent a new technology rather than extend the existing Anakia project? (i'm not a maven developer so this is probably a different perspective than those within the project have.) IMHO the reason why maven developed a new implementation is a combination of: 1. anakia's format is very widely used around apache but the actual project is now pretty old, has some issues and is not really maintained. 2. the maven team prefers the best possible solutions even if that means developing fresh. - robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie prereqs questions
Hey! That's what I was about to suggest :). NP, my pleasure Eric. Menetrieux Remy wrote: Ok i just do a Before your code thanks Eric. -Message d'origine- De : Menetrieux Remy Envoyé : mercredi 7 avril 2004 16:32 À : Maven Users List Objet : RE: Newbie prereqs questions Re-hi, Thank's for the answer, but my variable is initialize in a the goal " scm:parse-connection" on the scm plugin. Have you any idea ? Thank's.. -Message d'origine- De : Eric Giguere [mailto:[EMAIL PROTECTED] Envoyé : mercredi 7 avril 2004 15:23 À : Maven Users List Objet : Re: Newbie prereqs questions Hi The plugin properties in can be seen as variable declaration. In order to get the values during execution, you must get it from the plugin's context. You can do this with such a line in your maven.xml (anywhere... not required to be in a goal): Hope it helps. Eric. Menetrieux Remy wrote: For my goal I needs to get the cvs root and the cvs module. For this I call scm:parse-connection in the prereqs section. But when I read the maven.scm.cvs.root or maven.scm.cvs.module they are empty. How can I get this variable? thanks repository : ${maven.scm.cvs.root} repository : ${maven.scm.cvs.module} The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be a violation of law. If you received this transmission in error, please contact the sender by reply e-mail and delete and destroy all copies of the material, including all copies stored in the recipient's computer, printed or saved to disk. Thank you. Software virus: Europcar has taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. Europcar cannot accept liability for any loss or damage caused by software viruses. Intellectual Property: Europcar has built up a significant reputation in the name "Europcar" and has a number of trademark applications and registrations in many countries. No trademarks, service marks, and trade names owned or licensed by Europcar or its affiliates may be copied, reproduced, republished, uploaded, posted, transmitted, or distributed in any way, without the prior written consent of Europcar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be a violation of law. If you received this transmission in error, please contact the sender by reply e-mail and delete and destroy all copies of the material, including all copies stored in the recipient's computer, printed or saved to disk. Thank you. Software virus: Europcar has taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. Europcar cannot accept liability for any loss or damage caused by software viruses. Intellectual Property: Europcar has built up a significant reputation in the name "Europcar" and has a number of trademark applications and registrations in many countries. No trademarks, service marks, and trade names owned or licensed by Europcar or its affiliates may be copied, reproduced, republished, uploaded, posted, transmitted, or distributed in any way, without the prior written consent of Europcar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be a violation of law. If you received this transmission in error, please contact the sender by reply e-mail and delete and destroy all copies of the material, including all copies stored in the recipient's computer, printed or saved to disk. Thank you. Software virus: Europcar has taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. Europcar cannot accept liabil
RE: Newbie prereqs questions
Ok i just do a Before your code thanks Eric. -Message d'origine- De : Menetrieux Remy Envoyé : mercredi 7 avril 2004 16:32 À : Maven Users List Objet : RE: Newbie prereqs questions Re-hi, Thank's for the answer, but my variable is initialize in a the goal " scm:parse-connection" on the scm plugin. Have you any idea ? Thank's.. -Message d'origine- De : Eric Giguere [mailto:[EMAIL PROTECTED] Envoyé : mercredi 7 avril 2004 15:23 À : Maven Users List Objet : Re: Newbie prereqs questions Hi The plugin properties in can be seen as variable declaration. In order to get the values during execution, you must get it from the plugin's context. You can do this with such a line in your maven.xml (anywhere... not required to be in a goal): Hope it helps. Eric. Menetrieux Remy wrote: >For my goal I needs to get the cvs root and the cvs module. For this I call >scm:parse-connection in the prereqs section. But when I read the >maven.scm.cvs.root or maven.scm.cvs.module they are empty. How can I get >this variable? > >thanks > >description="Generate file change report beetween release"> > >repository : ${maven.scm.cvs.root} > >repository : ${maven.scm.cvs.module} > > > > >The information transmitted is intended only for the person or entity to >which it is addressed and may contain confidential and/or privileged >material. Any review, retransmission, dissemination or other use of, or >taking of any action in reliance upon, this information by persons or >entities other than the intended recipient is prohibited and may be a >violation of law. If you received this transmission in error, please contact >the sender by reply e-mail and delete and destroy all copies of the >material, including all copies stored in the recipient's computer, printed >or saved to disk. Thank you. >Software virus: Europcar has taken precautions to minimize the risk of >transmitting software viruses, but we advise you to carry out your own virus >checks on any attachment to this message. Europcar cannot accept liability >for any loss or damage caused by software viruses. >Intellectual Property: Europcar has built up a significant reputation in the >name "Europcar" and has a number of trademark applications and registrations >in many countries. No trademarks, service marks, and trade names owned or >licensed by Europcar or its affiliates may be copied, reproduced, >republished, uploaded, posted, transmitted, or distributed in any way, >without the prior written consent of Europcar. > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be a violation of law. If you received this transmission in error, please contact the sender by reply e-mail and delete and destroy all copies of the material, including all copies stored in the recipient's computer, printed or saved to disk. Thank you. Software virus: Europcar has taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. Europcar cannot accept liability for any loss or damage caused by software viruses. Intellectual Property: Europcar has built up a significant reputation in the name "Europcar" and has a number of trademark applications and registrations in many countries. No trademarks, service marks, and trade names owned or licensed by Europcar or its affiliates may be copied, reproduced, republished, uploaded, posted, transmitted, or distributed in any way, without the prior written consent of Europcar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be a violation of law. If you received this transmission in error, please contact the sender by reply e-mail and delete and destroy all copies of the material, including all copies stored in the recipient's computer, printed or saved to disk. Thank you. Software virus: Europcar has taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. Europcar cannot accept liability for any lo
RE: Cactus Plug-in and Oracle AS
Hi Pat, You may have more answers if you send this question to the Cactus mailing list. Thanks -Vincent > -Original Message- > From: Bateman Pat UK MYT [mailto:[EMAIL PROTECTED] > Sent: 07 April 2004 16:35 > To: Maven Users List > Subject: Cactus Plug-in and Oracle AS > > I noticed from the Maven Cactus Plug-in documentation that there is > support for lots if different containers, but not Oracle. > > Has anyone out there done any integration with Cactus and Oracle? > > Thanks > > Pat > > - > 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]
Cactus Plug-in and Oracle AS
I noticed from the Maven Cactus Plug-in documentation that there is support for lots if different containers, but not Oracle. Has anyone out there done any integration with Cactus and Oracle? Thanks Pat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Newbie prereqs questions
Re-hi, Thank's for the answer, but my variable is initialize in a the goal " scm:parse-connection" on the scm plugin. Have you any idea ? Thank's.. -Message d'origine- De : Eric Giguere [mailto:[EMAIL PROTECTED] Envoyé : mercredi 7 avril 2004 15:23 À : Maven Users List Objet : Re: Newbie prereqs questions Hi The plugin properties in can be seen as variable declaration. In order to get the values during execution, you must get it from the plugin's context. You can do this with such a line in your maven.xml (anywhere... not required to be in a goal): Hope it helps. Eric. Menetrieux Remy wrote: >For my goal I needs to get the cvs root and the cvs module. For this I call >scm:parse-connection in the prereqs section. But when I read the >maven.scm.cvs.root or maven.scm.cvs.module they are empty. How can I get >this variable? > >thanks > >description="Generate file change report beetween release"> > >repository : ${maven.scm.cvs.root} > >repository : ${maven.scm.cvs.module} > > > > >The information transmitted is intended only for the person or entity to >which it is addressed and may contain confidential and/or privileged >material. Any review, retransmission, dissemination or other use of, or >taking of any action in reliance upon, this information by persons or >entities other than the intended recipient is prohibited and may be a >violation of law. If you received this transmission in error, please contact >the sender by reply e-mail and delete and destroy all copies of the >material, including all copies stored in the recipient's computer, printed >or saved to disk. Thank you. >Software virus: Europcar has taken precautions to minimize the risk of >transmitting software viruses, but we advise you to carry out your own virus >checks on any attachment to this message. Europcar cannot accept liability >for any loss or damage caused by software viruses. >Intellectual Property: Europcar has built up a significant reputation in the >name "Europcar" and has a number of trademark applications and registrations >in many countries. No trademarks, service marks, and trade names owned or >licensed by Europcar or its affiliates may be copied, reproduced, >republished, uploaded, posted, transmitted, or distributed in any way, >without the prior written consent of Europcar. > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be a violation of law. If you received this transmission in error, please contact the sender by reply e-mail and delete and destroy all copies of the material, including all copies stored in the recipient's computer, printed or saved to disk. Thank you. Software virus: Europcar has taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. Europcar cannot accept liability for any loss or damage caused by software viruses. Intellectual Property: Europcar has built up a significant reputation in the name "Europcar" and has a number of trademark applications and registrations in many countries. No trademarks, service marks, and trade names owned or licensed by Europcar or its affiliates may be copied, reproduced, republished, uploaded, posted, transmitted, or distributed in any way, without the prior written consent of Europcar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Manifest generation for OSGi bundles
Folks, I have an OSGi bundle that requires the following manifest entries: Bundle-Activator: Bundle-Name: Bundle-Description: A Bundle that manages the deployment of other bundles. Bundle-Vendor: Rob Evans, Karl Maat Bundle-Version: 1.0.2 Import-Package: org.osgi.framework Bundle-Classpath: .,lib/jug.jar,lib/xstream.jar,lib/eman.infra.agents-1.2.2.jar Instead of specifying eman.jar.manifest=config/myManifest.txt and hardcoding the entries into the manifest file, I'd like to have the manifest generated from properties Of the POM. The first solution that comes to mind is to simply crate a preGoal of some sort to generate config/myManifest.txt before the jar goal runs. Is this a proper approach? Also, in order to generate the Bundle-Classpath entry, I'd like to take advantage of dependency properties like so: commons-collections commons-collections 2.1 jar true Does this approach sound sane? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie prereqs questions
Hi The plugin properties in can be seen as variable declaration. In order to get the values during execution, you must get it from the plugin's context. You can do this with such a line in your maven.xml (anywhere... not required to be in a goal): Hope it helps. Eric. Menetrieux Remy wrote: For my goal I needs to get the cvs root and the cvs module. For this I call scm:parse-connection in the prereqs section. But when I read the maven.scm.cvs.root or maven.scm.cvs.module they are empty. How can I get this variable? thanks repository : ${maven.scm.cvs.root} repository : ${maven.scm.cvs.module} The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be a violation of law. If you received this transmission in error, please contact the sender by reply e-mail and delete and destroy all copies of the material, including all copies stored in the recipient's computer, printed or saved to disk. Thank you. Software virus: Europcar has taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. Europcar cannot accept liability for any loss or damage caused by software viruses. Intellectual Property: Europcar has built up a significant reputation in the name "Europcar" and has a number of trademark applications and registrations in many countries. No trademarks, service marks, and trade names owned or licensed by Europcar or its affiliates may be copied, reproduced, republished, uploaded, posted, transmitted, or distributed in any way, without the prior written consent of Europcar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Genapp ear problems
Hi, looking at the genapp ear template I recognized the ear-2.1 dependency, that could not be resolved. It would be helpfuil, if a README would be part of the generated app and where to obtain that one. At least J2EE 1.4 does not contain it. Regards, Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HELP! - rc2 - resource exception on download
Ever since upgrading to rc2, I cannot run any maven goals that require fetches from the remote repo... maven crashes out w/ the following message: BUILD FAILED File.. file:/export/java/maven/currentversion/plugins/unpacked/maven-xdoc-plugin-1.6/plugin.jelly Element... attainGoal Line.. 639 Column 48 Can't find bundle for base name org/apache/maven/messages/messages, locale en Total time: 12 seconds Finished at: Wed Apr 07 13:50:54 BST 2004 it must have to do w/ the fetches, since if i disable remote repo it runs fine (reporting messages about remote repo being disabled, which, incidentally reside in the same resource bundle that it's complaining about above) if anyone has any suggestions, please post them - i'm not picky, i must have gone through more pages than google could serve today, in search of an answer, all to no avail... This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan Chase & Co., its subsidiaries and affiliates. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
appserver plugin java.lang.reflect.InvocationTargetException
Hi, I have a problem with the RC2 (which I didn't have with RC1) when invoking the appserver:init goal. It seems like it cannot find the maven-webserver-plugin when analyzing the log trace : ASTIdentifier : java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.i nvoke(UberspectImpl.java:304) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:56) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java: 106) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:88) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java: 123) at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExp ression.java:115) at org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$Expressio nSupportLocal.evaluate(JexlExpressionFactory.java:168) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(Ex pressionSupport.java:106) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:249) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.j ava:78) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAc tion(MavenGoalTag.java:99) 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: 531) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265) at org.apache.maven.cli.App.doMain(App.java:466) at org.apache.maven.cli.App.main(App.java:1117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.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: org.apache.maven.plugin.UnknownPluginException: Unknown plugin "maven-webserver-plugin" at org.apache.maven.plugin.PluginManager.getPluginContext(PluginManager.jav a:727) at org.apache.maven.project.Project.getPluginContext(Project.java:321) ... 29 more But when I run maven -g, I can see the webserver plugin registered. The plugin is also installed in the $HOME/.maven/plugins/maven-appserver-plugin-2.0 directory. I managed to get the error fixed when commenting all the lines having the instruction pom.getPluginContext('maven-webserver-plugin') in the plugin.jelly for the appserver plugin, but in that case I cannot take advantage of the filterset and properties defined to integrate with the appserver plugin. Is anyone aware of this? Is this a bug? -- Guillaume Lasnier mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
/ /OREF:CPTBB0B5 Need dependency on system classpath
Hi there, I'm trying to use "rowset.jar" with my Maven project. However, it seems that rowset.jar has classes that require to load a properties file that it does through a system class loader. My JUnit tests that use rowset.jar fail. I'm just not 100% sure where do I define my rowset.jar file as a dependency. Do I define it in System Classpath (export CLASSPATH=/.../rowset.jar:$CLASSPATH). Or do I have to still specify it in my project.xml file dependency element. My project does depend on rowset.jar so it makes sense that it should reside in my project.xml file but, AFAIK, I still need it to be on my System CLASSPATH for it to function correctly. Having it in both places doesn't work either (I get "java.sql.SQLException: Invalid persistence provider generated") I got a good feeling that it maybe using a wrong loaded jar. (wrong class loader when running the test for rowset calls to work) I use WSAD as my IDE and if I run the JUnit test through the IDE all works 100%. Any ideas or suggestions please. I have been trying to get this to work for a long time with no luck. This is driving me insane now. :( Thanks --Alen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: test:test goal can't find JUnitTask
Since I wrote this first message, I found the plugin.jelly script in $HOME/.maven/plugins/maven-test-plugin-1.5/plugin.jelly and added a line to echo the classpath. The classpath has the ant-optional-1.5.3-1.jar, but the task can't see the JUnitTask. Is Jelly referencing a different classpath? The output is below. I'd appreciate any nudge in the right direction. Thanks, Maury $ maven test:test __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc2 build:start: java:prepare-filesystem: java:compile: [echo] Compiling to $HOME/fhrcc-java/target/classes java:jar-resources: test:prepare-filesystem: test:test-resources: test:compile: test:test: [echo] Here we are. [echo] $HOME/.maven/repository/mail/jars/mail.jar:$HOME/.maven/repository/oro/jars/ oro-2.0.8.jar:$HOME/.maven/repository/commons-net/jars/commons-net-1.1.0.jar :$HOME/.maven/repository/oracle/jars/classes111.zip:$HOME/.maven/repository/ log4j/jars/log4j-1.2.8.jar:$HOME/.maven/repository/activation/jars/activatio n.jar:$HOME/.maven/repository/junit/jars/junit-3.8.1.jar:$HOME/.maven/reposi tory/jtds/jars/jtds-0.5.1.jar:$HOME/.maven/repository/bsh/jars/bsh-2.0b1.jar :$HOME/.maven/repository/ant/jars/ant-1.5.3-1.jar:$HOME/.maven/repository/an t/jars/ant-optional-1.5.3-1.jar BUILD FAILED File.. file:$HOME/.maven/plugins/maven-test-plugin-1.5/plugin.jelly Element... taskdef Line.. 108 Column 9 taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found Total time: 25 seconds Finished at: Tue Apr 06 16:44:37 CDT 2004 $ > -Original Message- > From: Jarrell, Maury [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 06, 2004 9:11 AM > To: Maven Users List > Subject: test:test goal can't find JUnitTask > > The test:test goal can't find the JUnitTask. > > I think it might have to do with the fact that I have ant 1.6.1 installed. > Maven 1.0-rc2 seems to rely on ant 1.5.3-1. In 1.5.3-1 the JUnitTask is > in > optional.jar. In ant-1.6.1 it is in ant-junit.jar. > > I find the ant-optional-1.5.3-1.jar in $MAVEN_HOME/lib. It is also in > $HOME/.maven/repository/ant/jars > > I've tried unsetting my other ANT_HOME, but still get the same error. Any > ideas? > > > - > 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]
Newbie prereqs questions
For my goal I needs to get the cvs root and the cvs module. For this I call scm:parse-connection in the prereqs section. But when I read the maven.scm.cvs.root or maven.scm.cvs.module they are empty. How can I get this variable? thanks repository : ${maven.scm.cvs.root} repository : ${maven.scm.cvs.module} The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be a violation of law. If you received this transmission in error, please contact the sender by reply e-mail and delete and destroy all copies of the material, including all copies stored in the recipient's computer, printed or saved to disk. Thank you. Software virus: Europcar has taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. Europcar cannot accept liability for any loss or damage caused by software viruses. Intellectual Property: Europcar has built up a significant reputation in the name "Europcar" and has a number of trademark applications and registrations in many countries. No trademarks, service marks, and trade names owned or licensed by Europcar or its affiliates may be copied, reproduced, republished, uploaded, posted, transmitted, or distributed in any way, without the prior written consent of Europcar.
Re: xdoclet (ejbdoclet) problems
Konstantin Priblouda wrote: --- Dan Washusen <[EMAIL PROTECTED]> wrote: Hi all, I'm having some troubles with the xdoclet plugin... After a bit of stuffing around I had both the hibernatedoclet and ejbdoclet gaols working. Now I'm trying to incorporate the XDoclet IBM websphere module into the equation and everything dies. I haven't been able to find any decent docs on how to set this up so it's been a process of trial and error. When I add the dependency xdoclet xdoclet-ibm-module 1.2b4 to my project.xml maven no longer seems to be able to execute the hibernatedoclet and ejbdoclet goals. If I remove the dependancy it alls works again. Does anyone have any ideas or know of any examples/docs I could use? I've attached my project.xml, maven.xml and project.properties files. The problem seems to occur with both RC1 and RC2 (although I'm using RC1 as the hibernotedoclet complains about something missing). What does maven / xdoclet say? COuld it be that you just did not activated your websphere modules? ( consult plugin.jelly for property names... grep will help you ) Sometimes maven -X helps to locate missing dependency... regards, = [ Konstantin Pribluda ( ko5tik ) ] Turns out I was missing: xdoclet xdoclet-web-module 1.2b4 looks like the xdoclet-ibm-module depends on the xdoclet-web-module... The solutions was found in this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg07512.html sigh! but yay it works :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xdoclet (ejbdoclet) problems
--- Dan Washusen <[EMAIL PROTECTED]> wrote: > Hi all, > I'm having some troubles with the xdoclet plugin... > After a bit of > stuffing around I had both the hibernatedoclet and > ejbdoclet gaols > working. Now I'm trying to incorporate the XDoclet > IBM websphere module > into the equation and everything dies. > > I haven't been able to find any decent docs on how > to set this up so > it's been a process of trial and error. When I add > the dependency > xdoclet > xdoclet-ibm-module > 1.2b4 > to my project.xml maven no longer > seems to be able to > execute the hibernatedoclet and ejbdoclet goals. If > I remove the > dependancy it alls works again. > > Does anyone have any ideas or know of any > examples/docs I could use? > > I've attached my project.xml, maven.xml and > project.properties files. > > The problem seems to occur with both RC1 and RC2 > (although I'm using RC1 > as the hibernotedoclet complains about something > missing). What does maven / xdoclet say? COuld it be that you just did not activated your websphere modules? ( consult plugin.jelly for property names... grep will help you ) Sometimes maven -X helps to locate missing dependency... regards, = [ Konstantin Pribluda ( ko5tik ) ] Zu Verstärkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] für die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich [ http://www.pribluda.de ] __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XDOC
Thanks Robert. The reason I ask is because doing a Google on XDOC also comes up with the following site: http://www.openmechanics.org/projects/xdoc/ Which I assume is not the same XDOC? So from what I can tell, JDOM is a simple API for manipulating XML, Velocity is a template engine, Anakia is a project (and from what I can tell, pretty much an Ant task) that puts JDOM and Velocity together (and which itself only exists as a sub-project of Velocity), and XDOC is an extension to Anakia specifically for Maven - is that correct? If it is, why did the Maven folk prefer to invent a new technology rather than extend the existing Anakia project? Thanks for your time, James robert burrell donkin <[EMAIL PROTECTED]> 06/04/2004 21:45 Please respond to "Maven Users List" To: "Maven Users List" <[EMAIL PROTECTED]> cc: Subject:Re: XDOC (i'm not sure exactly what you're asking but i'll do my best) the format used for the xml files in the xdoc section is based on anakia (which is widely used in the ASF). see http://maven.apache.org/start/anakia.html for more details. - robert On 6 Apr 2004, at 11:36, James Hughes wrote: > Can somebody tell me if XDOC is a technology that exists purely in the > Maven world? > > Thanks, > James > > - > 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]