can I use pom in repository to extend?

2004-09-02 Thread Pak, Young-rok
after deploying maven-based project, jar and pom is deployed to repository. can I use that pom file to extend in other project?

Mailing lists on maven site

2004-09-02 Thread julien . kirch
Hi today on http://maven.apache.org/mail-lists.html the archive column is empty should I open an issue ? Julien This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately

Re: calling a goal on a project

2004-09-02 Thread Nathan Coast
thanks Brett, is what I'm after, the goal I'm trying to execute is in another plugin and not from another project. Brett Porter wrote: attainGoal is only calling a goal on the current project (possibly from another plugin though). To execute a goal on another project, you can use the reactor or t

Calling a unix shell script from maven

2004-09-02 Thread jeff mutonho
Is this possible or I would need to embbed some ant script in to call the script? jeff mutonho - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!

RE: Mailing lists on maven site

2004-09-02 Thread Carlos Sanchez
I'll fix it now. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 02, 2004 9:39 AM > To: [EMAIL PROTECTED] > Subject: Mailing lists on maven site > > Hi > > today on http://maven.apache.org/mail-lists.html the archive > column is

Re: Calling a unix shell script from maven

2004-09-02 Thread jeff mutonho
I managed to write a small plugin and it seems to be working alright for now jeff mutonho jeff mutonho <[EMAIL PROTECTED]> wrote: Is this possible or I would need to embbed some ant script in to call the script? jeff mutonho - Do you Yahoo!? New and Improved Ya

clover-plugin

2004-09-02 Thread Kelly C. Goedert
Can someone give me an example on how to generate a clover report for cactus tests? Thanks Kelly. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Calling a unix shell script from maven

2004-09-02 Thread Jefferson K. French
I've just used Ant's tag. On Thu, 02 Sep 2004, at 01:56:03 [GMT -0700 (PDT)] jeff mutonho wrote: > Is this possible or I would need to embbed some ant script in to call the script? > jeff mutonho -- mailto:[EMAIL PROTECTED] -

war plugin ???

2004-09-02 Thread Eric Chow
Hello, When call war:install, it will create a .war file. For those Java classes, they will be coped into WEB-INF/classes, right ??? Is it possible to create a JAR file for those classes and copy it into /WEB-INF/lib rather than those classes into /WEB-INF/classes Eric

Re: war plugin ???

2004-09-02 Thread Felipe Leme
Hi Eric, On Thu, 2 Sep 2004 20:57:02 +0800, Eric Chow <[EMAIL PROTECTED]> wrote: > Is it possible to create a JAR file for those classes and copy it into > /WEB-INF/lib rather than those classes into /WEB-INF/classes Currently, no. But I've opened an issue about it a couple of weeks ago: h

Re: war plugin ???

2004-09-02 Thread Jefferson K. French
No, but I think there is an issue in Jira for it. How about creating the JAR in a subproject, then including that jar as a dependency in the WAR? That's what we do. Jeff On Thu, 02 Sep 2004, at 20:57:02 [GMT +0800] Eric Chow wrote: > Hello, > When call war:install, it will create a .war file

Re: war plugin ???

2004-09-02 Thread Matt Coarr
Hi Felipe, If you want to do this you can create another maven project and have your war project include that as a dependency. The multiproject plugin ties all this together nicely. There's really good wiki entry and a sample project/sub-projects zip file at http://wiki.codehaus.org/maven/Creat

Re: war plugin ???

2004-09-02 Thread Felipe Leme
Jefferson, On Thu, 2 Sep 2004 08:21:32 -0500, "Jefferson K. French" <[EMAIL PROTECTED]> wrote: > How about creating the JAR in a subproject, then including that jar as > a dependency in the WAR? That's what we do. Although creating a sub-project is the recommended way for such situations, I thi

Re: war plugin ???

2004-09-02 Thread Felipe Leme
Matt, On Thu, 02 Sep 2004 09:41:51 -0400, Matt Coarr <[EMAIL PROTECTED]> wrote: > If you want to do this you can create another maven project and have > your war project include that as a dependency. The multiproject plugin > ties all this together nicely. Yes, I know. But as I mentioned earli

Lost maven.dependency.classpath in custom plugin tag

2004-09-02 Thread dan tran
Hello, I have a custom plugin P which is called by a project A. In plugin P, I have a tag which uses to invoke a java class. Calling plugin P's tag from project A results in a ClassNotFoundException, unless I include plugin P's denpendencies in project A In previous post, I have the similar pro

for jar and war

2004-09-02 Thread Charles N. Harvey III
Hello. When I create a webapp with my project, I want it to include all of the files in my "src/main/resources" directory. But when I make a jar out of just the code, I do NOT want those files to be included. Is there a way to set this up in the project.xml? Because when I have this:

Re: Lost maven.dependency.classpath in custom plugin tag

2004-09-02 Thread Jefferson K. French
Dan, I had the same issue for a custom plugin. What I did was to include my plugin's dependencies in the plugin's project.xml, then make sure the dependent jars were bundled along with the plugin when it was deployed. Jeff On Thu, 02 Sep 2004, at 07:39:56 [GMT -0700] dan tran wrote: > Hello,

Réf. : for jar and war

2004-09-02 Thread Nicolas . CHALUMEAU
I see a simple solution for your problem : make 2 projects one for the jar that don't include any resources And one for the war that incule your resource and have your jar project as dependancy http://wiki.codehaus.org/maven/WhyYouCantCreateMultipleArtifactsInOneProject Nicolas "Charles N.

Re: Lost maven.dependency.classpath in custom plugin tag

2004-09-02 Thread dan tran
Jeff, so I will need to setup the classpath my self rather then depending on maven.dependcy.classpath right? Thanks, -D On Thu, 2 Sep 2004 10:03:08 -0500, Jefferson K. French <[EMAIL PROTECTED]> wrote: > Dan, > > I had the same issue for a custom plugin. What I did was to include my > plugin's

Re: for jar and war

2004-09-02 Thread Jefferson K. French
Charlie, You could do something like have two subprojects, with one setup to use the resources and the other not to use them. I think the source would live at the parent level, and the subprojects would be very minimal, just containing different project.xml files. Or in a single project you could

Add System properties to maven's JVM

2004-09-02 Thread dan tran
Hello, I have a need to add a system properties in maven's JVM So In my maven.xml, I place this ${systemScope.put('name', 'value')} It works However, I am having a hardtime to make 'value' as a var. Here is what I have tried with no luck ${systemScope.put('name', '${myvar}')}< empt

Re: Lost maven.dependency.classpath in custom plugin tag

2004-09-02 Thread Jefferson K. French
Dan, I added to maven.dependency.classpath. My plugin was using an Ant task that had external dependencies. What I did was: 1. Put the dependent jars in the plugin's project.xml, along with the line: true 2. Added a plugin:plugin postGoal that copied any dependency that has

Re: for jar and war

2004-09-02 Thread Charles N. Harvey III
This sounds pretty good. Usually I use the suggestion from Nicholas and create two projects, one for the jar, one for the war. But this time I'm going to be stubborn and keep them together. Do you know how I create a goal that sets the included files to be "excluded"? If you do, that would be gr

RE: email maven build log

2004-09-02 Thread Liu, Zhihai
Thank you, Martijn. I followed your examples and got Maven + CruiseControl running. It is a little off topic, but I have another question. I have a target to run unit tests in cc-build.xml. There are some compile errors in the code, but CruiseControl's emai

test coverage report

2004-09-02 Thread Kelly C. Goedert
Hello, how do I generate a test coverage report for my cactus tests? Thanks Kelly. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: email maven build log

2004-09-02 Thread James . Shute
Is there a reason you're not using the maven specific capabilities of CruiseControl? i.e. rather than have something like -Original Message- From: Liu, Zhihai [mailto:[EMAIL PROTECTED] Sent: 02 September 2004 16:48

Re: Add System properties to maven's JVM

2004-09-02 Thread Jefferson K. French
Dan, your second example worked for me. Make sure the 'value' property exists. Otherwise you'll get an InvocationTargetException. To test, I did: child=${child} ${systemScope.put('child', aName)} child=${child} Then 'maven scope' produced: setit: [echo] chi

Re: Lost maven.dependency.classpath in custom plugin tag

2004-09-02 Thread dan tran
Jeff, I understand step 1 and 2. Please help me to understand step 3. In step 3, your add more classpath to maven.dependency.classpath using ${plugin.getDependencyPath('groupId:artifactId') Does ${plugin.getDependencyPath('groupId:artifactId') point to the one the jar you bundle with the plugin

Re: Add System properties to maven's JVM

2004-09-02 Thread dan tran
It works now, but I have to make a copy of my predefined property into another var and use that var to set it ${systemScope.put('my.predefined.var', mycopy)} -D On Thu, 2 Sep 2004 11:11:33 -0500, Jefferson K. French <[EMAIL PROTECTED]> wrote: > Dan, your second example worked for me. Make sure

Re: email maven build log

2004-09-02 Thread Martijn Dashorst
[EMAIL PROTECTED] wrote: Is there a reason you're not using the maven specific capabilities of CruiseControl? I hadn't gotten around to looking at the maven builder plugin. First I wanted to get it working. Next I wanted to optimize. When starting with c.c. all available documentation is about

RE: clover-plugin

2004-09-02 Thread Vincent Massol
Hi Kelly, I guess that would be more a Cactus question. Let me try to answer as I've already done this in Cactus land. The easiest is to do the following I think: 1/ First run clover on your projects that need clovering (for ex: maven clover:on war). Ensure that you've set the clover database pr

RE: [Maven] Abbot plugin

2004-09-02 Thread Vincent Massol
Hi James, > -Original Message- > From: James Gustard [mailto:[EMAIL PROTECTED] > Sent: jeudi 2 septembre 2004 16:10 > To: vmassol > Subject: [Maven] Abbot plugin > > Hi, > > I am new to maven (about 30 mins)and am trying to set up your plugin to > test a JWS deployed GUI, I have a quick

RE: email maven build log

2004-09-02 Thread Liu, Zhihai
I switched to maven builder in CC. Problem fixed. It is awesome. Thanks a lot. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 12:06 PM To: [EMAIL PROTECTED] Subject: RE: email maven build log Is there a reason you're not using the

Re: Lost maven.dependency.classpath in custom plugin tag

2004-09-02 Thread Jefferson K. French
Now that you mention it, it probably points to the one in your local repo, which means it may not be necessary to bundle the jars afterall. I may have added bundle the jars at the same time I added the getDependencyPath call, and assumed I needed both. On Thu, 02 Sep 2004, at 09:18:23 [GMT -0700]

Re: test coverage report

2004-09-02 Thread Dion Gillard
You may get a faster answer on the Cactus lists. On Thu, 02 Sep 2004 12:51:45 -0300, Kelly C. Goedert <[EMAIL PROTECTED]> wrote: > Hello, > > how do I generate a test coverage report for my cactus tests? > > Thanks > > Kelly. > >

Re: telnet ant task in maven, any one?

2004-09-02 Thread dan tran
Jayme, no luck yet!!! I am stuck with ant for now. -D - Original Message - From: Jayme Hafen <[EMAIL PROTECTED]> Date: Thu, 2 Sep 2004 16:55:00 -0600 Subject: RE: telnet ant task in maven, any one? To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Hello Dan, We are having this same pr

Cannot specify strutsconfigxml version ????

2004-09-02 Thread Eric Chow
Hello, I tried to specify "maven.xdoclet.webdoclet.strutsconfigxml.0.Version=1.2" in build.properties. But it seems no effective. After the struts-conf.xml be generated. The DOCTYPE is always like the following: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";> Maven 1.0 + XDoclet P

no user found for scm plugin

2004-09-02 Thread Ryan Sonnek
I'm trying to use the scm plugin to checkout my project, but I'm getting the following error. I have my .cvspass created correctly and can connect using the command line cvs executable. also, I'm using version 1.4.1 of the scm plugin. Ryan scm:parse-connection: [echo] Using connection: sc

Re: no user found for scm plugin

2004-09-02 Thread Brett Porter
I think you are probably wanting to connect as anonymous instead of wireframe? either change , or if it is using ${maven.username} you might set that to anonymous. I'd suggest only developerConnection should be using ${maven.username} - Brett On Thu, 2 Sep 2004 21:51:52 -0500, Ryan Sonnek <[EMA

Always "Attempting to download .... Snapshot ...."

2004-09-02 Thread Eric Chow
Hello, If I specific a dependency library with a SNAPSHOT version, Maven always "Attempting to download ... " those SNAPSHOT library. Is it Maven's problem or Maven's normal action ??? Eric - To unsubscribe, e-mail: [EMAIL PRO

Re: Always "Attempting to download .... Snapshot ...."

2004-09-02 Thread Craig S . Cottingham
On Sep 2, 2004, at 23:30, Eric Chow wrote: If I specific a dependency library with a SNAPSHOT version, Maven always "Attempting to download ... " those SNAPSHOT library. Is it Maven's problem or Maven's normal action ??? That's normal for Maven. It always [1] tries to download dependencies whose v

Re: Always "Attempting to download .... Snapshot ...."

2004-09-02 Thread Jefferson K. French
On Thu, 02 Sep 2004, at 23:38:28 [GMT -0500] Craig S. Cottingham wrote: > On Sep 2, 2004, at 23:30, Eric Chow wrote: >> If I specific a dependency library with a SNAPSHOT version, Maven >> always "Attempting to download ... " those SNAPSHOT library. >> >> Is it Maven's problem or Maven's normal a