How to escape $ character in POM?

2008-10-11 Thread Jiaqi Guo
I ran into situation where a plugin configuration contains $ character. $$ or \$ didn't seem to work. Any suggestions? Thanks. I'm using maven-2.0.9 Regards -Jiaqi Guo - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Site deployment to sourceforge.net broken

2008-09-29 Thread Jiaqi Guo
Is there an official answer for Marat's question? Can site plugin be configured to deploy file by file instead of zip/unzip? Thanks. http://sourceforge.net/community/forum/topic.php?id=3518pagereplies=1 Regards -Jiaqi Guo SourceForge Marat Radchenko wrote: After last changes in sf.net

How to rename a jar dependency in assembly descriptor?

2008-05-30 Thread Jiaqi Guo
such use case? Thanks Regards Jiaqi Guo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: invoke maven from java

2007-05-29 Thread Jiaqi Guo
Check $M2_HOME/bin/mvn please. .. exec $JAVACMD \ $MAVEN_OPTS \ -classpath ${M2_HOME}/boot/classworlds-*.jar \ -Dclassworlds.conf=${M2_HOME}/bin/m2.conf \ -Dmaven.home=${M2_HOME} \ ${CLASSWORLDS_LAUNCHER} $QUOTED_ARGS So in a typical case, mvn compile package will be java -cp

Re: how to make a module's resources available to a plugin

2007-02-20 Thread Jiaqi Guo
that is in the context of the module that is executing the plugin. Anyone have any ideas? Thanks, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jiaqi Guo http://www.cyclopsgroup.org

Re: Maven 1.0.2: Possible to new an object and then call methods on it, in Maven plugin?

2007-02-20 Thread Jiaqi Guo
that, just within the XML plugin code? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jiaqi Guo http://www.cyclopsgroup.org [EMAIL PROTECTED

Re: [m2] Can anyone explain this code

2007-02-19 Thread Jiaqi Guo
, kindly check [1]. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide Jiaqi Guo wrote: Hi Franz, I tried to get PluginDescriptor within a mojo and got PluginParameterException, then I started looking at this code. Assume expression is string plugin

Re: [m2] Can anyone explain this code

2007-02-13 Thread Jiaqi Guo
with expression ${plugin} is causing PluginParameterException which indicates the value of it is null. Regards -Jiaqi franz see wrote: Good day to you, Jiaqi, Why do you say that it will be evaluted to null? Cheers, Franz Jiaqi Guo wrote: Hi there, I'm trying to find out the build-in variables

Re: [m2] Can anyone explain this code

2007-02-13 Thread Jiaqi Guo
) )' before 'else if ( expression.startsWith( plugin ) )' . And I think I begin to understand the indexOf( / ) now. Is it to allow user to specify things like ${project.build.sourceDirectory}/some/sub/directory? Thanks -Jiaqi Jiaqi Guo wrote: Hi Franz, I tried to get PluginDescriptor within

Re: [m2] Can anyone explain this code

2007-02-13 Thread Jiaqi Guo
, Jiaqi Guo [EMAIL PROTECTED] wrote: Hi Franz, I tried to get PluginDescriptor within a mojo and got PluginParameterException, then I started looking at this code. Assume expression is string plugin, pathSeparator is -1, the expression.substring(1) becomes lugin. Did I miss anything here

Can I get MavenProject instance of plugin itself within a Mojo?

2007-02-12 Thread Jiaqi Guo
. Regards -- Jiaqi Guo http://www.cyclopsgroup.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Can anyone explain this code

2007-02-12 Thread Jiaqi Guo
in org.apache.maven.plugin.DefaultPluginManager.checkRequiredParameters(DefaultPluginManager.java:809). Same thing happens to settings and project. Is this a bug of maven-2.0.4? Is there any way to get pluginDescriptor in Mojo? Regards -- Jiaqi Guo http://www.cyclopsgroup.org [EMAIL

Re: categorizing tests

2007-01-19 Thread Jiaqi Guo
, so the build directly under project will count in that case. Best regards -- Jiaqi Guo http://www.cyclopsgroup.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: FtpWagon.java error

2007-01-19 Thread Jiaqi Guo
] [EMAIL PROTECTED] prereq.kb]# Enrique -- Jiaqi Guo http://www.cyclopsgroup.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FtpWagon.java error

2007-01-19 Thread Jiaqi Guo
: Jiaqi Guo [EMAIL PROTECTED] wrote on 01/19/2007 02:02:24 PM: What is the version of your wagon-ftp? Thanks Jiaqi, Here are the versions of the wagon jarfiles. Thanks wagon-file-1.0-alpha-7.jar wagon-ftp-1.0-alpha-6.jar wagon-http-lightweight-1.0-alpha-6.jar wagon-provider-api-1.0

Re: Adding Logo In My Site

2007-01-18 Thread Jiaqi Guo
/bannerLeft body links ... ... Good luck - Jiaqi Guo http://www.cyclopsgroup.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: categorizing tests

2007-01-18 Thread Jiaqi Guo
... ... By running mvn test -Dtest.category=component, only *ComponentTest will be invoked. Hope it helps. Regards -- Jiaqi Guo http://www.cyclopsgroup.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Customized settings.xml is never loaded

2006-08-25 Thread Jiaqi Guo
To deploy packages to remote repository through scp, I created the settings.xml under continuum_install_dir/bin/linux/conf/ where username(different from current user of os), privateKey of distribution server and a non-default localRepository path are defined. From the log file it seems the

Can I make project.xml extend a remote file?

2004-11-05 Thread Jiaqi Guo
Like project extendshttp://mysite.com/myproject.pom/extends /project I've got an error after changed my project.xml to this. Thanks Jiaqi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Set VM arguments for maven?

2004-09-08 Thread Jiaqi Guo
My project is so big that everytime I call maven javadoc, maven xdoc, I'll get an OutOfMemoryError. Can I specify the -Xmx argument? Can I do it in $user.home/build.properties? Thanks Jiaqi - To unsubscribe, e-mail: [EMAIL

Can't find javax.xml.transform.TransformerFactory implementation while xalan is in classpath

2004-09-04 Thread Jiaqi Guo
I'm using jelly:xml transform tag in a simple plugin and get an error message like __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0 BUILD FAILED File.. D:\Data\ApacheMaven\.maven\cache\maven-evavi-plugin-1.0\plugin.jelly

Re: Can I set up a remote repository which requires http basic authentication?

2004-06-22 Thread Jiaqi Guo
Hi Rob, Great! I just tried it out. Really appreciate. It works if the change described at http://jira.codehaus.org/ViewIssue.jspa?key=MAVEN-1273 is made. However the source code in CVS server is not changed yet. Weird. Thanks Jiaqi Rob Dingwell wrote: Jiaqi Guo wrote: It looks like maven does

RE: Seriously Customizing the Project Website

2003-10-30 Thread jiaqi guo
. The goal of this decoupling seems to be completely merging fulcrum components into Avalon family. Once the merging work is finished, Turbine will come to be a Avalon Based Servlet Framework. My wife is pushing me back home. It was nice talking to you. Good night. Regards Jiaqi Guo [EMAIL

Torque Maven plugin, failed to execute torque:insert-sql

2003-10-21 Thread jiaqi guo
Torque:om, torque:sql, torque:datadtd... works great. Got error message when executing torque:insert-sql. - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10