encoding of file name?

2007-04-29 Thread jiangshachina
Hi guys, I'm using Maven 2.0.4 + JDK 1.5.0 + Windows 2000 (Chinese version) Some names of my project's files have Chinese characters. When I made a package file (ex. war) by running mvn package, the Chinese characters would be in wrong encoding. With my tests, I find that Maven uses UTF-8

Re: encoding of file name?

2007-04-29 Thread sam
hi, long time no see,I have not meet the trouble like yours,but I have a advance for this,set the encoding's value like the this in your pom.xml ?xml version=1.0 encoding=GBK? project . . . /project good luck! 2007/4/29, jiangshachina [EMAIL PROTECTED]: Hi guys, I'm using Maven 2.0.4 + JDK

A newbie question regarding mvn:site

2007-04-29 Thread Or_Daniel
Hi. I use mvn site plugin for the 1st time. I thought this would run smoothly, however I get the following error when running mvn site (Maven 2.0.6): [INFO] artifact org.apache.maven.skins:maven-default-skin: checking for updates from java.net [INFO]

Re: Why doesn't my index.html get generated when generating my site?

2007-04-29 Thread dhoffer
Are you saying I must have site.xml in order for index.html to be generated? I too have projects where I index.html is missing and have not tracked down the cause. However I have only started to use site.xml recently. -Dave Eric Redmond wrote: I don't understand your problem - it looks

newbie problem with package phase

2007-04-29 Thread Søren P
just installed mvn 2.0.6. Tried to follow the website usage guide but ran into problems immediately. step 1: mvn archetype:create -DgroupId=com.test -DartifactId=testapp OK step 2: mvn package then i get en exception about surefire class not found and the packaging fails. im using jdk1.6.0

Re: Why doesn't my index.html get generated when generating my site?

2007-04-29 Thread Ian Rowlands
I have been told that an index.html should be generated, and it is not. This is an issue because it is a multi-module project, and links on the parent project all link to the index.html of the sub-projects. So without the index.html nobody can navigate the site correctly. Any reason why the

Re: A newbie question regarding mvn:site

2007-04-29 Thread Eric Redmond
Try deleting the maven-default-skin directory from you repo and try again. It may have been a bad download. Also, are you poiting to Central or a mirror? Sometimes the mirrors get out of sync (this is a known problem). Eric On 4/29/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi. I use mvn

Re: Any change in ${ reports} in site.xml recently?

2007-04-29 Thread Brett Porter
It should be deprecated, not removed - I'll look into it. On 25/04/07, Curt Arnold [EMAIL PROTECTED] wrote: On Apr 25, 2007, at 2:11 AM, Gregory Kick wrote: use menu ref=reports/ instead. i'm pretty sure that ${reports} was deprecated anyway. Using menu ref=reports/ fixes the problem

Re: newbie problem with package phase

2007-04-29 Thread Tim Kettler
Am Sonntag, den 29.04.2007, 14:28 +0200 schrieb Søren P: just installed mvn 2.0.6. Tried to follow the website usage guide but ran into problems immediately. step 1: mvn archetype:create -DgroupId=com.test -DartifactId=testapp OK step 2: mvn package then i get en exception about

Re: Cannot deploy using webdav with Maven 2.0.6

2007-04-29 Thread Mykel Alvis
On 4/2/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 4/2/07, jrduncans [EMAIL PROTECTED] wrote: Cannot find wagon which supports the requested protocol: dav The easiest way to get dav to work is to add the wagon-webdav jar as a build extension. The Archiva docs explain how:

Artifactory Maven2 Dependency Viewer

2007-04-29 Thread Dror Bereznitsky
Hi all, We would like to announce the immediate availability of Artifactory dependency viewer, a Maven 2 dependency viewer. Artifactory Dependency Viewer is a utility for graphically visualizing Maven2 artifacts dependency graphs. It is useful for better understanding and tracking transitive

Re: encoding of file name?

2007-04-29 Thread jiangshachina
Hi, Thanks for your reply. Unfortunately, I don't resolve the problem with your instruction. In fact, I don't believe Maven use UTF-8 as default encoding, I think Maven must use native encoding as its default. I ever set encoding UTF-8 to maven-resources-plugin, but yesterday I removed the

Why the result of antrun are different?

2007-04-29 Thread jiangshachina
Hello, I'm using Maven 2.0.4 + JDK 1.5.0 I have a web application project. When running package phase, one of the tasks was using native2ascii tool to convert some files. I take advantage of maven-ant-run plugin to do the job, the related scripts is shown as follows,

Re: encoding of file name?

2007-04-29 Thread sam
Hi, why don't you try to set the maven-resources-plugin's encoding property like this: project ... build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId configuration ... encodingUTF-8/encoding

Re: encoding of file name?

2007-04-29 Thread sam
encodingGBK/encoding 2007/4/30, sam [EMAIL PROTECTED]: Hi, why don't you try to set the maven-resources-plugin's encoding property like this: project ... build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId

Re: encoding of file name?

2007-04-29 Thread jiangshachina
Hello encodingGBK/encoding Really, I had tried, but it didn't work :-( And one point must be cared: In the exploded package (a directory) before real packaging, all of files' names are OK. The trouble merely occurred at packaging. sam-98 wrote: encodingGBK/encoding 2007/4/30, sam

Re: encoding of file name?

2007-04-29 Thread jiangshachina
Hi, I think the problem isn't related to maven-resources-plugin. The plugin just copy project resources to the output directory. Since my files in exploed pakcage were well, then I think maven-resources-plugin had worked well. a cup of Java, cheers! Sha Jiang sam-98 wrote: Hi, why

Re: Why the result of antrun are different?

2007-04-29 Thread Wayne Fay
Type set on both machines. Compare the output. I'd assume you've got some LANG differences or something like that going on. Wayne On 4/29/07, jiangshachina [EMAIL PROTECTED] wrote: Hello, I'm using Maven 2.0.4 + JDK 1.5.0 I have a web application project. When running package phase, one of

Re: Why the result of antrun are different?

2007-04-29 Thread jiangshachina
Hi Wayne, Thanks for your help. I compared the two set output, but didn't find any interesting thing. MAVEN_HOME, JAVA_HOME, even ANT_HOME, all of which show that the two system are using the same Maven, JDK and Ant (In my mind, Ant isn't related to maven-antrun-plugin). I'd assume you've got

Re: Why the result of antrun are different?

2007-04-29 Thread Wayne Fay
When I said LANG, I meant Language... Assuming you're on Windows, go Start, Settings, Control Panel, Regional and Language Options and compare the configuration of both machines. Wayne On 4/30/07, jiangshachina [EMAIL PROTECTED] wrote: Hi Wayne, Thanks for your help. I compared the two set

Re: Why the result of antrun are different?

2007-04-29 Thread jiangshachina
Hi, When I said LANG, I meant Language I see, but I didn't know what's concreted meaning at that time. Assuming you're on Windows, go Start, Settings, Control Panel, Regional and Language Options and compare the configuration of both machines. Does Maven related with OS so closely? I'll test