chicken and egg

2003-12-22 Thread Charles Tassoni
 I've got a chicken-and-egg problem.  I need to declare the jars 
created by my project inside project.xml-- otherwise I couldn't use maven to 
distribute them to the necessary ears, wars, etc.  And that means that when 
I build maven will load earlier versions of my jars into the repository, and 
that maven will include those jars in the classpath during compilation of my 
project.
Sounds innocous, but now I'm building new jars based on outdated 
versions of those very same jars.  And it can happen that an incosistency 
between my project's jars in the repository and my current source can cause 
compilation to fail.  For example, sometime after my last build I moved one 
particular class into a different package.  Then, when it came time for the 
next production build, the now outdated project jars in the repository 
became part of the classpath, and compilation failed because the compiler 
still expected my class to be in the old package.
This must be a fairly general problem.  Does anyone know what the 
solution is?

_
Worried about inbox overload? Get MSN Extra Storage now!  
http://join.msn.com/?PAGE=features/es

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


How to run Simian from parent project on all subprojects?

2003-12-22 Thread Brian Burridge
Does anyone have a suggestion for running the simian report on all
subprojects from a parent project?

My parent project has no java in it; all the java is in the subprojects.
I could add simian to each of the subprojects, but the result is a
worthless report, that doesn't show redundant code across all projects.

So I need to run simian from the main project. I have added it to the
parent project.xml, but of course, it finds no source to run on.

Brian

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



Simple Maven example?

2003-12-22 Thread Jonathan Hawkes
Is there a simple example anywhere on how to get started using Maven?

Thanks!
Jonathan Hawkes

RE: Simple Maven example?

2003-12-22 Thread Steve Garcia
http://maven.apache.org/misc/articles.html

Click on the first link Apache Maven Simplifies...

 -Original Message-
 From: Jonathan Hawkes [mailto:[EMAIL PROTECTED] 
 Sent: Monday, December 22, 2003 11:59 AM
 To: [EMAIL PROTECTED]
 Subject: Simple Maven example?
 
 
 Is there a simple example anywhere on how to get started using Maven?
 
 Thanks!
 Jonathan Hawkes
 


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



cvs.passfile

2003-12-22 Thread Rajeev Kaul
What is the best way of setting the cvs.passfile property for changelog plugin?  The 
default of .cvspass does not work for windows OS.

Rajeev Kaul


Call goal in other project

2003-12-22 Thread Gareth Cronin
I'm using maven.xml and the copy-deps goal to gather together the jars 
required for an installer for a given project.

My problem is that the installer itself lives in another project and I 
want to gather the installer's dependencies as well.

I could do this if I could call the goal in the other project so that I 
knew it's dependencies had been gathered to a known place in that 
projects directory structure. Is it possible to call this way?

Or... I if I could convince copy-deps to gather dependencies from a 
different project that would be useful.

Both the installer project and the other project share the same 
super-project.

Thanks,

Gareth.

--
---
Gareth Cronin
Analyst/Programmer
Kiwiplan NZ Ltd
www.kiwiplan.com
---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs.passfile

2003-12-22 Thread Emmanuel Venisse
For create a .cvspass file, run the cvs login command
If you want create an empty .cvsfile, you can do it on windows with a dos
console.

Emmanuel

- Original Message - 
From: Rajeev Kaul [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Monday, December 22, 2003 10:59 PM
Subject: cvs.passfile


What is the best way of setting the cvs.passfile property for changelog
plugin?  The default of .cvspass does not work for windows OS.

Rajeev Kaul


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



Re: cvs.passfile

2003-12-22 Thread Rajeev Kaul
Thanks.  Yes, you can do it in the DOS console window.  However, it would be
still nice to know, how to set this property.


- Original Message -
From: Emmanuel Venisse [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Monday, December 22, 2003 2:19 PM
Subject: Re: cvs.passfile


 For create a .cvspass file, run the cvs login command
 If you want create an empty .cvsfile, you can do it on windows with a dos
 console.

 Emmanuel

 - Original Message -
 From: Rajeev Kaul [EMAIL PROTECTED]
 To: Maven Users List [EMAIL PROTECTED]
 Sent: Monday, December 22, 2003 10:59 PM
 Subject: cvs.passfile


 What is the best way of setting the cvs.passfile property for changelog
 plugin?  The default of .cvspass does not work for windows OS.

 Rajeev Kaul


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



Looking For Web Application Example?

2003-12-22 Thread conradwt
Hi, I'm looking for an example of building a web application project that generates 
the following artifacts within a single project:  war, ejb-jar, jar, and ear

Thanks in advance,

-Conrad


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



Auto-generate Ant Script from Maven Script?

2003-12-22 Thread Chad Woolley
Hi,

I have an application which uses maven as the main build mechanism. 
However, I also maintain a corresponding Ant script which does a basic 
build of my app.  This is to support users who may want to build my app, 
but not go to the trouble of downloading and installing maven.  Also, I 
have in the past encountered a bug where Maven would not perform a 
certain task, but Ant would (yes, I dutifully reported the bug).

My question is:  Has anyone tried to make a simple plugin which would 
generate a basic Ant build script based off of a maven.xml file?

I know that custom plugins, reports, etc. obviously wouldn't be 
supported.  However, it seems possible to generate a basic Ant build 
script containing the classpath, and targets for clean, java:compile, 
test:compile, jar, etc.  This could even read the properties directly 
from project.properties and project.xml, to avoid hardcoding 
often-changed values in the generated script.

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


Re: Auto-generate Ant Script from Maven Script?

2003-12-22 Thread dion
You have seen the Ant plugin, right? It does this
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Chad Woolley [EMAIL PROTECTED] wrote on 23/12/2003 01:56:43 PM:

 Hi,
 
 I have an application which uses maven as the main build mechanism. 
 However, I also maintain a corresponding Ant script which does a basic 
 build of my app.  This is to support users who may want to build my app, 

 but not go to the trouble of downloading and installing maven.  Also, I 
 have in the past encountered a bug where Maven would not perform a 
 certain task, but Ant would (yes, I dutifully reported the bug).
 
 My question is:  Has anyone tried to make a simple plugin which would 
 generate a basic Ant build script based off of a maven.xml file?
 
 I know that custom plugins, reports, etc. obviously wouldn't be 
 supported.  However, it seems possible to generate a basic Ant build 
 script containing the classpath, and targets for clean, java:compile, 
 test:compile, jar, etc.  This could even read the properties directly 
 from project.properties and project.xml, to avoid hardcoding 
 often-changed values in the generated script.
 
 Thanks,
 Chad
 
 -
 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: chicken and egg

2003-12-22 Thread dion
Use versionSNAPSHOT/version
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Charles Tassoni [EMAIL PROTECTED] wrote on 23/12/2003 
02:49:43 AM:

   I've got a chicken-and-egg problem.  I need to declare the jars 
 created by my project inside project.xml-- otherwise I couldn't use 
maven to 
 distribute them to the necessary ears, wars, etc.  And that means that 
when 
 I build maven will load earlier versions of my jars into the repository, 
and 
 that maven will include those jars in the classpath during compilation 
of my 
 project.
  Sounds innocous, but now I'm building new jars based on outdated 
 versions of those very same jars.  And it can happen that an 
incosistency 
 between my project's jars in the repository and my current source can 
cause 
 compilation to fail.  For example, sometime after my last build I moved 
one 
 particular class into a different package.  Then, when it came time for 
the 
 next production build, the now outdated project jars in the repository 
 became part of the classpath, and compilation failed because the 
compiler 
 still expected my class to be in the old package.
  This must be a fairly general problem.  Does anyone know what the 
 solution is?
 
 _
 Worried about inbox overload? Get MSN Extra Storage now! 
 http://join.msn.com/?PAGE=features/es
 
 
 -
 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]



Maven Plugin For Weblogic

2003-12-22 Thread conradwt
Hi, I was wondering, if there is a Maven Plugin for Weblogic?

Thanks in advance,

-Conrad


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



Re: Tool to create project.xml?

2003-12-22 Thread conradwt
Hi, I have place the downloaded mevenide folder into the plugin directorty of Eclipse. 
 Now, I don't know how to access it via the Eclipse GUI.  Thus, if anyone has this 
information, please post to the group and/or send me an e-mail.

Thanks in advance,

-Conrad


 maven genapp will create a basic one.  Also, the mevenide project is 
 working on tools to create, edit and synchronize POM files 
 (http://mevenide.sourceforge.net).
 
 jeff
 
 [EMAIL PROTECTED] wrote:
  Hi, is there a tool to create a 'project.xml'?
  
  Thanks,
  
  -Conrad
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 -- 
 jeff bonevich
 mailto: [EMAIL PROTECTED]
 
 Any sufficiently advanced technology is indistinguishable from magic.
 Arthur C. Clarke
 
 Programming today is a race between software engineers striving to
 build bigger and better idiot-proof programs, and the Universe trying
 to produce bigger and better idiots. So far, the Universe is winning.
 Rich Cook
 
 All programmers are playwrights and all computers are lousy actors.
 Unknown
 
 
 -
 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: Tool to create project.xml?

2003-12-22 Thread Jeffrey Bonevich
This discussion properly belongs on the mevenide help or user list.

That said, you should see a 'Maven' preferences page, and a 'Maven' item 
in the popup menu over resources in the Java (or other) navigator.  For 
more, or if you are not seeing these, please post to the sourceforge lists.

jeff

[EMAIL PROTECTED] wrote:
Hi, I have place the downloaded mevenide folder into the plugin directorty of Eclipse.  Now, I don't know how to access it via the Eclipse GUI.  Thus, if anyone has this information, please post to the group and/or send me an e-mail.

Thanks in advance,

-Conrad


maven genapp will create a basic one.  Also, the mevenide project is 
working on tools to create, edit and synchronize POM files 
(http://mevenide.sourceforge.net).

jeff

[EMAIL PROTECTED] wrote:

Hi, is there a tool to create a 'project.xml'?

Thanks,

-Conrad

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



--
jeff bonevich
mailto: [EMAIL PROTECTED]
Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke
Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning.
Rich Cook
All programmers are playwrights and all computers are lousy actors.
Unknown
-
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]



--
jeff bonevich
mailto: [EMAIL PROTECTED]
Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke
Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning.
Rich Cook
All programmers are playwrights and all computers are lousy actors.
Unknown
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Auto-generate Ant Script from Maven Script?

2003-12-22 Thread Chad Woolley
Hmm, there is already a plugin to do this, and it's the first plugin in 
the list - cryptically named Ant.  No wonder I didn't find it.

I'll write it 50 times:  RTFM.  RTFM. RTFM...

Sorry for the unnecessary post.

-- Chad

Chad Woolley wrote:
Hi,

I have an application which uses maven as the main build mechanism. 
However, I also maintain a corresponding Ant script which does a basic 
build of my app.  This is to support users who may want to build my app, 
but not go to the trouble of downloading and installing maven.  Also, I 
have in the past encountered a bug where Maven would not perform a 
certain task, but Ant would (yes, I dutifully reported the bug).

My question is:  Has anyone tried to make a simple plugin which would 
generate a basic Ant build script based off of a maven.xml file?

I know that custom plugins, reports, etc. obviously wouldn't be 
supported.  However, it seems possible to generate a basic Ant build 
script containing the classpath, and targets for clean, java:compile, 
test:compile, jar, etc.  This could even read the properties directly 
from project.properties and project.xml, to avoid hardcoding 
often-changed values in the generated script.

Thanks,
Chad


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