Re: Why reported need class or interface?

2006-11-26 Thread jiangshachina
Hi, I can set paramenter encoding for maven-resources-plugin. I don't really understand the parameter. For example, one of my original file is ISO8895-1 encoding, and I set paramenter encoding to UTF-8. After build works, what would happened? Maven would convert the encoding of the file from

Warnning on org.apache.axis2:axis2-kernel:pom:1.1?

2006-11-26 Thread jiangshachina
Hello, I used axis2-kernel-1.1.jar as dependency, but had the following warning, POM for 'org.apache.axis2:axis2-kernel:pom:1.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM It seems that its POM is wrong, but I didn't find the error. a cup of

Reports aggregation In a multi module project

2006-11-26 Thread Nir Feldman
I think there is something missing in maven reports. The site lifecycle includes pre-site site and post-site. I see no way of generating a report in a parent module that relies on the results of the children modules. I would have expected a module to be able to plug in some plugin after all its

Profiling test cases execution and report

2006-11-26 Thread Arnaud Bailly
Hello, I tried googling and bit and searched nabble but could not find anything related to running test cases with profiling activated and automatically generating profiling report. Is this stupid/wrong/not useful, am I missing something or would not this feature be very useful to spot in

Re: Don't add dependency?

2006-11-26 Thread Wendy Smoak
On 11/25/06, jiangshachina [EMAIL PROTECTED] wrote: For example, on jta artifact. others POM declares jta-1.0.B.jar as dependency directly, and spring-parent.pom(Spring artifacts' parent POM) declares jta as optional. Then jta-1.0.B.jar wasn't in WEB-INF/lib, too. Correct. Optional

Re: Warnning on org.apache.axis2:axis2-kernel:pom:1.1?

2006-11-26 Thread Jochen Wiedmann
On 11/26/06, jiangshachina [EMAIL PROTECTED] wrote: I used axis2-kernel-1.1.jar as dependency, but had the following warning, POM for 'org.apache.axis2:axis2-kernel:pom:1.1:compile' is invalid. It will be ignored for artifact resolution. This is a known issue. Unfortunately it can only be

SSH deploy confusion

2006-11-26 Thread Howard Lewis Ship
I'm trying to get my site and artifacts to deploy onto apache.org. I'm using Mac OS X. Here's my pom.xml entry: distributionManagement site idtapestry/id urlscpexe://people.apache.org/www/tapestry.apache.org/tapestry5//url /site repository

Re: SSH deploy confusion

2006-11-26 Thread Howard Lewis Ship
Adding -Duser.name=hlship to the command line seems to make it work when using scpexe: I'd prefer if there was a way to set that permenantly inside, say, my settings.xml file. On 11/26/06, Howard Lewis Ship [EMAIL PROTECTED] wrote: I'm trying to get my site and artifacts to deploy onto

Re: SSH deploy confusion

2006-11-26 Thread Dan Tran
you need to set your apache's user id thru your personal ~/.m2/setting.xml here is mine server idapache.snapshots/id usernamedantran/username directoryPermissions775/directoryPermissions filePermissions775/filePermissions /server On 11/26/06, Howard Lewis Ship

Re: EAR and eclipse plugin

2006-11-26 Thread Srepfler Srgjan
JC Walmetz wrote: My project contains an packageear/package module, when I generate my eclipse projects using the eclipse plugin, the ear module is created in eclipse as a java project and is marked on error. Any idea on how to generate a project without error in eclipse for an ear module ?

Re: SSH deploy confusion

2006-11-26 Thread Howard Lewis Ship
Thanks, I'll give that a try. On 11/26/06, Dan Tran [EMAIL PROTECTED] wrote: you need to set your apache's user id thru your personal ~/.m2/setting.xml here is mine server idapache.snapshots/id usernamedantran/username directoryPermissions775/directoryPermissions

Re: Warnning on org.apache.axis2:axis2-kernel:pom:1.1?

2006-11-26 Thread jiangshachina
Hi Jochen, Thanks for your valuable instructions. a cup of Java, cheers! Sha Jiang Jochen Wiedmann wrote: On 11/26/06, jiangshachina [EMAIL PROTECTED] wrote: I used axis2-kernel-1.1.jar as dependency, but had the following warning, POM for 'org.apache.axis2:axis2-kernel:pom:1.1:compile'

Re: Don't add dependency?

2006-11-26 Thread jiangshachina
Hi Wendy, Correct. Optional dependencies are not transitive. If jta is optional for Spring, and you want it, you'll need to declare it. I had done. I declared jta-1.0.1B.jar as dependency(not dependency management) explicitly. Early in this thread you posted a pom snippet that used

Re: Don't add dependency?

2006-11-26 Thread jiangshachina
Hi, Additionally, at the begging of the project, I set all dependencies in only one pom. At that time, all was OK. It sounds that the relation was very clean and simple. But now, why I have to encounter so ambiguous relationship?! Now, I have to return to the original POMs. Then all is OK.

Re: [m2] noobie : cobertura problems - not reporting all classes in all packages

2006-11-26 Thread Mark Nicholson
I tried the suggestion in http://docs.codehaus.org/pages/viewpage.action?pageId=62120 as my tests were running twice when using site goal (was going to solve that next anyway) and all good now on local machine... reporting plugins :

Re: [M2] How do I filter site.xml ???

2006-11-26 Thread franz see
Good day to you, Jens, You filter site.xml and apts the same as you would filter any other resource. Cheers, Franz Riboe, Jens wrote: Hi, How do I filter site.xml ??? Like this: menu name=Downloads item name=Binary - Unix

Re: Nullpointer-Exception addPlugin

2006-11-26 Thread franz see
Good day to you, Sha Jiang, Maven-dependency-plugin is the same as dependency-maven-plugin. The difference is that the former is from apache, while the latter is from codehaus. But they are basically one and the same. However, maven-dependency-plugin is not yet released (though it is scheduled

RE: [m2] Maven Release Question

2006-11-26 Thread franz see
Good day to you, Elid, I am not sure if there is a solution to your problem. Maven versioning uses the following format ( see [1] ) by default: private static final Pattern STANDARD_PATTERN = Pattern.compile( ^((?:\\d+\\.)*\\d+) + // digit(s) and '.' repeated - followed by

Re: Test Classpath Order Problems

2006-11-26 Thread franz see
Good day to you, rking999, You may want to try and set your xmlParserAPIs dependency to test, while the dependency from resin to compile or provided. Cheers, Franz [1] http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html rking999 wrote: Hi, The module

Re: How not to deploy a project?

2006-11-26 Thread franz see
Good day, That or simply removing the test projects from your parent's list of modules. Removing your test projects from the parent's module list will prevent mvn deploy from acting on your test projects. But of course, the drawback would be that any other maven command done on your parent