RE: [m202] can I use filters to externalize my artifact version number?

2006-02-16 Thread Grothaus, Christoph
Bad idea. At least in the parent tags of your submodules you have to explicitly define the parent version number. If you do a reactor build, everything is fine without that. If you want to build a submodule standalone, Maven will ask the repository for the parent pom. Without version number,

Re: New list: announce@maven.apache.org

2006-02-16 Thread Geoffrey De Smet
Has anyone added it to gmane.org already? -- With kind regards, Geoffrey De Smet Brett Porter wrote: Hi, The Maven project has a new mailing list dedicated to release announcements (plugins, components, and major releases) and other project announcements. You can subscribe to this list by

Re: New list: announce@maven.apache.org

2006-02-16 Thread Brett Porter
Lists are only added to mail-archive.com and mail-archives.apache.org automatically. Are you volunteering? :) - Brett On 2/16/06, Geoffrey De Smet [EMAIL PROTECTED] wrote: Has anyone added it to gmane.org already? -- With kind regards, Geoffrey De Smet Brett Porter wrote: Hi, The

Automatic Update of plugins

2006-02-16 Thread Domsch, Christian
Hi all, First of all great thanks to all developers of maven 2 (and maven 1, cause I heaviliy used maven 1 for the past two years) for making such a great tool and technology. I do have a (simple) question regarding update of plugins. How do I (preferable automatically) update to new plugin

Re: Automatic Update of plugins

2006-02-16 Thread Allan Ramirez
Hi Christian, use -U -allan Domsch, Christian wrote: Hi all, First of all great thanks to all developers of maven 2 (and maven 1, cause I heaviliy used maven 1 for the past two years) for making such a great tool and technology. I do have a (simple) question regarding update of plugins.

Re: A cycle was detected while running the maven multiproject:clean goal

2006-02-16 Thread Arnaud HERITIER
Contrary to m2, maven 1 resolves de dependencies for any goal (clean included :-( ) Arnaud On 2/16/06, Manisha Sur [EMAIL PROTECTED] wrote: How does it effect the clean goal ? it only means to clean the target directory. On 2/15/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Yes, if each

Re: A cycle was detected while running the maven multiproject:clean goal

2006-02-16 Thread Arnaud HERITIER
It's not recommanded to use the same project for your multiproject entry and to store the parent settings. Generally, what it is recommended to do is : modules |-modules-parent | \-project.xml = All your common settings for your modules |-module-A | \-project.xml = Extends modules-parent

Re: ear:ear and symbolic links in repository

2006-02-16 Thread Arnaud HERITIER
Can you open an issue please. But I'm not sure that the problem isn't in the JDK :-( Arnaud On 2/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Arnaud, -Original Message- From: ext Arnaud HERITIER [mailto:[EMAIL PROTECTED] I already use them and i didn't have problems. Did

Lifecycle management

2006-02-16 Thread Domsch, Christian
Hi, Ok I want to establish the following task: I use the jboss-pluging. I now want to be able to redeploy my application, that means a goal that executes the jboss:undeploy goal and after that the jboss:deploy goal. And I dont want to bind this functionality to an existing lifecycle but create

Re: Shortcut for cd submodule; mvn war:exploded

2006-02-16 Thread Edwin Punzalan
use the mvn -f option like so: mvn war:exploded -f submodule-webapp\pom.xml mvn will cd into the submodule-webapp dir, execute the goals, then go back to the basedir ^_^ Jochen Wiedmann wrote: Hi, I have successfully migrated a project to Maven 2. So far, so good. Currently I am

AW: Automatic Update of plugins

2006-02-16 Thread Domsch, Christian
Thanks for the quick answer. What is the difference between -cpu and -U. I thought I should use -cpu, but that clearly didnt work. Christian. -Ursprüngliche Nachricht- Von: Allan Ramirez [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 16. Februar 2006 09:36 An: Maven Users List

RE: Lifecycle management

2006-02-16 Thread Krishnan A S
Try updatetrue/update in the configurationin the deploy plugin (if there are any options). Its thr in Tomcat maven plugin Thanks Regards, A.S.KRISHNAN, AZTEC, BANGALORE. -Original Message- From: Domsch, Christian [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 2:56 PM To:

attainGoal not getting called.

2006-02-16 Thread Manisha Sur
i have goals defined in the root's maven.xml: -- goal name=petstore:build prereqs=petstore:clean j:set var=goal value=petstore:build/ attainGoal name=multiproject:goal/ /goal goal name=petstore:clean

Maven 2.0: Referring to another projects classes using maven

2006-02-16 Thread Gerard Garrigan
Hello, Ive been asked to move a project over to maven. This project refers to classes in two other projects. So when the jar is built it contains his projects classes and any classes he refers to. However when I use maven the jar only contains his project classes and no other. How do I

FW: cannot find internal repository

2006-02-16 Thread Luca Gmail
Hi all, i created my own archetypes and deployed it in my internal repository. Now I would like to create my app according to these archetypes. So: 1) I modified settings.xml adding this new profile: profiles profile iddevelopment/id activation

cannot find internal repository

2006-02-16 Thread Rasconi Luca \(u.e.\)
Hi all, i created my own archetypes and deployed it in my internal repository. Now I would like to create my app according to these archetypes. So: 1) I modified settings.xml adding this new profile: profiles profile iddevelopment/id activation

Re: Shortcut for cd submodule; mvn war:exploded

2006-02-16 Thread Jochen Wiedmann
On 2/16/06, Edwin Punzalan [EMAIL PROTECTED] wrote: mvn war:exploded -f submodule-webapp\pom.xml mvn will cd into the submodule-webapp dir, execute the goals, then go back to the basedir Getting rid of the cd commands is, of course, very nice. However, is it possible to add this to my

Re: cannot find internal repository

2006-02-16 Thread Stephen Duncan
Add the following: after /profiles: activeProfiles activeProfiledevelopment/activeProfile /activeProfiles -Stephen On 2/16/06, Rasconi Luca (u.e.) [EMAIL PROTECTED] wrote: Hi all, i created my own archetypes and deployed it in my internal repository. Now I would like to create my app

Re: [M2] Runtime dependencies not being found

2006-02-16 Thread Tim Davies
Interesting point Brett. This particular set of code runs outside of any containers and so Ive been using System.setProperty(jdbc.drivers,com.mysql.jdbc.Driver);. This morning I tried using an explicit, Class.forName(com.mysql.jdbc.Driver).newInstance();, and this works. To be honest since

Re: [M2] Runtime dependencies not being found

2006-02-16 Thread Brett Porter
IT's probably because they are run in VM. Try enabling forking in the surefire plugin and both should work. - Brett On 2/16/06, Tim Davies [EMAIL PROTECTED] wrote: Interesting point Brett. This particular set of code runs outside of any containers and so Ive been using

Re: cannot find internal repository

2006-02-16 Thread luca rasconi
tnx for the suggestion but it doesn't work. the error is the same. do you use different profile? On 2/16/06, Stephen Duncan [EMAIL PROTECTED] wrote: Add the following: after /profiles: activeProfiles activeProfiledevelopment/activeProfile /activeProfiles -Stephen On 2/16/06, Rasconi

[M1] Maven Proxy: does not download Jar from ibiblio

2006-02-16 Thread Gisbert Amm
Out of the blue (it seems) I experience difficulties with the Maven proxy (snapshot-release). It does not download the requested jar from ibiblio but instead writes to the log: Copying /c3p0/jars/c3p0-0.8.4.5.jar from Repo[global] to Repo[www-ibiblio-org], does not find the jar within the

RE: cannot find internal repository

2006-02-16 Thread Dixit, Sandeep (ProSource Solutions)
Has anyone successfully setup internal repository? I am struggling for the last week. I am though using FTP protocol. Thanks, Sandeep -Original Message- From: luca rasconi [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 8:25 AM To: Maven Users List Subject: Re: cannot find

RE: Maven2 EAR

2006-02-16 Thread Kohinoor Lal Verma \(HF/EAB\)
Thanks guys for your help. I further need some help to solve this fully. Here is my dir structure. app |--pom.xml |--ejb | |--pom.xml |--ear | |--pom.xml app/pom.xml looks like this: project modelVersion4.0.0/modelVersion groupIdmyapp/groupId artifactIdapp/artifactId

Re: Site deploy fails with m2.0.2: any easy workaround?

2006-02-16 Thread fabrice . belingard
Hi Nicolas, You can generate the site for a project even if you don't have any file related to the site (site.xml, Xdoc, apt, fml, ...). As for your error when you try to deploy, this is probably because you didn't define the credentials for repository in your settings.xml. If you try to

custom goal doesn't run ?

2006-02-16 Thread Manisha Sur
Hi , i have a goal defined in the root's maven.xml as follows: goal name=petstore:build j:set var=goal value=clean,petstore:build/ attainGoal name=multiproject:goal/ /goal the intent is to run clean for each of the subprojects and then run the custom 'petstore:build' goal for each

Re: cannot find internal repository

2006-02-16 Thread luca rasconi
please next time create a new thread!!! in this way you create confusion. coming back to the problem I post... i found it's an open bug: http://jira.codehaus.org/browse/ARCHETYPE-1 bye, Luca On 2/16/06, Dixit, Sandeep (ProSource Solutions) [EMAIL PROTECTED] wrote: Has anyone successfully

inheriting generating classpath inside plugins

2006-02-16 Thread Jake Pezaro
i have written a new plugin. however, no matter what dependencies are defined by the calling pom, my pluging has only 2 jars on it's classpath. they are: when running maven from the command line: .../maven-2.0.2/core/boot/classworlds-1.1.jar when running maven from eclipse:

Re: [M2] Runtime dependencies not being found

2006-02-16 Thread Tim Davies
Hmm, I gave this a shot but still didnt work. I used the following in my pom. build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration forkModeonce/forkMode

Re: custom goal doesn't run ?

2006-02-16 Thread Arnaud HERITIER
Which maven release are you using ? In one of the subprojects, do you use another multiproject goal ? Arnaud On 2/16/06, Manisha Sur [EMAIL PROTECTED] wrote: Hi , i have a goal defined in the root's maven.xml as follows: goal name=petstore:build j:set var=goal

Re: cobertura plugin

2006-02-16 Thread Arnaud HERITIER
I'm not a developer on mavenn plugins @ sf and I don't if there's lot of activity. If nobody can do it, I'll ask to add me to the dev team to do it. Arnaud On 2/16/06, Nicolas De Loof [EMAIL PROTECTED] wrote: Is there any plan to upgrade cobertura plugin to use cobertura 1.7 ? I'm using

How to setup FTP-based internal repository ?

2006-02-16 Thread Dixit, Sandeep (ProSource Solutions)
How do I configure Internal Remote repository for FTP access? I am getting: [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-site -plugin' could not be retrieved from

[m2] Convention for distributing sources?

2006-02-16 Thread Roland Bali
Hi, I'm wondering if there is a convention for distributing the source code of a Maven build project. The source-plugin currently JARs everything in the source folder. These sources can be hard to build without the complete folder structure and a valid POM. Is the convention to simply JAR/ZIP

cobertura plugin

2006-02-16 Thread Nicolas De Loof
Is there any plan to upgrade cobertura plugin to use cobertura 1.7 ? I'm using AspectJ and JiBX that both operate on bytecode and are not compatible with cobertura 1.6 instrumentation (plugin fails) Upgrading dependency to 1.7 solves this problem I've created

[M2] Deploy question

2006-02-16 Thread Alexandre Poitras
Hi, I was able to succesfully deploy some files to our internal repository but I would like now to be able to copy the ear archive to a custom remote directory without all the standard Maven directory structure. Our J2EE container checks regulary the directory for new files and if one is found,

Re: [m202] can I use filters to externalize my artifact version number?

2006-02-16 Thread John Casey
Maybe I'm missing something, but why not simply leave off the child-POM version element? It will inherit the one specified in the parent section. If the parent POM doesn't exist in the repository, you could always use the relativePath/ element in the parent section to specify where the parent

repository:copy-jar problem

2006-02-16 Thread ravi kumar
hai, i getting the problem in using the repository:copy-jar the goal that i run is: maven -DgroupId=activation -Dtype=jar -Dartifact=${maven.repo.home}\activation\activation-1.0.jar repository:copy-jar error that i got Execute failed: java.io.IOException: CreateProcess: ssh -l

RE: cobertura plugin

2006-02-16 Thread Mike Perham
The plugin code in SVN already uses 1.7. It's never been released so you must be using an old version you compiled. Update svn and recompile it. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 8:36 AM To: Maven Users List Subject:

Re: cobertura plugin

2006-02-16 Thread Arnaud HERITIER
Isn't it possible to release it ? Arnaud On 2/16/06, Mike Perham [EMAIL PROTECTED] wrote: The plugin code in SVN already uses 1.7. It's never been released so you must be using an old version you compiled. Update svn and recompile it. -Original Message- From: Nicolas De Loof

Re: cobertura plugin

2006-02-16 Thread Nicolas De Loof
I'm using maven-cobertura-plugin from [EMAIL PROTECTED] As this site uses CVS, this seems you've in mind another cobertura plugin. Where to find it ? Mike Perham a écrit : The plugin code in SVN already uses 1.7. It's never been released so you must be using an old version you compiled.

RE: cobertura plugin

2006-02-16 Thread Mike Perham
It's still in the mojo sandbox. Brett and I were working on it a week or two ago. Personally I think it's ready to promote out of the sandbox to a top level plugin and an initial alpha release. -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Thursday, February

RE: cobertura plugin

2006-02-16 Thread Mike Perham
You are referring to the M1 plugin. I'm referring to the M2 plugin. Sorry for the mixup. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 9:26 AM To: Maven Users List Subject: Re: cobertura plugin I'm using maven-cobertura-plugin

Jar file with sources

2006-02-16 Thread Artamonov, Juri
Hi All, Could you please tell how to get jar or zip file with source inside, especcially if the sources are generated during the build by modello plugin? Thanks, Juri. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Maven 2.0: Referring to another projects classes using maven

2006-02-16 Thread Lee Meador
I'm having trouble figuring out what you want to do. Who is he and which of the projects are his? How are the other projects built and referenced from the project you are using maven with? Are you building the other projects with maven2? On 2/16/06, Gerard Garrigan [EMAIL PROTECTED] wrote:

RE: Maven2 EAR

2006-02-16 Thread Kohinoor Lal Verma \(HF/EAB\)
Thanks Lee. This mailing list rocks!!! I noticed one thing. When my project is generated the ear contains an application.xml which looks like: ?xml version=1.0 encoding=UTF-8? !DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN

Skin inheritance

2006-02-16 Thread fabrice . belingard
Hi guys, I have a multi-module project, for which I created site files only in the master project. For the sub-modules, I just want the default site with reports to be generated. I put a skin in the site.xml of my master project. When I generate the site, I can see that the skin is not

Re: [M2] Deploy question

2006-02-16 Thread Alexandre Poitras
Forget it, I found what I was looking for in the JBoss:harddeploy goal. I will just developp a similar plugin exclusive to our environment. On 2/16/06, Alexandre Poitras [EMAIL PROTECTED] wrote: Hi, I was able to succesfully deploy some files to our internal repository but I would like now to

Re: How to setup FTP-based internal repository ?

2006-02-16 Thread Emmanuel Venisse
You must add wagon-ftp jar in $MAVEN_HOME/lib http://www.ibiblio.org/maven2/org/apache/maven/wagon/wagon-ftp/ Emmanuel Dixit, Sandeep (ProSource Solutions) a écrit : How do I configure Internal Remote repository for FTP access? I am getting: [INFO] artifact

RE: How to setup FTP-based internal repository ?

2006-02-16 Thread Dixit, Sandeep (ProSource Solutions)
I copied both wagon-ftp-1.0-alpha-6-SNAPSHOT.jar and wagon-ftp-1.0-alpha-6.jar to MAVEN/lib... Now got the following error: [INFO] Skipping missing optional mojo: org.apache.maven.plugins:maven-site-plugi n:attach-descriptor - this realm =

Re: How to setup FTP-based internal repository ?

2006-02-16 Thread Emmanuel Venisse
Why two jars? you need only this one : wagon-ftp-1.0-alpha-6.jar Emmanuel Dixit, Sandeep (ProSource Solutions) a écrit : I copied both wagon-ftp-1.0-alpha-6-SNAPSHOT.jar and wagon-ftp-1.0-alpha-6.jar to MAVEN/lib... Now got the following error: [INFO] Skipping missing optional mojo:

Re: How to setup FTP-based internal repository ?

2006-02-16 Thread Emmanuel Venisse
And you must add it as an extension of your pom http://maven.apache.org/guides/mini/guide-deploy-ftp.html Emmanuel Emmanuel Venisse a écrit : Why two jars? you need only this one : wagon-ftp-1.0-alpha-6.jar Emmanuel Dixit, Sandeep (ProSource Solutions) a écrit : I copied both

RE: How to setup FTP-based internal repository ?

2006-02-16 Thread Dixit, Sandeep (ProSource Solutions)
OK. Added: build extensions extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-ftp/artifactId version1.0-alpha-6/version /extension /extensions /build To my pom.xml. Copied only wagon-ftp-1.0-alpha-6.jar to MAVEN_INSTALL\lib and

RE: Re: Maven possibilities

2006-02-16 Thread Artamonov, Juri
Hi Damian, Could you please send example of assembly:directory you used? I need to gather several files, maybe up 20 files, each one can be gathered by some command like, copy (not from repository), checkout ... Then I think or I need to extend current implmentation of assembly plugin or write

Re: problem doing an update

2006-02-16 Thread Emmanuel Venisse
This issue is fixed in svn. A new release will be done in few days. Emmanuel [EMAIL PROTECTED] a écrit : Hi, I have a problem performing an update on clearcase (M2 and maven-scm-provider-clearcase:jar:1.0-beta-2) I use the following command: mvn scm:update If none file is updated, build

Re: New list: announce@maven.apache.org

2006-02-16 Thread ian . d . stewart
Brett, Will announcements be restricted to announce@maven.apache.org, or will announce@maven.apache.org act as a subset of [EMAIL PROTECTED] Thanks, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation

RE: How to setup FTP-based internal repository ?

2006-02-16 Thread Dixit, Sandeep (ProSource Solutions)
I have added it in my pom.xml inside build... The only diff is I am using 1.0-alpha-6 Thanks, Sandeep -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 11:39 AM To: Maven Users List Subject: RE: How to setup FTP-based internal repository ?

RE: Maven 2.0: Referring to another projects classes using maven

2006-02-16 Thread Gerard Garrigan
My apologies, To make it easier, I've been asked to mavenise project A. Project A relies on classes contained in projects B and C. Projects B and C are not Maven projects. Project A when jarred using Maven does not contain references to these files and does not run correctly. Is there some way of

Re: Maven2 EAR

2006-02-16 Thread Lee Meador
Do you have a packagingejbpackaging in the ejb project pom? You need that plus this in the ear project pom dependencies dependency groupIdmyapp.app/groupId artifactId31WebService/artifactId version0.0.1/version typeejb/type

Re: Maven 2.0: Referring to another projects classes using maven

2006-02-16 Thread Lee Meador
How would you like B and C included? You could refer to them in the manifest of A's jar. You could explode them and include all the classes in A's jar. You could include their jars in A's jar somewhere. -- Lee On 2/16/06, Gerard Garrigan [EMAIL PROTECTED] wrote: My apologies, To make it

javadoc

2006-02-16 Thread Pieter Vandepitte
Hi, i'm a newbie with a newbie question :) I installed the m2eclipse plugin from codehaus, setup my own remote repository, ... played with it etc... I have put some legacy jar files into my repository, and it's really easy now to add dependencies for these jar files in my

Jabber notifcation in pom

2006-02-16 Thread Roland Kofler
jabber not doesnt show up in interface. Is my config right? Can't find a description for jabber notifier xml thank you! ciManagement systemContinuum/system urlhttp://development1:8080/continuum/servlet/continuum/url notifiers notifier typejabber/type address[EMAIL

Re: Jabber notifcation in pom

2006-02-16 Thread Michael Böckling
No, I made a similar mistake first, here's my working config, notice that the real address (from-address@host) is divided into from-address and host: configuration from-addressusername/from-address from-password/from-password hostjabber.ccc.de/host port5222/port

Re: [m2] maven-antrun-plugin: detect maven lifecycle phase that is run

2006-02-16 Thread Carlos Sanchez
I don't think you want to do that, maybe you should use profiles. On 2/15/06, Grothaus, Christoph [EMAIL PROTECTED] wrote: Carlos, that's not what I meant. I mean to do some work in the compile phase, but only if the user requested the lifecycle to go as far as the deploy phase. But maybe

Re: cobertura plugin

2006-02-16 Thread Carlos Sanchez
A snapshot has been deployed at http://maven-plugins.sourceforge.net/snapshot-repository/maven-plugins/plugins/ Please test it and we can make a new release On 2/16/06, Nicolas De Loof [EMAIL PROTECTED] wrote: Is there any plan to upgrade cobertura plugin to use cobertura 1.7 ? I'm using

Re: [m202] can I use filters to externalize my artifact version number?

2006-02-16 Thread Mick Knutson
I have 2 issues: 1. If I am working on a project that has an archive with all the same version of each artifact, then I agree I would prefer to leave the version off and have it inherit. BUT. When I tell each archive what the parent is, I am forced to add a parent version, thus I have to

RE: How to setup FTP-based internal repository ?

2006-02-16 Thread Dixit, Sandeep (ProSource Solutions)
Brian, Do you have it working in your environment using FTP? Thanks, Sandeep -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 11:39 AM To: Maven Users List Subject: RE: How to setup FTP-based internal repository ? You need the ftp

scm url is invalid with release:prepare

2006-02-16 Thread Dan Diephouse
I am trying to do a release, but Maven 2 doesn't seem to like my scm url. Here is the scm section from my POM: scm connectionscm:cvs:pserver:anonymous:@cvs.xfire.codehaus.org:/home/projects/xfire/scm:xfire/connection developerConnectionscm:cvs:ext:[EMAIL

resource filtering too aggressive?

2006-02-16 Thread Mike Perham
I have ${product.version} in an xml file. M2 replaces it with my POM version. Why? It's not ${version} or ${pom.version} which are the two instances I would think maven would replace. In fact I do NOT want Maven to replace this variable as it is a marketing version number with a build id on

Re: scm url is invalid with release:prepare

2006-02-16 Thread dan tran
wild guess, ${maven.username}:@ You need a : after username -D On 2/16/06, Dan Diephouse [EMAIL PROTECTED] wrote: I am trying to do a release, but Maven 2 doesn't seem to like my scm url. Here is the scm section from my POM: scm

Re: scm url is invalid with release:prepare

2006-02-16 Thread Dan Diephouse
Nah, I tried that too. Eclipse has my cvs url set to: :extssh:[EMAIL PROTECTED]:/home/projects/xfire/scm Is that going to cause problems? - Dan dan tran wrote: wild guess, ${maven.username}:@ You need a : after username -D On 2/16/06, Dan Diephouse [EMAIL PROTECTED] wrote: I am

Re: scm url is invalid with release:prepare

2006-02-16 Thread Emmanuel Venisse
I think it's an error in cvs provider. Actual version of release plugin use an old version of it (1.0-alpha-2). We are now in 1.0-beta-2 and 1.0 will be release in few days. You can try release plugin snapshot from svn. Emmanuel Dan Diephouse a écrit : Nah, I tried that too. Eclipse has my

Re: [m2] HibernateDoclet

2006-02-16 Thread Frederic Close
nobody seems to be willing to answer my question, so either you don't like or it's not really clear what I would like to do is use Xdcolet to generate my hibernate .hbm.xml files How can I do that with maven2 ? thanks for your help. Fred Frederic Close a écrit : hi, I have an

Re: [m2] HibernateDoclet

2006-02-16 Thread Kristof Vanbecelaere
Perhaps this is what you were looking for? http://mojo.codehaus.org/xdoclet-maven-plugin/usage.html On Feb 16, 2006, at 21:31, Frederic Close wrote: nobody seems to be willing to answer my question, so either you don't like or it's not really clear what I would like to do is use Xdcolet to

EAR dependencies Issue

2006-02-16 Thread Karthik Manimaran
Hi, I want only the jars without the 'system' scope to be bundled with the EAR and *do not* want the jars with system scope to be packaged with the EAR. However I want the path of the jars with system scope to be included in the manifest. How can this be done? Thanks and regards, Karthik.

Re: [m2] Convention for distributing sources?

2006-02-16 Thread Stephen Duncan
Yeah, I think typically you would use the assembly plugin to create a src bundle (zip, tar.gz, etc.) using the prebuilt src descriptor, or a custom one if necessary: http://maven.apache.org/plugins/maven-assembly-plugin/howto.html -Stephen On 2/16/06, Roland Bali [EMAIL PROTECTED] wrote: Hi,

Re: repository:copy-jar problem

2006-02-16 Thread Brett Porter
On 2/17/06, ravi kumar [EMAIL PROTECTED] wrote: Execute failed: java.io.IOException: CreateProcess: ssh -l USERNAME_NOT_SET mkdir -p /activation/jars/; chmod g+ws /activation/jars/; chgrp maven /activation/jars/ error=2 This means that Windows could not find ssh on your path. You need to

Re: Skin inheritance

2006-02-16 Thread Brett Porter
Is the skin not inherited, or is the whole site descriptor not inherited? I'd like to suggest that any questions about snapshot plugins be put to the maven dev list. It's easier to see them there. - Brett On 2/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi guys, I have a

Re: Site plugin: is the skin tag used?

2006-02-16 Thread Brett Porter
Thanks. Is this the other issue you posted as well? - Brett On 2/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Brett, I figured out the problem: my site.xml file is not found because the site directory path is hardcoded in the maven-site-plugin, and I do not use the standard layout.

Re: [m2] HibernateDoclet

2006-02-16 Thread Frederic Close
thanks indeed it looks like what I need Fred Kristof Vanbecelaere a écrit : Perhaps this is what you were looking for? http://mojo.codehaus.org/xdoclet-maven-plugin/usage.html On Feb 16, 2006, at 21:31, Frederic Close wrote: nobody seems to be willing to answer my question, so either you

Re: New list: announce@maven.apache.org

2006-02-16 Thread Brett Porter
Plugins and Maven releases will also go to [EMAIL PROTECTED] The announce list will additionally have announcements from other releases like Wagon, SCM, Continuum, and JXR. Cheers, Brett On 2/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Brett, Will announcements be restricted to

Re: scm url is invalid with release:prepare

2006-02-16 Thread Dan Diephouse
I installed a snapshot and am still getting the error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Can't load the scm provider. Embedded

Re: scm url is invalid with release:prepare

2006-02-16 Thread Dan Diephouse
Wait, do I have to install newer version of maven scm? - Dan Dan Diephouse wrote: I installed a snapshot and am still getting the error: [INFO] [ERROR] BUILD ERROR [INFO]

Re: Jabber notifcation in pom

2006-02-16 Thread Matthew Vanbiervliet
we use a slightly different configuration which works too : notifier typejabber/type configuration hosttalk.google.com/host port5222/port logingmail-username/login passwordgmail-password/password domainNamegmail.com/domainName address[EMAIL PROTECTED]/address

Re: scm url is invalid with release:prepare

2006-02-16 Thread Dan Diephouse
OK so I grabbed the latest scm stuff and release plugin from cvs and here is what I did: in the scm directory: $ mvn -Dmaven.test.skip install Skipped tests because they didnt' all pass. In the release plugin dir $ mvn install Then I declared the beta-4-SNAPSHOT release plugin in my POM like

[m202] release:perform hangs then fails

2006-02-16 Thread Thomas_Perry
hello everyone, I've been trying to run the release:perform goal on an eclipse project. I ran release:prepare successfully. The release:perform hangs on this message: Checking out the project to perform the release then eventually fails with this message: [INFO] Checking out the

Re: javadoc

2006-02-16 Thread Alexandre Poitras
I don't think it is possible for the moment. The location can be stored under the reporting section of the dependency POM but you would need the Eclipse plugin to read this information. On 2/16/06, Pieter Vandepitte [EMAIL PROTECTED] wrote: Hi, i'm a newbie with a newbie question :) I installed

Deactivate active profile

2006-02-16 Thread dan tran
Can i deactivate an active profile? I have a default profile,.. but when a condition met, I would like to swap the default profile with a new one. -D

Re: inheriting generating classpath inside plugins

2006-02-16 Thread andrew
Hi Jake, Have a look at the following: How Maven's classloaders work http://maven.apache.org/guides/mini/guide-maven-classloading.html ... each plugin has its own classloader, including its dependencies, itself, and the libraries above. It *does not* contain the project dependencies as in Maven

Excluding jars from ear

2006-02-16 Thread Mike Darretta
Newbie question: When I run install on my ear module (with a dependency on my war module), all the jars from my war are packaged at the top level of my ear. Of course, my war file (with the same jars) is placed there as well. Can someone please direct me to how I can avoid this? Thanks,

checkstyle 3.0 with maven 1.0.2

2006-02-16 Thread Andy Fyfe
I've updated my project to specify version 3.0 of the checkstyle plugin. Maven remains at version 1.0.2. I have also tried using the 3.0.1-SNAPSHOT version, and have tried this on both OSX and Solaris (both use jvm 1.5.0). I consistently get the error: BUILD FAILED File..

Re: checkstyle 3.0 with maven 1.0.2

2006-02-16 Thread Carlos Sanchez
AFAIK it needs maven 1.1 On 2/16/06, Andy Fyfe [EMAIL PROTECTED] wrote: I've updated my project to specify version 3.0 of the checkstyle plugin. Maven remains at version 1.0.2. I have also tried using the 3.0.1-SNAPSHOT version, and have tried this on both OSX and Solaris (both use jvm

Re: checkstyle 3.0 with maven 1.0.2

2006-02-16 Thread Lukas Theussl
No, it does work with Maven 1.0.2. I tested it, however, not with java 5 (only 1.4.2). If it's a jdk issue then the $JAVA_HOME/lib/endorsed/ solution is probably the only one that's gonna work. -Lukas Carlos Sanchez wrote: AFAIK it needs maven 1.1 On 2/16/06, Andy Fyfe [EMAIL PROTECTED]

What are server name and port for in maven-proxy.properties?

2006-02-16 Thread Brad O'Hearne
I am using the webapp implementation of maven-proxy, which of course is a WAR implementation. My question is regarding the server name and port properties in thie maven-proxy.properties file. If the proxy is a WAR, and runs inside the scope of the servlet container (such as Tomcat), the

Re: Deactivate active profile

2006-02-16 Thread John Casey
Where is this active profile defined? I think you can mark it as activeByDefaulttrue/activeByDefault, and when any other profile is activated this one will be deactivated... That may be too simplistic... -j dan tran wrote: Can i deactivate an active profile? I have a default profile,.. but

Re: What are server name and port for in maven-proxy.properties?

2006-02-16 Thread dan tran
those params are ignored in wepapp mode. -D On 2/16/06, Brad O'Hearne [EMAIL PROTECTED] wrote: I am using the webapp implementation of maven-proxy, which of course is a WAR implementation. My question is regarding the server name and port properties in thie maven-proxy.properties file. If

Re: Deactivate active profile

2006-02-16 Thread dan tran
the profile is in the pom. I need to create a profile for native-maven-plugin. where by default it builds nondebug artifact. When user passed in -Ddebug, the need to activate the configururation that has debug flags. -Dan On 2/16/06, John Casey [EMAIL PROTECTED] wrote: Where is this

RE: Excluding jars from ear

2006-02-16 Thread Krishnan A S
Keep the jar-s of dependencies in the 'compile' scope and remove the runtime scope. Thanks Regards, A.S.KRISHNAN, AZTEC, BANGALORE. -Original Message- From: Mike Darretta [mailto:[EMAIL PROTECTED] Sent: Friday, February 17, 2006 6:21 AM To: Maven Users List Subject: Excluding jars from

Re: custom goal doesn't run ?

2006-02-16 Thread Manisha Sur
I am using Maven 1.1 Beta 2 . On 2/16/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Which maven release are you using ? In one of the subprojects, do you use another multiproject goal ? Arnaud On 2/16/06, Manisha Sur [EMAIL PROTECTED] wrote: Hi , i have a goal defined in the root's

Help with getting up and running

2006-02-16 Thread Christian Cabanero
First off I gotta say ramping up with Maven 2 has been very hard compared to Maven 1. I was a big fan of Maven 1 and was using it successfully and it was doing what I wanted but now with Maven 2 it's just so much more darn complex and customizable it makes it harder to even know where to start.

Re: custom goal doesn't run ?

2006-02-16 Thread Lukas Theussl
A prereq is always only called once in a build cycle. This is by design, since you usually don't want the same goal to be executed again if it has been executed once already. If you want to make sure it gets executed, you should use attainGoal in your sub-projects, ie goal name=petstore:build

  1   2   >