Re: Advised Continous Integration tool?

2005-09-08 Thread jan-helge . bergesen
Hello again. The Maven ClearCase plugin doesn't help in it self - in that it is mostly a wrapper over the Ant "cc" target-set. They may help you to operate on, for instance, a "build number" property file or the likes. The CI tools needs to be able to get modification notificatios from the SCM s

Re: [m2] webapp archetype doesn't generate default sourcefiles

2005-09-08 Thread Emmanuel Venisse
webapp archetype doesn't generate a default servlet, you have all generated files, but we can add it. If you want to provide a patch for this archetype, sources are there : http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-archetype/maven-archetypes/maven-archetype-webapp/ Emmanue

[m2] webapp archetype doesn't generate default sourcefiles

2005-09-08 Thread Ashley Williams
just created a webapp, but didn't see a default servlet class created or even my package structure. Here was the command I ran: m2 archetype:create -DgroupId=com.williams1000.bookmarks - DartifactId=test-app -DpackageName=com.williams1000.bookmarks - DarchetypeArtifactId=maven-archetype-webap

Re: [m2] plugin tests?

2005-09-08 Thread Brett Porter
Hi John, Good idea. Currently we were expecting people to add setters and test as a conventional bean, but this could certainly be helpful. The code that does the populate in DefaultPluginManager is not very much as it mostly calls out to plexus, so perhaps that can be abstracted out. - Brett

Re: [m2] plugin tests?

2005-09-08 Thread John Fallows
Hey Kenny, I'm looking for something more like a unit test than an integration test, such as: public class MyMojoTest extends MojoTestCase { public void testMojo() throws MojoExecutionException { // create mojo, with default property values Mojo mojo = createMojo(...); // overrid

Re: [m2] InstallMojo.java bug - hardcoded pom name?

2005-09-08 Thread Ashley Williams
Ok, just found the answer in the faq, doing it now. On 9 Sep 2005, at 00:02, Ashley Williams wrote: No problem. How do I do it? On 8 Sep 2005, at 23:53, John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you please file a jira issue for this? It's a bug. Thanks, john As

Re: [m2] InstallMojo.java bug - hardcoded pom name?

2005-09-08 Thread Ashley Williams
No problem. How do I do it? On 8 Sep 2005, at 23:53, John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you please file a jira issue for this? It's a bug. Thanks, john Ashley Williams wrote: | Just ran the install lifecycle against a pom with a made-up name but | the code ev

Re: [m2] InstallMojo.java bug - hardcoded pom name?

2005-09-08 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you please file a jira issue for this? It's a bug. Thanks, john Ashley Williams wrote: | Just ran the install lifecycle against a pom with a made-up name but | the code eventually looks for a file called pom.xml. Here's the command | I ran | |

[m2] InstallMojo.java bug - hardcoded pom name?

2005-09-08 Thread Ashley Williams
Just ran the install lifecycle against a pom with a made-up name but the code eventually looks for a file called pom.xml. Here's the command I ran m2 -f testpom.xml install and got an exception: Caused by: java.io.FileNotFoundException: /Users/developer/projects/ java-source-repository/hom

Re: [m2] plugin tests?

2005-09-08 Thread Kenney Westerhof
On Thu, 8 Sep 2005, John Fallows wrote: You could try out the maven-it-plugin in the sandbox, if you're using svn head. Just place test projects in src/it/ and bind the maven-it-plugin to a phase after 'install', using the 'fork' goal. Unfortunately to be able to test a plugin it needs to be ins

[m2] plugin tests?

2005-09-08 Thread John Fallows
What is the recommended approach for testing m2 plugin Java code? I would like to be able to write a JUnit test, but need to simulate the bootstrap process of initializing the various properties to their defaults, and possibly setting some non-default parameter values, all before Mojo.execute() is

Fwd: CloverMergeTask cannot be found

2005-09-08 Thread Clark Christensen
I have a project which is running fine and executes clover as intended using clover 1.3.6, and the 1.9.1 maven-clover-plugin. However, when I pull that same code over to another box that has clover 1.3.9 installed and the 1.10maven-clover plugin, I get the error: taskdef com.cenqua.clover.tasks.

Re: Integration testing and multiproject organization

2005-09-08 Thread Andy Glick
At 01:12 PM 9/8/2005, Craig McDaniel wrote: One approach I've seen is to create *-acceptance projects to contain the integration tests. For example, da-hibernate-acceptance. I would end up with no tests in da-hibernate, and only tests in da-hibernate-acceptance. Is this common? With this setup,

Re: [m2] single source tree problems

2005-09-08 Thread Ashley Williams
Kenney, see my comments inline. Slight change of topic: I definitely think there is a big black hole that lies between an IDE and Maven - really push the integration aspect hard and I think Maven adoption would accelerate. As if you guys aren't working hard enough already! Thanks - AW On

Re: Deployment of the jboss-app.xml file

2005-09-08 Thread Stephane Nicoll
put it in src/application/META-INF Cheers, Stéphane On 9/8/05, Christopher White <[EMAIL PROTECTED]> wrote: > Hi, > > What would be the correct way to deploy the jboss-app.xml file into the > MET-INF folder of an ear file using Maven 1 ? > > Thanks in advance, > > Chris White > > -- .::Yo

Re: [m2] single source tree problems

2005-09-08 Thread Kenney Westerhof
On Thu, 8 Sep 2005, Ashley Williams wrote: Just a short comment on this: your developers don't care about which artifacts are produced and what's in them. But they don't see that each package is a separate jar, and has specific dependencies on other packages, usually versioned (probably not in you

Integration testing and multiproject organization

2005-09-08 Thread Craig McDaniel
I've seen a few slide presentations on best practices for multiproject organization, but I was wondering if there is one that is endorsed by the maven team/community? I am working on a project that will provide a centralized hub of data services (JMS, SOAP, JSP) for integrating multiple external s

Re: calling maven for a maven.xml

2005-09-08 Thread Doug Douglass
Matthias, So the applet is a dependency of your webapp, yes? Are you using maven to build your webapp? Why not add the applet, and it's signed dependencies, as dependencies in the webapp POM? Add the property true so that these dependencies are also copied to the lib directory of your war.

RE: calling maven for a maven.xml

2005-09-08 Thread David Jackman
I think this is the wrong approach. Maven projects shouldn't call other Maven projects to build. Instead, the jar project should install/deploy its artifact(s) to the repository. Then the webapp project should list the artifacts it depends on and use them from the repository. It can bundle (cop

Re: [m2] single source tree problems

2005-09-08 Thread Ashley Williams
Ah, I think I see what your reading from my comments and I don't mean what you're thinking, ie not producing separate patchable jars and having one monolithic build file. That would be suicide! Just to be clear what I'm saying, those single file system projects I have worked on are absolute

building .Net stuff

2005-09-08 Thread Lukasz Bajorski
Hi there, I'm looking the fastest/best way to integrate .Net solutions in my Maven build. There are projects which have, for example, "webapps" and "webservices" subprojects, both build by Maven and "dotnet" subproject, mostly VisualStudio.Netsolutions, written in C#. My best shot was to call N

Re: [m2] single source tree problems

2005-09-08 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Comments inline. Cheers, john Ashley Williams wrote: | Hi John, | | Looking forward to the properties code btw It's in. Good luck! :) | I won't lecture you on the ins and outs of modular source trees - I'm | sure you know already - but I will m

RE: calling maven for a maven.xml

2005-09-08 Thread Kenney Westerhof
On Thu, 8 Sep 2005, Matthias Wessendorf wrote: Not sure if this is what you're looking for, but the maven:maven jelly tag can 'call' maven. See the site for details. -- Kenney > from a maven.xml > ... :-) > > > -Original Message- > > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] >

Re: Advised Continous Integration tool?

2005-09-08 Thread Wim Deblauwe
We are using ClearCase also, so your information is very valuable. I saw there is a Maven plugin for CruiseControl. Doesn't that help? regards & thank you already for everybody's replies, Wim 2005/9/8, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > I'd say its much up to your environment and yo

Re: [m2] single source tree problems

2005-09-08 Thread Ashley Williams
Hi John, Looking forward to the properties code btw I don't expect Maven to provide me with something out of the box, because I do understand it's priorities. In fact I don't think any features are required (hopefully), just some way of puzzling how to use the properties that are already t

Re: [m2] single source tree problems

2005-09-08 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, now that I think about it, I believe we made that modification already...it'd be in the maven-compiler-plugin configuration, probably in an pair (sub-elements must currently be of the form: .. for what that's worth). Admittedly, this wil

RE: Launch Jboss in a Separate Thread from Maven 1.0-rc3

2005-09-08 Thread Walsh, Richard \(Richard\)
Does anyone from Maven that is monitoring this thread have any suggestions for this one. It seems pretty simple ant it actually works perfectly in ant, but when I run it under maven it does not launch in a separate thread. Any help appreciated. -Original Message- From: Brice Copy [mailto

RE: calling maven for a maven.xml

2005-09-08 Thread Matthias Wessendorf
from a maven.xml ... :-) > -Original Message- > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 08, 2005 4:21 PM > To: users@maven.apache.org > Subject: calling maven for a maven.xml > > > Hi, > > I have a problem, related to an applet that is build w/ m

calling maven for a maven.xml

2005-09-08 Thread Matthias Wessendorf
Hi, I have a problem, related to an applet that is build w/ m1. The applet itself is a jar that got's signed by a maven.xml jelly script. This applet has dependencies that got also signed w/ this maven.xml file. After this, I have four signed JARs in $project/target. this is nice, and works as ex

Re: [m2] single source tree problems

2005-09-08 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It seems to me that there was a JIRA filed for sourceModifications in m2, but I think it's been pushed for now...maybe until 2.1, I dunno for sure. I understand the position you're in, and that you don't really have the power to dictate a mass reorga

Re: [m2] can I declare a maven property

2005-09-08 Thread Jesse McConnell
you are a beautiful man john...:) On 9/8/05, John Casey <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > That's correct. I've added this functionality to my local working copy, > and will commit it as soon as I've verified that it doesn't break the > build. >

Re: [m2] can I declare a maven property

2005-09-08 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That's correct. I've added this functionality to my local working copy, and will commit it as soon as I've verified that it doesn't break the build. What I'm adding is a section directly inside the element. You will then have the ability to referen

Re: [m2] single source tree problems

2005-09-08 Thread Ashley Williams
Thanks for your response. In fact I'm equally comfortable working with single or multiple source trees and see the benefits for both. However. As a contractor I don't have the luxury of going into any given project and demanding that a budget be allocated to start splitting up the existing

[M1] best practice in which case there are many sub projects

2005-09-08 Thread Keisuke Matsubara
Hi,practice I am searching workaround performance problem of reactor. If someone has good method ,please inform me. My project has about 900 sub projects of J2EE applications. These sub projects are grouped by name of artifact ,and each group has name. Some groups has over 100 artifacts. I hope I

Re: [m2] plugin dependencies on Maven

2005-09-08 Thread Trygve Laugstøl
On Wed, Sep 07, 2005 at 05:45:38PM +0200, Milos Kleint wrote: > On 9/7/05, Trygve Laugstøl <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > ok. in my current understanding, the m1 plugins do actually use much > > more > > > properties than they declare. they use the pom, the common properties,

RE: Uberjar plugin, deploying...

2005-09-08 Thread Poppe, Troy
Ah, the plugin site for uberjar doesn't contain these! There I go trusting the documentation, rather than looking at implementation details Silly me! Thanks folks! Troy -Original Message- From: Andy Glick [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 7:31 AM To: user

Re: [m2] can I declare a maven property

2005-09-08 Thread Brett Porter
Actually, I believe we are adding this... John? - Brett On 9/8/05, Andy Glick <[EMAIL PROTECTED]> wrote: > > At 08:02 AM 9/8/2005, Ashley Williams wrote: > >Can I declare a maven property like in Ant at the top of my pom and > >use it further down? Didn't see anything immediately obvious in the

RE: Advised Continous Integration tool?

2005-09-08 Thread David Jackman
We're been using CruiseControl here for a very long time. It works well for a handful of larger projects, but our move to Maven has enabled us to break the larger projects into more agile smaller projects. This has made some of the drawbacks of CruiseControl more apparent. CruiseControl does have

Re: [m2] can I declare a maven property

2005-09-08 Thread Andy Glick
At 08:02 AM 9/8/2005, Ashley Williams wrote: Can I declare a maven property like in Ant at the top of my pom and use it further down? Didn't see anything immediately obvious in the maven project descriptor help page. Ashley, The nature of the Ant and the M1 execution environments lent themselv

Re: Use case question: in a multiproject context build a single jar aggregating all classes from subprojects

2005-09-08 Thread Hugues Pisapia
This plugin looks to be compatible w/ m2 only, isn't it? Is it available somewhere for m1? - Hugues On Sep 4, 2005, at 12:55 AM, dan tran wrote: Andy, maven-assemply-plugin seems to do what you want. And I also found this http://jira.codehaus.org/browse/MNG-319 -D On 9/3/05, Doug Douglass

Réf. : Advised Continous Integration tool?

2005-09-08 Thread fabrice . belingard
Hi Wim, one year ago, I had to choose a CI tool because my company needed one for all its Java projects (about 150). After experimenting lots of them, the choice was obvious to me: Luntbuild. (but this is my own experience) Luntbuild is a very good compromise between easy-to-use and powerful-e

Re: [m2] single source tree problems

2005-09-08 Thread Andy Glick
At 07:09 AM 9/8/2005, Ashley Williams wrote: I work with many projects that are based around a single source tree - by that I mean no matter how many modules and jars are build, there is just one directory called com with all the code underneath it. I'm not saying this is better or worse than th

Re: Advised Continous Integration tool?

2005-09-08 Thread Emmanuel Venisse
Clearcase is in the pipe for a future release, we don't have access for the moment to a Clearcase platform. When we'll support Clearcase, I hope you'll want to migrate to Continuum. Emmanuel [EMAIL PROTECTED] wrote: I'd say its much up to your environment and your other requirements. We've g

Re: Advised Continous Integration tool?

2005-09-08 Thread jan-helge . bergesen
I'd say its much up to your environment and your other requirements. We've got (struggling with?) ClearCase and therefore we needed a CI tool that sat well on top of it. I couldn't get Luntbuild to work with dynamic views (it seemed insistent upon creating NEW snapshot views all the time), cont

Re: [m2] can I declare a maven property

2005-09-08 Thread Ashley Williams
Hmm, that's a shame because it's not really system dependent information that I'm providing. It's the name of a package that would be used inside several plugin configuration sections. On 8 Sep 2005, at 13:30, Jesse McConnell wrote: you can use system properties...that is the current mechan

Re: Advised Continous Integration tool?

2005-09-08 Thread Jesse McConnell
I like continuum a lot...and since I am already using m2 for things it integrated really easily with continuum.. and continuum is really pretty neat when you dig into it, quite a little edumacation... On 9/8/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm looking into CI tools and

Re: [m2] can I declare a maven property

2005-09-08 Thread Jesse McConnell
you can use system properties...that is the current mechanism for this I believe.. note, there is an activator for profiles that works off of system properties.. On 9/8/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > > Can I declare a maven property like in Ant at the top of my pom and > use

[m2] can I declare a maven property

2005-09-08 Thread Ashley Williams
Can I declare a maven property like in Ant at the top of my pom and use it further down? Didn't see anything immediately obvious in the maven project descriptor help page. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Uberjar plugin, deploying...

2005-09-08 Thread Andy Glick
Poppe, Troy wrote: I'm looking at the Uberjar plugin to create an executable jar file, ... snip ... However, I don't see an option for deploying the uberjar to a repository... ... snip ... Is there a better way to do this? Johnny R. Ruiz wrote: If I am not mistaken, there is an option to deplo

Re: [m2] xml editors - little off topic

2005-09-08 Thread Trygve Laugstøl
On Wed, Sep 07, 2005 at 05:23:22PM +0100, Ashley Williams wrote: > I've mentioned in a previous post that I'm slightly fed up with > editing xml files, even with a fancy editor. I though I might knock > up a stylesheet that will enable me to write a short hand for example: > > project > mo

Advised Continous Integration tool?

2005-09-08 Thread Wim Deblauwe
Hi, I'm looking into CI tools and I wonder what other already use: CruiseControl, LuntBuild, DamageControl, maven's own Continum, ... What are your experiences with CI tools and Maven 1.x? What are the advantages/disadvantages? I heared CruiseControl is not so easy to setup compared to LuntBui

Re: [m2] xml editors - little off topic

2005-09-08 Thread Ashley Williams
Good pointer - look forward to reading the docs when I get a moment. Had a quick scan, but I don't think it will help me xmlwise, but it will take the drudgery out of a few other tasks. On 7 Sep 2005, at 21:00, Jesse McConnell wrote: the apt documentation mechanism is an implemention of thi

[m2] single source tree problems

2005-09-08 Thread Ashley Williams
Ok, I had some problems with source:jar plugin yesterday where because the pom was in the same directory as the source files, the com/... was ignored thus making the java source files top level in the source.jar file. Yes I could branch the plugin locally and make it accept the package to

Deployment of the jboss-app.xml file

2005-09-08 Thread Christopher White
Hi, What would be the correct way to deploy the jboss-app.xml file into the MET-INF folder of an ear file using Maven 1 ? Thanks in advance, Chris White