Comments property on License

2003-11-29 Thread Jeffrey Bonevich
I am working on the POM editor for mevenide's Eclipse plugin.  Hoping 
someone in the know could answer this question:

The License class has properties: name, distribution, url, and comments. 
 Comments is not discussed in the reference docs, nor is it in the 
current version of the XSD for maven's project.xml file.

So is comment a deprecated property or just an oversight of XSD and ref 
docs?

jeff

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


Re: .sar-goal?

2003-11-29 Thread khote
This is how I've done it, kludging around with artifact:install.  This was
for a HibernateService project, which comes with MBean
Command lines are imitations of jar: goals,
maven sar:sar
maven sar:install
maven sar:deploy

You can use jboss:deploy to deploy your sar from the repository or from your
dest.dir, but of course the next time JBoss restarts the deployment will no
longer exist ... that's why my deploy just copies into the
$JBOSS_HOME/server/(conf)/deploy

  




  

  


  

  



  


- Original Message - 
From: "Peter Neubauer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 29, 2003 11:20 AM
Subject: .sar-goal?


> Hi,
> I'm trying to deploy a module as an MBean to jboss. It seems that I have
to
> create a .sar file that contains the .jar and some jboss-service.xml. Is
> there any plugin like the .ear, .war etc. plugins that supports this?
>
> Thanks for a great product - the Wagon plugin will take maven everywhere.
We
> are already using a borland-cpp-builder plugin for a project, and the
> benefits of maven over any commercial building product are huge!
>
> /peter
>
>
> -
> 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]



.sar-goal?

2003-11-29 Thread Peter Neubauer
Hi,
I'm trying to deploy a module as an MBean to jboss. It seems that I have to 
create a .sar file that contains the .jar and some jboss-service.xml. Is 
there any plugin like the .ear, .war etc. plugins that supports this?

Thanks for a great product - the Wagon plugin will take maven everywhere. We 
are already using a borland-cpp-builder plugin for a project, and the 
benefits of maven over any commercial building product are huge!

/peter


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



RE: Dashboard question and junit aggregator

2003-11-29 Thread Vincent Massol


> -Original Message-
> From: John D Taylor (ROE) [mailto:[EMAIL PROTECTED]
> Sent: 29 November 2003 16:13
> To: [EMAIL PROTECTED]
> Cc: Maven Users List
> Subject: Dashboard question and junit aggregator
> 
> Hi Vincent,
> Thankyou for the Dashboard plugin - I've found it effective and
> straightforward to use (even if I can't get clover reports just now -
> eagerly awaiting the next release...)
> Please find attached some aggregators I have written for junit - do
with
> them what you will.
> One thing I realised while I was writing them is that when you want to
> extract several columns from one report it's essentially a copy and
paste
> job.  Do you have any plans (or is there a way I don't know of) to be
able
> to pass parameters to the jelly script so you can reuse the same
script
> with
> different column names?

That would be a good extension. Please submit a patch if you wish.

Thanks
-Vincent

> John


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



RE: Dashboard question and junit aggregator

2003-11-29 Thread Vincent Massol
Hi John,

Done. However it was more complex. Here's the commit message:

"
Added JUnit aggregators. Thanks to John D Taylor. John I had to change
several things from your patch:
  - remove tabs
  - added missind documentation (xdoc)
  - added missing tests
  - it was not working. More specifically it would not work if the
clover aggregators were used before the junit ones
  - the goal caused by the junit aggregators was not the correct one...
(you were calling "test" whereas it's the junit-report that must be
called)

  Please note that I had to modify both the Clover plugin and the
junit-report one. So if you wish to use the junit aggregators you need
to have the CVS versions of the these 2 plugins installed.
"

Glad you liked the dashboard plugin! 

Thanks
-Vincent

> -Original Message-
> From: John D Taylor (ROE) [mailto:[EMAIL PROTECTED]
> Sent: 29 November 2003 16:13
> To: [EMAIL PROTECTED]
> Cc: Maven Users List
> Subject: Dashboard question and junit aggregator
> 
> Hi Vincent,
> Thankyou for the Dashboard plugin - I've found it effective and
> straightforward to use (even if I can't get clover reports just now -
> eagerly awaiting the next release...)
> Please find attached some aggregators I have written for junit - do
with
> them what you will.
> One thing I realised while I was writing them is that when you want to
> extract several columns from one report it's essentially a copy and
paste
> job.  Do you have any plans (or is there a way I don't know of) to be
able
> to pass parameters to the jelly script so you can reuse the same
script
> with
> different column names?
> John


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



Unknown goal "multiproject:install-callback"

2003-11-29 Thread Jefferson K. French
I'm trying to use multiproject for the first time, but I'm getting an
unknown goal error for multiproject:install-callback. I'm not sure
what I'm doing wrong, because multiproject's plugin.jelly file does
contain an install-callback goal. Has anyone seen this before? It's
quite possible I have something setup wrong in my subproject POMs, but
I don't understand how that could cause the "unknown goal" error.

Here is part of the output log:

$ maven -X multiproject:install
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2-SNAPSHOT

...
Our processing order:
MDB Utils
+
| Executing multiproject:install-callback MDB Utils
| Memory: 2M/3M
+

BUILD FAILED
File.. file:/home/jeff/.maven/plugins/maven-multiproject-plugin-1.2-SNAPSHOT/
Element... maven:reactor
Line.. 184
Column 9
Unknown goal "multiproject:install-callback"
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [multiproject:insta
ll] -- file:/home/jeff/.maven/plugins/maven-multiproject-plugin-1.2-SNAPSHOT/:184:9: 
 Unknown goal "multiproject:install-callback"
at com.werken.werkz.Goal.fire(Goal.java:646)
at com.werken.werkz.Goal.attain(Goal.java:575)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
at org.apache.maven.cli.App.doMain(App.java:546)
at org.apache.maven.cli.App.main(App.java:1113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
pl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
...

Jeff

-- 
mailto:[EMAIL PROTECTED]



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



Re: target/classes not being created - aha.

2003-11-29 Thread John D Taylor (ROE)
Jon,
Did you solve this?
Think I've cracked it - you just need to run an extra goal to force the
missing directories to be created.

So, if you do :
maven clean site
jdepend will fall over.   But if you do something like:
maven clean dist:prepare-bin-filesystem site

it should work.
John

- Original Message - 
From: "Jon Strayer" <[EMAIL PROTECTED]>
To: "'Maven Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2003 12:52 AM
Subject: target/classes not being created.


> When I type the command:
>
> maven clean site:deploy
>
> I get the following error:
> [echo] Generating the PMD Report...
> pmd:report:
> [echo] Running the PMD task with
>
/home/wfausers/wfaoper/.maven/plugins/maven-pmd-plugin-1.2/plugin-resources/
rulesets/basic.xml,/home/wfausers/wfaoper/.maven/plugins/maven-pmd-plugin-1.
2/plugin-resources/rulesets/unusedcode.xml,/home/wfausers/wfaoper/.maven/plu
gins/maven-pmd-plugin-1.2/plugin-resources/rulesets/imports.xml
> ...
> [echo] Converting the PMD report to xdoc ...
>
> [echo] Generating the Metrics...
> maven-jdepend-plugin:report:
> java:prepare-filesystem:
>
> java:compile:
> [echo] Setting Clover compiler
> [echo] Now using primary build.compiler :
> org.apache.tools.ant.taskdefs.CloverCompilerAdapter
> [echo] Compiling to /appl/wfa/WBNT/target/clover/classes
>
> [java]
> [java] Directory does not exist:
> /appl/wfa/WBNT/target/classes
> [java]
> [java] usage:
> [java]
> [java] JDepend [-file ] 
> [directory2 [directory 3] ...]
>
>
> Does anyone have any ideas why the tartget/classes
> directory isn't being created?
>
> -- 
>
>
>
> I like cats, too. Let's exchange recipes.
>
> -
> 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]



Thanks to new PMC members

2003-11-29 Thread Jason van Zyl
http://blogs.codehaus.org/projects/maven/archives/000270.html
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



Maven SCM update

2003-11-29 Thread Jason van Zyl
http://blogs.codehaus.org/projects/maven/archives/000269.html
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



Dashboard question and junit aggregator

2003-11-29 Thread John D Taylor (ROE)
Hi Vincent,
Thankyou for the Dashboard plugin - I've found it effective and
straightforward to use (even if I can't get clover reports just now -
eagerly awaiting the next release...)
Please find attached some aggregators I have written for junit - do with
them what you will.
One thing I realised while I was writing them is that when you want to
extract several columns from one report it's essentially a copy and paste
job.  Do you have any plans (or is there a way I don't know of) to be able
to pass parameters to the jelly script so you can reuse the same script with
different column names?
John


junit_dashboard_aggregators.zip
Description: Zip compressed data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: site:generate failed - repository connection must start with scm[delim]

2003-11-29 Thread Maciek Zywno
Jefferson K. French wrote:

You also need to specify the module you are checking of of CVS. For
example:
 scm:cvs:pserver:[EMAIL PROTECTED]:/cvs:myModule

In your repository connection string, is [EMAIL PROTECTED] somthing you
used for your post to hide the real names, or is that what it actually
contains?
 Jeff
 

thanks, it is ok now
I am just getting to know about maven and try its capabilities.. I 
mean.. no real projects, servers.. :)

I've just found  a nice maven manual so no more lame questions from me 
:-) (I hope)

thanks

maciek

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


Re: site:generate failed - repository connection must start with scm[delim]

2003-11-29 Thread Jefferson K. French
You also need to specify the module you are checking of of CVS. For
example:

  scm:cvs:pserver:[EMAIL PROTECTED]:/cvs:myModule

In your repository connection string, is [EMAIL PROTECTED] somthing you
used for your post to hide the real names, or is that what it actually
contains?

  Jeff

On Sat, 29 Nov 2003, at 12:05:11 [GMT +0100] Maciek Zywno wrote:

> Ben Walding wrote:

>> The repository connection string must start with scm:
>>
>> eg
>>
>> scm:cvs:pserver:[EMAIL PROTECTED]:/foo
>>
>>
> thanks, but when I changed to:

> 
>   scm:cvs:pserver:[EMAIL PROTECTED]:/foo   
>   http://scm.foobar.com   
>   

> I get:

> BUILD FAILED
> File.. file:/C:/Documents and 
> Settings/maciek/.maven/plugins/maven-changelog
> -plugin-1.4-SNAPSHOT/
> Element... changelog:changelog
> Line.. 65
> Column 15
> repository connection string contains less than six tokens

> I don't get it - I copied the simple example project xml and it does not 
> work - could you help once again?

> thanks in advance

> maciek


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

-- 
mailto:[EMAIL PROTECTED]



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



Re: site:generate failed - repository connection must start with scm[delim]

2003-11-29 Thread Maciek Zywno
Ben Walding wrote:

The repository connection string must start with scm:

eg

scm:cvs:pserver:[EMAIL PROTECTED]:/foo


thanks, but when I changed to:


 scm:cvs:pserver:[EMAIL PROTECTED]:/foo   
 http://scm.foobar.com   
  

I get:

BUILD FAILED
File.. file:/C:/Documents and 
Settings/maciek/.maven/plugins/maven-changelog
-plugin-1.4-SNAPSHOT/
Element... changelog:changelog
Line.. 65
Column 15
repository connection string contains less than six tokens

I don't get it - I copied the simple example project xml and it does not 
work - could you help once again?

thanks in advance

maciek

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