Tool for generating an archetype catalog

2008-03-03 Thread Gert Vanthienen
L.S., I would like to create an archetype catalog for the Apache ServiceMix project. Is there a tool available for making this task a bit easier or can I e.g. add a filter to the archetype:crawl goal to crawl only a part of the local repository? Thanks in advance, Gert - --- Gert

Re: ftp://ibiblio.org/pub/packages/maven2 wiped out?

2008-03-03 Thread Jan Torben Heuer
Martin Gainty wrote: both ftp and http sites for maven2 appear 'down' Are there information available? When will maven2 come back? Is there a backup repository? Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Tool for generating an archetype catalog

2008-03-03 Thread Raphaël Piéroni
Hi, Please add a JIRA for enhancing the crawl goal Regards, Raphaël 2008/3/3, Gert Vanthienen [EMAIL PROTECTED]: L.S., I would like to create an archetype catalog for the Apache ServiceMix project. Is there a tool available for making this task a bit easier or can I e.g. add a

Re: [m2] Jetty 6 Plugin does not recognize custom webapp source directory

2008-03-03 Thread Adrian Herscu
Hi, What if I have an additional webapp source folder, like: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webResources resource directorysrc-gen/main/webapp/directory

Re: when will maven 2.0.9 be officially released?

2008-03-03 Thread Raphaël Piéroni
Hi Brett, the process for using archetype is no longer revelant. Regards, Raphaël 2008/3/2, Brett Porter [EMAIL PROTECTED]: I agree with Wendy. You could also whip up a test case using these instructions: http://docs.codehaus.org/display/MAVEN/Creating+a+Maven+Integration+Test as it'll

Jsp precompile

2008-03-03 Thread Dooing
Hi, Trying to precompile Jsp's but can't get it to work. I tried the plugins: Maven jspc plugin: http://mojo.codehaus.org/jspc-maven-plugin/usage.html Maven Jetty Jspc Plugin: http://docs.codehaus.org/display/JETTY/Maven+Jetty+Jspc+Plugin However, both don't work for me. Maven jspc says:

Re: Jsp precompile

2008-03-03 Thread VUB Stefan Seidel
[EMAIL PROTECTED] wrote: Hi, Hi, firstly, and again: Do NOT just reply to a random message from the mailing list when you start a new topic. Write a NEW MAIL to the mailing list. Trying to precompile Jsp's but can't get it to work. I tried the plugins: Maven jspc plugin:

RE: Re: ftp://ibiblio.org/pub/packages/maven2 wiped out?

2008-03-03 Thread Brian E. Fox
We don't control ibiblio, but it is only a mirror. The real location is here: http://maven.apache.org/download.html -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jan Torben Heuer Sent: Monday, March 03, 2008 5:01 AM To: users@maven.apache.org Subject: Re:

javax.naming.CommunicationException: Receive timed out problem

2008-03-03 Thread Neo Anderson
Hi I am new to maven. And by following http://openejb.apache.org/3.0/simple-stateless-example.html I write a simple stateless session bean (ejb3) to test the jboss and maven,but encounter a problem. The error issues testHelloRemote(net.sf.sample.HelloTest) Time elapsed: 5.06 sec ERROR!

RE: when will maven 2.0.9 be officially released?

2008-03-03 Thread Brian E. Fox
Hi Raphael, that was something I put together back in July before the archetypeNG was done. Can you update the wiki with the correct info? -Original Message- From: Raphaël Piéroni [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 6:43 AM To: Maven Users List Subject: Re: when will

Re: Jsp precompile

2008-03-03 Thread VUB Stefan Seidel
[EMAIL PROTECTED] wrote: firstly, and again: Do NOT just reply to a random message from the mailing list when you start a new topic. Write a NEW MAIL to the mailing list. I don't understand. I used the [EMAIL PROTECTED] mail adress, but I changed the topic. So it should be a new topic,

Re: javax.naming.CommunicationException: Receive timed out problem

2008-03-03 Thread VUB Stefan Seidel
Hi, this is most likely not a maven problem. It seems your test tries to connect to a remote JBoss instance but cannot contact it (not deployed?). regards, Stefan Neo Anderson wrote: Hi I am new to maven. And by following http://openejb.apache.org/3.0/simple-stateless-example.html I write

Re: Jsp precompile

2008-03-03 Thread Dooing
firstly, and again: Do NOT just reply to a random message from the mailing list when you start a new topic. Write a NEW MAIL to the mailing list. I don't understand. I used the [EMAIL PROTECTED] mail adress, but I changed the topic. So it should be a new topic, shouldn't it?? I can't image

Re: ftp://ibiblio.org/pub/packages/maven2 wiped out?

2008-03-03 Thread VUB Stefan Seidel
Jan Torben Heuer wrote: Martin Gainty wrote: both ftp and http sites for maven2 appear 'down' Is there a backup repository? Yes, the one you have running locally using maven-proxy, archiva or proximity so that the main repo has less load. SCNR, Stefan -- best regards, Stefan Seidel

Re: when will maven 2.0.9 be officially released?

2008-03-03 Thread Raphaël Piéroni
Yup, i will do it tonite, if i have the karma on the wiki. Raphaël 2008/3/3, Brian E. Fox [EMAIL PROTECTED]: Hi Raphael, that was something I put together back in July before the archetypeNG was done. Can you update the wiki with the correct info? -Original Message- From:

RE: Maven2 site plugin inheritence

2008-03-03 Thread Prystash,John
I've used this workaround to get help with this issue, at least for site-deploy, in the parent POM: urlfile://${user.dir}/site/url All the links in the resulting site work. This might not help with the inheritance issue, but it might give you a place to start from. -Original

Re: Maven2 site plugin inheritence

2008-03-03 Thread Christian Kölle
ewryan wrote: I define properties such as ${myVersion}, ${myArtifactId}, ${myGroupId} in the parent pom. These properties are inherited by the children (as expected) when running goals such as clean, package, or install. I start to see problems when I try to use the site plugin. Hi

Re: Jsp precompile

2008-03-03 Thread Martin Höller
On Monday 03 March 2008 wrote [EMAIL PROTECTED]: firstly, and again: Do NOT just reply to a random message from the mailing list when you start a new topic. Write a NEW MAIL to the mailing list. I don't understand. I used the [EMAIL PROTECTED] mail adress, but I changed the topic. So

maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
Is anyone else able to use the unpack-dependencies plugin goal and specify, say, a single file? configuration excludes**/*/excludes includescommon.properties/includes I've tried everything I can think of (all kinds

Re: ftp://ibiblio.org/pub/packages/maven2 wiped out?

2008-03-03 Thread Carlos Sanchez
http://maven.apache.org/guides/mini/guide-mirror-settings.html On Mon, Mar 3, 2008 at 2:00 AM, Jan Torben Heuer [EMAIL PROTECTED] wrote: Martin Gainty wrote: both ftp and http sites for maven2 appear 'down' Are there information available? When will maven2 come back? Is there a backup

Re: Jsp precompile

2008-03-03 Thread Wayne Fay
Stefanie, take a look at the mail headers (I'm certain , in particular In-Reply-To: In-Reply-To: [EMAIL PROTECTED] This tells mail clients all of these emails are related, so you should organize them as such. You can see this data in the gmx.net web interface by clicking the little envelope in

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread Brian E. Fox
The plexus archiver component code works like this: return isIncluded( name ) !isExcluded( name ); So basically the excludes **/* is overriding the includes. Most likely you only want includes**/common.properties/includes --Brian -Original Message- From: EJ Ciramella [mailto:[EMAIL

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
I initially only had the includes, but I'm getting everything out of the artifact. Any other suggestions? -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 1:14 PM To: Maven Users List Subject: RE: maven-dependency-plugin not unpacking

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread Brian E. Fox
What version of the plugin are you using? This is only available in 2.0. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 2:09 PM To: Maven Users List Subject: RE: maven-dependency-plugin not unpacking properly I initially only had the

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
version2.0-alpha-4/version I'm guessing I need to ditch the alpha part now? -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 2:23 PM To: Maven Users List Subject: RE: maven-dependency-plugin not unpacking properly What version of the plugin

Re: when will maven 2.0.9 be officially released?

2008-03-03 Thread Raphaël Piéroni
This page is now up to date. Raphaël. 2008/3/2, Brett Porter [EMAIL PROTECTED]: I agree with Wendy. You could also whip up a test case using these instructions: http://docs.codehaus.org/display/MAVEN/Creating+a+Maven+Integration+Test as it'll give you a head start on being included in a

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
The docs are for this particular version yet they include this option (and still it doesn't work). -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 2:40 PM To: Maven Users List Subject: RE: maven-dependency-plugin not unpacking properly

Re: Why is the parent pom upload compulsory ?

2008-03-03 Thread Olivier Lamy
Hi, inline. 2008/3/3, MATHUS Baptiste [EMAIL PROTECTED]: Hi all, I'm evaluating continuum 1.1. Cool :-) We've been using the 1.0 for some months now, and consider migrating mostly for the group management feature. In fact, we're about to add more and more projects, and displaying them

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread Brian E. Fox
The version specific docs are a new thing, but what it does say is this: excludes A comma separated list of file patterns to exclude when unpacking the artifact. i.e. **\/*.xml,**\/*.properties * Type : java.lang.String * Since : 2.0-alpha-5 * Required : No * Expression :

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
Ahhh - very true. But at the entry point for the dependency docs, it specifies 2.0-alpha-4. Please fix. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 2:55 PM To: Maven Users List Subject: RE: maven-dependency-plugin not unpacking properly

Re: javax.naming.CommunicationException: Receive timed out problem

2008-03-03 Thread David Blevins
Right, this is not a maven thing. JBoss didn't start. Simply put JBoss doesn't do embedded testing like OpenEJB does, they require a lot more setup and configuration to get going. There are a lot of JBoss (or Glassfish, etc.) users who use OpenEJB for their build time testing as it's a

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread Brian E. Fox
Are you running this from the command line like mvn dependency:unpack / unpack-dependencies or is it bound to a phase in your pom? If it's from the CLI, you may be seeing this maven bug: MNG-3401 (also see first faq entry in the dependency plugin faq) I'm not sure where you see 2.0-alpha-4

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread Brian E. Fox
I added an IT for this, it's working ok: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin /src/it/filterunpack/?pathrev=633266 Look at the pom to see how to use it. (should be the same for unpack goal too) -Original Message- From: Brian E. Fox [mailto:[EMAIL

Problem providing project version via system property

2008-03-03 Thread Singh, Manish
Problem definition: I have projects A,B,C,D,E A,B and C are packaged together for application Y A, D and E are packaged together for application Z There is a parent project, Y defined whose pom includes A,B and C as modules. Thus A,B and C all point to Y as parent. Similarly there is a parent

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
This page shows 2.0-alpha-4 http://maven.apache.org/plugins/index.html I have it working using version 2.0 of the plugin. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 3:39 PM To: Maven Users List Subject: RE: maven-dependency-plugin not

Re: Problem providing project version via system property

2008-03-03 Thread Wayne Fay
You should be using the release plugin which will rewrite the version tag along with SNAPSHOTs until you are ready for a final release etc. As you've discovered, the ${final.version} thing is a bad idea and doesn't really work. If you check the archives, you'll see similar posts from other people

Re: Misleading error message in Maven2? If not where are .jar files?

2008-03-03 Thread Wayne Fay
Or just use the Geronimo spec jars: http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-jms/1.1-rc4/ groupIdgeronimo-spec/groupId artifactIdgeronimo-spec-jms/artifactId version1.1-rc4/version Wayne On 2/29/08, Wendy Smoak [EMAIL PROTECTED] wrote: On Fri, Feb 29, 2008 at 9:09 PM,

Re: Locking down to only use Archiva ... except for encumbered JARs

2008-03-03 Thread Julian Dunn
That worked -- thanks. - Julian Wendy Smoak [EMAIL PROTECTED] 03/03/08 4:24 PM On Mon, Mar 3, 2008 at 2:19 PM, Julian Dunn [EMAIL PROTECTED] wrote: I have set up Archiva to have two repositories: ... However, if I put mirrorOf*/mirrorOf for the default repository, the restricted repo

Re: exec plugin info needed

2008-03-03 Thread Wayne Fay
The root cause of your error is: Caused by: java.lang.NoClassDefFoundError: javax/jms/MessageListener You should probably add a dependency to the javax jms artifact, or to the Geronimo jms spec artifact (easier). Wayne On 1/24/08, Daniele De Francesco [EMAIL PROTECTED] wrote: Hi, I've got to

Re: javax.naming.CommunicationException: Receive timed out problem

2008-03-03 Thread Neo Anderson
Thanks your reply. Finally I solved the problem. The problem comes from the wrong way to setup initial context. The correct way to do that is by (in my test case, e.g., HelloTest) protected void setUp() throws Exception{ Hashtable env = new Hashtable();

Re: jspc precompile

2008-03-03 Thread Dooing
Ok, now I wrote a complete new mail, hope this one's what you wanted me to do (or should I have left this topic for now...?!) Ok, one questions: is the war assembled correctly (including web.xml)? Well I think so - building a war works, and when I deploy this war into my tomcat server, the

Re: javax.naming.CommunicationException: Receive timed out problem

2008-03-03 Thread David Blevins
On Mar 3, 2008, at 2:21 PM, Neo Anderson wrote: Thanks your reply. Finally I solved the problem. The problem comes from the wrong way to setup initial context. The correct way to do that is by (in my test case, e.g., HelloTest) protected void setUp() throws Exception{ Hashtable

Release process

2008-03-03 Thread Arash Bizhan zadeh
Hi everybody, First I all I want to apologies for off topic question. It is not really a maven related question, but I thought I may get some feedback. We need a tool to release our web-based application in production sandboxes. We have multiple sandboxes which are load-balanced with a CISCO

TextMate Maven Bundle.

2008-03-03 Thread Luke Daley
Hi all, A Maven bundle for the popular Mac OS text editor TextMate http:// macromates.com/ is now available from the central bundle repository http://macromates.com/svn/Bundles/trunk/Bundles/Maven.tmbundle. This bundle allows you to invoke Maven from within TextMate with a few simple

Release plugin question

2008-03-03 Thread Randall Fidler
Hello, Using the release plugin if you wanted to assemble your project BEFORE it rolls over the next SNAPSHOT, how would you accomplish that? For instance: When you do a release:prepare then release:perform and then assembly:assembly (to run a customer assembler) instead of

Re: Release process

2008-03-03 Thread Wayne Fay
Potentially, the Cargo M2 plugin could help automate some of this for you. Wayne On 3/3/08, Arash Bizhan zadeh [EMAIL PROTECTED] wrote: Hi everybody, First I all I want to apologies for off topic question. It is not really a maven related question, but I thought I may get some feedback. We

Re: TextMate Maven Bundle.

2008-03-03 Thread John Casey
Cool, you don't by any chance support auto-completion of sections of the pom, do you? I was thinking of something like the behavior of the '(' and '{' characters, for things like plugin and execution (these are the ones that I always mess up the end tags on, since they're

Re: TextMate Maven Bundle.

2008-03-03 Thread Luke Daley
On 04/03/2008, at 11:13 AM, John Casey wrote: Cool, you don't by any chance support auto-completion of sections of the pom, do you? I was thinking of something like the behavior of the '(' and '{' characters, for things like plugin and execution (these are the ones that I always mess up

How to deploy ears to application instead of repository?

2008-03-03 Thread gotama
What I'd like to do is use Maven to scp some ear artifacts to my server's JBoss deploy directory - not to a repository. How can I do this? When I use distributionManagement the ear is in fact scp'd, but with everything else related to a repository... html files and in a path of

Re: Release process

2008-03-03 Thread Arash Bizhan zadeh
I know that we can use cargo to push the code to one instance of Tomcat; but could it push the application to multiple instances simultaneously? Besides is it a good idea to hot-deploy in production environment? any feedback is appreciated. On Mon, Mar 3, 2008 at 8:07 PM, Wayne Fay [EMAIL

Re: How to deploy ears to application instead of repository?

2008-03-03 Thread Wendy Smoak
On Mon, Mar 3, 2008 at 6:57 PM, gotama [EMAIL PROTECTED] wrote: What I'd like to do is use Maven to scp some ear artifacts to my server's JBoss deploy directory - not to a repository. How can I do this? When I use distributionManagement the ear is in fact scp'd, but with everything else

Re: Release process

2008-03-03 Thread Wayne Fay
What app server? How many? On what kind of equipment/operating systems? This is not a trivial problem to solve, IME. Wayne On 3/3/08, Arash Bizhan zadeh [EMAIL PROTECTED] wrote: I know that we can use cargo to push the code to one instance of Tomcat; but could it push the application to

Re: Release process

2008-03-03 Thread Arash Bizhan zadeh
There is 6 Tomcat 5.5 sandboxes, all of them running on RHE 6. There is a load balancer in front of them and we need to release every app on all of them. I am looking for the best practices to manage the releases. On Mon, Mar 3, 2008 at 9:23 PM, Wayne Fay [EMAIL PROTECTED] wrote: What app

Dependency Plugin

2008-03-03 Thread Shakun Gupta
Hi All, I am using the maven dependency plugin v 2.0. I wanted to copy the dependency jars to an external folder. I tried two approaches: 1. I added the configuration for dependency-plugin in the pom.xmls of the modules and when I ran the dependency:copy-dependencies task along with the

Re: Release process

2008-03-03 Thread Wayne Fay
I'd probably ask this question on the Tomcat or possibly Cargo lists. I won't claim to have expertise in these matters. Perhaps someone else on the list will have advice. Wayne On 3/3/08, Arash Bizhan zadeh [EMAIL PROTECTED] wrote: There is 6 Tomcat 5.5 sandboxes, all of them running on RHE 6.

one build per cpu (continuum 1.1)

2008-03-03 Thread deckrider
Hi, We have a 4-cpu machine on which we run continuum 1.1. Unfortunately, it only runs one build at a time. How can we run up to 4 builds at a time? Thanks!

Re: Release process

2008-03-03 Thread Wendy Smoak
On Mon, Mar 3, 2008 at 7:29 PM, Arash Bizhan zadeh [EMAIL PROTECTED] wrote: There is 6 Tomcat 5.5 sandboxes, all of them running on RHE 6. There is a load balancer in front of them and we need to release every app on all of them. I am looking for the best practices to manage the releases.

How to specify local dependency in maven2

2008-03-03 Thread Dipankar Ghosal
I have a WebSphere Portlet project which uses many IBM jars(Available at installation directory in local system). I need to use these jars while performing maven build. How do i specify the location of the jars so that maven uses the jars from local location rather than download from remote

Re: How to specify local dependency in maven2

2008-03-03 Thread Samuel Le Berrigaud
Hi, you would have to use the system scope. See the system dependencies section at http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html . However I would recommend you create a private repository internally to your company so that you can more easily share those

Re: How to specify local dependency in maven2

2008-03-03 Thread Dipankar Ghosal
Thanks Samuel.. However is there any way to include all libraries that are present in a particular folder. Say i have 20 odd jars in C:\lib folder? Samuel Le Berrigaud wrote: Hi, you would have to use the system scope. See the system dependencies section at

Re: How to specify local dependency in maven2

2008-03-03 Thread Samuel Le Berrigaud
Not that I know of. And I believe there is not. The maven way of managing dependencies is to declare those in the POM (or to get them transitively for maven2), using libraries from a directory would go against that. Hope it helps. SaM On Tue, Mar 4, 2008 at 6:36 PM, Dipankar Ghosal [EMAIL

Archiva Search for classnames in artifacts

2008-03-03 Thread Marc Wilhelm
Hi all; I’ve recognized that the class names inside the jars no longer are indexed for the searching webpage. I think the last time it was working was with version 0.7 of archiva … Is it possible to reactivate this feature through a configuration change? Thank you for your help, Marc

Locking down to only use Archiva ... except for encumbered JARs

2008-03-03 Thread Julian Dunn
I have set up Archiva to have two repositories: * A default repository * A restricted repository that contains license-encumbered JARs like those provided by Sun but for which my company has accepted the license terms Now, I want to force developers to use Archiva in the manner specified on

Re: Locking down to only use Archiva ... except for encumbered JARs

2008-03-03 Thread Wendy Smoak
On Mon, Mar 3, 2008 at 2:19 PM, Julian Dunn [EMAIL PROTECTED] wrote: I have set up Archiva to have two repositories: ... However, if I put mirrorOf*/mirrorOf for the default repository, the restricted repo will never be consulted for jars like activation, jta, etc. -- M2 will simply

Why is the parent pom upload compulsory ?

2008-03-03 Thread MATHUS Baptiste
Hi all, I'm evaluating continuum 1.1. We've been using the 1.0 for some months now, and consider migrating mostly for the group management feature. In fact, we're about to add more and more projects, and displaying them all in the same view seems quite unreasonnable. I just tried adding one

Re: Why is the parent pom upload compulsory ?

2008-03-03 Thread Sebastien Geindre
Baptiste, The fact is that Continuum use the ~/.m2/settings.xml of the user which launch Continuum And NOT settings.xml of maven installation... It's a bit confusing but it helps when you change version of maven... Sebastien, A toulouse... 2008/3/3, Olivier Lamy [EMAIL PROTECTED]: Hi,