Re: Maven help plugin

2006-11-21 Thread Eric Redmond

-Dfull

http://maven.apache.org/plugins/maven-help-plugin/describe-mojo.html

Eric

On 11/21/06, Trevor Torrez [EMAIL PROTECTED] wrote:


Is there a way to get the help plugin to cough up the goals that a
plugin supports?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Eric Redmond
http://codehaus.org/~eredmond


Re: Maven - help

2005-12-29 Thread Tim Kettler

Hi,

what do you want to do? Deploy the ear to your internal remote 
repository or deploy the ear to an application server?


If you want to deploy to your internal remote repository just do an 'mvn 
deploy'


-Tim

jagan t schrieb:

  Hi,

I tried for ear:deploy in maven in following 2 ways, but I am getting 
problem. Please help me. 


way 1:

C:\TF\maven-2.0.1-bin\maven-2.0.1\bin\my-appmvn ear:deploy 
-DgroupId=com.mycomp

any.app -DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'ear'.
[INFO] 
-

---
[ERROR] BUILD FAILURE
[INFO] 
-

---
[INFO] Required goal not found: ear:deploy
[INFO] 
-

---
[INFO] For more information, run Maven with the -e switch
[INFO] 
-

---
[INFO] Total time:  1 second
[INFO] Finished at: Thu Dec 29 16:09:54 GMT+05:30 2005
[INFO] Final Memory: 1M/3M
[INFO] 
-



way 2:



C:\TF\maven-2.0.1-bin\maven-2.0.1\bin\my-appmvn ear:deploy
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'ear'.
[INFO] 
-

---
[ERROR] BUILD FAILURE
[INFO] 
-

---
[INFO] Required goal not found: ear:deploy
[INFO] 
-

---
[INFO] For more information, run Maven with the -e switch
[INFO] 
-

---
[INFO] Total time:  1 second
[INFO] Finished at: Thu Dec 29 16:11:00 GMT+05:30 2005
[INFO] Final Memory: 1M/3M
[INFO] 
-




Thanks  Regards
T.Jagan




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [maven] help running webdoclet to generate web xmi files for Websphere please

2005-06-30 Thread Rod Coffin
Mick,
 You can use the webspherewebxml subtask to generate the ibm-web-bnd.xmi and 
ibm-web-ext.xmi files. Depending on whether you're using the XDoclet ant 
tasks directly or the maven-xdoclet-plugin you will need to either specify 
this subtask in your project.properties file or in your maven.xml. For more 
information see:
 
http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/ibm/websphere/web/WebSphereWebXmlSubTask.html
 Rod Coffin
 On 6/29/05, Mick Knutson [EMAIL PROTECTED] wrote: 
 
 I do not know anything about these xmi files or how to generate them with
 maven.
 Can someone help me with what I need to do to setup Maven, and what to
 decorate, if anything, so that I can generate these files based off my own
 web.xml file.
 Or do I need to also have webdoclet generate my web.xml as well.
 If so, how?
 
 
 
 Thank You
 Mick Knutson
 
 Sr. Java/J2EE Consultant
 BASE logic, inc.
 (415) 648-1804 (S.F., CA)
 http://www.BASELogic.com
 
 HP Consulting Services (Walnut Creek, CA)
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



RE: Maven help for building 2 versions for a component build

2005-01-13 Thread Eric Pugh
You could, I guess..  Really though, what makes the two projects
different?  How is version 1 versus version 2 different if they have the
same source etc?  Is it that they are two versions of the same codebase,
ergo two sets of tags in Source Control...   Or, is it one codebase that
is cut up and output as two separate artifacts.  Again, in that case,
you should make it two projects.

The second project.xml file might work, but when you start doing
cool/whacky tricks like that, you should go back to Ant..  Something at
somepoint in Maven land will get you when you try and do two
project.xml's..   

Eric

-Original Message-
From: Rick Mann [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 12, 2005 5:36 PM
To: Maven Users List
Subject: Re: Maven help for building 2 versions for a component build



On Jan 12, 2005, at 14:08, Eric Pugh wrote:

 It seems to me like you should have two versions tagged in CVS...
 Check
 out the version youw ant and build it..  Maven really encourages that
 you can only build one artifact per project...  One jar, one war,
 etc

Would it make sense to have a second project.xml file, that refers to 
the same sources as the first?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven help for building 2 versions for a component build

2005-01-13 Thread Rick Mann
On Jan 13, 2005, at 10:30, Eric Pugh wrote:
You could, I guess..  Really though, what makes the two projects
different?
Well, I don't know about the original poster's situation, but we have 
an API in a JAR file that we give out for public use and that we use 
internally. However, the internal JAR includes a couple of additional 
class files that we don't want to distribute outside.

I haven't yet built this API with maven, and am not sure how I will. I 
guess the right way is to put the additional files in a new, separate 
project (meaning separate, parallel directory structure), and build it 
with a dependency on the public API. Just seems like a lot of work for 
a couple of classes...

--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Maven help for building 2 versions for a component build

2005-01-12 Thread Eric Pugh
It seems to me like you should have two versions tagged in CVS...  Check
out the version youw ant and build it..  Maven really encourages that
you can only build one artifact per project...  One jar, one war,
etc

From what you are doing, it sounds like you are mostly reinventing your
Ant build inside of maven..  What some folks do is their build in Ant,
but the site docs and reports via Maven.

ERic

-Original Message-
From: Salhotra, Aruneesh [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 11, 2005 3:44 PM
To: 'users@maven.apache.org'
Subject: Maven help for building 2 versions for a component build


Hi,
I have been using ANT for years now for building applications. I have
started to look at Maven for managability purposes.
 
I would like to know how can write a project.xml and maven.xml so as to
enable me to build 2 versions of a component, which currently I build by
running to 2 commands which internally call an ANT script.
 
This I foresee that I would have to pass version 1_0 and 2_0 as
arguments somehow to maven.xml.
 
Since I am using VSS as my source safe, I would like to stick to my ANT
structure for building. Aruneesh Salhotra
 
Release/Configuration Manager
Fatwire Corporation
Mineola, NY - 11501
(516) FAT-WIREX 326
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven help for building 2 versions for a component build

2005-01-12 Thread Rick Mann
On Jan 12, 2005, at 14:08, Eric Pugh wrote:
It seems to me like you should have two versions tagged in CVS...  
Check
out the version youw ant and build it..  Maven really encourages that
you can only build one artifact per project...  One jar, one war,
etc
Would it make sense to have a second project.xml file, that refers to 
the same sources as the first?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Maven help

2003-06-16 Thread S. Radhakrishnan
Hi Lamy
Have you tried maven -g to list all available goals..


RK

-Original Message-
From: LAMY Olivier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 11:09 AM
To: Maven Users List (E-mail)
Subject: Maven help


Hi all,
I'm looking the command to list of the goals.
I can't find it.
Olivier

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maven help

2003-06-16 Thread Cuong Tran

 Isn't maven -g what you're looking for?

--- LAMY Olivier [EMAIL PROTECTED] wrote:
 Hi all,
 I'm looking the command to list of the goals.
 I can't find it.
 Olivier
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


=
Cuong Q. Tran [EMAIL PROTECTED]

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]