Re: Two questions about native2ascii plugin

2008-07-05 Thread Dan Tran
"\u00e7\u00a1\u00ae\u00e5\u00ae\u0161" is the correct format as far as i know, and it works on my production build -D On Sat, Jul 5, 2008 at 6:38 PM, youhaodeyi <[EMAIL PROTECTED]> wrote: > > I use "$JAVA_HOME/bin/native2ascii -encoding UTF8" command to convert the > file. But maven native2ascii

Re: Access to e.g. jboss lib

2008-07-05 Thread Stephen Coy
Unless you happen to be using JBoss specific API's, then you probably do not need to do this at all. Just using the standard javax.* dependencies will cover most of the bases. If you are using JBoss specific API's (such as JBoss Seam), then they are available in the JBoss repo as mentione

Re: Two questions about native2ascii plugin

2008-07-05 Thread youhaodeyi
I use "$JAVA_HOME/bin/native2ascii -encoding UTF8" command to convert the file. But maven native2ascii convert the file have the same result with the command "$JAVA_HOME/bin/navite2ascii" without the encoding specification. So the problem is that maven will ignore the encoding tag, won't it? Dan

Re: Two questions about native2ascii plugin

2008-07-05 Thread youhaodeyi
For example, use $JAVA_HOME/bin/native2ascii will get this string: "\u786e\u5b9a", but if use maven native2ascii to convert the same file, it will get "\u00e7\u00a1\u00ae\u00e5\u00ae\u0161" which isn't correct. Dan Tran wrote: > > how different? > > On Sat, Jul 5, 2008 at 2:02 AM, youhaodeyi <

RE: Two questions about native2ascii plugin

2008-07-05 Thread Martin Gainty
Tranwhat is the behaviour when inputfile and outputfile are the same?http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/native2ascii.htmlMartin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the offic

Re: Two questions about native2ascii plugin

2008-07-05 Thread Dan Tran
how different? On Sat, Jul 5, 2008 at 2:02 AM, youhaodeyi <[EMAIL PROTECTED]> wrote: > > I use native2ascii plugin to convert my resource files. This is my > configuration in pom file: > >org.codehaus.mojo > > native2a

Re: Filtering of a SINGLE property

2008-07-05 Thread Michael McCallum
Well maybe, Why do you want the version in the code itself? runtime resolution - Would it be sufficent (or perhaps better) to get it at runtime rather than having it compiled in? The maven jar plugin writes a file called pom.properties in META-INF/maven/groupid/artifa

Re: Access to e.g. jboss lib

2008-07-05 Thread buters
I was simply trying to avoid 30 dependencies in my pom.xml. I thought that I can only have one reference to all libraries. Furthermore I don't know versions of plugins, that jboss uses. Here jar-files stand without any version, not as in the repository. But that is important, sometimes or? regard

Issue with maven-changes-plugin and JIRA 3.12.3

2008-07-05 Thread Sebastien ARBOGAST
I'm trying to configure my project in order to include a JIRA report in my site but I've tried several configuration options and the JIRA report remains desperately empty. Here is my reporting plugin configuration org.apache.maven.plugins maven-changes-plugin

Re: Access to e.g. jboss lib

2008-07-05 Thread Tim Kettler
What does accessing the jboss jars has to do with plugins? Anyway, JBoss maintains an own maven repository [1] you can add to settings.xml or pom. I don't know if the specific jars you need are available from there, but it's worth a try. -Tim [1] http://repository.jboss.com/maven2/ buters s

skin html files in site ??

2008-07-05 Thread Chris Berry
Greetings, Is there a way to include straight HTML files into a site (using mvn site:site) and have them skinned along with all the other files?? (e.g. index.apt, xdoc files, etc.) I have many HTML files in site/resources/. And I want them to have the same, standard Maven header, side naviga

Re: Access to e.g. jboss lib

2008-07-05 Thread buters
This difficult way I want to avoid. This is difficult because I have to do with a number of plugins. It is me circumstantially for every plugin "mvn install:install-file" to execute. I want to find a better way. Wayne Fay wrote: > > The proper way to do this is to refer to the JBoss dependencie

Re: Problem with jboss:start

2008-07-05 Thread buters
Thank you Wayne. best regards, buters Wayne Fay wrote: > > I don't have much experience with the JBoss plugin, but I know a lot > of people are using Cargo with Maven very successfully (deploying to > JBoss and other containers). I'd consider that approach instead. > > Wayne > > On 7/5/08, b

get active profile in pom

2008-07-05 Thread Arash Bizhan zadeh
Hi all, Is there any variable to return active profile in the maven 2; (something like ${maven.profile})? thanks -- The dirtiest book of all is the expurgated book. Walt Whitman

Re: Problem with jboss:start

2008-07-05 Thread Wayne Fay
I don't have much experience with the JBoss plugin, but I know a lot of people are using Cargo with Maven very successfully (deploying to JBoss and other containers). I'd consider that approach instead. Wayne On 7/5/08, buters <[EMAIL PROTECTED]> wrote: > > Hi, > > my aim is a jar file to deploy

Re: Access to e.g. jboss lib

2008-07-05 Thread Wayne Fay
The proper way to do this is to refer to the JBoss dependencies just like any other dep, with a tag. If you can't find the specific file/version of the jar you need already deployed in Central, then you can use "mvn install:install-file" to install it into your local repo cache directly, then add

Problem with jboss:start

2008-07-05 Thread buters
Hi, my aim is a jar file to deploy to jboss and then jboss to launch. It only works not quite. I can deploy my file with "mvn package jboss:harddeploy". After mvn jboss:start I get "BUILD SUCCESSFUL". My problems: 1. Though "BUILD SUCCESSFUL" jboss server isn't launched. If I try "http://localho

RE: m2 eclipse plug installation problem

2008-07-05 Thread Eugene Kuleshov
Kent Tong wrote: > > It turns out that I have to install buckminster first, at least on > Windows. It seems to work without it on Linux. > If you are talking about m2eclipse [1], then installation requirements are documented on the wiki [2], but it never required Buckminster. Also see New an

RE: Filtering of a SINGLE property

2008-07-05 Thread Martin Gainty
you can use setup maven exec task on sedThis will globally replace all fu with bar in input.file and output result to output.filee.g. org.codehaus.mojo exec-maven-plugin 1.1 exec-one

Re: Filtering of a SINGLE property

2008-07-05 Thread Olivier Dehon
One way of achieving this would be to put the properties files that need to be filtered in a folder and the non-filtered ones in another folder. These folders can then be configured for true/false accordingly. Something along the lines of:  src/main/filtered true  src/main/unfiltered f

Problem with deployment

2008-07-05 Thread buters
Hi, I try to specify output folders for the .classpath file with http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> ... org.apache.maven.plugins maven-eclipse-plugin

Re: Filtering of a SINGLE property

2008-07-05 Thread Peter Horlock
Noone? Please, there must be someone able to answer this?! Thanks, Peter 2008/7/3 Peter Horlock <[EMAIL PROTECTED]>: > Hi, > > I want to let Maven / the Resource plugin ( > http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html > ) > > parse my source code to rep

Re: Proper Dependency Management - HowTo?

2008-07-05 Thread Michael McCallum
On Fri, 04 Jul 2008 18:37:14 [EMAIL PROTECTED] wrote: > The only time (admitedely) I use this is for a multi module J2EE project, > where each module (WAR, EAR, EJB, JAR etc) all have the multi module pom > as their parent, and the multi module pom has the corporate one as it's > parent. > > I was

Re: Running MVN Plugin from POM.xml VS Command-Line

2008-07-05 Thread Dennis Lundberg
Wendy Smoak wrote: On Fri, Jul 4, 2008 at 6:35 PM, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: However, when I bound this plugin to a phase in the pom.xml (e.g. deploy) and ran the following: mvn deploy Then the plugin executed correctly. Why doesnt the plugin work from

Re: Proper Dependency Management - HowTo?

2008-07-05 Thread Michael McCallum
On Sat, 05 Jul 2008 08:21:49 Jörg Schaible wrote: > > How do you address this QA problem? I cheat and use generated poms that write deps if i'm going to patch... or i make a new release with the latest and greatest... in both cases I go though a review to ensure that only the change we want make

Re: Proper Dependency Management - HowTo?

2008-07-05 Thread Michael McCallum
On Fri, 04 Jul 2008 18:11:39 Peter Horlock wrote: > Okay, > > one last thing - this conversation has helped me a LOT already, but, to > catch it all, I need some more: > > 1) You say your version ranges wouldn't break a build - but what about ... > sometimes even in the most obscure and hidden plac

Re: Mixed version of assembly plugin causing errors in multi-module build

2008-07-05 Thread Jörg Schaible
Hi Jamie, Jamie Whitehouse wrote: > I'm hoping someone can explain some odd behavior I'm seeing and suggest > a solution. > > I have a multi-module project that makes use of two different versions > of the assembly plugin on purpose. There's functionality that is only > available in the 2.2-bet

Mixed version of assembly plugin causing errors in multi-module build

2008-07-05 Thread Jamie Whitehouse
I'm hoping someone can explain some odd behavior I'm seeing and suggest a solution. I have a multi-module project that makes use of two different versions of the assembly plugin on purpose. There's functionality that is only available in the 2.2-beta-2 version that is required for one particular

Access to e.g. jboss lib

2008-07-05 Thread buters
Hi, how can I access e.g. to jboss jars? I know that ${env.JBOSS_HOME} can be used. But how can I use this, that I don't know. What schould I insert in my pom.xml? Thanks beforehand, best regards, buters -- View this message in context: http://www.nabble.com/Access-to-e.g.-jboss-lib-tp18290267

Two questions about native2ascii plugin

2008-07-05 Thread youhaodeyi
I use native2ascii plugin to convert my resource files. This is my configuration in pom file: org.codehaus.mojo native2ascii-maven-plugin src/t