Re: Access to e.g. jboss lib

2008-07-06 Thread Tim Kettler
What you can do, is to declare the dependencies on the jboss jars you need in a wrapper pom (with an artifactId jboss-all for example) and deploy/install that to your repository. You then have to declare the many depencies just once and in your projects you can just declare a dependency on the

Re: Lock down of plugin versions

2008-07-06 Thread Wouter Hermeling
Imo version ranges are best used for developing plugins, more specifically plugin dependencies. By using a version range for a dependency rather then a specific version, the plugin can be more easily used in a different poms using different versions of dependencies. I've done a full lock down of

Re: Access to e.g. jboss lib

2008-07-06 Thread buters
Thank you very much Tim. I'll probably do so as you write. Best regards, buters Tim Kettler wrote: > > What you can do, is to declare the dependencies on the jboss jars you > need in a wrapper pom (with an artifactId jboss-all for example) and > deploy/install that to your repository. You t

Access to remote repositories

2008-07-06 Thread buters
Hi, would you explain me how can I acces to e.g. http://repository.jboss.com/maven2/ I know that I have to add this in settings.txt artifactory admin password It is clear in case of Artifactory which id, username and password should be used. But which id, username and

Re: Access to e.g. jboss lib

2008-07-06 Thread buters
Thank you very much Stephen. Best regards, buters Stephen Coy wrote: > > 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 spec

Re: Two questions about native2ascii plugin

2008-07-06 Thread youhaodeyi
No, you need encoding it as utf8 which means "u786e\u5b9a" is the correct one. Dan Tran wrote: > > "\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]> wrot

Re: skin html files in site ??

2008-07-06 Thread Dennis Lundberg
The short answer is, no you can't do that. The longer answer is that the underlying framework Doxia, doesn't have a reader for (x)html files - only a writer. It has readers for the other formats, such as apt, xdoc and fml, but not for html. Writing such a reader is difficult because of the oft

RE: skin html files in site ??

2008-07-06 Thread Martin Gainty
Hi Chris did you look at segregating off the site descriptor to incorporate the list of files to be installed/deployed ${basedir}/src/site http://maven.apache.org/plugins/maven-site-plugin/attach-descriptor-mojo.html#siteDirectory HTHMartin __ Disclaim

Re: Access to remote repositories

2008-07-06 Thread Tim Kettler
buters schrieb: Hi, Hi, would you explain me how can I acces to e.g. http://repository.jboss.com/maven2/ I know that I have to add this in settings.txt You probably mean settings.xml. artifactory admin password This is only needed if the repository is passwor

Re: skin html files in site ??

2008-07-06 Thread Chris Berry
Hi Martin, AFAICT, that doesn't solve the problem I have. I want straight-up HTML files to be skinned by Doxia according to the site.xml I think Dennis answered my question; Doxia cannot do this today -- which is a shame. IMHO, it would be better to skin HTML files unless they are , and just

Re: Two questions about native2ascii plugin

2008-07-06 Thread Dan Tran
I ran mine against the native2ascii executable, and both produce the same output with "UTF8" as the input encoding. -D On Sun, Jul 6, 2008 at 5:38 AM, youhaodeyi <[EMAIL PROTECTED]> wrote: > > No, you need encoding it as utf8 which means "u786e\u5b9a" is the correct > one. > > Dan Tran wrote: >>

Re: Access to remote repositories

2008-07-06 Thread buters
Thank you very much Tim. But it would be fine if you me explain, why am I not able to index any repository with Maven Index in eclipse besides central, local and from Artifactory. If I try Add Dependency to my project, that doesn't exist in one of these repositories, eclipse doesn't find this pl

Re: skin html files in site ??

2008-07-06 Thread Jason van Zyl
Use xsite to do this. Works great if you just want to skin html. http://xsite.codehaus.org/ On 6-Jul-08, at 11:46 AM, Chris Berry wrote: Hi Martin, AFAICT, that doesn't solve the problem I have. I want straight-up HTML files to be skinned by Doxia according to the site.xml I think Dennis ans

Re: Filtering of a SINGLE property

2008-07-06 Thread Peter Horlock
Well, sure, we COULD do it at runtime, but a) this would cost performance (okay, to be honest, of course, it could once be loaded and runtime and so on, but still it would at least clutter the code with additional stuff we didn't when we were using Maven 1). b) For political reasons It would be goo

Re: Access to remote repositories

2008-07-06 Thread Tim Kettler
I'm not using Eclipse, so I can't give you an authoritative answer. The only thing I know is that central for example contains an index directory [1]. Perhaps other repositories don't maintain such an index. Please open a new thread with a more matching subject if you need more help/informatio

Re: Filtering of a SINGLE property

2008-07-06 Thread Tim Kettler
Hi, If you absolutely have go the way of filtering Java files, I would probably do it that way: 1. Put the java files to filter in a separate directory (src/main/java-filtered) 2. Add a filtered resource to the pom (target/generated/sources/java-filtered) 3. Make this additional source d

Re: skin html files in site ??

2008-07-06 Thread Lukas Theussl
You can do what you want with current doxia-1.0-beta-1 (not released yet but scheduled to be used in the next version of the site plugin), you will be able to just put your xhtml files into src/site/xhtml. -Lukas Chris Berry wrote: Hi Martin, AFAICT, that doesn't solve the problem I have.

Re: Access to remote repositories

2008-07-06 Thread Jason van Zyl
If you're talking about m2eclipse, then it's the Nexus index that you need, and you can index any Maven repository using either Nexus (nexus.sonatype.org), or just use the stand-alone indexer. m2eclipse uses the Nexus index to process your local repository. If you want JBoss artifacts to be

Cutting maven-release-plugin-2.0-beta-8 any time soon?

2008-07-06 Thread Dan Tran
I would be nice to cut a new release. beta-7 was out since May 2007 Thanks -Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: skin html files in site ??

2008-07-06 Thread Chris Berry
Thanks Lukas. Is there any ETA for the new site plugin?? And is this code available in the current SNAPSHOT of the site plugin ?? This seems the easiest route over Jason's suggestion of the xsite plugin, which requires a more major overhaul. (BTW: Thanks Jason ;-) Cheers, -- Chris On Jul 6, 20

Re: Access to remote repositories

2008-07-06 Thread buters
Thank you very much Tim, ok I'll open new thread. Best regards, buters Tim Kettler wrote: > > I'm not using Eclipse, so I can't give you an authoritative answer. The > only thing I know is that central for example contains an index > directory [1]. Perhaps other repositories don't maintain s

Re: Access to remote repositories

2008-07-06 Thread buters
Thank you very much Jason, I use m2eclipse and Artifactory, but I don't quite understand how I can customize that better. It works prima with local and central repositories, but with another as jboss one not. It seems as if Artifactory accepts these, but if I try to find an artifact from e.g. the

Find artefact

2008-07-06 Thread buters
Hi, there are jar-libraries in jboss/client. They have not groupId and artifactId. How can I find they in the jboss repository? Some artifacts I can easy find, but some ones not. Thanks beforehand, regards, buters -- View this message in context: http://www.nabble.com/Find-artefact-tp18306545p

Re: Find artefact

2008-07-06 Thread Stephen Coy
G'Day, You generally will not need these unless you're building a remote EJB client. If this is what you are doing then you probably want something like: org.jboss.client jbossall-client 4.2.2.GA You can see the other artifacts available by pointing your web browser at

Re: Two questions about native2ascii plugin

2008-07-06 Thread youhaodeyi
Does your OS support Chinese characters? I think that the different. Dan Tran wrote: > > I ran mine against the native2ascii executable, and both produce the > same output > with "UTF8" as the input encoding. > > -D > > On Sun, Jul 6, 2008 at 5:38 AM, youhaodeyi <[EMAIL PROTECTED]> wrote: >>

Re: Find artefact

2008-07-06 Thread buters
Thank you very much Stephen, Do you mean that another plugins are not neededat all? Only jbossall-client one? It would be great. But my question was rather general. If I've a jar-file and I know maximum the appropriate repository, how can I find the plugin? A repository is a folder structure (so

Tore G Larsen er ikke til stede på kontoret.

2008-07-06 Thread Tore . Larsen
Jeg vil være borte fra kontoret fra og med 07.07.2008 til og med 04.08.2008. Jeg vil svare på meldingen når jeg kommer tilbake. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Two questions about native2ascii plugin

2008-07-06 Thread youhaodeyi
Does anyone know how to overwrite existed resource file with native2ascii? youhaodeyi wrote: > > I use native2ascii plugin to convert my resource files. This is my > configuration in pom file: > > org.codehaus.mojo > >

Re: Two questions about native2ascii plugin

2008-07-06 Thread Dan Tran
could you be more specific? btw, see if you can get antrun plugin to do the conversion for you. Note that behind the scene native2ascii plugin uses ant, but it is worth a try. -D On Sun, Jul 6, 2008 at 8:36 PM, youhaodeyi <[EMAIL PROTECTED]> wrote: > > Does anyone know how to overwrite existed r

synchronizing version of interdependent projects

2008-07-06 Thread Joseph Syjuco
Hi all, We have a project consisting of 20+ interdependent folders unfortunately whenever 1 project updates its version I am having difficulty modifying projects that has a dependency to it. Right now I had to open each project.xml and search for it. Additionally, since this project has jus

how to separate java ee application from its client api ?

2008-07-06 Thread Mohammad Shamsi
Hi All, i have an Java EE application. an EJB module that most deploy on application server and several client that most use this module. is there any way to build and client api from this module without separating app to two defferent module ? i did this by adding the following code in my pom.

Re: Two questions about native2ascii plugin

2008-07-06 Thread youhaodeyi
This is my configuration: org.codehaus.mojo native2ascii-maven-plugin src/test/java/ui/demo/i18n classes/ui/demo/i18n

Re: Two questions about native2ascii plugin

2008-07-06 Thread Dan Tran
try "UTF8" upper case, You need add tool.jar dependency as well On Sun, Jul 6, 2008 at 10:16 PM, youhaodeyi <[EMAIL PROTECTED]> wrote: > > This is my configuration: > > >org.codehaus.mojo > > native2ascii-maven-plugin >

Re: Two questions about native2ascii plugin

2008-07-06 Thread Dan Tran
org.codehaus.mojo native2ascii-maven-plugin src/test/java UTF8 [...] read more about the plugin's doc On Sun, Jul 6, 2008 at 10:52 PM, Dan Tran <[EMAIL PROTECTED]> wrote: > try "UTF8" upper case, > > You need add tool.jar dependency as well > > > On Sun, Jul 6, 2

Re: skin html files in site ??

2008-07-06 Thread Lukas Theussl
There is a scetchy release plan at [1] but I think at the moment it is impossible to give an ETA, the main problem is that we have to wait for maven-1.0.10 and that it won't work with any earlier version. And then it's vacation time... Cheers, -Lukas Chris Berry wrote: Thanks Lukas. Is th

Re: Filtering of a SINGLE property

2008-07-06 Thread Peter Horlock
But who stops a developer from still using the very same property as a programm variable? That's still the same solution that I pointed out the the beginning (imho) - it "scales down" the problem, but it's still there (on the high costs of having to manually select each file to be filtered). Hmm. S

Nexus 1.0.0-beta-4 or 1.0 final?!

2008-07-06 Thread Peter Horlock
Hi, does anyone know when the next Nexus version is coming out? I am checking for a new version everyday, really can't await it... Talking about sonatype products, I am also badly waiting for a new m2:eclipse version working with Eclipse 3.4, and a new version of the "Definitive Guide to Maven" wo

Re: Two questions about native2ascii plugin

2008-07-06 Thread youhaodeyi
Yes, I solve my problem. Dan Tran wrote: > > try "UTF8" upper case, > > You need add tool.jar dependency as well > > > On Sun, Jul 6, 2008 at 10:16 PM, youhaodeyi <[EMAIL PROTECTED]> wrote: >> >> This is my configuration: >> >> >>org.codehaus.mojo >>

Re: Nexus 1.0.0-beta-4 or 1.0 final?!

2008-07-06 Thread Jochen Wiedmann
On Mon, Jul 7, 2008 at 8:12 AM, Peter Horlock <[EMAIL PROTECTED]> wrote: > Talking about sonatype products, I am also badly waiting for a new > m2:eclipse version working with Eclipse 3.4, I am using m2eclipse and Eclipse Ganymede every day, never was aware of any problems? Jochen -- Look, th

Re: Nexus 1.0.0-beta-4 or 1.0 final?!

2008-07-06 Thread Peter Horlock
Are you using the stable version, or the latest and greatest? I am using the stable version, and it seems to have problems, it fucked up my entire eclipse 3.4, loading slowly, showing non existing errors, and so on - I then moved back to Eclipse 3.3...

Re: Nexus 1.0.0-beta-4 or 1.0 final?!

2008-07-06 Thread Dan Tran
my be you should pay for MyEclipse so can complain to your heart content:-) On Sun, Jul 6, 2008 at 11:24 PM, Peter Horlock <[EMAIL PROTECTED]> wrote: > Are you using the stable version, or the latest and greatest? > > I am using the stable version, and it seems to have problems, it fucked up > my