RE: Continuum thinks a build is running

2006-08-30 Thread Artamonov, Juri
Ok, Emmanuel, Seems you didn't get the issue. The issue that states for all components in the database are set to 2 but me and as you see another user still has the projects listed in History that are building. For example, this from histroy Build # Start Time End Time State 9

RE: Continuum thinks a build is running

2006-08-30 Thread Artamonov, Juri
Yes, that works, thank you Emmanuel. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 12:33 PM To: continuum-users@maven.apache.org Subject: Re: Continuum thinks a build is running ok, you need to modify the state and end time in

Re: I get the FAILURE mail 12 times !

2006-08-30 Thread Nicolas De Loof
I've attached the wrapper.log. Emmanuel Venisse a écrit : If possible, perhaps that will help Emmanuel Nicolas De Loof a écrit : I'm using continuum 1.0.3 and maven 1.1-beta-3 Do you need some logs or anything I can attach to the issue ? Emmanuel Venisse a écrit : continuum 1.0.3?

Re: archetype descriptor schema?

2006-08-30 Thread franz see
Does anyone know where I can find the maven2 archetype descriptor schema? -- Regards, Aaron J Tarter Good day to you, Aaron, Maven 2 Archetype descriptor does not exactly have a DTD, but it's something like this: !DOCTYPE archetype [ !ELEMENT archetype ( id, allowPartial?, sources?,

RE: [POLL] Why switch to Maven?

2006-08-30 Thread Sharma, Jaikumar
In case of a big projects which contains a lot of dependencies (third party jars etc), then one needs to install all the dependecnies to local repo, to me it works in following steps : - Finding / noting down the dependencies for each project / sub-project / feature.

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Stefan Magnus Landrø
I've been reading through a lot of the replies to the Poll this morning. It seems to me that we need a tool the does the following to be more productive with maven: * Locates remote repositories, and potentially adds them to settings.xml or pom.xml * Let's us upload 3rd party libraries to

Re: Continuum tries to checkout artifactId instead of module

2006-08-30 Thread Emmanuel Venisse
This pb is a maven pb when directory name isn't equals to the artifactId. In your case, the directory is data and artifactId is appfuse-data You can check the scm url resolution in your child pom with this command 'mvn help:effective-pom' you can choose between two solutions for this pb. 1.

Ad: wtp

2006-08-30 Thread Stefan Magnus Landrø
Hi, You have to add wtp-support to your project. This can be done in several ways, but try this trick: mwn -Dwtpversion=1.0 eclipse:eclipse Otherwise, I recommend checking this page: http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html The eclipse plugin can of course like

RE: Cargo Goal

2006-08-30 Thread Vincent Massol
Hi Douglas, Actually I don't believe this is a cargo issue. Could you run mvn help:effective-pom? You'll probably see that you've used the wrong artifactId somewhere in a parent POM or in a profile... :-) Thanks -Vincent -Original Message- From: Douglas Ferguson [mailto:[EMAIL

Re: Failing surefire tests

2006-08-30 Thread Jeff Mutonho
How did you workout your jar file was not getting included in the test classpath ? Thanks Lakshman Run with the debug option set and redirect the output to a log file (mvn -X install build.log).Checking the log you'll see something similar to the following (look for [DEBUG] Test Classpath :)

AW: Re: maven native plugin

2006-08-30 Thread thorsten
It is not hard to allow user to override the default value, but I would like to understand is first. I need to run the message compiler at first because it generates a __.h file, which i need in the compile step as include in many source files. What i did now is to copy the header file via ant

Re: [POLL] Why switch to Maven?

2006-08-30 Thread christophe blin
Note : I already switched to maven2. My main problem at the moment is the lack of documentation : * Lack of good documentation = indeed this is a problem (especially for some plugins and for the hacking of custom phase) * I have to build native/non-Java code = it is also a problem I encounter : I

I get the FAILURE mail 12 times !

2006-08-30 Thread Nicolas De Loof
Hello, I just configured my Continuum server. My build fails, and I get a warning mail for that. ... but I get it 12 times. Looking at the projet configuration page, my email is configured 12 time as Notifier ! I delete all those noifiers, but after some (failed) builds they come back. Is

RE: Failing surefire tests

2006-08-30 Thread Jörg Schaible
Jeff Mutonho wrote on Monday, August 28, 2006 3:44 PM: I'm trying to run some junit on one of sub-modules( a webservice project) and am getting a java.lang.ClassNotFoundException: za.co.portal.efulfilment.SomeClass. SomeClass is my war and I've added the war file in my pom's dependency

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Graham Leggett
On Wed, August 30, 2006 7:37 am, Jan Vissers wrote: I'm reading a lot of we need about x weeks to convert to maven, the learning curve is steep, it is messy but it works, if it cannot be done we can use ant... More and more I'm getting the feeling that ANT still isn't such a bad idea for

Fwd: [Gridsphere-users] Maven Build Failed

2006-08-30 Thread Pranav Aggarwal
Hi, I am installing Maven 1.0.2 and this is following log: war:webapp: [echo] Assembling webapp gpir-browser [mkdir] Created dir: /usr/local/ogce2/gridport/gpir-browser/ target/gpir-browser/WEB-INF/lib [mkdir] Created dir: /usr/local/ogce2/gridport/gpir-browser/ target/gpir-browser/WEB-INF/tld

Re: Getting EAR pluggin to work with typejava-source/type

2006-08-30 Thread Stephane Nicoll
Hi, On 8/18/06, Tommy [EMAIL PROTECTED] wrote: Hello, I have a seperate project that builds an EAR. packagingear/packaging . dependencies dependency groupIdmygrpoup/groupId artifactIdmyartifact/artifactId version1.0/version /dependency .

Re: I get the FAILURE mail 12 times !

2006-08-30 Thread Emmanuel Venisse
continuum 1.0.3? maven 1? Normally it was fixed. If you use these versions, it's a bug, please file an issue. Emmanuel Nicolas De Loof a écrit : Hello, I just configured my Continuum server. My build fails, and I get a warning mail for that. ... but I get it 12 times. Looking at the

Re: I get the FAILURE mail 12 times !

2006-08-30 Thread Nicolas De Loof
I'm using continuum 1.0.3 and maven 1.1-beta-3 Do you need some logs or anything I can attach to the issue ? Emmanuel Venisse a écrit : continuum 1.0.3? maven 1? Normally it was fixed. If you use these versions, it's a bug, please file an issue. Emmanuel Nicolas De Loof a écrit :

XDoclet plugin.... problem generating wsdl for ejb webservice

2006-08-30 Thread Marco Mistroni
hello all, i am trying to expose an EJB as a webservice in my app that is using Maven2 what i am trying to do is to generate sources with xdoclet, and then use wseedoclet to generate wsdl file and mappings At runtime, generation of sources works fine... generation of ejb jar works partially

RE: Continuum thinks a build is running

2006-08-30 Thread Artamonov, Juri
Emmanuel, You always saying you need to modify the project state but never saying on what vakue it should be changed. Ok, what correct value should be for the projects? I see all projects' state set to 2, is it ok? Juri. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL

Re: I get the FAILURE mail 12 times !

2006-08-30 Thread Emmanuel Venisse
If possible, perhaps that will help Emmanuel Nicolas De Loof a écrit : I'm using continuum 1.0.3 and maven 1.1-beta-3 Do you need some logs or anything I can attach to the issue ? Emmanuel Venisse a écrit : continuum 1.0.3? maven 1? Normally it was fixed. If you use these versions, it's a

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Jan Vissers
Maven's key strength is to say don't worry about trying to build a jar / war / ear / sync with eclipse / autorun tests / publish javadocs / etc / etc, because I already know how to do that, you go and do what you do best, work on the primary code. I would like this approach very much, but... have

Re: Failing surefire tests

2006-08-30 Thread Jeff Mutonho
WARs are not added to the classpath, see MWAR-32. Try to set the archiveClasses element of the war configuration set to true and depend on the generated jar. - Jörg Thanx Jörg .I added the archiveClassestrue/archiveClasses to my configuration section as shown below : configuration

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Emmanuel Venisse
Jan Vissers a écrit : Maven's key strength is to say don't worry about trying to build a jar / war / ear / sync with eclipse / autorun tests / publish javadocs / etc / etc, because I already know how to do that, you go and do what you do best, work on the primary code. I would like this

Re: [Gridsphere-users] Maven Build Failed

2006-08-30 Thread Arnaud HERITIER
Did you define a tomcat.home property ? http://www.gridsphere.org/gridsphere/gridsphere?cid=projects It's a custom goal in gridsphere. You'll have a better support with them. Arnaud On 8/30/06, Pranav Aggarwal [EMAIL PROTECTED] wrote: Hi, I am installing Maven 1.0.2 and this is following

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Graham Leggett
Jan Vissers wrote: Maven's key strength is to say don't worry about trying to build a jar / war / ear / sync with eclipse / autorun tests / publish javadocs / etc / etc, because I already know how to do that, you go and do what you do best, work on the primary code. I would like this approach

Re: maven-assembly-plugin: weird life cycle

2006-08-30 Thread Alexis Midon
Many thanks for your answer Barrie but could you provide some examples, please? I'm completely lost in this maze :( On 8/29/06, Barrie Treloar [EMAIL PROTECTED] wrote: Included module: murex.middleware:middleware-gui:jar:3.1 does not have an artifact with a file. Please ensure the package

Re: maven-assembly-plugin: weird life cycle

2006-08-30 Thread Alexis Midon
here is what I have in my parent pom: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-assembly-plugin/artifactId configuration descriptors descriptorsrc/assembly/assembly-2.1.2m.xml

maven-resources-plugin StringIndexOutOfBoundsException

2006-08-30 Thread chua
Hi! I am migrating a project from m1 to m2. I have two modeules, one to make a jar from jaxb generated and compiled source and another module that must create a war and which have a dependency with the previous jar cretaed in my jaxb module. Well, my jaxb module works fine, the problem is when

How to disable creation of cache repository under c:\Documents an d Settings\user\m2\.. ?

2006-08-30 Thread Sharma, Jaikumar
Is there a way to disable creation of cache repository under c:\documents and setting\user\m2\... ? I have configured local intranet repository for plugins and dependencies. I want this to be downloaded everytime user runs build and not to cumulate everything on every machine under C:\Documents

Re: How to disable creation of cache repository under c:\Documents an d Settings\user\m2\.. ?

2006-08-30 Thread Nick Stolwijk
I don't think that the programs that are run by Maven2 (like javac and java) can use remote jar files, so they have to be present on the local hard disk. HTH, Nick Stolwijk Sharma, Jaikumar wrote: Is there a way to disable creation of cache repository under c:\documents and

RE: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?

2006-08-30 Thread Sharma, Jaikumar
Does it mean that maven2 can not retrieve artifacts (jars etc) from remote repositories ? Or something else ? Regards. -Original Message- From: Nick Stolwijk [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 4:07 PM To: Maven Users List Subject: Re: How to disable creation of

Re: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?

2006-08-30 Thread Nick Stolwijk
I tried to say, that the programs run by Maven2 needs the jar files locally. i.e. when you use Maven to compile something it calls javac with a classpath set to the jar files specified in your POM. Javac uses the classpath to locate the jar files and as far as I know, Javac can't work with

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Pierre-Yves Saumont
I switched to Maven 2 because I was tired of Ant. When one looks at a good Java project, one can find its way easyly because there are well known architecturing and coding standards. There are no such things with Ant. I remember trying to find my way in Ant scripts calling other Ant scripts,

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Ralph Pöllath
On 30.08.2006, at 11:43, Emmanuel Venisse wrote: Jan Vissers a écrit : Maven's key strength is to say don't worry about trying to build a jar / war / ear / sync with eclipse / autorun tests / publish javadocs / etc / etc, because I already know how to do that, you go and do what you do

Re: openoffice-maven-plugin for files in src/site/odf

2006-08-30 Thread Geoffrey De Smet
There seems to be a really good LGPL tool to do such things http://www.artofsolving.com/jooconverter -- With kind regards, Geoffrey De Smet Geoffrey De Smet wrote, On 2006-08-05 3:12 PM: Does anyone know if there is some sort of openoffice-maven-plugin available that duplicates my odf

Re: maven-assembly-plugin: weird life cycle

2006-08-30 Thread Wilfred Springer
Use 'attached' as the goal instead; that solved it for me. On Wed, 2006-08-30 at 12:16 +0200, Alexis Midon wrote: here is what I have in my parent pom: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-assembly-plugin/artifactId

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Wilfred Springer
With all people being unsatisfied with the Maven documentation, it sounds like an excellent opportunity for a new open source project; it would allow lots of people to scratch their itch. And the cool thing is, we could create the book entirely using Maven and the Docbkx Maven Plugin

RE: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?

2006-08-30 Thread Sharma, Jaikumar
I created a network first to try it out instead of webserver, but unfortunately it did not work : What I did was : - created a network share on server. - assigned write permissions on that to me only, everyone read. - create a environment variable

RE: How to disable creation of cache repository under c:\Documents and Settings\user\m2\.. ?

2006-08-30 Thread Jörg Schaible
Sharma, Jaikumar wrote on Wednesday, August 30, 2006 12:34 PM: Is there a way to disable creation of cache repository under c:\documents and setting\user\m2\... ? I have configured local intranet repository for plugins and dependencies. I want this to be downloaded everytime user runs

RE: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?

2006-08-30 Thread Adrian Shum
I think what he meant is, he want the local files (i.e. local repository) to be alive only during the build period but not forever long. Is it possible to modify the mvn.bat to make it remove the directory after it did its work? or have a schedule job to delete the local repository everyday

maven-war-plugin : archiveClasses

2006-08-30 Thread Jeff Mutonho
Has anyone successfully used the archiveClassestrue/archiveClasses parameter to bundles war class files into a jar? I have added it to my configuration section of maven-war-plugin , but it does not seem to have an effect.No classes jar is created. -- Jeff Mutonho GoogleTalk : ejbengine Skype

Re: Re: [POLL] Why switch to Maven?

2006-08-30 Thread Torsten Curdt
Ok ...well, then let me also sum up my pain points with maven2 over here. o It updates itself and you might end up having different behaviours across different installation. This should be fixable by an appropriate release handling. SNAPSHOT dependencies should not be allowed for a release

Re: How to disable creation of cache repository under c:\Documents an d Settings\user\m2\.. ?

2006-08-30 Thread Nick Stolwijk
Let me ask you something else, why don't you want to cumulate everything on the local machines. As far as I can see, there is nothing wrong with that. (Maybe an exception is when the profiles you use are not local but remote profiles and the repository is synchronized every shutdown with the

Re: Re: maven native plugin

2006-08-30 Thread dan tran
On 8/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: It is not hard to allow user to override the default value, but I would like to understand is first. I need to run the message compiler at first because it generates a __.h file, which i need in the compile step as include in many source

Re: [Gridsphere-users] Maven Build Failed

2006-08-30 Thread Pranav Aggarwal
Can any one send me jcert-services-1.1.jar, i need it urgently ... thanks.. On 8/30/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Did you define a tomcat.home property ? http://www.gridsphere.org/gridsphere/gridsphere?cid=projects It's a custom goal in gridsphere. You'll have a better support

RE: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?

2006-08-30 Thread Sharma, Jaikumar
Thanks Nick, But don't you think that, placing tonns of dependencies / plugins on every developer machine is not a sound idea ? Being the fact that theses depedencies / plugins are alreay available on intranet repository, why not a mechanism on demand. Yes, If there is no way, and we want to

Re: Re: maven native plugin

2006-08-30 Thread dan tran
It would be great if you can enhance one of IT tests under native-maven-plugin/src/it to include message and resource usages as well. -Dan On 8/30/06, dan tran [EMAIL PROTECTED] wrote: On 8/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: It is not hard to allow user to override the

Re: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?

2006-08-30 Thread Nick Stolwijk
I don't think that is a problem. Hard disks don't cost that much anymore (My local repository is now around 500 MB). The jars in the repository are all versioned. (as in, Maven2 automagically takes the right one, i.e. a specific version if you define that in your POM or a latest version

Re: How to deploy artifacts and its dependencies into a local proxy/repo?

2006-08-30 Thread Tamás Cservenák
Hi Dave, it seems to me that you have no problem with _DEPLOYING_ to Proximity in general, right? Correct me if i'm wrong. (sigh) I have no experience with IDEA and building it's plugin. I assume this question regards building IDEA plugin in general? ~t~ On 8/30/06, Dave Hoffer [EMAIL

Maven Junit Test with Gigaspaces

2006-08-30 Thread mmp
Hi, I'm currently working with Gigaspaces and created some junit-testcases to test the functionality of my data access object. Unfortunately when i'm running those tests with maven the GigaSpaces cannot be found. When I run the tests in eclipse instead, the GigaSpaces can be found. Any

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Wim Deblauwe
I would like this approach very much, but... have you tried to publish javadocs/jxr/surefire/pmd... etc for a multimodule project in an aggregated fashion? It's implemented in snapshot version of javadocs/jxr plugins I'm currently still on Maven 1, but I see this also as a Maven 2

RE: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?

2006-08-30 Thread Bram de Kruijff
Though it seems unusual to refer it as local, it did not work. I am not sure If took right steps, may be someone else give some pointers on this ? Define 'did not work'. What seems to go wrong? I think Maven does not know (or care) wether it's a local or mounted disk. So if it doesn't work

Re: [POLL] Why switch to Maven?

2006-08-30 Thread Eric Redmond
On 8/30/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote: I switched to Maven 2 because I was tired of Ant. When one looks at a good Java project, one can find its way easyly because there are well known architecturing and coding standards. There are no such things with Ant. I remember trying

Re: openoffice-maven-plugin for files in src/site/odf

2006-08-30 Thread Brett Porter
There is one included in the source distribution of Maestro (from http://www.mergere.com/, requires registration). It requires a open office installed and actually fires up a window for it using the OOo java bindings. It's about the ugliest thing I've ever seen (the OOo API is just not very

RE: How to disable creation of cache repository under c:\Documents an d Settings\user\m2\.. ?

2006-08-30 Thread Jörg Schaible
Sharma, Jaikumar wrote on Wednesday, August 30, 2006 1:46 PM: Thanks Nick, But don't you think that, placing tonns of dependencies / plugins on every developer machine is not a sound idea ? Being the fact that theses depedencies / plugins are alreay available on intranet repository, why not

Re: Dependency scopes

2006-08-30 Thread ceki
On 8/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The difference between the runtime and test scopes is also not very clear to me. Nick Veys [EMAIL PROTECTED] wrote on 17.08.2006 06:16:40: This was already answered, but the test dependencies aren't needed for normal runtime, so

Re: Re: Dependency scopes

2006-08-30 Thread Martijn Dashorst
No, but maven is also used to create war, ear and other distribution packages. These packages need those actual runtime dependencies inside them. So for testing I need junit, but not at runtime - test scope For testing I may not have a need for oracle-jdbc (using hsqldb for unittests), but at

Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Douglas Ferguson
I am using some snapshot plugins so it won’t let me release. I can understand not wanting to release because of a dependency on code or library snapshots, but for I don’t have any issues with releasing something that is dependent on a snapshot of a tool, like cargo. Is there a way around

CSharp Plugin - Failed to resolve artifact nunit-console

2006-08-30 Thread Patrick Kimber
I am trying to build the CSharp plugin. I have checked the source code out of Subversion and set my path to include csc.exe. When I run the mvn install command the build is successful until I get to the section: [INFO] Building Maven CSharp Exe Sample Then I get the following error: [ERROR]

AW: [M2] Problem deploying to filesystem on remote server [SOLVED ]

2006-08-30 Thread Amshoff Christoph, Köln
Eventually, I got it... The solution was to use backslashes (we are on Windows!) instead of slashes. So I now have something like repository idcentral/id nameFJA Internal Repository/name urlfile:xxx\\yyy\\maven2-server\\target\\repo-local/url /repository I thought

Re: Re: Dependency scopes

2006-08-30 Thread ceki
So, this means that war and ear plug-ins reference the runtime classpath instead of say compile or test. Correct? Martijn Dashorst [EMAIL PROTECTED] wrote on 30.08.2006 15:37:56: No, but maven is also used to create war, ear and other distribution packages. These packages need those actual

Re: Re: Re: Dependency scopes

2006-08-30 Thread Martijn Dashorst
Yes, but runtime classpath != runtime scope runtime classpath == union(compile, runtime scope) Martijn On 8/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So, this means that war and ear plug-ins reference the runtime classpath instead of say compile or test. Correct? Martijn Dashorst

[M2] My tests are launched 3 times !

2006-08-30 Thread bdoumas
Hi all, I run a 'mvn clean site install' and my tests are launched 3 times : On for the surefire report plugin, one for the cobertura plugin and one for the install plugin. How can i do to have them launched only once ? Thanks ! Ben

Re: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal

2006-08-30 Thread Stéphane Bouchet
Sharma, Jaikumar a écrit : Thanks Stephane, I installed eclipse in a fresh way (only SDK -- no other plugins in IDE), and run make-artifacts and it installed all the required artifacts in local repository. I am still not sure why JBoss IDE artifact caused NPE. Thanks again for your help!

Re: Re: Re: Dependency scopes

2006-08-30 Thread ceki
Thanks! Martijn Dashorst [EMAIL PROTECTED] 30.08.2006 16:17 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Re: Re: Dependency scopes Reviewed by Category Yes, but runtime classpath !=

Re: maven-war-plugin : archiveClasses

2006-08-30 Thread Attila Mezei-Horvati
Yes, I just did. It works fine for me. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration archiveClassestrue/archiveClasses /configuration /plugin It creates a jar name with the final name I specified ..

RE: How to deploy artifacts and its dependencies into a local proxy/repo?

2006-08-30 Thread Dave Hoffer
Yes, you are right. I don't think the deploying has much to do with Proximity because Proximity doesn't yet support uploading. We are using IIS ftp server to handle deploying to Proximity's repos. My question was a general one...of how to do a private build/release of public artifacts that

anyone has sample on how to expose EJBs as webservices wtih maven2 / ant/ maven1?

2006-08-30 Thread Marco Mistroni
hi all, i am struggling in expose my ejbs as webservices . particularlyw ith maven2 since wseedoclet fails to run (due to the fact that i am calling ejbdoclet task just before) i'd need to generate wsdl, jaxrpc-mapping and webservices.xml managed so far only to build wsdl file

Re: Re: mvn2: war packaging

2006-08-30 Thread Attila Mezei-Horvati
From: Henry S. Isidro [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Subject: Re: mvn2: war packaging Date: Wed, 30 Aug 2006 07:43:56 +0800 If you're trying to include a jar in the lib folder of a war package, just declare the jar file as a dependency in the war's pom

RE: [M2] My tests are launched 3 times !

2006-08-30 Thread Beyer,Nathan
Yes, it will run 3 times, but there's not much that can be done about it. Consider if you adjusted your command to mvn clean install site. It's not required, but for clarity, here's what's happening. The 'clean' launches the clean lifecycle and cleans everything up. The 'install' causes the build

Re: archetype descriptor schema?

2006-08-30 Thread Aaron Tarter
Thanks franz for digging out the info. That will suit my needs for now. Do you know if there is any plan to formalize a schema? On 8/30/06, franz see [EMAIL PROTECTED] wrote: Does anyone know where I can find the maven2 archetype descriptor schema? -- Regards, Aaron J Tarter Good day

RE: [M2] My tests are launched 3 times !

2006-08-30 Thread bdoumas
Thanks for the answer that was what i excpected :/ So there is no way to overide the mojo declaration in the .java * @execute phase=test lifecycle=surefire ... except to modify the plugin itself ... Selon Beyer,Nathan [EMAIL PROTECTED]: Yes, it will run 3 times, but there's not much that

Re: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Wayne Fay
We've talked about this before on the list, and this is the generally suggested approach... Download the code for the plugin(s) from SVN/CVS. Increment the version number to a fixed/released number, build, install locally and deploy to your corporate repo (if you have one) or provide it to your

Site menu inheritance

2006-08-30 Thread SlinnHawkins, Jon (ELS)
Hi Could someone please give me a working example of inherited menus in their site.xml for a parent and child project structure I would like to specify a menu in a parent project and have all child sites inherit the said menu Many Thanks Jon

RE: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Daryl.Dwyer
The only way around it that we found was to modify the POM for the snapshot plugin under question and release it into our team repository. There is a good reason for not releasing code that has a snapshot dependency on a plugin, though - the behavior of the plugin could change resulting in the

Re: Maven Junit Test with Gigaspaces

2006-08-30 Thread Wayne Fay
We'll need to see your pom for sure, but I would assume you have not added the proper Gigaspaces dependency/ies to your pom. Eclipse has a tendency to find jars in lib folders and such which are not necessarily available when executing a non-Eclipse Maven build. Wayne On 8/30/06, mmp [EMAIL

RE: NullPointerException in maven-eclipse-plugin while executing mak e-artifacts goal

2006-08-30 Thread Sharma, Jaikumar
Hi Stephance, I have created JIRA Issue for this. http://jira.codehaus.org/browse/MECLIPSE-153 Regards -Original Message- From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 8:00 PM To: Maven Users List Subject: Re: NullPointerException in

Re: mvn2: war targetPath

2006-08-30 Thread Attila Mezei-Horvati
TargetPath is not taken into account. Resources are copied in the webroot no matter what. Did anybody have the same issue? (see also mail below). thanks, Attila --- Attila Mezei-Horvati [EMAIL PROTECTED] wrote: I am trying to include a jar into the war file. I found on the site a parameter

Re: archetype descriptor schema?

2006-08-30 Thread franz see
Aaron Tarter wrote: Thanks franz for digging out the info. That will suit my needs for now. Do you know if there is any plan to formalize a schema? On 8/30/06, franz see [EMAIL PROTECTED] wrote: Does anyone know where I can find the maven2 archetype descriptor schema? --

Re: Re: [POLL] Why switch to Maven?

2006-08-30 Thread Attila Mezei-Horvati
Date: Tue, 29 Aug 2006 17:20:07 -0500 From: Eric Redmond [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Subject: Re: [POLL] Why switch to Maven? On 8/29/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote: At my company we used ant to do the build files. We decided to

eclipse:eclipse wtp

2006-08-30 Thread Douglas Ferguson
BTW: I noticed that it actually supports 1.5. But when I did so I got this error in my project. Not sure what it means… Severity and Description Path Resource Location Creation TimeId Java compiler level does not match the version of the installed Java project facet.

Re: maven-resources-plugin StringIndexOutOfBoundsException

2006-08-30 Thread franz see
chua wrote: Hi! I am migrating a project from m1 to m2. I have two modeules, one to make a jar from jaxb generated and compiled source and another module that must create a war and which have a dependency with the previous jar cretaed in my jaxb module. Well, my jaxb module works

Problem with internal repository (checksum?)

2006-08-30 Thread HUGOT Franck
I have trouble with my organization repository (for maven2). Here is my configuration : I have an organisation repository on a tomcat server. This repository has been populated by all the maven plugins and my projects (this repository is the local repository of the maven tool installed

Re: Re: mvn2: war packaging

2006-08-30 Thread franz see
Attila Mezei-Horvati wrote: From: Henry S. Isidro [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Subject: Re: mvn2: war packaging Date: Wed, 30 Aug 2006 07:43:56 +0800 If you're trying to include a jar in the lib folder of a war package, just declare the jar file as a

RE: Can't release due to SNAPSHOT dependencies

2006-08-30 Thread Douglas Ferguson
Thanks. That makes a lot of sense... -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:12 AM To: Maven Users List Subject: Re: Can't release due to SNAPSHOT dependencies We've talked about this before on the list, and this is the generally

Nova vers�o (1.5-snapshot-cpqd-7) do plugin 'Maven Artifact Plugin' (maven:maven-artifact-plugin) dispon�vel para download

2006-08-30 Thread dion
Olá a todos, Foi liberada uma nova versão do plugin 'Maven Artifact Plugin': * descrição da release: * id: maven:maven-artifact-plugin * versão: 1.5-snapshot-cpqd-7 * label ClearCase: MAVEN-ARTIFACT-PLUGIN-1.5-SNAPSHOT-CPQD-7 * documentação oficial:

Re: Problem with internal repository (checksum?)

2006-08-30 Thread Arnaud Bailly
HUGOT Franck [EMAIL PROTECTED] writes: I have an organisation repository on a tomcat server. This repository has been populated by all the maven plugins and my projects (this repository is the local repository of the maven tool installed on this machine so it has been automatically populated

Re: [maven 1.x] Need help for passing java arguments

2006-08-30 Thread Ming Cheung
Is this a bug for the maven.junit.jvmargs? Sincerely, Ming Cheung WebSphere Web Services Developer Address: IBM, Inc. 11501 Burnet Road, Austin, TX 78758 Tie Line: 678-0733 Email: [EMAIL PROTECTED] Ming Cheung/Austin/[EMAIL PROTECTED] Ming Cheung/Austin/[EMAIL PROTECTED] 08/29/2006

Extending a plugin and parameter inheritance

2006-08-30 Thread Alexis Midon
Hi all, I'm developping a custom plugin, its main features already are already implemented by the antrun plugin, my only wish is to add an aggregator like behaviour. To do so my pojo extends the AntRunMojo, my mojo does nothing except adding the @aggregator annotation. Unfortunately when I

pom files not validating

2006-08-30 Thread Douglas Ferguson
I have some 3rd party library dependencies that aren’t in central so I deployed them to our internal repository. Whenever I build a project that depends on one of these libraries I get the following message. What can I do to get stop this? [WARNING] POM for

Re: pom files not validating

2006-08-30 Thread Yann Le Du
How did you deploy your 3rd party library ? With mvn install:install-file ? Then, did you use the generatePom option or did you write the POM yourself ? - Yann 2006/8/30, Douglas Ferguson [EMAIL PROTECTED]: I have some 3rd party library dependencies that aren't in central so I deployed them

Re: Re: mvn2: war packaging

2006-08-30 Thread Tomasz Pik
On 8/30/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote: From: Henry S. Isidro [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Subject: Re: mvn2: war packaging Date: Wed, 30 Aug 2006 07:43:56 +0800 If you're trying to include a jar in the lib folder of a war package, just

SV: [POLL] Why switch to Maven?

2006-08-30 Thread Simon Kepp Nielsen
I think this answer is one of the common problems with Maven. I don't mean to pound on Emmanuel, who's doing a great job, but just point out a very common problem in many open source projects. The fact that a feature is available in a snapshot version or in the trunk doesn't help the user that

RE: pom files not validating

2006-08-30 Thread Douglas Ferguson
I deployed them with mvn deploy:deploy-file. I had previously used mvn install:install-file and then copied them from there to the internal repository, but there where no poms. So I then ran mvn deploy:deploy-file. I let maven generate the poms. -Original Message- From: Yann Le Du

custom information in the released POM

2006-08-30 Thread Peter Neubauer
Hi, I would like to add some additional information as attributes/elements to e.g. the dependency tag in the POM that is generated as the result of a release, so the resulting tag lokos something like dependency groupIdorg.osgi/groupId artifactIdosgi_R4_core/artifactId

Profiles - Strange Behavior

2006-08-30 Thread Douglas Ferguson
I just discovered something really odd with profiles, not sure if it is expected. I have 4 profiles. Testqa.remote Testqa.local Localhost.remote Localhost.local I have Localhost.remote set to active via the activeProfiles My effective-pom contains the settings from the

accessing continuum DB

2006-08-30 Thread L. J.
Could anyone kindly provide me a step by step instructions on how to access the continuum DB? Also, what tool should I use? Thanks. LJ

Integration Testing

2006-08-30 Thread Ruel Loehr
I'd like to query the community and see how you guys are handling integration testing in real world environments. I've looked through the list and the Better builds book, but didn't like what I saw.. Here is the use case: Use Case A: A user has a project which builds a war. For

  1   2   >