Export changes.xml in text file

2005-09-14 Thread Frederic Bruneteau
Is there a plugin to export the content of "changes.xml" (all releases notes) in a text file ? The announcement only generates the current release. The solution is the modification of the announcement jelly script ? Thanks.

Re: [m2] mock classes

2005-09-14 Thread John Fallows
There seems to be a bigger issue here too. What if I have the following project structure project/ api-module/ src/ main/ mock/ test/ impl-module/ src/ main/ test/ Now, api-module needs to provide mocks for use by both the api-module unit tests the impl-

Re: [m2] Nested jars

2005-09-14 Thread Brett Porter
Hi Andrew, Right - it seems like the same situation I was describing. I think you would have a POM that declares the dependencies included in the ZIP, and if you were to produce the ZIP with that it would be a "secondary" type, and you would just depend on the POM to aggregate its deps. I agre

Re: Multiproject plugin problem in Maven 1.1

2005-09-14 Thread Brett Porter
What is the content of the parent project? I'm not sure why the proper exception has been swallowed, though - I'd need to look into that. - Brett On 9/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I have a multiproject that runs fine in Maven 1.0.2. In Maven 1.1 (beta1 > and beta

Re: maven 1.1b2: war maven.war.classes.excludes property

2005-09-14 Thread Brett Porter
The only thing I can think of is if ArcimsMapServiceTest.class comes from a directory other than target/classes? - Brett On 9/15/05, John C Cartwright <[EMAIL PROTECTED]> wrote: > > Hello All, > > I'm trying to exclude test classes from the generated war, but the > following doesn't seem to be

Re: [m2] resources block not merged with profiles?

2005-09-14 Thread Brett Porter
Hi Mark, This is by design. For simplicity, it is intended that profiles behave identically to inheritence, and inheritence doesn't merge resource sets. This may or may not be the right behaviour though - but we should discuss in that context rather than the profile. - Brett On 9/14/05, Mark

Re: [M1.1] SAXParserFactoryImpl could not be instantiated

2005-09-14 Thread Brett Porter
What I will do for the next release is test for this variable and if it is there, test for the class, and fail with a better error if not. - Brett On 9/15/05, Davy Toch <[EMAIL PROTECTED]> wrote: > > Solution: > > - point MAVEN_HOME to maven-1.1-beta2 > - modify PATH to point the 'bin' folder

RE: [m2] scm:checkout

2005-09-14 Thread john_harrison
Hi Emmanuel and All, Thanks for the help! I've implemented the command in my pom.xml, as follows: . . . scm:cvs:pserver:@:: . . . using http://maven.apache.org/maven2/maven-model/maven.html#class_Scm as a guide, and get the following result: + Error stacktraces a

RE: Need Help, Please

2005-09-14 Thread Leck, William C \(Bill\)
Notice this error in you stack trace. " Caused by: java.lang.IllegalArgumentException: repository connection must start with scm[delim]" Somewhere it is trying to pick-up an SCM connection. Have you defined a build.properties in your home directory (BTW, home directory for XP, as far as Apache

RE: Need Help, Please

2005-09-14 Thread Qin Ding
The problem is I carelessly named my project.xml file as project.xml.xml. After I correct the file name, I got the following error: C:\My Projects\Sample-Maven-Project>maven java:compile __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||

RE: Need Help, Please

2005-09-14 Thread Leck, William C \(Bill\)
Try adding -X to the maven command. You may want to direct that output to a file. -X is the debug option. Examine the output carefully. You should see where Maven is trying to pickup the source from. I suspect your project.xml file is in the wrong location. It should be in the parent director

Re: [m2] Applets as WAR dependencies

2005-09-14 Thread Mark Hobson
http://jira.codehaus.org/browse/MNG-896 On 12/09/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > Hi there, > > I've got an applet that I'd like to be included in a war - both of > which are m2 projects. Is there any current or proposed way for the > war pom to specify a non-WEB-INF jar dependency?

Re: [m2] Multiproject directory organization on CVS

2005-09-14 Thread Nelson Arape
Jesse McConnell wrote: > snip ... > > if this is anything you are interested in, let me know and I'll steer you > in the right direction. > > Jesse > Thanks Jesse, but the project that I am talking about just have started, so I dont have migrations problems (or needs). But Thanks anyway. I thi

Re: [m2] resources block not merged with profiles?

2005-09-14 Thread Mark Hobson
http://jira.codehaus.org/browse/MNG-895 On 13/09/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > Didn't want to file a bug if this was a conscious design decision, but > with the following POM: > > > ... > > > a > > > > > ... > > > b >

RE: How do I package dependent jars in my distribution?

2005-09-14 Thread Helck, Christopher
I've created a plugin I call jarset which may be of interest. It creates a directory target/jarset. It copies everything from src/bin to target/jarset/bin It copies your jarfile to target/jarset/libs It copies dependent jars to target/jarset/libs It zips everything up. It deploys to maven repo in

RE: How do I package dependent jars in my distribution?

2005-09-14 Thread KC Baltz
Right now we have an Ant build target that creates a dist dir like this: dist/ theProject.jar theProject.zip lib/ log4j.jar commons-httpclient.jar ... theProject.jar contains all the classes based on the /src/java directory.

RE: Need Help, Please

2005-09-14 Thread Qin Ding
I removed ${basedir}, which has no positive effect. I double check the directories src/java, which has com.myapp.MyApp.java src/config, which has myapp.properties test/java, which has com.myapp.MyAppTest.java project.xml [EMAIL PROTECTED] src/java test/java **/*Te

RE: Need Help, Please

2005-09-14 Thread David Jackman
It definitely isn't ${basedir}, and I would recommend leaving that in. >From what I can see, it should work for the source code, but the test code wouldn't because the paths are different (src/test vs. test/java). Can you double-check the paths you put in your email to make sure they're correct fo

Re: How do I package dependent jars in my distribution?

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's fairly stable, and should be getting a -beta-1 release Real Soon Now. Give it a shot...you might find you like it! :-) - -john KC Baltz wrote: | It looks like Assmebly is a Maven2 plugin. Is M2 stable? I was leaning away from it because it

Re: Need Help, Please

2005-09-14 Thread Rob Dingwell
Try changing the sourceDirectory to src/java instead of /src/java. I think it may be searching from the root of the drive for your files. Rob Qin Ding wrote: Tom: I erased the ${basedir} as you suggested, but I still got "No java source to compile". By the way, my Maven version is 1.0.2

Re: Need Help, Please

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 not entirely sure (my maven-1 is a bit rusty...), but try leaving off the '${basedir}/' prefix for sourceDirectory and unitTestSourceDirectory. HTH, john Qin Ding wrote: | I am learning to use Maven. Following the tutorial on serverside.com | (htt

RE: Need Help, Please

2005-09-14 Thread Qin Ding
Tom: I erased the ${basedir} as you suggested, but I still got "No java source to compile". By the way, my Maven version is 1.0.2. Qin This is a PRIVATE message. If you are not the intended recipient, plea

RE: Need Help, Please

2005-09-14 Thread Litton, Tom - CEPM
try droping the ${basedir}/ from the dirs. like: src/java test/java src/conf -Original Message- From: Qin Ding [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 2:43 PM To: Maven Users List Subject: Need Help, Please I am learning to use Maven. Following the tutorial on se

RE: How do I package dependent jars in my distribution?

2005-09-14 Thread KC Baltz
It looks like Assmebly is a Maven2 plugin. Is M2 stable? I was leaning away from it because it looked like it was an Alpha. K.C. -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 12:16 PM To: Maven Users List Subject: Re: How do I package

Need Help, Please

2005-09-14 Thread Qin Ding
I am learning to use Maven. Following the tutorial on serverside.com (http://www.theserverside.com/articles/article.tss?l=MavenMagic), to setup the directory structure like the folloing: c:\sample-maven-project src/config /myapp.properties src/java /com/myapp/M

Re: [m2] whether to use ant

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, that's the same basic way I use it. I have always planned to dig into the eclipse plugin and add this functionality, as it's essentially useless for me too. :) However, as yet I haven't even looked at the eclipse plugin, personally. I'll tr

Re: [m2] whether to use ant

2005-09-14 Thread Ashley Williams
John, don't know if you read my earlier post today on a suggestion for eclipse. Wasn't a great post, but it probably got lost in the discussion on Ant. To summarize, I'm having a lot of success with one project, consisting of one source folder per artifact project. So Maven itself would con

Re: How do I package dependent jars in my distribution?

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you probably want to look at the assembly plugin (maven-assembly-plugin). I think maven-core uses it, but I don't have the details on how to get started with it, other than to look at src/assemble under maven-core in the m2 svn, which is at: https://

Re: How do I package dependent jars in my distribution?

2005-09-14 Thread Mark Hobson
Have you checked the assembly plugin? A good example is the one used to package maven itself: http://svn.apache.org/viewcvs.cgi/*checkout*/maven/components/trunk/maven-core/src/assemble/bin.xml?rev=267344 Mark On 14/09/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > I also think there is a bun

Re: How do I package dependent jars in my distribution?

2005-09-14 Thread Ashley Williams
I also think there is a bunch of stuff missing out of the box after the install/deploy phase - but then again other than a war and ear distribution, I don't know how many other standard zips structures there are. What sort of zip structure do you envisage? AW On 14 Sep 2005, at 20:00, KC B

How do I package dependent jars in my distribution?

2005-09-14 Thread KC Baltz
I've searched the archives, seen this question asked a bunch, but never seen an answer I liked. We're just starting to look at Maven and I'd like to be able to produce a ZIP file that contains both the jar created from the source of our project as well as all the jars it depends on. Is there

Re: [m2] whether to use ant

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I agree, except for one thing: we haven't released -beta-1 yet, which means the final design of features is still in flux. Documentation under these circumstances is not always the best idea. Also, we do have design docs in various places (APT sources

Re: [m2] whether to use ant

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Some of the problems with the eclipse plugin are from an impedance mismatch. Eclipse doesn't allow nesting of projects, while that's the bread and butter for Maven. Therefore, for Eclipse users (like me), you have to sort of graft multiproject support

Re: [M1.1] SAXParserFactoryImpl could not be instantiated

2005-09-14 Thread Davy Toch
Solution: - point MAVEN_HOME to maven-1.1-beta2 - modify PATH to point the 'bin' folder of Maven 1.1 beta 2 Remark : if you do the first, but not the second, then you'll get the error you indicated. What is confusing however, is that you see '1.1-beta-2' in the Maven logo, despite the fact tha

maven 1.1b2: war maven.war.classes.excludes property

2005-09-14 Thread John C Cartwright
Hello All, I'm trying to exclude test classes from the generated war, but the following doesn't seem to be working - e.g. the file "ArcimsMapserviceTest.class" appears in the generated webapp. maven.properties: maven.war.classes.excludes=**/*Test.class I see (via maven -X) that the scanner

Re: [m2] whether to use ant

2005-09-14 Thread Ashley Williams
I _totally_ agree and in my ever so humble opinion this should be made the top priority for new features as I can't think of a bigger payoff for what I guess is just writing a new flavor of Mojo. You would start to see a serious number of users flock to Maven - familiarity is a powerful too

RE: [m2] whether to use ant

2005-09-14 Thread Dave Neuer
This is kind of like saying: "we don't have the spare cycles for unit testing; we're spending all of our time fixing bugs." Fact is, taking a few cycles off of frantic coding to do some decent documentation would allow more developers to contribute, which *could* give everyone more spare cycles.

[M1.1] SAXParserFactoryImpl could not be instantiated

2005-09-14 Thread Michael Mattox
I tried upgrading from 1.0.2 to 1.1-beta2 and I get an error right away. Ie searched the mailing list and the compatability notes and don't see anything about this error. nothing in JIRA either (close but not the same). I've tested with JRockit and the SUN JDK, all JDK 1.5 and it doesn't work.

Re: [m2] whether to use ant

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, what I'd really like to see in the future is the convergence of Ant APIs and Maven build process to form one ultra-rich platform for running builds and developing build plugins. If you still want to run Ant scripts, you have an optional ant-

Re: [m2] whether to use ant

2005-09-14 Thread Mark Hobson
On 14/09/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > Mark, I see what you mean about autodeducing the war file with a pure > maven plugin. However wouldn't it be easier to write a mapping layer > that passes the maven war location to the ant task and any other > properties too? > > So instead

Re: [m2] Nested jars

2005-09-14 Thread Andrew Niefer
Basically, we are trying to depend upon an Eclipse Plugin. Some plugins exist as directories instead of as a jar file though they are often zipped for distribution. For example org.eclipse.tomcat_4.1.30.1 is a directory containing, among other things, 23 jars. Project A provides some interfa

Re: [m2] scm:checkout

2005-09-14 Thread Emmanuel Venisse
I create an issue for this problem (http://jira.codehaus.org/browse/MNG-893) I think that if you create a basic pom.xml file in your directory and run your command, it will be ok. Emmanuel [EMAIL PROTECTED] wrote: Hi All, I'm using the scm plugin as follows: m2 scm:checkout -Dmaven.scm.ur

Re: use maven 1.1 with maven 1.0.2

2005-09-14 Thread Nicolas De Loof
Thanks for info ! I was thinking it is an attempt to prepare to maven2 way (no maven.xml nor project.properties) Nico. Arnaud HERITIER a écrit : be careful. ${pom.properties} don't replaces properties you defined in your project.properties. it's only (I think) for a future use. maven itse

Re: [m2] whether to use ant

2005-09-14 Thread Ashley Williams
Mark, I see what you mean about autodeducing the war file with a pure maven plugin. However wouldn't it be easier to write a mapping layer that passes the maven war location to the ant task and any other properties too? So instead of writing the tomcat plugin from scratch, you would simpl

Re: [m2] whether to use ant

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Hobson wrote: | On 14/09/05, Ashley Williams <[EMAIL PROTECTED]> wrote: | [snip] | |>Well if an ant adapter was worked upon, wouldn't this mean some of |>the existing plugin work is redundant, thus freeing up time? I mean |>fast forward to a tim

Re: Newbie question: language-dependencies of Maven

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First, please post this sort of question to the users@ list in future. I'm CC'ing this message there... We're working to expand Maven into supporting other languages, but our original use cases were Java-centric. This means the potential exists for f

Re: use maven 1.1 with maven 1.0.2

2005-09-14 Thread Arnaud HERITIER
be careful. ${pom.properties} don't replaces properties you defined in your project.properties. it's only (I think) for a future use. maven itself and its plugins don't use them ! Arnaud On 9/14/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > > Hello > > I'm trying ot prepare my projects f

Re: [m2] whether to use ant

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Comments inline... Cheers, john Ashley Williams wrote: | I'm glad this is on the cards! | | On 14 Sep 2005, at 15:07, John Casey wrote: | | We've been considering writing a mojo language adaptor for Ant | scripts/scriptlets for awhile now...it's mo

Re: [m2] whether to use ant

2005-09-14 Thread Mark Hobson
On 14/09/05, Ashley Williams <[EMAIL PROTECTED]> wrote: [snip] > Well if an ant adapter was worked upon, wouldn't this mean some of > the existing plugin work is redundant, thus freeing up time? I mean > fast forward to a time where we have an ant adapter - I can't see > anyone choosing to use [mav

use maven 1.1 with maven 1.0.2

2005-09-14 Thread Nicolas De Loof
Hello I'm trying ot prepare my projects for maven 1.1, so I'm setting my project.xml files to include properties defined in project.proeprties. Using maven 1.0.2, this tag is not used and project.properties is required. To avoid duplicated declaration, do you know any hack to make maven 1.0.

RE: [m2] packaging for standalone applications

2005-09-14 Thread David Jackman
My solution in M1 was to make the artifact a .zip file containing the jar and all necessary configuration files and execution scripts. I would expect the same kind of thing for M2, but haven't moved there yet. ..David.. -Original Message- From: Andrius Karpavicius [mailto:[EMAIL PROTECT

RE: M2: Product Modularization, transitive dependencies and versioned snapshots

2005-09-14 Thread David Jackman
I can't speak for what M2 does (but I'm hoping there's a plugin that can, for the product project, use the transitive dependencies to point out any out-of-sync versions for the same group/artifact ids). However, I can say that M1 does indeed let you put version information on a snapshot. We do it

Re: [m2] whether to use ant

2005-09-14 Thread Ashley Williams
I'm glad this is on the cards! On 14 Sep 2005, at 15:07, John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We've been considering writing a mojo language adaptor for Ant scripts/scriptlets for awhile now...it's more a matter of available time than anything else that this hasn'

m2 - eclipse plugin

2005-09-14 Thread Ashley Williams
Just been playing around with eclipse projects. I see that eclipse:eclipse makes a separate project for each pom, whilst retaining the option to add project references if you want to. Wouldn't it make more sense though, for eclipse:eclipse to add a new source folder under an existing eclips

Re: Build process for different environments

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First, you'd be well-served to use the svn trunk version for this type of problem, since you'll have better help for the second thing, which is: Use profiles. Inside your pom.xml, you could add the following: ~ ... ~ ~ ~ env-test ~

Re: [m2] whether to use ant

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We've been considering writing a mojo language adaptor for Ant scripts/scriptlets for awhile now...it's more a matter of available time than anything else that this hasn't happened yet. I know there are quite a few people out there who would love to s

Re: [m2] whether to use ant

2005-09-14 Thread Ashley Williams
They should be waking up right about now ;) On 14 Sep 2005, at 15:05, Mark Hobson wrote: Ant tasks do potentially come with fair amount of ant-related baggage though since they're not strictly pojos.. what do the developers think?

Re: [m2] whether to use ant

2005-09-14 Thread Mark Hobson
On 14/09/05, Ashley Williams <[EMAIL PROTECTED]> wrote: [snip] > Excuse the ill thought through syntax, especially when it comes to > the group/artifact/version values, but hopefully this would be > similar syntax as you'd use to configure any other plugin. And from > the point of view of a maven u

Re: custom builds history

2005-09-14 Thread Yann Le Du
You could also use Continuum :) Yann --- Vitaliy Geraymovych <[EMAIL PROTECTED]> a écrit : > If I understood you correctly you could use cruisecontrol for your > builds. It will generate a log file for each build with all the > details. You cal also use cruisecontrol.war to view log files. > >

Re: [m2] tomcat plugin problems

2005-09-14 Thread Ashley Williams
Should get my environment back from Ivy (another cool product!) today so I will be in a position to recreate the problem. On 14 Sep 2005, at 14:37, Mark Hobson wrote: The tomcat goals don't currently bind themselves to the lifecycle, so you have to invoke them explicity for them to run. Only

Re: [m2] tomcat plugin problems

2005-09-14 Thread Mark Hobson
The tomcat goals don't currently bind themselves to the lifecycle, so you have to invoke them explicity for them to run. Only the deploy and redeploy goals use the @execute phase="package" to ensure that the lifecycle has been completed up to the package phase before execution. The other goals ar

Re: custom builds history

2005-09-14 Thread Vitaliy Geraymovych
If I understood you correctly you could use cruisecontrol for your builds. It will generate a log file for each build with all the details. You cal also use cruisecontrol.war to view log files. Vitaliy On 9/14/05, Vov@ Sadovyy <[EMAIL PROTECTED]> wrote: > Hi, > > I have interest task...-> To col

custom builds history

2005-09-14 Thread Vov@ Sadovyy
Hi, I have interest task...-> To collect builds history, to make something like builds history storage, with dates, test results etc. I see the only way - to create an XML file and add during each build new record. But this approach is complicated enough. Maybe somebody know simplest way? :)

Re: Build process for different environments

2005-09-14 Thread Emmanuel Venisse
Siegfried Goeschl wrote: Hi Martin, I'm not sure if you should use maven 2.0 alpha 3 as maven newbie for production but this is a strictly personal opinion :-) it isn't my opinion ;-) For Maven 1.x you define a or and copy the file around Cheers, Siegfried Goeschl [EMAIL PROT

Re: Build process for different environments

2005-09-14 Thread Emmanuel Venisse
it's possible to do it with m2 beta-1 and profiles. you declare profile in your pom like this : env-test env test test.properties env-production env product

Re: [m2] tomcat plugin problems

2005-09-14 Thread Ashley Williams
Don't recall the tomcat exception (went away when I rebuild "@execute phase" to "@phase") and don't mind waiting for binary + better docs. However I do try to shoehorn a few things after the install task such as deploying a webapp to tomcat. So is this a summary of the build lifecycle? co

Re: [m2] whether to use ant

2005-09-14 Thread Ashley Williams
I'll write a separate post for tomcat It's probably that I haven't spent enough time writing maven plugins. However from this list I've been considering Maven plugins as follows A) they are things that should be separate from Maven, therefore should be self contained and shouldn't ask about

Re: Re: Build process for different environments

2005-09-14 Thread martin . kuhn
Hi Siegfried, maybe you are right. But I'm in the "try out phase"... When I really start with maven I don't want to set up the whole thing with a maven version which is not compatible to the new one. Regards, Martin Kuhn Siegfried Goeschl <[EMAIL PROTECTED]> 14.09.2005 14:47 Bitte ant

Re: I always get: Goal "scm:checkout" does not exist in this project.

2005-09-14 Thread Jamie Bisotti
On 9/14/05, Ruud Wijnands <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using: > - maven version 1.02 > - svn 1.1 > - a multiproject build with the following structure: > trunk/project.xml > trunk/build.properties > trunk/project.projecties > trunk/comp1/project.xml > trunk/comp2/project.xml > etc.

Re: [ANN] Article on building J2EE projects with Maven 1.1

2005-09-14 Thread Paul Spencer
Vincent, Is the 1.3.1 source a working example? It it is, I am having the following problems with the source checked out from the SVN: 1) The business module not does generate a properly formated EJB. Resolved by adding the following to the build tag in project.xml ${mave

Re: Build process for different environments

2005-09-14 Thread Siegfried Goeschl
Hi Martin, I'm not sure if you should use maven 2.0 alpha 3 as maven newbie for production but this is a strictly personal opinion :-) For Maven 1.x you define a or and copy the file around Cheers, Siegfried Goeschl [EMAIL PROTECTED] wrote: Hi, I'm a maven newbie and I try out m

M2: Product Modularization, transitive dependencies and versioned snapshots

2005-09-14 Thread Alessandro Evangelista
I have being using maven 1 for sometime now. I am looking to upgrade to maven 2 sometime soon to benefit from the new transitive dependencies mechanism. I wonder whether the new maven would fit my "release engineering" model where a product is made of many modules possibly with inter-dependenc

Re: [m2] whether to use ant

2005-09-14 Thread Mark Hobson
Hi Ashley, I would see the advantages of using a Maven-specific plugin rather than an ant-based one as being: * Reuse of ant targets - not having to specify repeated ant tasks over many POMs (one of the main reasons for the existence of Maven itself) * Tighter integration with the Maven build pr

Build process for different environments

2005-09-14 Thread martin . kuhn
Hi, I'm a maven newbie and I try out maven 2.0 alpha 3. My questions: I have a project to build / deploy for three different enviroments (test, integration, production). The difference beetween the bundles is only a properties file (there are three different files: config-test.properties, co

[1.1-b2] war plugin is not using web.xml generated by xdoclet

2005-09-14 Thread Paul Spencer
How do I configure Maven 1.1-Beta2 and it's WAR plugin to use the web.xml and taglibs generated by xdoclet. I have added the following to project.properties, but it does not work. maven.war.webxml=${maven.build.dir}/xdoclet/webdoclet/WEB-INF/web.xml Paul Spencer -

[m2] whether to use ant

2005-09-14 Thread Ashley Williams
I'm currently trying to autodeploy my webapp to tomcat at the end of my m2 install, and as far as I can tell there are two ways of doing this: 1. Use the maven tomcat plugin beta. I tried this and had a devil of a time trying to get it to work - not familiar with it, immature code etc 2.

Multiproject plugin problem in Maven 1.1

2005-09-14 Thread oddmar.sandvik
I have a multiproject that runs fine in Maven 1.0.2. In Maven 1.1 (beta1 and beta2) I have had problems with jar:install. The first project always runs fine. The second project seems to fail after uploading the jar to the repository. Even if I switch the order of the projects or remove some

I always get: Goal "scm:checkout" does not exist in this project.

2005-09-14 Thread Ruud Wijnands
Hi, I am using: - maven version 1.02 - svn 1.1 - a multiproject build with the following structure: trunk/project.xml trunk/build.properties trunk/project.projecties trunk/comp1/project.xml trunk/comp2/project.xml etc. And I am trying to get a CruiseControl build running. This somehow fails with

Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

2005-09-14 Thread Arnaud HERITIER
[SNIP] > > > > PS: I had to remove from my POM. It is documented on maven > .apache.org/reference to be part of POM v3 XSD but sax parser found it > invalid. I just put on the server the update for the schema and the project.xmlreference documentation. It'll be available online in few hours.

[m2] packaging for standalone applications

2005-09-14 Thread Andrius Karpavicius
Hi, How do you package a standalone application?. A a result preferable to have a jar file plus some executable files (eg. run.bat, run.sh) and configuration files. Thanks, Andrius Karpavicius

[m2] jar artifact with par extension

2005-09-14 Thread Piotr Bzdyl
Hello, (I was writing to this mailing list before partially about this problem: Demo application based on JBoss DVD trailblaizer) I tried to create following project: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.a

Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

2005-09-14 Thread Nicolas De Loof
I've found the source of the problem : My parent project has a project.properties file. It is used to configure eclipse plugin as follows : maven.eclipse.projectnatures.append = maven.eclipse.projectnatures=org.mevenide.ui.mavennature,com.atlassw.tools.eclipse.checkstyle.CheckstyleNature,${ma

Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

2005-09-14 Thread Nicolas De Loof
You're right about endorsed dir. I've corrected my path (removed any reference to maven 1.0.2) and it works without endorsed dir. Perhaps I may have read the release note ? About commons attribute plugin, maven fails in "ant:attribute-compiler" goal. If I remove commons-attribute plugin from

Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

2005-09-14 Thread Brett Porter
On 9/14/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > > It works fine using maven 1.0.2 > I did'nt try maven 1.1beta-1 > This is the only project I've that uses commons-attributes. > > Please notice I'm using windows installer and had to copy "lib/endorsed" > from my maven 1.0.2 dir into ma

Re: [m1.1b2] StackOverflowError when using commons-attributes plugin

2005-09-14 Thread Nicolas De Loof
It works fine using maven 1.0.2 I did'nt try maven 1.1beta-1 This is the only project I've that uses commons-attributes. Please notice I'm using windows installer and had to copy "lib/endorsed" from my maven 1.0.2 dir into maven 1.1 because xerces was required : | \/ |__ _Apache__ ___ | |\/|