Re: [m1] Keeping plugins up to date

2005-08-03 Thread Milos Kleint
if you want to be sure that evenryone builds with the same version of
the plugin, add the plugin as a dependency of the project.

Regards

Milos Kleint

On 8/2/05, Grant Ingersoll [EMAIL PROTECTED] wrote:
 Yeah, I did that which is fine when you know the specifics of what you
 want to update.  I will see if I can come up w/ some script that does it
 for me.
 
 Problem I had was I had a few developers who didn't have the same
 version of the jar-plugin, and were seeing different results.  Being
 able to validate that everyone has the same plugins (and update) would
 be useful, I think
 
 -Grant
 
  [EMAIL PROTECTED] 08/02/05 2:42 PM 
 Grant, there is no single maven command to do that, how about put
 multiple
 maven commands ( see the link) into a batch file?
 
 -D
 
 On 8/2/05, Grant Ingersoll [EMAIL PROTECTED] wrote:
  I see from http://maven.apache.org/start/download.html that there is
  list of plugins that are to be updated for 1.0.2.
 
  Is there a way to update all installed plugins automatically via one
  command?
 
  Thanks,
  Grant
 
 
 -
  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]
 
 
 -
 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: [clover] Release a clover plugin (1.10?) for Clover 1.3.9?

2005-08-03 Thread Edwin Punzalan

Yup.

I have seen several [ANN] messages in this user list.


Gary Gregory wrote:


Does an [ann] get posted here when plugins are released? Should I watch another 
list?

Thanks,
Gary

 


-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED]
Sent: Monday, August 01, 2005 1:29 AM
To: 'Maven Users List'
Subject: RE: [clover] Release a clover plugin (1.10?) for Clover 1.3.9?

Hi Gary,

I'll try to release it sometime this week.

Thanks
-Vincent

   


-Original Message-
From: Gary Gregory [mailto:[EMAIL PROTECTED]
Sent: lundi 1 août 2005 01:24
To: users@maven.apache.org
Subject: [clover] Release a clover plugin (1.10?) for Clover 1.3.9?

Hello:

Can we get a released version of the clover plugin (1.10?) for Clover
1.3.9?

Thanks,
Gary
 


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


 



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



RE: [clover] Release a clover plugin (1.10?) for Clover 1.3.9?

2005-08-03 Thread Vincent Massol


 -Original Message-
 From: Gary Gregory [mailto:[EMAIL PROTECTED]
 Sent: mardi 2 août 2005 17:52
 To: Maven Users List
 Subject: RE: [clover] Release a clover plugin (1.10?) for Clover 1.3.9?
 
 Does an [ann] get posted here when plugins are released?

Yes

 Should I watch
 another list?

No

-Vincent


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



m2 generate-sources goal

2005-08-03 Thread Sidart Kurias
All,

How does the generate-sources goal work. Are there
elements in the pom that can affect what is generated?
For example I am trying to  generate java code from
idl files, does this mean I can use the
generate-sources goal and somehow specify in my pom
which idl compiler to use and what files to use. If so
which elements actually control this behaviour. Or
does this require a  plugin to be written. 

Thank you

Sid



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Changelog returns 0 entries

2005-08-03 Thread Daniel Beland
Hi, 


I have the exact same problem, so I kept on using 1.7.2.

But I really want the new functionalities of 1.8.2 (tag or date
types), and since no one answered your post I tried to find the
problem and finally got it after a lot of diff viewing in the
changelog viewcvs.

It seems they changed the code in 1.8.1 to put quotes around the dates
on windows for users using cvsnt.
(http://jira.codehaus.org/browse/MPCHANGELOG-47)

 if ( System.getProperty( os.name ).startsWith( Windows ) )
 {
 cmd = \ + cmd + \;
 }
 return -d  + cmd;


But they never considered users on windows using either cygwin's cvs
or the GNU cvs for DOS.

So as a workaround you can change the os.name java property but I
don`t guarantee that it will not affect the other plugins (maven
-Dos.name=none maven-changelog-plugin:report)

I opened a bug in jira (http://jira.codehaus.org/browse/MPCHANGELOG-69)

Daniel



On 8/2/05, Jan Tanis [EMAIL PROTECTED] wrote:
 Hello,
 
 I recently started using Maven. I want it to autogenerate reports on our
 repositories. I installend Maven 1.0.2. Brett told me to upgrade the
 changelog plugin, so I did. It does call the CVS server but it will
 alway return 0 entries. When I manual run the log with the following
 command - C:\coat\workspace\cocoscvs log -d 2005-07-032005-08-03 it
 returns 100dreds of entries.
 Following is a part of the debug output of -
 C:\coat\workspace\cocosmaven -X maven-changelog-plugin:report
 
 maven-changelog-plugin:report:
 [echo] Generating the changelog report
 Executing CVS command: log -d 2005-07-032005-08-03
 ChangeSet between 2005-07-03 and 2005-08-03: 0 entries
 attaining goal build:end
 popping off [EMAIL PROTECTED] for
 [EMAIL PROTECTED] in
 maven-xdoc-plugin:maven-xdoc-plugin
 popping off [EMAIL PROTECTED] for
 [EMAIL PROTECTED] in
 maven-pom-plugin:maven-pom-plugin
 popping off [EMAIL PROTECTED] for
 [EMAIL PROTECTED] in
 maven-changelog-plugin:maven-changelog-plugin
 popping off [EMAIL PROTECTED] for
 [EMAIL PROTECTED] in
 maven-artifact-plugin:maven-artifact-plugin
 popping off [EMAIL PROTECTED] for
 [EMAIL PROTECTED] in cocos:cocos
 BUILD SUCCESSFUL
 Final Memory: 3M/5M
 Total time: 3 seconds
 Finished at: Tue Aug 02 08:45:53 CEST 2005
 
 --
 Met Vriendelijke Groet/Kindest Regards
 Jan Tanis (mailto:[EMAIL PROTECTED])
 COAS The Netherlands
 
 
 
 -
 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: Changelog returns 0 entries

2005-08-03 Thread Brett Porter
confirmed. Odd - I'm sure I tested this on Cygwin just the other day
when fixing dev activity...

- Brett

On 8/3/05, Daniel Beland [EMAIL PROTECTED] wrote:
 Hi,
 
 
 I have the exact same problem, so I kept on using 1.7.2.
 
 But I really want the new functionalities of 1.8.2 (tag or date
 types), and since no one answered your post I tried to find the
 problem and finally got it after a lot of diff viewing in the
 changelog viewcvs.
 
 It seems they changed the code in 1.8.1 to put quotes around the dates
 on windows for users using cvsnt.
 (http://jira.codehaus.org/browse/MPCHANGELOG-47)
 
  if ( System.getProperty( os.name ).startsWith( Windows ) 
 )
  {
  cmd = \ + cmd + \;
  }
  return -d  + cmd;
 
 
 But they never considered users on windows using either cygwin's cvs
 or the GNU cvs for DOS.
 
 So as a workaround you can change the os.name java property but I
 don`t guarantee that it will not affect the other plugins (maven
 -Dos.name=none maven-changelog-plugin:report)
 
 I opened a bug in jira (http://jira.codehaus.org/browse/MPCHANGELOG-69)
 
 Daniel
 
 
 
 On 8/2/05, Jan Tanis [EMAIL PROTECTED] wrote:
  Hello,
 
  I recently started using Maven. I want it to autogenerate reports on our
  repositories. I installend Maven 1.0.2. Brett told me to upgrade the
  changelog plugin, so I did. It does call the CVS server but it will
  alway return 0 entries. When I manual run the log with the following
  command - C:\coat\workspace\cocoscvs log -d 2005-07-032005-08-03 it
  returns 100dreds of entries.
  Following is a part of the debug output of -
  C:\coat\workspace\cocosmaven -X maven-changelog-plugin:report
 
  maven-changelog-plugin:report:
  [echo] Generating the changelog report
  Executing CVS command: log -d 2005-07-032005-08-03
  ChangeSet between 2005-07-03 and 2005-08-03: 0 entries
  attaining goal build:end
  popping off [EMAIL PROTECTED] for
  [EMAIL PROTECTED] in
  maven-xdoc-plugin:maven-xdoc-plugin
  popping off [EMAIL PROTECTED] for
  [EMAIL PROTECTED] in
  maven-pom-plugin:maven-pom-plugin
  popping off [EMAIL PROTECTED] for
  [EMAIL PROTECTED] in
  maven-changelog-plugin:maven-changelog-plugin
  popping off [EMAIL PROTECTED] for
  [EMAIL PROTECTED] in
  maven-artifact-plugin:maven-artifact-plugin
  popping off [EMAIL PROTECTED] for
  [EMAIL PROTECTED] in cocos:cocos
  BUILD SUCCESSFUL
  Final Memory: 3M/5M
  Total time: 3 seconds
  Finished at: Tue Aug 02 08:45:53 CEST 2005
 
  --
  Met Vriendelijke Groet/Kindest Regards
  Jan Tanis (mailto:[EMAIL PROTECTED])
  COAS The Netherlands
 
 
 
  -
  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]
 


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



Re: m2 generate-sources goal

2005-08-03 Thread Adam Hardy

Hi Sid,

you would require a plugin that maven can execute during the 
generate-sources step of the lifecycle.


You would configure your plugin into your pom a bit like this for xdoclet:

plugin
  artifactIdmaven-xdoclet-plugin/artifactId
  version1.0-SNAPSHOT/version
  executions
execution
  phasegenerate-sources/phase
  goals
goalxdoclet/goal
  /goals
  configuration
 tasks
   ejbdocletejbdoclet stuff/ejbdoclet
 /tasks
  /configuration
/execution
  /executions
/plugin


Check out the docs on the maven website about writing plugins, which is 
where you would do your code generation.


HTH
Adam


Sidart Kurias on 03/08/05 10:06, wrote:

All,

How does the generate-sources goal work. Are there
elements in the pom that can affect what is generated?
For example I am trying to  generate java code from
idl files, does this mean I can use the
generate-sources goal and somehow specify in my pom
which idl compiler to use and what files to use. If so
which elements actually control this behaviour. Or
does this require a  plugin to be written. 



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



Tag library missing?

2005-08-03 Thread Per Abich
I have just upgraded my scm and multiproject plugins, and now I keep
getting the following errors from Cruisecontrol:

Tag library requested that is not present: 'doc' in plugin:
'maven-scm-plugin-1.5'
Tag library requested that is not present: 'doc' in plugin:
'maven-multiproject-plugin-1.4.1'
Tag library requested that is not present: 'doc' in plugin:
'maven-multiproject-plugin-1.4.1'
Tag library requested that is not present: 'doc' in plugin:
'maven-multiproject-plugin-1.4.1'

I guess, there is something missing/not upgraded in my maven that I
use for cruisecontrol.

Has anyone seem something like it, or knows, how to solve it?

Regards

Per Abich

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



RE: Tag library missing?

2005-08-03 Thread Chedly GUERFALI
Hi Per,
I think you didn't download the scm plugin with maven plugin:download ...
command, but with an external download of the plugin.
Hope it helps.

Chedly

-Message d'origine-
De : Per Abich [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 3 août 2005 13:48
À : users@maven.apache.org
Objet : Tag library missing?


I have just upgraded my scm and multiproject plugins, and now I keep
getting the following errors from Cruisecontrol:

Tag library requested that is not present: 'doc' in plugin:
'maven-scm-plugin-1.5'
Tag library requested that is not present: 'doc' in plugin:
'maven-multiproject-plugin-1.4.1'
Tag library requested that is not present: 'doc' in plugin:
'maven-multiproject-plugin-1.4.1'
Tag library requested that is not present: 'doc' in plugin:
'maven-multiproject-plugin-1.4.1'

I guess, there is something missing/not upgraded in my maven that I
use for cruisecontrol.

Has anyone seem something like it, or knows, how to solve it?

Regards

Per Abich

-
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: Tag library missing?

2005-08-03 Thread Brett Porter
This state can usually be rectified by removing your plugin cache
(which will be generated on next run).

- Brett

On 8/3/05, Chedly GUERFALI [EMAIL PROTECTED] wrote:
 Hi Per,
 I think you didn't download the scm plugin with maven plugin:download ...
 command, but with an external download of the plugin.
 Hope it helps.
 
 Chedly
 
 -Message d'origine-
 De : Per Abich [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi 3 août 2005 13:48
 À : users@maven.apache.org
 Objet : Tag library missing?
 
 
 I have just upgraded my scm and multiproject plugins, and now I keep
 getting the following errors from Cruisecontrol:
 
 Tag library requested that is not present: 'doc' in plugin:
 'maven-scm-plugin-1.5'
 Tag library requested that is not present: 'doc' in plugin:
 'maven-multiproject-plugin-1.4.1'
 Tag library requested that is not present: 'doc' in plugin:
 'maven-multiproject-plugin-1.4.1'
 Tag library requested that is not present: 'doc' in plugin:
 'maven-multiproject-plugin-1.4.1'
 
 I guess, there is something missing/not upgraded in my maven that I
 use for cruisecontrol.
 
 Has anyone seem something like it, or knows, how to solve it?
 
 Regards
 
 Per Abich
 
 -
 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]
 


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



Multiproject build

2005-08-03 Thread gurubaran . kanagaraj
Hi,

  I have a Maven multiproject set up. One of my project is a utility
kind of project which is used by my other modules/projects.

During the build, can i set up a order in which the projects will be built
(or) can i set dependency between my projects so that my utility project
will get built first ?

newbie
gurubaran.



*
This message and any attachments (the message) are confidential
and intended solely for the addressee(s). Any unauthorised use or
dissemination is prohibited.E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall be liable for the message if altered, changed or falsified.
*


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



Re: Tag library missing?

2005-08-03 Thread Per Abich
Removing my plugin cache did the trick... I wonder, what happend...

Thanks for the help

Per Abich

2005/8/3, Brett Porter [EMAIL PROTECTED]:
 This state can usually be rectified by removing your plugin cache
 (which will be generated on next run).
 
 - Brett
 
 On 8/3/05, Chedly GUERFALI [EMAIL PROTECTED] wrote:
  Hi Per,
  I think you didn't download the scm plugin with maven plugin:download ...
  command, but with an external download of the plugin.
  Hope it helps.
 
  Chedly
 
  -Message d'origine-
  De : Per Abich [mailto:[EMAIL PROTECTED]
  Envoyé : mercredi 3 août 2005 13:48
  À : users@maven.apache.org
  Objet : Tag library missing?
 
 
  I have just upgraded my scm and multiproject plugins, and now I keep
  getting the following errors from Cruisecontrol:
 
  Tag library requested that is not present: 'doc' in plugin:
  'maven-scm-plugin-1.5'
  Tag library requested that is not present: 'doc' in plugin:
  'maven-multiproject-plugin-1.4.1'
  Tag library requested that is not present: 'doc' in plugin:
  'maven-multiproject-plugin-1.4.1'
  Tag library requested that is not present: 'doc' in plugin:
  'maven-multiproject-plugin-1.4.1'
 
  I guess, there is something missing/not upgraded in my maven that I
  use for cruisecontrol.
 
  Has anyone seem something like it, or knows, how to solve it?
 
  Regards
 
  Per Abich
 
  -
  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]
 
 
 
 -
 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: Multiproject build

2005-08-03 Thread Per Abich
Just put a dependency in your project.xml so that all project depend
on your utility project. That should do the trick. Currently, there is
no other way of orderig the build process.

Per

2005/8/3, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Hi,
 
   I have a Maven multiproject set up. One of my project is a utility
 kind of project which is used by my other modules/projects.
 
 During the build, can i set up a order in which the projects will be built
 (or) can i set dependency between my projects so that my utility project
 will get built first ?
 
 newbie
 gurubaran.
 
 
 
 *
 This message and any attachments (the message) are confidential
 and intended solely for the addressee(s). Any unauthorised use or
 dissemination is prohibited.E-mails are susceptible to alteration.
 Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
 shall be liable for the message if altered, changed or falsified.
 *
 
 
 -
 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: scm:update error

2005-08-03 Thread Jamie Bisotti
On 8/2/05, Mariano Stampella [EMAIL PROTECTED] wrote:
 
 Hi, I'm Mariano with the same old problem, I use the scm-plugin and when try
 to use the update goal occurs this
 
 [WARNING] Unknown status: '? '.
 [WARNING] Unknown status: 'M '.
 
 That's because when i execute the update goal really executed this:
 
 cvs -f -q update -d
 
 And the result is:
 
 ? .xdoclet
 ? bin
 ? example
 ? iaso.ear
 ? manga.jpg
 ? xdoclet-build.xml
 ? j2ee/jars/javax.servlet.jar
 M .classpath
 M maven.xml
 M project.properties
 
 
 For this reason the update process is truncated.
 
 Somebody can a solution for that?
 
 Thanks
 
 Mariano
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

Are you using the latest SCM plugin?

-- 
Jamie Bisotti
Software Engineer
Lexmark International, Inc.

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



Re: Plugin support for Hibernate 3.0

2005-08-03 Thread Jamie Bisotti
On 5/24/05, Felipe Leme [EMAIL PROTECTED] wrote:
 On Tue, 2005-05-24 at 14:41 -0400, Jamie Bisotti wrote:
 
  So, back to my original questions then...What is the status of the
 
 The status is basically undefined  :-(
 
  Hibernate plugin?  Will it be updated to support 3.0 sometime soon?
 
 I've been too busy lately and haven't realized this last comment:
 
 http://jira.codehaus.org/browse/MPHIBERNATE-14#action_38344
 
 
 If it works as Anthony says (and has the proper test cases :-), I would
 gladly apply it. I will try to take a better look on it later next week
 (this week unfortunately I won't be able to :-(
 
 -- Felipe
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

Has any progress been made on this?  Is no one using H3 w/ Maven?  Or
is everyone just applying the patch themselves?

-- 
Jamie Bisotti

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



Mail notifier configuration in M2 POMs

2005-08-03 Thread Yann Le Du
Hi,

A small question about mail notifiers in Maven 2 POMs (see below).

At first, I'd use notifieraddress (since this is what is displayed in Maven
project-info-reports page), but it turns out that only configurationaddress
seems to be used by Continuum. I wonder which one is correct (though of course
I'm likely to use the second one for the moment) ?

  ciManagement
systemcontinuum/system
urlhttp://host:8080/continuum/servlet/continuum//url
notifiers
  notifier
typemail/type
address[EMAIL PROTECTED]/address
configuration
  address[EMAIL PROTECTED]/address
/configuration
  /notifier
/notifiers
  /ciManagement

Regards,

Yann






___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


When extending a parent project.xml, not everything seems to get inheirited

2005-08-03 Thread Jamie Bisotti
Using Maven 1.0.2, I have the following layout:

trunk
common
project.xml
components
comp1
project.xml
comp2
project.xml
framework
project.xml

where common/project.xml is the parent POM and the other three
project.xml files extend it.  I'm seeing several places where it
elements are not being inheirited.  The organization element is one
example, and resource is another.

The following works fine when it appears in one of the child POMs,
but as soon as I move it to the parent POM, the resources are no
longer getting copied.

resources
resource
directory${basedir}/src/java/directory
includes
include**/*.hbm.xml/include
/includes
filteringfalse/filtering
/resource
...
/resources

Running maven -X java:jar-resources shows no reference to the
resources in the parent, but it does show reference to the few
remaining resources in the child

Not sure if I'm missing something or doing something wrong.  Any
insights would be greatly appreciated.

-- 
Jamie Bisotti

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



Re: When extending a parent project.xml, not everything seems to get inheirited

2005-08-03 Thread Jamie Bisotti
On 8/3/05, Jamie Bisotti [EMAIL PROTECTED] wrote:
 Using Maven 1.0.2, I have the following layout:
 
 trunk
 common
 project.xml
 components
 comp1
 project.xml
 comp2
 project.xml
 framework
 project.xml
 
 where common/project.xml is the parent POM and the other three
 project.xml files extend it.  I'm seeing several places where it
 elements are not being inheirited.  The organization element is one
 example, and resource is another.
 
 The following works fine when it appears in one of the child POMs,
 but as soon as I move it to the parent POM, the resources are no
 longer getting copied.
 
 resources
 resource
 directory${basedir}/src/java/directory
 includes
 include**/*.hbm.xml/include
 /includes
 filteringfalse/filtering
 /resource
 ...
 /resources
 
 Running maven -X java:jar-resources shows no reference to the
 resources in the parent, but it does show reference to the few
 remaining resources in the child
 
 Not sure if I'm missing something or doing something wrong.  Any
 insights would be greatly appreciated.
 
 --
 Jamie Bisotti
 

My previous observations were slightly incorrect.  It seems to depend
on whether or not the child has its own resources section or not. 
My comp1/project.xml DOES NOT have any custom resources, so it has no
resources section of its own; in this case, the parent resources
are used appropritely.  However, my framework/project.xml DOES have a
few custom resources, so it has a resources section of its own, in
addition to the one in parent; in this case, the parent
resources seem to be ignored.

Is this a bug, or is it something that just isn't possible?  Either
way, I think the organization element is still odd.

-- 
Jamie Bisotti

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



NoClassDefFoundError while running test

2005-08-03 Thread Michael Mattox
For some reason my project is giving me NoClassDefFoundError while running
my unit tests.  It's happening on both the server and on my PC so I know
it's not the environment.  The project compiles so I know the dependency
is correct.  I run maven with -X and I see the JAR in the list (at the
top) so I know the JAR is in the classpath.  I have no idea why I would
get a NoClassDefFoundError.  How can it not find the classes?  I've opened
up the JAR with winzip and the classes are inside.  The project has been
working for a month now and then it seems to have stopped.  I'm really
stuck on this.  If anyone has any ideas on how this could even be possible
I'd appreciate it.

Thanks,
Michael



--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


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



RE: Create instructions for Continuous integration for dummies anyone?

2005-08-03 Thread Mayorgaadame, Alex [IT]
Feel free to have a look at what I've done so far 
http://wiki.apache.org/maven/MavenInWindows

This is obviously a work in progress and I'll be updating as I progress.

Any feedback or contributions would be highly appreciated.

Regards,
Alex

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 6:21 PM
To: Maven Users List
Subject: Re: Create instructions for Continuous integration for dummies
anyone?


Feel free to use http://wiki.apache.org/maven/ too, and it could be
incoporated into the Maven CC Plugin website, or the MAven web site if
it is more general than that.

The wiki is currently empty, so you can create what you need :)

Cheers,
Brett

On 8/3/05, Mayorgaadame, Alex [IT] [EMAIL PROTECTED] wrote:
 Anyone that can tell me where the wiki is, so I can star logging my progress. 
 I believe that this can be valuable for other total dummies like me. Given 
 that I'll be reading this over and over I would like to contribute with an 
 Spanish translation, any insights on how to do it would be appreciated too.
 
 Thanks
 Alex Mayorga Adame
 Citigrouo
 Enterprise Applications Engineering
 
 -Original Message-
 From: Mayorgaadame, Alex [IT]
 Sent: Monday, August 01, 2005 5:47 PM
 To: Maven Users List; Jamie Bisotti
 Subject: RE: Continuous integration for dummies anyone?
 
 
 Thanks on your tips. CruiseControl Wiki was down almost all day and I'm yet 
 not able to found the Maven+CruiseControl+CVS manual, maybe I can contribute 
 there. I'll try to get this working tomorrow. Looks to be not very hard.
 
 Thanks on being so nice to newbies here
 Alex Mayorga Adame
 Citigrouo
 Enterprise Applications Engineering
 
 -Original Message-
 From: Jamie Bisotti [mailto:[EMAIL PROTECTED]
 Sent: Monday, August 01, 2005 12:00 PM
 To: Maven Users List
 Subject: Re: Continuous integration for dummies anyone?
 
 
 On 8/1/05, Mayorgaadame, Alex [IT] [EMAIL PROTECTED] wrote:
  Hello all Maven guys and gals:
 
  I'm a total newbie to this stuff, but I've got an assignment to set up a 
  Maven + Cruise Control + CVS thing for a Hello world! application.
 
  Can anybody walk me trough or point me to a comprehensive guide?
 
  I haven't been able to find one yet. I promise to log everything I learn to 
  my blog or to any wiki that would help new users of this great product.
 
  Regards
  Alex Mayorga Adame
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 Check out the Wiki on the CruiseControl site; I believe it has a
 Maven/CC/CVS scenario.
 Basically, get your project building with Maven is the first/most
 important step.  After that, it's just a matter of setting up CC's
 config.xml (fairly simple/straight forward), and you should be off and
 running.  I'd suggest updating to the latest
 maven-cruisecontrol-plugin and using it to generate the initial
 config.xml; then you can tweak that as you get more familiar with
 things.
 
 
 --
 Jamie Bisotti
 Software Engineer
 Lexmark International, Inc.
 
 -
 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]
 
 
 -
 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]


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



Re: NoClassDefFoundError while running test

2005-08-03 Thread John Casey

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Can you be a little more specific? I'm assuming you're using Maven
1.x...? Also, which class is it trying unsuccessfully to find?

Without that info, it'll be hard-to-impossible for anyone to help much,
I'm afraid...

- -john

Michael Mattox wrote:
| For some reason my project is giving me NoClassDefFoundError while running
| my unit tests.  It's happening on both the server and on my PC so I know
| it's not the environment.  The project compiles so I know the dependency
| is correct.  I run maven with -X and I see the JAR in the list (at the
| top) so I know the JAR is in the classpath.  I have no idea why I would
| get a NoClassDefFoundError.  How can it not find the classes?  I've opened
| up the JAR with winzip and the classes are inside.  The project has been
| working for a month now and then it seems to have stopped.  I'm really
| stuck on this.  If anyone has any ideas on how this could even be possible
| I'd appreciate it.
|
| Thanks,
| Michael
|
|
|
| --
| This E-mail is confidential.  It may also be legally privileged.  If
you are
| not the addressee you may not copy, forward, disclose or use any part
of it.
| If you have received this message in error, please delete it and all
copies
| from your system and notify the sender immediately by return E-mail.
| Internet communications cannot be guaranteed to be timely, secure,
error or
| virus-free.  The sender does not accept liability for any errors or
omissions.
|
|
| -
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFC8PcmK3h2CZwO/4URAlP+AJ0Z9wXy9k5csqYlv3ElD+8Eo0nqeQCgsU64
davjHbkHP71kUf4efxGgkUA=
=rZ6d
-END PGP SIGNATURE-

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



email plugin for m1?

2005-08-03 Thread Matthew L Daniel
I googled for such a device but did not find anything. Is there a
mechanism for sending email from Maven 1? I am familiar with ant:mail,
but wondered if that was the right way or if there was a more Mavenized
method.

  Thanks,
  -- /v\atthew

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



Re: email plugin for m1?

2005-08-03 Thread dan tran
if you like, 
I can send you a custom plugin 

-D

On 8/3/05, Matthew L Daniel [EMAIL PROTECTED] wrote:
 I googled for such a device but did not find anything. Is there a
 mechanism for sending email from Maven 1? I am familiar with ant:mail,
 but wondered if that was the right way or if there was a more Mavenized
 method.
 
  Thanks,
  -- /v\atthew
 
 -
 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: Plugin support for Hibernate 3.0

2005-08-03 Thread Todd Nine
I have not tried the specific maven plugin, however I have used the jelly 
ant tasks to use the hibernate tools 3 alpha release. Give that a shot.

On 8/3/05, Jamie Bisotti [EMAIL PROTECTED] wrote:
 
 On 5/24/05, Felipe Leme [EMAIL PROTECTED] wrote:
  On Tue, 2005-05-24 at 14:41 -0400, Jamie Bisotti wrote:
 
   So, back to my original questions then...What is the status of the
 
  The status is basically undefined :-(
 
   Hibernate plugin? Will it be updated to support 3.0 sometime soon?
 
  I've been too busy lately and haven't realized this last comment:
 
  http://jira.codehaus.org/browse/MPHIBERNATE-14#action_38344
 
 
  If it works as Anthony says (and has the proper test cases :-), I would
  gladly apply it. I will try to take a better look on it later next week
  (this week unfortunately I won't be able to :-(
 
  -- Felipe
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 Has any progress been made on this? Is no one using H3 w/ Maven? Or
 is everyone just applying the patch themselves?
 
 --
 Jamie Bisotti
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



Checkstyle for Java 5 question

2005-08-03 Thread Aaron Colwell
I'm using Maven 1.1 on some Java 5 source. Checkstyle appeared to be having
problems with the generic syntax. I discovered that Checkstyle 4.0-beta4
have Java 5 support and so I want maven to use that. I wasn't sure how to
get maven to download the new version of checkstyle. After looking around 
the .maven directory, I noticed that 

.maven/cache/maven-checkstyle-plugin-2.5/project.xml 

had dependency information for version 3.4 of checkstyle. I changed these
versions to 4.0-beta4 and maven appeared to download the appropriate jars.
Unfortunately now I get the following error

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1

build:start:

checkstyle:init:

checkstyle:report:
checkstyle:run:
[echo] Using file:C:/Documents and 
Settings/Administrator/.maven/cache/maven-checkstyle-plugin-2.5/plugin-resources/sun_checks.xml
 for checkstyle ...

BUILD FAILED
File.. C:\Documents and 
Settings\Administrator\.maven\cache\maven-checkstyle-plugin-2.5\plugin.jelly
Element... ant:checkstyle
Line.. 144
Column 63
org/apache/commons/beanutils/ConvertUtilsBean
Total time   : 2 seconds
Finished at  : Wednesday, August 3, 2005 12:54:54 PM PDT


Here are my questions:

Did I do the proper thing to get maven to use a newer version of checkstyle?

Does anyone know what might be going wrong here?

Thanks,

Aaron

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



Re: Checkstyle for Java 5 question

2005-08-03 Thread Carlos Sanchez
Hi,

You need the latest version of the checkstyle plugin from SVN. You can
build it by yourself or use the one in
http://cvs.apache.org/repository/maven/plugins/maven-checkstyle-plugin-3.0-SNAPSHOT.jar
(which may not be the latest one)

Regards

On 8/3/05, Aaron Colwell [EMAIL PROTECTED] wrote:
 I'm using Maven 1.1 on some Java 5 source. Checkstyle appeared to be having
 problems with the generic syntax. I discovered that Checkstyle 4.0-beta4
 have Java 5 support and so I want maven to use that. I wasn't sure how to
 get maven to download the new version of checkstyle. After looking around
 the .maven directory, I noticed that
 
 .maven/cache/maven-checkstyle-plugin-2.5/project.xml
 
 had dependency information for version 3.4 of checkstyle. I changed these
 versions to 4.0-beta4 and maven appeared to download the appropriate jars.
 Unfortunately now I get the following error
 
  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1
 
 build:start:
 
 checkstyle:init:
 
 checkstyle:report:
 checkstyle:run:
 [echo] Using file:C:/Documents and 
 Settings/Administrator/.maven/cache/maven-checkstyle-plugin-2.5/plugin-resources/sun_checks.xml
  for checkstyle ...
 
 BUILD FAILED
 File.. C:\Documents and 
 Settings\Administrator\.maven\cache\maven-checkstyle-plugin-2.5\plugin.jelly
 Element... ant:checkstyle
 Line.. 144
 Column 63
 org/apache/commons/beanutils/ConvertUtilsBean
 Total time   : 2 seconds
 Finished at  : Wednesday, August 3, 2005 12:54:54 PM PDT
 
 
 Here are my questions:
 
 Did I do the proper thing to get maven to use a newer version of checkstyle?
 
 Does anyone know what might be going wrong here?
 
 Thanks,
 
 Aaron
 
 -
 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: Checkstyle for Java 5 question

2005-08-03 Thread Aaron Colwell
Thanks. Downloading the snapshot seemed to fix the problem.

Aaron

On Wed, Aug 03, 2005 at 01:01:32PM -0700, Carlos Sanchez wrote:
 Hi,
 
 You need the latest version of the checkstyle plugin from SVN. You can
 build it by yourself or use the one in
 http://cvs.apache.org/repository/maven/plugins/maven-checkstyle-plugin-3.0-SNAPSHOT.jar
 (which may not be the latest one)
 
 Regards
 
 
 -
 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]



[m2] depend on version-less jars?

2005-08-03 Thread Joe Futrelle
My project depends on Globus jars, many of which have no version  
information. For the moment I've taken the Globus COG4 project's m1  
repository and converted it to an m2 repository using bogus version  
numbers for all the version-less jars. Is there a better way, now  
that the jar tag for dependencies has been removed in m2?


Apologies if the answer is staring me in the face.

--
Joe Futrelle
Digital Library Technologies, NCSA
http://www.ncsa.uiuc.edu/People/futrelle


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



Re: Create instructions for Continuous integration for dummies anyone?

2005-08-03 Thread Joe Futrelle
If you have a little $ to spend, there's a tutorial for setting up  
cruise control with Maven 1 in the O'Reilly Developers' Notebook for  
Maven, but I haven't tried it.


On Aug 3, 2005, at 11:56 AM, Mayorgaadame, Alex [IT] wrote:

Feel free to have a look at what I've done so far http:// 
wiki.apache.org/maven/MavenInWindows


This is obviously a work in progress and I'll be updating as I  
progress.


Any feedback or contributions would be highly appreciated.

Regards,
Alex

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 6:21 PM
To: Maven Users List
Subject: Re: Create instructions for Continuous integration for  
dummies

anyone?


Feel free to use http://wiki.apache.org/maven/ too, and it could be
incoporated into the Maven CC Plugin website, or the MAven web site if
it is more general than that.

The wiki is currently empty, so you can create what you need :)

Cheers,
Brett

On 8/3/05, Mayorgaadame, Alex [IT]  
[EMAIL PROTECTED] wrote:


Anyone that can tell me where the wiki is, so I can star logging  
my progress. I believe that this can be valuable for other total  
dummies like me. Given that I'll be reading this over and over I  
would like to contribute with an Spanish translation, any insights  
on how to do it would be appreciated too.


Thanks
Alex Mayorga Adame
Citigrouo
Enterprise Applications Engineering

-Original Message-
From: Mayorgaadame, Alex [IT]
Sent: Monday, August 01, 2005 5:47 PM
To: Maven Users List; Jamie Bisotti
Subject: RE: Continuous integration for dummies anyone?


Thanks on your tips. CruiseControl Wiki was down almost all day  
and I'm yet not able to found the Maven+CruiseControl+CVS manual,  
maybe I can contribute there. I'll try to get this working  
tomorrow. Looks to be not very hard.


Thanks on being so nice to newbies here
Alex Mayorga Adame
Citigrouo
Enterprise Applications Engineering

-Original Message-
From: Jamie Bisotti [mailto:[EMAIL PROTECTED]
Sent: Monday, August 01, 2005 12:00 PM
To: Maven Users List
Subject: Re: Continuous integration for dummies anyone?


On 8/1/05, Mayorgaadame, Alex [IT]  
[EMAIL PROTECTED] wrote:



Hello all Maven guys and gals:

I'm a total newbie to this stuff, but I've got an assignment to  
set up a Maven + Cruise Control + CVS thing for a Hello world!  
application.


Can anybody walk me trough or point me to a comprehensive guide?

I haven't been able to find one yet. I promise to log everything  
I learn to my blog or to any wiki that would help new users of  
this great product.


Regards
Alex Mayorga Adame

 
-

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





Check out the Wiki on the CruiseControl site; I believe it has a
Maven/CC/CVS scenario.
Basically, get your project building with Maven is the first/most
important step.  After that, it's just a matter of setting up CC's
config.xml (fairly simple/straight forward), and you should be off  
and

running.  I'd suggest updating to the latest
maven-cruisecontrol-plugin and using it to generate the initial
config.xml; then you can tweak that as you get more familiar with
things.


--
Jamie Bisotti
Software Engineer
Lexmark International, Inc.

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


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


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




--
Joe Futrelle
Digital Library Technologies, NCSA
http://www.ncsa.uiuc.edu/People/futrelle


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



Re: Create instructions for Continuous integration for dummies anyone?

2005-08-03 Thread Carlos Sanchez
I recommend the Maven Developers Notebook chapter about Continuous
Integration, it's really good.

On 8/3/05, Joe Futrelle [EMAIL PROTECTED] wrote:
 If you have a little $ to spend, there's a tutorial for setting up
 cruise control with Maven 1 in the O'Reilly Developers' Notebook for
 Maven, but I haven't tried it.
 
 On Aug 3, 2005, at 11:56 AM, Mayorgaadame, Alex [IT] wrote:
 
  Feel free to have a look at what I've done so far http://
  wiki.apache.org/maven/MavenInWindows
 
  This is obviously a work in progress and I'll be updating as I
  progress.
 
  Any feedback or contributions would be highly appreciated.
 
  Regards,
  Alex
 
  -Original Message-
  From: Brett Porter [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, August 02, 2005 6:21 PM
  To: Maven Users List
  Subject: Re: Create instructions for Continuous integration for
  dummies
  anyone?
 
 
  Feel free to use http://wiki.apache.org/maven/ too, and it could be
  incoporated into the Maven CC Plugin website, or the MAven web site if
  it is more general than that.
 
  The wiki is currently empty, so you can create what you need :)
 
  Cheers,
  Brett
 
  On 8/3/05, Mayorgaadame, Alex [IT]
  [EMAIL PROTECTED] wrote:
 
  Anyone that can tell me where the wiki is, so I can star logging
  my progress. I believe that this can be valuable for other total
  dummies like me. Given that I'll be reading this over and over I
  would like to contribute with an Spanish translation, any insights
  on how to do it would be appreciated too.
 
  Thanks
  Alex Mayorga Adame
  Citigrouo
  Enterprise Applications Engineering
 
  -Original Message-
  From: Mayorgaadame, Alex [IT]
  Sent: Monday, August 01, 2005 5:47 PM
  To: Maven Users List; Jamie Bisotti
  Subject: RE: Continuous integration for dummies anyone?
 
 
  Thanks on your tips. CruiseControl Wiki was down almost all day
  and I'm yet not able to found the Maven+CruiseControl+CVS manual,
  maybe I can contribute there. I'll try to get this working
  tomorrow. Looks to be not very hard.
 
  Thanks on being so nice to newbies here
  Alex Mayorga Adame
  Citigrouo
  Enterprise Applications Engineering
 
  -Original Message-
  From: Jamie Bisotti [mailto:[EMAIL PROTECTED]
  Sent: Monday, August 01, 2005 12:00 PM
  To: Maven Users List
  Subject: Re: Continuous integration for dummies anyone?
 
 
  On 8/1/05, Mayorgaadame, Alex [IT]
  [EMAIL PROTECTED] wrote:
 
  Hello all Maven guys and gals:
 
  I'm a total newbie to this stuff, but I've got an assignment to
  set up a Maven + Cruise Control + CVS thing for a Hello world!
  application.
 
  Can anybody walk me trough or point me to a comprehensive guide?
 
  I haven't been able to find one yet. I promise to log everything
  I learn to my blog or to any wiki that would help new users of
  this great product.
 
  Regards
  Alex Mayorga Adame
 
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
  Check out the Wiki on the CruiseControl site; I believe it has a
  Maven/CC/CVS scenario.
  Basically, get your project building with Maven is the first/most
  important step.  After that, it's just a matter of setting up CC's
  config.xml (fairly simple/straight forward), and you should be off
  and
  running.  I'd suggest updating to the latest
  maven-cruisecontrol-plugin and using it to generate the initial
  config.xml; then you can tweak that as you get more familiar with
  things.
 
 
  --
  Jamie Bisotti
  Software Engineer
  Lexmark International, Inc.
 
  -
  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]
 
 
  -
  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]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 --
 Joe Futrelle
 Digital Library Technologies, NCSA
 http://www.ncsa.uiuc.edu/People/futrelle
 
 
 -
 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: Create instructions for Continuous integration for dummies anyone?

2005-08-03 Thread Mayorgaadame, Alex [IT]
Guess what? No much money here, my card is still maxed out after the PSP 
release =)

I guess I'll learn the hard way. But I'll post as much as I can to the Wiki, 
for newbies to come.

Thanks anyway.
Alex



-Original Message-
From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 03, 2005 4:51 PM
To: Maven Users List
Subject: Re: Create instructions for Continuous integration for dummies
anyone?


I recommend the Maven Developers Notebook chapter about Continuous
Integration, it's really good.

On 8/3/05, Joe Futrelle [EMAIL PROTECTED] wrote:
 If you have a little $ to spend, there's a tutorial for setting up
 cruise control with Maven 1 in the O'Reilly Developers' Notebook for
 Maven, but I haven't tried it.
 
 On Aug 3, 2005, at 11:56 AM, Mayorgaadame, Alex [IT] wrote:
 
  Feel free to have a look at what I've done so far http://
  wiki.apache.org/maven/MavenInWindows
 
  This is obviously a work in progress and I'll be updating as I
  progress.
 
  Any feedback or contributions would be highly appreciated.
 
  Regards,
  Alex
 
  -Original Message-
  From: Brett Porter [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, August 02, 2005 6:21 PM
  To: Maven Users List
  Subject: Re: Create instructions for Continuous integration for
  dummies
  anyone?
 
 
  Feel free to use http://wiki.apache.org/maven/ too, and it could be
  incoporated into the Maven CC Plugin website, or the MAven web site if
  it is more general than that.
 
  The wiki is currently empty, so you can create what you need :)
 
  Cheers,
  Brett
 
  On 8/3/05, Mayorgaadame, Alex [IT]
  [EMAIL PROTECTED] wrote:
 
  Anyone that can tell me where the wiki is, so I can star logging
  my progress. I believe that this can be valuable for other total
  dummies like me. Given that I'll be reading this over and over I
  would like to contribute with an Spanish translation, any insights
  on how to do it would be appreciated too.
 
  Thanks
  Alex Mayorga Adame
  Citigrouo
  Enterprise Applications Engineering
 
  -Original Message-
  From: Mayorgaadame, Alex [IT]
  Sent: Monday, August 01, 2005 5:47 PM
  To: Maven Users List; Jamie Bisotti
  Subject: RE: Continuous integration for dummies anyone?
 
 
  Thanks on your tips. CruiseControl Wiki was down almost all day
  and I'm yet not able to found the Maven+CruiseControl+CVS manual,
  maybe I can contribute there. I'll try to get this working
  tomorrow. Looks to be not very hard.
 
  Thanks on being so nice to newbies here
  Alex Mayorga Adame
  Citigrouo
  Enterprise Applications Engineering
 
  -Original Message-
  From: Jamie Bisotti [mailto:[EMAIL PROTECTED]
  Sent: Monday, August 01, 2005 12:00 PM
  To: Maven Users List
  Subject: Re: Continuous integration for dummies anyone?
 
 
  On 8/1/05, Mayorgaadame, Alex [IT]
  [EMAIL PROTECTED] wrote:
 
  Hello all Maven guys and gals:
 
  I'm a total newbie to this stuff, but I've got an assignment to
  set up a Maven + Cruise Control + CVS thing for a Hello world!
  application.
 
  Can anybody walk me trough or point me to a comprehensive guide?
 
  I haven't been able to find one yet. I promise to log everything
  I learn to my blog or to any wiki that would help new users of
  this great product.
 
  Regards
  Alex Mayorga Adame
 
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
  Check out the Wiki on the CruiseControl site; I believe it has a
  Maven/CC/CVS scenario.
  Basically, get your project building with Maven is the first/most
  important step.  After that, it's just a matter of setting up CC's
  config.xml (fairly simple/straight forward), and you should be off
  and
  running.  I'd suggest updating to the latest
  maven-cruisecontrol-plugin and using it to generate the initial
  config.xml; then you can tweak that as you get more familiar with
  things.
 
 
  --
  Jamie Bisotti
  Software Engineer
  Lexmark International, Inc.
 
  -
  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]
 
 
  -
  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]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 --
 Joe Futrelle
 Digital Library Technologies, NCSA
 

Checkstyle Chokes on Java 5.0 Constructs

2005-08-03 Thread Keith Bennett
All -

I am new to Maven, and am using version 1.  I recently downloaded and
installed it, so I'm pretty sure I have recent files.

I'm running among other things a checkstyle report, and it chokes on
the Java 5.0 syntax ('VectorMyClass' and 'for (Object object :
objects)').  The console output is included below.

My maven repository checkstyle/jars directory contains version 3.4
plugins.  How does it know where to find the checkstyle jar file to
use?  I tried deleting the 3.4 files and replacing them with 3.5 files,
but it knew it wanted 3.4 files and redownloaded them.  Is this
hardcoded into the plugin?

Do you know what I have to do to get checkstyle to accept the new Java
5.0 syntax?

Thanks for any help,
Keith




checkstyle:run:
[echo] Using
file:/home/kbennett/.maven/cache/maven-checkstyle-plugin-2.5/plugin-resources/sun_checks.xml
for checkstyle ...
/home/kbennett/3dTopo/src/main/java/com/lsi_gis/topology/prototype/database/FeatureManager.java:104:12:
unexpected token: Vector
/home/kbennett/3dTopo/src/main/java/com/lsi_gis/topology/prototype/util/PickManager.java:242:25:
unexpected token: object
 




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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



Re: Checkstyle Chokes on Java 5.0 Constructs

2005-08-03 Thread Carlos Sanchez
Check today's thread called Checkstyle for Java 5 question, solution follows:

 Hi,

 You need the latest version of the checkstyle plugin from SVN. You can
 build it by yourself or use the one in
 http://cvs.apache.org/repository/maven/plugins/maven-checkstyle-plugin-3.0-SNAPSHOT.jar
 (which may not be the latest one)

 Regards



On 8/3/05, Keith Bennett [EMAIL PROTECTED] wrote:
 All -
 
 I am new to Maven, and am using version 1.  I recently downloaded and
 installed it, so I'm pretty sure I have recent files.
 
 I'm running among other things a checkstyle report, and it chokes on
 the Java 5.0 syntax ('VectorMyClass' and 'for (Object object :
 objects)').  The console output is included below.
 
 My maven repository checkstyle/jars directory contains version 3.4
 plugins.  How does it know where to find the checkstyle jar file to
 use?  I tried deleting the 3.4 files and replacing them with 3.5 files,
 but it knew it wanted 3.4 files and redownloaded them.  Is this
 hardcoded into the plugin?
 
 Do you know what I have to do to get checkstyle to accept the new Java
 5.0 syntax?
 
 Thanks for any help,
 Keith
 
 
 
 
 checkstyle:run:
 [echo] Using
 file:/home/kbennett/.maven/cache/maven-checkstyle-plugin-2.5/plugin-resources/sun_checks.xml
 for checkstyle ...
 /home/kbennett/3dTopo/src/main/java/com/lsi_gis/topology/prototype/database/FeatureManager.java:104:12:
 unexpected token: Vector
 /home/kbennett/3dTopo/src/main/java/com/lsi_gis/topology/prototype/util/PickManager.java:242:25:
 unexpected token: object
 
 
 
 
 
 Start your day with Yahoo! - make it your home page
 http://www.yahoo.com/r/hs
 
 
 -
 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: When extending a parent project.xml, not everything seems to get inheirited

2005-08-03 Thread Brett Porter
Yes, resources are replaced, not merged. The only lists merged are
dependencies, developers and contributors.

Organization should be inherited - and I believe there are unit tests
to prove it at multiple levels. Can you provide a test case?

Thanks,
Brett

On 8/4/05, Jamie Bisotti [EMAIL PROTECTED] wrote:
 On 8/3/05, Jamie Bisotti [EMAIL PROTECTED] wrote:
  Using Maven 1.0.2, I have the following layout:
 
  trunk
  common
  project.xml
  components
  comp1
  project.xml
  comp2
  project.xml
  framework
  project.xml
 
  where common/project.xml is the parent POM and the other three
  project.xml files extend it.  I'm seeing several places where it
  elements are not being inheirited.  The organization element is one
  example, and resource is another.
 
  The following works fine when it appears in one of the child POMs,
  but as soon as I move it to the parent POM, the resources are no
  longer getting copied.
 
  resources
  resource
  directory${basedir}/src/java/directory
  includes
  include**/*.hbm.xml/include
  /includes
  filteringfalse/filtering
  /resource
  ...
  /resources
 
  Running maven -X java:jar-resources shows no reference to the
  resources in the parent, but it does show reference to the few
  remaining resources in the child
 
  Not sure if I'm missing something or doing something wrong.  Any
  insights would be greatly appreciated.
 
  --
  Jamie Bisotti
 
 
 My previous observations were slightly incorrect.  It seems to depend
 on whether or not the child has its own resources section or not.
 My comp1/project.xml DOES NOT have any custom resources, so it has no
 resources section of its own; in this case, the parent resources
 are used appropritely.  However, my framework/project.xml DOES have a
 few custom resources, so it has a resources section of its own, in
 addition to the one in parent; in this case, the parent
 resources seem to be ignored.
 
 Is this a bug, or is it something that just isn't possible?  Either
 way, I think the organization element is still odd.
 
 --
 Jamie Bisotti
 
 -
 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]



M[1.1] Multiproject Issue

2005-08-03 Thread Curtis, Harrison
I'm trying to run a multproject under Mave 1.1.  This project works fine
under 1.0.2.  There seems to be a problem with the artifact-install
(which is probably a configuration problem).  Can someone suggest what
action to take to get the multiproject to build?

The following is the error after the first project's jar is built:
 
BUILD FAILED
File.. C:\Documents and
Settings\curtish\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jel
ly
Element... maven:reactor
Line.. 218
Column -1
Unable to obtain goal [multiproject:install-callback] -- C:\Documents
and
Settings\curtish\.maven\cache\maven-artifact-plugin-1.5.2\plugin.jelly:6
2:-1: artifact:artifact-install
org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V
Total time   : 7 seconds
Finished at  : Wednesday, August 3, 2005 4:18:05 PM MDT

Bud Curtis
JDIMS Project
L-3 Communications
(719) 637-5633

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



Re: M[1.1] Multiproject Issue

2005-08-03 Thread Brett Porter
This is a bug in the Maven 1.1 release.

You can download the latest artifact plugin to correct it:

maven plugin:download -DartifactId=maven-artifact-plugin -Dversion=1.6
-DgroupId=maven

Cheers,
Brett

On 8/4/05, Curtis, Harrison [EMAIL PROTECTED] wrote:
 I'm trying to run a multproject under Mave 1.1.  This project works fine
 under 1.0.2.  There seems to be a problem with the artifact-install
 (which is probably a configuration problem).  Can someone suggest what
 action to take to get the multiproject to build?
 
 The following is the error after the first project's jar is built:
 
 BUILD FAILED
 File.. C:\Documents and
 Settings\curtish\.maven\cache\maven-multiproject-plugin-1.4.1\plugin.jel
 ly
 Element... maven:reactor
 Line.. 218
 Column -1
 Unable to obtain goal [multiproject:install-callback] -- C:\Documents
 and
 Settings\curtish\.maven\cache\maven-artifact-plugin-1.5.2\plugin.jelly:6
 2:-1: artifact:artifact-install
 org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V
 Total time   : 7 seconds
 Finished at  : Wednesday, August 3, 2005 4:18:05 PM MDT
 
 Bud Curtis
 JDIMS Project
 L-3 Communications
 (719) 637-5633
 
 -
 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]



SQL/DDL report plugin?

2005-08-03 Thread Jason Dillon
Does anyone know of any SQL/DDL report plugin that will take a .sql with
create statements and render a nice image suitable for displaying in a
project's generated website?

Or if not a plugin, anything javaish that could take some sql and render it?

--jason


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

[M2] Forking Surefire Test

2005-08-03 Thread Rod Coffin
Does anyone know if there is a way to fork surefire unit tests? I have a 
particular scenario where this appears to be a requirement. I know how to do 
this with Ant and M1 but not M2. Any help would certainly be appreciated.
 Rod


Re: [M2] Forking Surefire Test

2005-08-03 Thread Brett Porter
Hi Rod,

This has been requested (and is in JIRA), but hasn't been implemented
yet. I'd be happy to provide guidance to anyone looking to contribute
that.

Nice article on DevX by the way - and please feel free to drop the
developers list a line if you are writing any in the future. We're
always happy to give feedback.

Cheers,
Brett

On 8/4/05, Rod Coffin [EMAIL PROTECTED] wrote:
 Does anyone know if there is a way to fork surefire unit tests? I have a
 particular scenario where this appears to be a requirement. I know how to do
 this with Ant and M1 but not M2. Any help would certainly be appreciated.
  Rod
 


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



Re: m2 generate-sources goal

2005-08-03 Thread Sidart Kurias
Adam

Thank you, 

You're example makes it perfectly clear what I need to
do. I was confusing the phase with a goal.


Thanks
Sid

--- Adam Hardy [EMAIL PROTECTED] wrote:

 Hi Sid,
 
 you would require a plugin that maven can execute
 during the 
 generate-sources step of the lifecycle.
 
 You would configure your plugin into your pom a bit
 like this for xdoclet:
 
 plugin
artifactIdmaven-xdoclet-plugin/artifactId
version1.0-SNAPSHOT/version
executions
  execution
phasegenerate-sources/phase
goals
  goalxdoclet/goal
/goals
configuration
   tasks
 ejbdocletejbdoclet stuff/ejbdoclet
   /tasks
/configuration
  /execution
/executions
 /plugin
 
 
 Check out the docs on the maven website about
 writing plugins, which is 
 where you would do your code generation.
 
 HTH
 Adam
 
 
 Sidart Kurias on 03/08/05 10:06, wrote:
  All,
  
  How does the generate-sources goal work. Are there
  elements in the pom that can affect what is
 generated?
  For example I am trying to  generate java code
 from
  idl files, does this mean I can use the
  generate-sources goal and somehow specify in my
 pom
  which idl compiler to use and what files to use.
 If so
  which elements actually control this behaviour. Or
  does this require a  plugin to be written. 
 
 

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





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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



Re: Create instructions for Continuous integration for dummies anyone?

2005-08-03 Thread Brett Porter
This looks good, but so far I don't see the difference with the
install instructions on the Maven website. Maybe this part would be
better as a patch against that to enhance what is already there?

- Brett

On 8/4/05, Mayorgaadame, Alex [IT] [EMAIL PROTECTED] wrote:
 Feel free to have a look at what I've done so far 
 http://wiki.apache.org/maven/MavenInWindows
 
 This is obviously a work in progress and I'll be updating as I progress.
 
 Any feedback or contributions would be highly appreciated.
 
 Regards,
 Alex
 
 -Original Message-
 From: Brett Porter [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 02, 2005 6:21 PM
 To: Maven Users List
 Subject: Re: Create instructions for Continuous integration for dummies
 anyone?
 
 
 Feel free to use http://wiki.apache.org/maven/ too, and it could be
 incoporated into the Maven CC Plugin website, or the MAven web site if
 it is more general than that.
 
 The wiki is currently empty, so you can create what you need :)
 
 Cheers,
 Brett
 
 On 8/3/05, Mayorgaadame, Alex [IT] [EMAIL PROTECTED] wrote:
  Anyone that can tell me where the wiki is, so I can star logging my 
  progress. I believe that this can be valuable for other total dummies like 
  me. Given that I'll be reading this over and over I would like to 
  contribute with an Spanish translation, any insights on how to do it would 
  be appreciated too.
 
  Thanks
  Alex Mayorga Adame
  Citigrouo
  Enterprise Applications Engineering
 
  -Original Message-
  From: Mayorgaadame, Alex [IT]
  Sent: Monday, August 01, 2005 5:47 PM
  To: Maven Users List; Jamie Bisotti
  Subject: RE: Continuous integration for dummies anyone?
 
 
  Thanks on your tips. CruiseControl Wiki was down almost all day and I'm yet 
  not able to found the Maven+CruiseControl+CVS manual, maybe I can 
  contribute there. I'll try to get this working tomorrow. Looks to be not 
  very hard.
 
  Thanks on being so nice to newbies here
  Alex Mayorga Adame
  Citigrouo
  Enterprise Applications Engineering
 
  -Original Message-
  From: Jamie Bisotti [mailto:[EMAIL PROTECTED]
  Sent: Monday, August 01, 2005 12:00 PM
  To: Maven Users List
  Subject: Re: Continuous integration for dummies anyone?
 
 
  On 8/1/05, Mayorgaadame, Alex [IT] [EMAIL PROTECTED] wrote:
   Hello all Maven guys and gals:
  
   I'm a total newbie to this stuff, but I've got an assignment to set up a 
   Maven + Cruise Control + CVS thing for a Hello world! application.
  
   Can anybody walk me trough or point me to a comprehensive guide?
  
   I haven't been able to find one yet. I promise to log everything I learn 
   to my blog or to any wiki that would help new users of this great product.
  
   Regards
   Alex Mayorga Adame
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  Check out the Wiki on the CruiseControl site; I believe it has a
  Maven/CC/CVS scenario.
  Basically, get your project building with Maven is the first/most
  important step.  After that, it's just a matter of setting up CC's
  config.xml (fairly simple/straight forward), and you should be off and
  running.  I'd suggest updating to the latest
  maven-cruisecontrol-plugin and using it to generate the initial
  config.xml; then you can tweak that as you get more familiar with
  things.
 
 
  --
  Jamie Bisotti
  Software Engineer
  Lexmark International, Inc.
 
  -
  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]
 
 
  -
  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]
 


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