Re: Profile NOT running

2006-08-14 Thread Gopal Patwa
After removing pluginManagement tag it worked but I still have some concerns I still wonder is there a way to define this profile in profiles.xml and should works, since this change is for developmnt only and we don't want this feature in production. I get compilation error when I define same pr

Profile NOT running

2006-08-14 Thread Gopal Patwa
I have profile defined in POM.xml and I tried running mvn -P dev package or declaring activation tag in profile but profile never runs I still wonder is there a way to define this profile in profiles.xml and should works, since this change is for developmnt only and we don't want this feature i

RE: incorrect war file structure

2006-08-14 Thread Artamonov, Juri
Jeff, You can try to do several workarounds. 1. Have resource folder (configurations) structure to be the same as you wish to be in the destination war file and put these resources not into war -> configuration -> webResources but into general -> part. During build these resources will be in

Re: classpath in jar manifest

2006-08-14 Thread Barrie Treloar
On 8/15/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: On 5/11/06, George Zhao <[EMAIL PROTECTED]> wrote: > We saw the same issue here (two Class-Path entries). > > But if we set to false and put all the known classpath there, > we can generate one Class-Path entry - not a pretty solution through

Re: classpath in jar manifest

2006-08-14 Thread Barrie Treloar
On 5/11/06, George Zhao <[EMAIL PROTECTED]> wrote: We saw the same issue here (two Class-Path entries). But if we set to false and put all the known classpath there, we can generate one Class-Path entry - not a pretty solution through. Anybody over there has other workaround for this issue(I b

RE: Hibernate plugin not binding?

2006-08-14 Thread Johann Reyes
Hello Lakshman Sorry for not answering before, was out of town. Well I found some issues with the dependencies of the plugin that I'm going as soon as I get some free time. But basically the idea behind hbm2java goal is that it would look for *.hbm.xml files in the classpath (target/classes) and t

RE: Hibernate plugin not binding?

2006-08-14 Thread Lakshman Srilakshmanan
Hi Cristian Thanks for providing me with your feedback. I did finally solve this problem by downloading and compiling it locally. http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/maven-hibernate3/hi bernate3-maven-plugin/ my pom.xml is setup as follows junit

[m2] How to package a WebService?

2006-08-14 Thread William Ferguson
Hi, I want to package up my Axis2 WebService as a WebService archive (aar). How do I go about it? Is there a particular value for the project#packaging attribute or a particular plugin that I need to use? William - To unsubscr

Re: incorrect war file structure

2006-08-14 Thread Pete Marvin King
There's a space between trunk and plugins on the url, the last plugin is the destination directory 1. svn co https://svn.apache.org/repos/asf/maven/plugins/trunkplugins 2. cd plugins/maven-war-plugin 3. mvn install Jeff Mutonho wrote: > On 8/13/06, Pete Marvin King <[EMAIL PROTECTED]> wrote:

Re: [m2] Configuring the scp executable

2006-08-14 Thread Andrew Kreps
On 8/14/06, Daniel Serodio <[EMAIL PROTECTED]> wrote: Exit code 1 - 'c:\Program' is not recognized as a command, application or batch file. Have you tried the age old trick of changing long filenames to their short counterparts? C:\Program Files is usually also accessable by using C:\progra~1

RE: site-deploy and webdav

2006-08-14 Thread Beyer,Nathan
You'll need to add two pieces to your POM to get it to work. 1. Add the webdav extension to the build element. Something like this: org.apache.maven.wagon wagon-webdav ... 2. Put "dav:" in front of all URLs that you want deployed via WebDAV. So, instead of "http

RE: Profile Inheritance

2006-08-14 Thread Douglas Ferguson
I'm only running this build from each child. I'm using the parent for inheritance. The parent doesn't even define the children as there are 100s. If I have: 2 poms: pom a & pom b Pom b declare pom a as it's parent. Pom a has 2 profiles decared in it. I run mvn -Pprofile1 from pom b's directory wi

Re: Profile Inheritance

2006-08-14 Thread John Casey
right. if you ran from the parent, and the parent specified these child POMs as modules (or sub-modules), then you'd get a listing of all POMs in the build, and the profiles which are active for each. On 8/14/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote: I think this may explain what I was se

Re: Assembly madness...

2006-08-14 Thread John Casey
FWIW, this issue is fixed in the current 2.2-SNAPSHOT version of the assembly plugin. I've added tests to verify it. -john On 8/8/06, mike7 <[EMAIL PROTECTED]> wrote: Thanks Wayne. Indeed, the problem is this JIRA issue. I'm going to try 2.1-SNAPSHOT... -- View this message in context: http

Re: Assembly module: binary exlusion

2006-08-14 Thread John Casey
This should be fixed in the current 2.2-SNAPSHOT of the assembly plugin...if you need help accessing this plugin, let me know. -john On 8/10/06, Sebastien Pennec <[EMAIL PROTECTED]> wrote: Hello, I'm creating an assembly based on a few modules. To include the dependencies of all modules in a

Re: maven-assembly-plugin & dependencies

2006-08-14 Thread John Casey
First, you might want to check which version of the assembly plugin you're using. It should be in the debug output (-X for debug). If you're running with the maven-assembly-plugin 2.2-SNAPSHOT, then I'd say file a JIRA issue for it in http://jira.codehaus.org/browse/MASSEMBLY and I'll try to get

RE: Profile Inheritance

2006-08-14 Thread Douglas Ferguson
I think this may explain what I was seeing.. I have a parent pom.xml which defines 2 profiles. When I run mvn help:active-profiles for the child, I couldn't get it to say that either profile was active. So perhaps the profile is active in the parent but not in the child? -Original Message-

Re: incorrect war file structure

2006-08-14 Thread Jeff Mutonho
On 8/13/06, Pete Marvin King <[EMAIL PROTECTED]> wrote: Hello Jeff, Sorry about that, can you try this 1. svn co https://svn.apache.org/repos/asf/maven/plugins/trunk plugins 2. cd plugins/maven-war-plugin 3. mvn install the steps above should do it. pete marvin Thanks Pete .Tried https:

Re: Newbie question on MOJOs

2006-08-14 Thread John Casey
Hi Ritu, I'm not sure what your goal is, but if you're just trying to do a simple compilation of source code, you might want to simply point your POM at the source directory, and try calling `mvn compile`. By default, Maven will compile the source files for you...it's part of the default lifecyc

Re: Profile Inheritance

2006-08-14 Thread John Casey
Actually, profiles themselves are NOT inherited as such. Instead, they are triggered when the parent POM delcaring them is loaded, and applied to that parent POM. Then, the effects of the profile are inherited via normal parent inheritance calculation. It's a small difference in most cases, but i

Can't download org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

2006-08-14 Thread Siegmann Daniel, NY
A coworker had an issue with Maven2 failing to download http://dist.codehaus.org/org.mortbay.jetty/jars/servlet-api-2.5-6.0. I don't know why M2 is looking for the file there, since the file is on Ibiblio at http://www.ibiblio.org/maven2/org/mortbay/jetty/servlet-api/2.5-6.0.0beta12/ , and this is

Re: Profile Inheritance

2006-08-14 Thread Craig McClanahan
On 8/14/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote: Are profiles inherited from the parent pom? They are supposed to be, although there have been a few issues here and there. The one that bit us (Shale project) was MNG-2221[1], which looks like it's been fixed for 2.0.5 when that is rele

I don´t want put jsp in my war!

2006-08-14 Thread Lucas Gonçalves
After use jspc i wish not put my jsp inside my warfile. Anybody could help me? -- Lucas Gonçalves Tel: (31)87382096

Profile Inheritance

2006-08-14 Thread Douglas Ferguson
Are profiles inherited from the parent pom? __ Douglas W. Ferguson EPSIIA - Another Fiserv Connection Development Office Phone: 512-329-0081 ext. 3309 Dial Toll Free: 800-415-5946 Mobile Phone: 512-293-7279 Fax: 512-329-0086 [EMAIL PROTECTED] ww

RE: Optional Goals & Dependencies

2006-08-14 Thread Douglas Ferguson
Wow.. I just tried it and the goals are inherieted too. This is really cool. However, now I only really need those goals to execute on the children. Is there a way to bind & configure the goals in the parent but only have them execute in the children? D- -Original Message- From: Dave S

RE: Optional Goals & Dependencies

2006-08-14 Thread Douglas Ferguson
Correct me if I'm wrong but I need to support goal customization in the parent pom. I am defining custom assembly, custom ant tasks, etc. D- -Original Message- From: Dave Syer [mailto:[EMAIL PROTECTED] Sent: Monday, August 14, 2006 11:01 AM To: users@maven.apache.org Subject: RE: Optio

Dependencies between modules

2006-08-14 Thread Maruf Aytekin
Hi, I am trying to build a multiple project with maven 2. I have defined the modules in the top level POM as follows: recmessage httpmanagement .. And also defined Dependency management section in top level POM as: com.idds.recmessage

RE: Optional Goals & Dependencies

2006-08-14 Thread Dave Syer
> I agree, however I don't want to create 100 poms. > That just isn't manageable, especially since they all need similar > assemply > logic. That's where project inheritance is truly useful. You can put all the common logic in one parent pom, and have your tiddlers all define only local things

Re: Stuck !

2006-08-14 Thread Arnaud Bailly
"Zeltner Martin" <[EMAIL PROTECTED]> writes: > Hello Arnaud > Hello Martin, Thanks for the answer. > I've got the same problem. > See the following: > http://jira.codehaus.org/browse/DOXIA-68 > http://jira.codehaus.org/browse/DOXIA-69 > http://jira.codehaus.org/browse/DOXIA-70 > I tried using

RE: Resource Plugin

2006-08-14 Thread Douglas Ferguson
Hey, I wasn't so much knocking the documentation. I ended up finding this info in the pom model. I found it kind of difficult to find actually. D- -Original Message- From: franz see [mailto:[EMAIL PROTECTED] Sent: Saturday, August 12, 2006 4:23 AM To: users@maven.apache.org Subject: Re

RE: Optional Goals & Dependencies

2006-08-14 Thread Douglas Ferguson
I agree, however I don't want to create 100 poms. That just isn't manageable, especially since they all need similar assemply logic. D- -Original Message- From: Dave Syer [mailto:[EMAIL PROTECTED] Sent: Saturday, August 12, 2006 2:52 AM To: users@maven.apache.org Subject: RE: Optional G

RE: Stuck ! (was Re: Doxia module)

2006-08-14 Thread Zeltner Martin
Hello Arnaud I've got the same problem. See the following: http://jira.codehaus.org/browse/DOXIA-68 http://jira.codehaus.org/browse/DOXIA-69 http://jira.codehaus.org/browse/DOXIA-70 Until these problems are solved you have to build maven components, maven plugins and doxia yourself. But that's n

RE: [m2] Configuring the scp executable

2006-08-14 Thread Jörg Schaible
Daniel Serodio wrote on Monday, August 14, 2006 5:07 PM: [snip] > Got it: I had "scp://" instead of "scpexe://" protocol in the > repository's URL in my POM. Now that I have corrected it, the > remaining problem is that the path to my "scp" has spaces, and Maven > dies with: > > Exit code 1 - 'c:

Re: Projectstructure

2006-08-14 Thread Kai Uwe Bachmann
Hello, my suggestion is a direcory structure of myApp |-- common |-- presentation |-- web In CVS only the module myApp was checked in. The whole project doesn't exists in the Eclipse workspace, In Eclipse I've created a new workspace and 3 new projects from the existing sources. The myApp conta

Re: [m2] Configuring the scp executable

2006-08-14 Thread Daniel Serodio
Jörg Schaible wrote: > Hi Daniel, > > Daniel Serodio wrote on Friday, August 11, 2006 11:38 PM: > > >> I found documentation on how to configure the scp executable at >> http://maven.apache.org/guides/mini/guide-deploy-ssh-external. html, >> but it doesn't work for Maven2: >> >> [INFO] Error dep

Stuck ! (was Re: Doxia module)

2006-08-14 Thread Arnaud Bailly
Hello, I still have troubles with doxia while trying to add a new module. I can see from posts in the users list that other people have troubles with using non standard modules like twiki. I tried copying my muse module to doxia-modules, it works fine and compiles ok, but I am left with the proble

Re: Refreshing the source files before the build starts (Perforce)

2006-08-14 Thread Mike Perham
Prashanth, the Perforce checkout does not use the -f (force) sync flag. If you delete files by hand, it will not pull them down again. You have three choices: 1) Don't do this. You shouldn't be mucking about directly on your build server. It's a bad idea in general. 2) Force a sync by han

Re: Ad: Creating an ant-style distribution with Maven

2006-08-14 Thread Aleksei Valikov
Hi. Have you tried the assembly plugin? Oh, looks promising. Thanks. Bye. /lexi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: False Build Errors

2006-08-14 Thread Andreas Guther
I have noticed that too; I am having Continuum 1.0.3 running on a Windows system. But I do not see that on a regular basis, rather as an exception that occurs from time to time. Andreas -Original Message- From: Steven Vetzal [mailto:[EMAIL PROTECTED] Sent: Monday, August 14, 2006 4:51

Ad: Creating an ant-style distribution with Maven

2006-08-14 Thread Stefan Magnus Landrø
Have you tried the assembly plugin? Aleksei Valikov <[EMAIL PROTECTED]> skrev 14.08.2006 14:41:57: > Hi. > > I have recently migrated one of my projects (Hyperjaxb2, > https://hyperjaxb2.dev.java.net/) onto Maven. I'm very satisfied with results > but have one open question. > > Hyperjaxb2

Creating an ant-style distribution with Maven

2006-08-14 Thread Aleksei Valikov
Hi. I have recently migrated one of my projects (Hyperjaxb2, https://hyperjaxb2.dev.java.net/) onto Maven. I'm very satisfied with results but have one open question. Hyperjaxb2 is a code generation tool. You give your XML Schema in and get a JAR with JAXB-generated classes plus Hibernate ma

RE: Converting AppFuse to a Maven 2 Project

2006-08-14 Thread Scott Ryan
Matt, Check out the project attached to the jira ticket http://jira.codehaus.org/browse/MOJO-315 . It has a zip with a project structure similar to what you are looking at and that should build and you can use as a template. It has been a while since I posted it but it may be something you can mo

False Build Errors

2006-08-14 Thread Steven Vetzal
Hi All, I installed Continuum (v1.0.3) for the first time the other week and added a bunch of projects to it. The installation was great, although this is on one of our FreeBSD 64-bit boxes and I had to patch and compile Tanuki's Wrapper for the platform and graft it into the Continuum instal

site-deploy and webdav

2006-08-14 Thread juergen.schumacher
Hi, for site-deploy I would like to use webdav because my webserver running on windows and I found the ssh rather complicated on windows. On one post here I found webdav is also supported by the site-deploy plugin. But how can I set this up in the POM.XML ?? Using http://webdavserver/folder shows

XMLBeans Plugin - include subdirectories

2006-08-14 Thread Adrian Shum
Dear all, I am trying XMLBeans plugins in maven2. I'd like to know if there is any way to include subdirectories of the schema directory? As we are organizing the XSDs in directories now. At least, is there anyway to include multiple XSD directory for generation of JAR? Thanks a lot for your he

Re: Ad: Newbie question on MOJOs

2006-08-14 Thread franz see
ritu.x.kedia wrote: > > Hi Stefan, > > Thanks for that quick response. > > I took a look at the compiler plugin. It uses quite a lot of current build > context references, for e.g. project.compileClasspathElements. > > Would you know if there is any single source of document on all the > a

Re: Newbie question on MOJOs

2006-08-14 Thread franz see
Good day to you, Ritu > Hi, > > I am new to Maven2. I am trying to develop plugins in Maven2 using the > Java Plugins approach. I have seen the getting started guide on MOJOs > (http://maven.apache.org/guides/plugin/guide-java-plugin-development.html). > But this is too elementary. Could some

RE: Changes report - maven 2.0.4

2006-08-14 Thread Abhijit Diwan
Hi After struggling a lot for the report here is the plugin snippet from my pom.xml which creates change log successfully from perforce. org.apache.maven.plugins maven-changelog-plugin 2.0-SNAPSHOT

MNG-2305

2006-08-14 Thread Franz Fehringer
Hello, Any chance for MNG-2305 to get looked upon? As can be seen from http://www.mail-archive.com/users@maven.apache.org/msg48167.html i am not the only one. Greetings Franz - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-14 Thread Franz Fehringer
First thanks and second i would like to apologize, if my mail was too harsh. Franz Carlos Sanchez schrieb: The reference API is under javax.xml.bind in http://www.ibiblio.org/maven2/javax/xml/bind/ and sun implementation under com.sun.xml.bind On 8/11/06, Franz Fehringer <[EMAIL PROTECTED]> wr

Re: Ad: Newbie question on MOJOs

2006-08-14 Thread ritu . x . kedia
Hi Stefan, Thanks for that quick response. I took a look at the compiler plugin. It uses quite a lot of current build context references, for e.g. project.compileClasspathElements. Would you know if there is any single source of document on all the available Maven2 properties/references? In Ma

Re: Projectstructure

2006-08-14 Thread Kaiser, Hans
Hello Kai Uwe, Thank you for your advice! > I have a similar project structure and I realized it as a Maven > multiproject (see HowTos). > Finaly you wil have 4 pom-files. One in the projects and one in the > module. fine, this was also my plan, but see project structure > In Eclipse I opene

Ad: Newbie question on MOJOs

2006-08-14 Thread Stefan Magnus Landrø
Hi there, Have a look at the maven-compiler-plugin plugin. It should provide you with lots of ingormation. Stefan [EMAIL PROTECTED] skrev 14.08.2006 09:31:13: > Hi, > > I am new to Maven2. I am trying to develop plugins in Maven2 using the > Java Plugins approach. I have seen the getting star

RE: [m2] Configuring the scp executable

2006-08-14 Thread Jörg Schaible
Hi Daniel, Daniel Serodio wrote on Friday, August 11, 2006 11:38 PM: > I found documentation on how to configure the scp executable at > http://maven.apache.org/guides/mini/guide-deploy-ssh-external. html, > but it doesn't work for Maven2: > > [INFO] Error deploying artifact: While configuring w

Newbie question on MOJOs

2006-08-14 Thread ritu . x . kedia
Hi, I am new to Maven2. I am trying to develop plugins in Maven2 using the Java Plugins approach. I have seen the getting started guide on MOJOs (http://maven.apache.org/guides/plugin/guide-java-plugin-development.html). But this is too elementary. Could someone please point me to some more ad

Re: Refreshing the source files before the build starts (Perforce)

2006-08-14 Thread Emmanuel Venisse
I don't know how Perforce works, but I think the client should remove files deleted on the server, isn't it? You can remove manually the working directory of your project in continuum and it will be checkouted at the next build Emmanuel Prashanth Krishnamurthy a écrit : I have deleted few f

Re: Order of execution of projects

2006-08-14 Thread Emmanuel Venisse
just add it and continuum will find the order to use with dependencies Emmanuel Prashanth Krishnamurthy a écrit : I have added 3 projects (maven 2.0) and have added them in the order of execution. Project A Project B Project C I want to add an other project ( Project D ) to be build after Pro

FYI: How to use doxia-module-twiki?

2006-08-14 Thread Zeltner Martin
FYI. Cheers, Martin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Juan F. Codagnone Sent: Freitag, 11. August 2006 20:36 To: Zeltner Martin Subject: Re: How to use doxia-module-twiki? Hi Ma

RE: m2-eclipse: exported libraries are unordered?

2006-08-14 Thread Zeltner Martin
See http://jira.codehaus.org/browse/MNG-1412 and vote for it. Cheers, Martin > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Holger Hoffstaette > Sent: Montag, 14. August 2006 04:56 > To: users@maven.apache.org > Subject: m2-eclipse: exported libraries are unorde