How to deploy base pom without deploying the subprojects'

2006-03-23 Thread Guo, Jiaqi
I have a project with about 20 subprojects. When the pom.xml for root is changed, I want to deploy this file only, without packaging, testing and deploying every subproject's artifact. Is there a solution for it? Thanks in advance. -- Regards Jiaqi Guo http://www.cyclopsgroup.com --

NullPointerException from mergeReportPluginDefinitions(ModelUtils.java:324)

2006-01-26 Thread Guo, Jiaqi
Hi, I'm working with continuum 1.0.2 and maven 2.0.2. The exact problem described at http://jira.codehaus.org/browse/MNG-1529 come to me. Basically I got project A, B and C where B extends A and C extends B. There are bunch of reports declared in A and no reports are defined in B or C. Ever

[m202] tools.jar causes exception in DependenciesReport

2006-01-24 Thread Guo, Jiaqi
After I switched to m202, "mvn site" fails for a NullPointerException. The error disappears if I remove the tools.jar dependency. The dependency is declared as sun.jdk tools system 1.4 ${java.home}/../lib/tools.jar This was f

Re: [m2] Best practice for in-place webapp development?

2006-01-23 Thread Guo, Jiaqi
I used to work on my webapp with appserver and war plugins in maven1, which requires an "maven war:webapp" command everytime a web resource like JSP is changed (I wouldn't directly change the files in target). With an eclipse file synchronization plugin, this maven command can be eliminated.

[m202] Ant based maven plugin problem

2006-01-21 Thread Guo, Jiaqi
I used to work on a maven project with several java goals and ant goals. It worked fine on maven 2.0.1 and maven 2.0.2-SNAPSHOT which I checked out from svn maven-2.0.x and manually built before 2.0.2 was released. After I switch the maven to 2.0.2 released version, it throws exception on "mvn

[m2] maven-site-plugin: 2 extra links in breadcrumbs

2006-01-08 Thread Guo, Jiaqi
Hi there, I'm playing with the latest version of maven-2.0.x and maven-site-plugin. I checked out the components maven-2.0.x branch and plugins from svn, installed the maven-2.0.2-SNAPSHOT and all plugins. When I did "mvn site" in my project (com.mycompany.myapp:myapp-main-site), there are 2 unex

[m2]site: How to include some javascript in HTML head

2005-12-22 Thread Guo, Jiaqi
Hi there, This can be done by adding tag in each xdoc in maven1.0. What's the solution for it in maven2? I noticed the following code in maven-site.vm within site plugin. #if ( $decoration.body.head ) #foreach( $item in $decoration.body.head.getChildren() ) #if ( $item.name == "script" )

[102] How to get/create the ClassLoader for current project

2005-11-01 Thread Guo, Jiaqi
One of my jelly tag classes(Class extending org.apache.commons.jelly.TagSupport, defined by ) in maven plugin needs the ClassLoader object which can find any class in current project or the depending libraries. If I do I can only use this path definition in ant tags through classpath

Re: How to update dependencies in project.xml with Eclipse?

2005-10-14 Thread Guo, Jiaqi
Have you tried mevenide(http://mevenide.codehaus.org). With this plugin, the POM synchronizer could be the solution for you. Good luck. Regards Jiaqi Guo http://www.cyclopsgroup.com Siegfried Heintze wrote: Is there an easy way to add dependencies to the project.xml file? It seems to me you

[m1] multiproject throws ClassNotFoundException

2005-09-30 Thread Guo, Jiaqi
When I do maven multiproject, I got same error as the one mentioned at http://www.archivum.info/dev@directory.apache.org/2005-04/msg00207.html. BUILD FAILED File.. /home/jiaqi/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly Element... maven:reactor Line.. 104 Column 9 Una

[m1] How to site:deploy to an address different to pom.siteAddress

2005-08-17 Thread Guo, Jiaqi
Host address/directory changes but I don't want to keep changing all project.xml files. Is it possible to set it in ${user.home}/build.properties? I'm using maven-1.0.2 and maven-site-plugin-1.5.2. Any suggestions? Thanks in advance. Regards Jiaqi Guo www.cyclopsgroup.com ---

Create report containing multiple pages?

2005-02-18 Thread Guo, Jiaqi
Hi, My maven plugin contains several reports and I declare reports in plugin.jelly like .. .. This will add two entries in project-nav.xml. .. .. Now, one of the report will contain many other pages and I want to add those pages into navigation as well. I

How to return/stop a goal in jelly script?

2005-01-25 Thread Guo, Jiaqi
In a goal definition in plugin.jelly, can I call something like or Thanks Jiaqi http://www.cyclopsgroup.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Classpath for ant:style or xml:transform tags

2005-01-09 Thread Guo, Jiaqi
Guo, Jiaqi wrote: Hi Andrew, I guess I've met the same problem. Changing dependency definition is project.xml won't help. I looks like a bug. Sorry for so many typing errors. I was out of my mind just now. My solution is copying xalan-2.4.1.jar into $MAVEN_HOME/lib/endorsed. In

site:sshdeploy suddenlly stoped working

2005-01-09 Thread Guo, Jiaqi
Hi, Today when I was running maven site:sshdeploy I got an error site:sshdeploy: [echo] siteAddress = ... siteDirectory = ... siteUser = ... [tar] Building tar: ..-SNAPSHOT-site.tar [gzip] Building: ...-SNAPSHOT-site.tar.gz [delete] Deleting: ..-SN

Re: Classpath for ant:style or xml:transform tags

2005-01-09 Thread Guo, Jiaqi
Hi Andrew, I guess I've met the same problem. Changing dependency definition is project.xml won't help. I looks like a bug. My solution is copying xalan-2.4.1.jar into $MAVEN_HOME/lib/endorsed. In $user.home/build.properties, add javax.xml.transform.TransformerFactory=org.apache.xalan.processor.