RE: ear:ear and symbolic links in repository

2006-02-16 Thread andreas.ebbert-karroum
>>-Original Message- >>From: ext Arnaud HERITIER [mailto:[EMAIL PROTECTED] >>Can you open an issue please. --> http://jira.codehaus.org/browse/MAVEN-1747 _ ___ _ //\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com `-` Andreas Ebbert-Karroum    Soft

Re: [m2] Convention for distributing sources?

2006-02-16 Thread Roland Bali
Thanks, that plugin allows me to include more stuff than the src-plugin does. But I have a "follow"-up problem when using that plugin. It triggers the package-phase to which I have "attached" a Ant script. That Ant script needs to be executed after I have assembled my source and binaries. Why doe

RE: ear:ear and symbolic links in repository

2006-02-16 Thread andreas.ebbert-karroum
Yes, I can do that. >-Original Message- >From: ext Arnaud HERITIER [mailto:[EMAIL PROTECTED] >Sent: 16 February, 2006 09:57 >To: Maven Users List >Subject: Re: ear:ear and symbolic links in repository > >Can you open an issue please. >But I'm not sure that the problem isn't in the JDK :-

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 in your sub-projects, ie HTH, Lukas Manisha Sur wro

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. I

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

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: 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 ac

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

Re: Deactivate active profile

2006-02-16 Thread John Casey
Where is this active profile defined? I think you can mark it as true, 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 when a condition met, I would l

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 enviro

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]>

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 us

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.. /Users/andy/.mave

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, Mik

Re: inheriting & generating classpath inside plugins

2006-02-16 Thread andrew
Hi Jake, Have a look at the following: How Maven's classloaders work "... each plugin has its own classloader, including its dependencies, itself, and the libraries above. It *does not* contain the project dependencies as in Mav

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: 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 instal

[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 proje

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 I

Re: Jabber notifcation in pom

2006-02-16 Thread Matthew Vanbiervliet
we use a slightly different configuration which works too : jabber talk.google.com 5222 gmail-username gmail-password gmail.com [EMAIL PROTECTED] false false It is based on the entry in the faq, but I don't know if everything is used, nor if all tags are correct (tag names c

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: "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 error

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 anno

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 don

Re: Site plugin: is the 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 > stan

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 mu

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 nee

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

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] 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

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 application

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 c

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 t

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:cvs:pserver:anonymous:@cvs.xfire.codehaus.org

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 the

"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:cvs:pserver:anonymous:@cvs.xfire.codehaus.org:/home/projects/xfire/scm:xfire scm:cvs:ext:[EMAIL PROTECTED]:/home/projects/xfire/scm:xfire https://cvs.xfire.codeha

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 exten

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 modif

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 usin

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

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 (@) is divided into and : username jabber.ccc.de 5222 false jabber not doesnt show up in interface. Is my config right? Can't find a description for jabber not

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! Continuum http://development1:8080/continuum/servlet/continuum jabber [EMAIL PROTECTED] [EMAIL PROTECTED] passwd

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 maven-eclipse-projec

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

Re: Maven2 EAR

2006-02-16 Thread Lee Meador
Do you have a ejb in the ejb project pom? You need that plus this in the ear project pom myapp.app 31WebService 0.0.1 ejb Try not putting the stuff in the plugin config. I think that's just for when you want the ... in

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 o

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 ... 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 ? You

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 JPMorganChase

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 i

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 n

RE: How to setup FTP-based internal repository ?

2006-02-16 Thread Dixit, Sandeep (ProSource Solutions)
OK. Added: org.apache.maven.wagon wagon-ftp 1.0-alpha-6 To my pom.xml. Copied only wagon-ftp-1.0-alpha-6.jar to MAVEN_INSTALL\lib and got the following error: Reason: Error getting POM for 'org.apache.maven.wagon:wagon-ftp' from the repo

RE: How to setup FTP-based internal repository ?

2006-02-16 Thread Brian E. Fox
You need the ftp extension: org.apache.maven.wagon wagon-ftp 1.0-alpha-5 -Original Message- From: Dixit, Sandeep (ProSource Solutions) [mailto:[EMAIL PROTECTED] Se

problem doing an update

2006-02-16 Thread REGIS . HUBERT
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 is successful. However if some files are updated, the files are well updated, but then it seems the plugin tries

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 wagon-ftp-1.0-a

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: org.apach

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 = plexu

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 org.apache.maven.plugins:maven-

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 n

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 inhe

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: http://java.sun.com/dtd/application_1_3.dtd";> ear ejb-0.0.1.jar This not correct it should be instead of . ear/pom.xml looks like

Re: Site plugin: is the tag used?

2006-02-16 Thread fabrice . belingard
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. This is a part of the site plugin code that is not finished yet - there's a TODO in the code. So I created http://jira

Re: Maven2 EAR

2006-02-16 Thread Lee Meador
It's looking for the jar in your repository. If you do mvn install It will build the ejb jar and put it in the repository and when it gets to doing the ear, it will be there to use. -- Lee Meador On 2/16/06, Kohinoor Lal Verma (HF/EAB) <[EMAIL PROTECTED]> wrote: > > Thanks guys for your help. >

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]> wro

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] For

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 f

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 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. Up

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 Lo

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: cob

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 element in the parent section to specify where the parent POM is relativ

[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, th

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 http://sourceforge.net/tracker/

[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 the

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 USERNAME_NOT_

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 rep

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

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: > > > > > > > the intent is to run clean for each of the

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. org.apache.maven.plugins maven-surefire-plugin once -enableassertions I am running this on windows however and did notice th

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: .../eclipse/configur

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

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: the intent is to run clean for each of the subprojects and then run the custom 'petstore:build' goal for each subproject. each of the subproject defines the petstore:build goal in the maven.xml , with there respective

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 de

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: 4.0.0 myapp app pom 0.0.1 ejb ear ejb/pom.xml looks like this 4.0.0

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 i

[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 loc

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 : > > > development > > > -Stephen > > On 2/16/06, Rasconi Luca (u.e.) <[EMAIL PROTECTED]> wrote: > > Hi all, > >

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 > "System.setProperty

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 hone

Re: cannot find internal repository

2006-02-16 Thread Stephen Duncan
Add the following: after : development -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 according to these archetypes. > > So: > > 1) I modified s

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

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: development true r

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: development true r

Maven 2.0: Referring to another projects classes using maven

2006-02-16 Thread Gerard Garrigan
Hello,   I’ve 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

attainGoal not getting called.

2006-02-16 Thread Manisha Sur
i have goals defined in the root's maven.xml: -- -- and the subprojects contains maven.xml as follows:

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

2006-02-16 Thread Geoffrey De Smet
Done :) It usually takes a day or 2 to show up at gmane.org -- With kind regards, Geoffrey De Smet Brett Porter wrote: 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:

RE: Lifecycle management

2006-02-16 Thread Krishnan A S
Try true in the in 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: Maven Users List Subject: L

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: 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 wo

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 my

  1   2   >