Re: [Maven 2] [commons-configuration] dependencies problems

2005-04-13 Thread Brett Porter
This is not a problem with m2 as such, but a problem with the metadata.

We will:
1) evangelise projects to help update their dependencies
2) look at features in future alphas to allow you to filter out the
transitive dependencies

- Brett

On 4/14/05, Jörg Schaible <[EMAIL PROTECTED]> wrote:
> Hi Brett,
> 
> Brett Porter wrote on Thursday, April 14, 2005 1:29 AM:
> 
> > I'll look into the missing commons-logging POM. I corrected
> > it, so it should have been transferred.
> >
> > Can you please contact commons-dev about their other dependencies?
> >
> > jdbc is a Sun JAR, which unfortunately we have always had to
> > manually add to the repository. We hope to make this easier
> > from alpha-2.
> 
> This uncovers another problem with M2. We use ourselves 
> commons-configurations. This artifact defines quite a lot of dependencies, 
> but most of them are not necessary if you just use the XMLConfiguration and 
> ProprtyConfiguration part. How can I override those transient dependencies?
> 
> - Jörg
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



RE: [Maven 2] [commons-configuration] dependencies problems

2005-04-13 Thread Jörg Schaible
Hi Brett,

Brett Porter wrote on Thursday, April 14, 2005 1:29 AM:

> I'll look into the missing commons-logging POM. I corrected
> it, so it should have been transferred.
> 
> Can you please contact commons-dev about their other dependencies?
> 
> jdbc is a Sun JAR, which unfortunately we have always had to
> manually add to the repository. We hope to make this easier
> from alpha-2.

This uncovers another problem with M2. We use ourselves commons-configurations. 
This artifact defines quite a lot of dependencies, but most of them are not 
necessary if you just use the XMLConfiguration and ProprtyConfiguration part. 
How can I override those transient dependencies?

- Jörg

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



RE: Need of serious help (gettin warmer....)

2005-04-13 Thread Daniel Or
If you have a file name/path with spaces (such as 'Program Files') you
must wrap them with quotes.

.

Daniel Or

```

-Original Message-
From: Dave "The Gerb" [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 6:41 AM
To: 'Maven Users List'
Subject: RE: Need of serious help (gettin warmer)

Ok... got java pointing to the Sdk instead of the Jdk... got maven
pointed
right...

Now I get "Exception in thread "main" java.lang.NoClassDefFoundError:
Files\Apache

Any takers?

Dave

-Original Message-
From: Patrick Roumanoff [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 7:57 PM
To: Maven Users List
Subject: RE: Need of serious help

run the maven.bat command from the command line
then you'll be able to see the message.

to achieve that follow the instructions:

click on the start menu then choose "Run..."
enter "cmd" and click OK
The black box is called "The Command Line"
drag an drop from Explorer to "The Command Line" the maven.bat script
be sure to click again in "The Command Line" box to give it the focus
then hit enter -->> maven is running

cheers,

Patrick

> -Original Message-
> From: Dave "The Gerb" [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 14 April 2005 09:26
> To: 'Maven Users List'
> Subject: Need of serious help
> 
> 
> 
> Big newbie here gang.
> 
> I tried to get Maven 1.0.2 to run on here (here = win2000) 
> but never to any
> avail. First, Id click on maven.bat and a dos window would 
> pop up and close
> so fast could never read any messages. After some website 
> reading (further),
> tweaking, variable editing it would at least stay up long 
> enough to see the
> maven logo and a bunch of other loading stuff before it would vanish.
> 
> I finally gave up and hoped for a new version since no one 
> else seemed to
> have the same problem (according to the mailing list).
> 
> The new version arrived! Yea! But Im back to where it comes 
> and goes faster
> than I can read.
> 
> I don't know maven, I don't know java but I am very 
> interested in java and
> need maven in order to run something else I need (which by 
> now I cant even
> recall what that was I just know I need maven first).
> 
> Anyone who is EXTREMELY patient? I need help.
> 
> Dave
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


NOTICE
This e-mail and any attachments are confidential and may contain
copyright
material of Macquarie Bank or third parties. If you are not the intended
recipient of this email you should not read, print, re-transmit, store
or
act in reliance on this e-mail or any attachments, and should destroy
all
copies of them. Macquarie Bank does not guarantee the integrity of any
emails or any attached files. The views or opinions expressed are the
author's own and may not reflect the views or opinions of Macquarie
Bank.


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



-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 4/12/2005



-
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: Need of serious help (gettin warmer....)

2005-04-13 Thread Dave \"The Gerb\"
Ok... got java pointing to the Sdk instead of the Jdk... got maven pointed
right...

Now I get "Exception in thread "main" java.lang.NoClassDefFoundError:
Files\Apache

Any takers?

Dave

-Original Message-
From: Patrick Roumanoff [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 7:57 PM
To: Maven Users List
Subject: RE: Need of serious help

run the maven.bat command from the command line
then you'll be able to see the message.

to achieve that follow the instructions:

click on the start menu then choose "Run..."
enter "cmd" and click OK
The black box is called "The Command Line"
drag an drop from Explorer to "The Command Line" the maven.bat script
be sure to click again in "The Command Line" box to give it the focus
then hit enter -->> maven is running

cheers,

Patrick

> -Original Message-
> From: Dave "The Gerb" [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 14 April 2005 09:26
> To: 'Maven Users List'
> Subject: Need of serious help
> 
> 
> 
> Big newbie here gang.
> 
> I tried to get Maven 1.0.2 to run on here (here = win2000) 
> but never to any
> avail. First, Id click on maven.bat and a dos window would 
> pop up and close
> so fast could never read any messages. After some website 
> reading (further),
> tweaking, variable editing it would at least stay up long 
> enough to see the
> maven logo and a bunch of other loading stuff before it would vanish.
> 
> I finally gave up and hoped for a new version since no one 
> else seemed to
> have the same problem (according to the mailing list).
> 
> The new version arrived! Yea! But Im back to where it comes 
> and goes faster
> than I can read.
> 
> I don't know maven, I don't know java but I am very 
> interested in java and
> need maven in order to run something else I need (which by 
> now I cant even
> recall what that was I just know I need maven first).
> 
> Anyone who is EXTREMELY patient? I need help.
> 
> Dave
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


NOTICE
This e-mail and any attachments are confidential and may contain copyright
material of Macquarie Bank or third parties. If you are not the intended
recipient of this email you should not read, print, re-transmit, store or
act in reliance on this e-mail or any attachments, and should destroy all
copies of them. Macquarie Bank does not guarantee the integrity of any
emails or any attached files. The views or opinions expressed are the
author's own and may not reflect the views or opinions of Macquarie Bank.


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



-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 4/12/2005



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



RE: Need of serious help

2005-04-13 Thread Dave \"The Gerb\"
Thank you guys for the rapid responses! Wow!

For the record yes, I knew it was command line, yes I had set my
variables (both in 1.0.2 and in 2). 

Patrick.. you threw me buddy... Ive messed with computers (yes, command line
too) since DOS (pre windows). Until today, I never knew I could drag/drop
into it though! Wow!

Ok, onto the important stuff. Once I did that, it says the JAVA_HOME is set
wrong. But, it IS where Java is installed. Do I point it to the jdk1.5.0_02
folder or the jdk1.5.0_02\bin? I have it set to jdk1.5.0_02 folder only. 

Will be trying jdk1.5.0_02\bin while waiting for responses. Thank you all!

Dave

-Original Message-
From: Patrick Roumanoff [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 7:57 PM
To: Maven Users List
Subject: RE: Need of serious help

run the maven.bat command from the command line
then you'll be able to see the message.

to achieve that follow the instructions:

click on the start menu then choose "Run..."
enter "cmd" and click OK
The black box is called "The Command Line"
drag an drop from Explorer to "The Command Line" the maven.bat script
be sure to click again in "The Command Line" box to give it the focus
then hit enter -->> maven is running

cheers,

Patrick

> -Original Message-
> From: Dave "The Gerb" [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 14 April 2005 09:26
> To: 'Maven Users List'
> Subject: Need of serious help
> 
> 
> 
> Big newbie here gang.
> 
> I tried to get Maven 1.0.2 to run on here (here = win2000) 
> but never to any
> avail. First, Id click on maven.bat and a dos window would 
> pop up and close
> so fast could never read any messages. After some website 
> reading (further),
> tweaking, variable editing it would at least stay up long 
> enough to see the
> maven logo and a bunch of other loading stuff before it would vanish.
> 
> I finally gave up and hoped for a new version since no one 
> else seemed to
> have the same problem (according to the mailing list).
> 
> The new version arrived! Yea! But Im back to where it comes 
> and goes faster
> than I can read.
> 
> I don't know maven, I don't know java but I am very 
> interested in java and
> need maven in order to run something else I need (which by 
> now I cant even
> recall what that was I just know I need maven first).
> 
> Anyone who is EXTREMELY patient? I need help.
> 
> Dave
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


NOTICE
This e-mail and any attachments are confidential and may contain copyright
material of Macquarie Bank or third parties. If you are not the intended
recipient of this email you should not read, print, re-transmit, store or
act in reliance on this e-mail or any attachments, and should destroy all
copies of them. Macquarie Bank does not guarantee the integrity of any
emails or any attached files. The views or opinions expressed are the
author's own and may not reflect the views or opinions of Macquarie Bank.


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



-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 4/12/2005



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



Re: [Cruisecontrol] CC Problem

2005-04-13 Thread Youngho Cho
Hi Brett Porter.

It is solved.

Thank a lot !

Youngho

- Original Message - 
From: "Brett Porter" <[EMAIL PROTECTED]>
To: "Maven Users List" ; "Youngho Cho" <[EMAIL 
PROTECTED]>
Sent: Thursday, April 14, 2005 11:23 AM
Subject: Re: [Cruisecontrol] CC Problem


> try adding ".bat" to the maven path in the configuration.
> 
> - Brett
> 
> On 4/14/05, Youngho Cho <[EMAIL PROTECTED]> wrote:
> > Hello I would like to use Cruisecontrol plugin from Window XP.
> > 
> > But the following error happend.
> > 
> >[java] [cc]4?-14 11:10:54 odificationSet- 2 modifications have been 
> > detected.
> > [java] [cc]4?-14 11:10:54 Project   - Project M-Project:  now 
> > building
> > [java] [cc]4?-14 11:10:54 Project   - Project M-Project:  idle
> > [java] [cc]4?-14 11:10:54 Project   - exception attempting build in 
> > project M-Project
> > [java] net.sourceforge.cruisecontrol.CruiseControlException: 
> > Encountered an IO exception while attempting to execute Maven. 
> > CruiseControl cannot continue. : CreateProcess: "E:\project\maven\Maven 
> > 1.0.2\bin\maven" -Dcclastbuildtimestamp=2005041400 -Dlabel=build.1 
> > -Dcclastgoodbuildtimestamp=2005041400 -Dlastbuildsuccessful=true 
> > "-Dcvstimestamp=2005-04-14 02:10:05 GMT" -Dcctimestamp=20050414111005 -b -p 
> > project.xml scm:update-project error=193
> > [java]  at 
> > net.sourceforge.cruisecontrol.builders.MavenBuilder.build(MavenBuilder.java:120)
> > [java]  at 
> > net.sourceforge.cruisecontrol.Schedule.build(Schedule.java:144)
> > [java]  at net.sourceforge.cruisecontrol.Project.build(Project.java:195)
> > [java]  at 
> > net.sourceforge.cruisecontrol.Project.execute(Project.java:153)
> > [java]  at 
> > net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:66)
> > [java]  at java.lang.Thread.run(Thread.java:534)
> > [java] [cc]4?-14 11:10:54 Project   - Project M-Project:  next 
> > build in 10 seconds
> > [java] [cc]4?-14 11:10:54 Project   - Project M-Project:  waiting 
> > for next time to build
> > [java] [cc]4?-14 11:11:04 Project   - Project M-Project:  in build 
> > queue
> > 
> > maven is working well but alway cc plugin has above error.
> > How can I solve it ??
> > 
> > Thanks,
> > 
> > Youngho
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Cruisecontrol] CC Problem

2005-04-13 Thread Brett Porter
try adding ".bat" to the maven path in the configuration.

- Brett

On 4/14/05, Youngho Cho <[EMAIL PROTECTED]> wrote:
> Hello I would like to use Cruisecontrol plugin from Window XP.
> 
> But the following error happend.
> 
>[java] [cc]4?-14 11:10:54 odificationSet- 2 modifications have been 
> detected.
> [java] [cc]4?-14 11:10:54 Project   - Project M-Project:  now building
> [java] [cc]4?-14 11:10:54 Project   - Project M-Project:  idle
> [java] [cc]4?-14 11:10:54 Project   - exception attempting build in 
> project M-Project
> [java] net.sourceforge.cruisecontrol.CruiseControlException: Encountered 
> an IO exception while attempting to execute Maven. CruiseControl cannot 
> continue. : CreateProcess: "E:\project\maven\Maven 1.0.2\bin\maven" 
> -Dcclastbuildtimestamp=2005041400 -Dlabel=build.1 
> -Dcclastgoodbuildtimestamp=2005041400 -Dlastbuildsuccessful=true 
> "-Dcvstimestamp=2005-04-14 02:10:05 GMT" -Dcctimestamp=20050414111005 -b -p 
> project.xml scm:update-project error=193
> [java]  at 
> net.sourceforge.cruisecontrol.builders.MavenBuilder.build(MavenBuilder.java:120)
> [java]  at net.sourceforge.cruisecontrol.Schedule.build(Schedule.java:144)
> [java]  at net.sourceforge.cruisecontrol.Project.build(Project.java:195)
> [java]  at net.sourceforge.cruisecontrol.Project.execute(Project.java:153)
> [java]  at 
> net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:66)
> [java]  at java.lang.Thread.run(Thread.java:534)
> [java] [cc]4?-14 11:10:54 Project   - Project M-Project:  next build 
> in 10 seconds
> [java] [cc]4?-14 11:10:54 Project   - Project M-Project:  waiting for 
> next time to build
> [java] [cc]4?-14 11:11:04 Project   - Project M-Project:  in build 
> queue
> 
> maven is working well but alway cc plugin has above error.
> How can I solve it ??
> 
> Thanks,
> 
> Youngho
>

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



[Cruisecontrol] CC Problem

2005-04-13 Thread Youngho Cho
Hello I would like to use Cruisecontrol plugin from Window XP.

But the following error happend.

   [java] [cc]4?-14 11:10:54 odificationSet- 2 modifications have been detected.
[java] [cc]4?-14 11:10:54 Project   - Project M-Project:  now building
[java] [cc]4?-14 11:10:54 Project   - Project M-Project:  idle
[java] [cc]4?-14 11:10:54 Project   - exception attempting build in 
project M-Project
[java] net.sourceforge.cruisecontrol.CruiseControlException: Encountered an 
IO exception while attempting to execute Maven. CruiseControl cannot continue. 
: CreateProcess: "E:\project\maven\Maven 1.0.2\bin\maven" 
-Dcclastbuildtimestamp=2005041400 -Dlabel=build.1 
-Dcclastgoodbuildtimestamp=2005041400 -Dlastbuildsuccessful=true 
"-Dcvstimestamp=2005-04-14 02:10:05 GMT" -Dcctimestamp=20050414111005 -b -p 
project.xml scm:update-project error=193
[java]  at 
net.sourceforge.cruisecontrol.builders.MavenBuilder.build(MavenBuilder.java:120)
[java]  at net.sourceforge.cruisecontrol.Schedule.build(Schedule.java:144)
[java]  at net.sourceforge.cruisecontrol.Project.build(Project.java:195)
[java]  at net.sourceforge.cruisecontrol.Project.execute(Project.java:153)
[java]  at 
net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:66)
[java]  at java.lang.Thread.run(Thread.java:534)
[java] [cc]4?-14 11:10:54 Project   - Project M-Project:  next build in 
10 seconds
[java] [cc]4?-14 11:10:54 Project   - Project M-Project:  waiting for 
next time to build
[java] [cc]4?-14 11:11:04 Project   - Project M-Project:  in build queue

maven is working well but alway cc plugin has above error.
How can I solve it ??

Thanks,

Youngho
 

Re: Deploy with scp in maven2

2005-04-13 Thread Brett Porter
Server example:
http://maven.apache.org/maven2/configuration.html

POM example:

  
my-id-that-matches-server-id
scp://hostname/path/to/repository
  


Cheers,
Brett

On 4/14/05, Ilyevsky, Leonid (Equity Trading) <[EMAIL PROTECTED]> wrote:
> I want to use scp for deployment. Does it work now in maven2 ?
> If so, I would need an example of what to put in pom.xml and in
> settings.xml.
> 
> Thanks,
> 
> Leonid
> 
> 
> If you are not an intended recipient of this e-mail, please notify the 
> sender, delete it and do not read, act upon, print, disclose, copy, retain or 
> redistribute it. Click here for important additional terms relating to this 
> e-mail. http://www.ml.com/email_terms/
> 
> 
>

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



RE: Need of serious help

2005-04-13 Thread Patrick Roumanoff
run the maven.bat command from the command line
then you'll be able to see the message.

to achieve that follow the instructions:

click on the start menu then choose "Run..."
enter "cmd" and click OK
The black box is called "The Command Line"
drag an drop from Explorer to "The Command Line" the maven.bat script
be sure to click again in "The Command Line" box to give it the focus
then hit enter -->> maven is running

cheers,

Patrick

> -Original Message-
> From: Dave "The Gerb" [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 14 April 2005 09:26
> To: 'Maven Users List'
> Subject: Need of serious help
> 
> 
> 
> Big newbie here gang.
> 
> I tried to get Maven 1.0.2 to run on here (here = win2000) 
> but never to any
> avail. First, Id click on maven.bat and a dos window would 
> pop up and close
> so fast could never read any messages. After some website 
> reading (further),
> tweaking, variable editing it would at least stay up long 
> enough to see the
> maven logo and a bunch of other loading stuff before it would vanish.
> 
> I finally gave up and hoped for a new version since no one 
> else seemed to
> have the same problem (according to the mailing list).
> 
> The new version arrived! Yea! But Im back to where it comes 
> and goes faster
> than I can read.
> 
> I don't know maven, I don't know java but I am very 
> interested in java and
> need maven in order to run something else I need (which by 
> now I cant even
> recall what that was I just know I need maven first).
> 
> Anyone who is EXTREMELY patient? I need help.
> 
> Dave
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


NOTICE
This e-mail and any attachments are confidential and may contain copyright 
material of Macquarie Bank or third parties. If you are not the intended 
recipient of this email you should not read, print, re-transmit, store or act 
in reliance on this e-mail or any attachments, and should destroy all copies of 
them. Macquarie Bank does not guarantee the integrity of any emails or any 
attached files. The views or opinions expressed are the author's own and may 
not reflect the views or opinions of Macquarie Bank.


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



Re: Need of serious help

2005-04-13 Thread Arik Kfir




Hi Dave,
Did you define JAVA_HOME and (optionally) MAVEN_HOME on your machine?
More over, the maven.bat is mainly a command line client - e.g. you
need to specify WHAT you want it to do - for instance:
C:\dvlp\myproject> maven java:compile
or:

C:\dvlp\myproject> maven jar
This will create a "target" directory (under "myproject") where
maven will put your compiled classes (first command) and create your
JAR file (second command).
cheers,
    Arik.

Dave "The Gerb" wrote:

  Big newbie here gang.

I tried to get Maven 1.0.2 to run on here (here = win2000) but never to any
avail. First, Id click on maven.bat and a dos window would pop up and close
so fast could never read any messages. After some website reading (further),
tweaking, variable editing it would at least stay up long enough to see the
maven logo and a bunch of other loading stuff before it would vanish.

I finally gave up and hoped for a new version since no one else seemed to
have the same problem (according to the mailing list).

The new version arrived! Yea! But Im back to where it comes and goes faster
than I can read.

I don't know maven, I don't know java but I am very interested in java and
need maven in order to run something else I need (which by now I cant even
recall what that was I just know I need maven first).

Anyone who is EXTREMELY patient? I need help.

Dave


-
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: Need of serious help

2005-04-13 Thread Brett Porter
Many is a command line tool, and not intended to be run for a long time.

You should select the command prompt from your start menu, and run
"maven" from there. If it is not found, you need to add it to your
path - you can find instructions in the "installation instructions" at
maven.apache.org.

Please subscribe to the users list for future posts to avoid a
moderation delay and so you can receive response.

Regards,
Brett

On 4/14/05, Dave The Gerb <[EMAIL PROTECTED]> wrote:
> 
> Big newbie here gang.
> 
> I tried to get Maven 1.0.2 to run on here (here = win2000) but never to any
> avail. First, Id click on maven.bat and a dos window would pop up and close
> so fast could never read any messages. After some website reading (further),
> tweaking, variable editing it would at least stay up long enough to see the
> maven logo and a bunch of other loading stuff before it would vanish.
> 
> I finally gave up and hoped for a new version since no one else seemed to
> have the same problem (according to the mailing list).
> 
> The new version arrived! Yea! But Im back to where it comes and goes faster
> than I can read.
> 
> I don't know maven, I don't know java but I am very interested in java and
> need maven in order to run something else I need (which by now I cant even
> recall what that was I just know I need maven first).
> 
> Anyone who is EXTREMELY patient? I need help.
> 
> Dave
> 
> -
> 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]



Need of serious help

2005-04-13 Thread Dave \"The Gerb\"

Big newbie here gang.

I tried to get Maven 1.0.2 to run on here (here = win2000) but never to any
avail. First, Id click on maven.bat and a dos window would pop up and close
so fast could never read any messages. After some website reading (further),
tweaking, variable editing it would at least stay up long enough to see the
maven logo and a bunch of other loading stuff before it would vanish.

I finally gave up and hoped for a new version since no one else seemed to
have the same problem (according to the mailing list).

The new version arrived! Yea! But Im back to where it comes and goes faster
than I can read.

I don't know maven, I don't know java but I am very interested in java and
need maven in order to run something else I need (which by now I cant even
recall what that was I just know I need maven first).

Anyone who is EXTREMELY patient? I need help.

Dave


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



Re: [Maven 2] [commons-configuration] dependencies problems

2005-04-13 Thread Brett Porter
I'll look into the missing commons-logging POM. I corrected it, so it
should have been transferred.

Can you please contact commons-dev about their other dependencies?

jdbc is a Sun JAR, which unfortunately we have always had to manually
add to the repository. We hope to make this easier from alpha-2.

- Brett

On 4/14/05, Nicolas Chalumeau <[EMAIL PROTECTED]> wrote:
> For commons-configuration I find that some deps of the maven 2 pom have 
> problems
> 
>   commons-logging
>   commons-logging-api
>   1.0.4
> 
> If you use commons-logging as the artifactId the pom isn't here
> 
> 
>   resources
>   resources
>   1.0
> 
> Is it commons-resources ? there is only a 0.1-dev version on
> http://www.ibiblio.org/maven2
> 
> And a transitive dependency jdbc:jdbc:jar:2.0 isn't in the repository
> (license problem ? where can I found it ?) but I don't know from who
> it come from
> 
> Nicolas
> 
> -
> 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] use maven-proxy ?

2005-04-13 Thread Brett Porter
Yes.. I've checked with Ben (the author) and because it is only
proxying URLs as is, it should work.

It may not handle SNAPSHOTs effeciently - he was uncertain and was
going to check - please let us know of your experiences.

Cheers,
Brett

On 4/13/05, Nicolas Chalumeau <[EMAIL PROTECTED]> wrote:
> We use for maven 1 the maven-proxy between our server repo and
> ibiblio. I try to find the way to do the same with m2 (I maybe doesn't
> look on the good place). Is it possible ?
> 
> Nicolas,
> 
> -
> 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: Enterprise Build Presentation sample

2005-04-13 Thread Geoffrey Dagley
Based on the example in the PDF presentation, how would one go about 
configuring the multiproject to different projects since they are spread 
through the directory structure?  The examples I can find online seem to 
assume that all of the subprojects are at the same level, but that does 
not allow for the nice separation of the projects.  Does this mean I 
need to use the reactor (I have seen some references to that here and 
there).

I have managed to get each individual project to build, so I feel like I 
am on my way :)  Thanks for the help.

Thanks,
Geoffrey
Vincent Massol wrote:
Hi Geoffrey,
Hmm... No, I don't really have something complete and visible that would
show you how to implement it. I have this example from 2003 though
(http://blogs.codehaus.org/people/vmassol/archives/everest.zip), but bear in
mind that this is a bit oldish and little things have been improved (like
using multiproject instead of the reactor).
There is an example in upcoming Maven book (to be published early this
summer by O'Reilly) but it's a webapp example not a full-fledged J2EE
example. I could send it to you privately if you want.
WRT the container folder:
- It contains complete container configuration to make the applications in
that container runnable. For example, take WebLogic. It means that the
weblogic subprojects in container/ has a goal that generates a weblogic
domain from scratch (including config.xml, security files, etc). It also has
goals to start weblogic and run functional tests on it. Of course it's
better if these goals are provided by an existing plugin. I've done it for
jboss by including a jboss plugin in the Maven distribution. It creates a
jboss server configuration and can start/stop jboss. These container
configuration builds should take into account the environment that is built
as configuration for a developer platform is not the same as configuration
for a pre-production platform that uses clusters, etc.
The node folder is the set of containers that are installed on a single
machine type (I say type because machine can be in clusters). It should
contain scripts to start/stop the different container on that physical
machine type.
And last, I've now added a system folder that represents the full system. It
can have goal that allow installing the full system on a set of machines.
No, sorry there's no plugins right now for this, you'll have to write it
yourself ;-) This is where I put and run end 2 end system tests.
For CC, you could use CC's multiproject's feature but I personally don't
like it (I don't like how CC handles project dependencies) and I would
recommend using the Maven multiproject to handle project deps. Yes, this
means building the whole project when there's a change. However you could
simplify this by not running things like the web sites, etc.
Thanks
-Vincent
 

-Original Message-
From: Geoffrey Dagley [mailto:[EMAIL PROTECTED]
Sent: mercredi 13 avril 2005 00:01
To: users@maven.apache.org
Subject: Enterprise Build Presentation sample
I have recently started using Maven and I am looking at the presentation
on Enterprise Builds by Vincent Massol
http://www.pivolis.com/pdf/Enterprise_Builds_V1.0.pdf
I am wondering if there exists a zip file with the sample application
that could be used as a starting point for new applications?  I am very
impressed with the features of Maven, but I am having difficulty getting
out of the Ant mindset.  I am  not looking for anything too complex, but
I am interested in the integration and functional testing aspects.  I
would also like to ask about the purpose of the container folders in the
file structure.
We are currently using CruiseControl for our continuous build, but it
tries to build the ENTIRE project every time something is changed, so I
would be interested in how a project like this might be setup for
CruiseControl as well.
If there is a tutorial (beyond the intro on the Maven site), maybe I
have missed it.  Please feel free to point me in the right direction.
Thanks,
Geof
-
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]
 

--
Geoffrey Dagley
[EMAIL PROTECTED]
ZMS Technologies

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


RE: Maven2 source, where can I get it?

2005-04-13 Thread Vincent Massol
http://maven.apache.org/maven2/cvs-usage.html

-Vincent

> -Original Message-
> From: Boggs, Chadwick [mailto:[EMAIL PROTECTED]
> Sent: mercredi 13 avril 2005 19:51
> To: 'users@maven.apache.org'
> Subject: Maven2 source, where can I get it?
> 
> I'm having trouble finding where I can get the source code to Maven2.  Is
> it
> available?
> 
> 
> 
> Thank you sincerely,
> 
> Chadwick.
> 
> 





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



RE: best practice with Eclipse?

2005-04-13 Thread Jim Mochel

One Subproject = One Eclipse Project
\toplevel
\root\project,.xml
\subproject1\project.xml
\subproject2\project.xml

Etc.

Use extends to have all the subprojects inherit from the common root
project.xml run all the multiproject goals from.

With the new Eclipse 3.1M5+ you can do a bulk import of all the subprojects
and you can use multiproject:goal with -Dgoal=eclipse to generate the
.classpath and .project files. 

It works pretty well 

Jim Mochel

-Original Message-
From: Jamie Bisotti [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 9:33 AM
To: Maven Users List
Subject: Re: best practice with Eclipse?

I'm currently doing the latter...though I'd love to hear of a better way.

Jamie

On 4/13/05, Aaron Bell <[EMAIL PROTECTED]> wrote:
> I am just getting started with Maven. Can anyone advise a practical way
> to use Eclipse on a Maven project with multiple subprojects?
> 
> For example, are people using a separate Eclipse Java project for each
> subproject, or a single Java project for the whole hierarchy?
> 
> The former is implied as the 'eclipse:eclipse' goal (run on the top
> level) generates .classpath and .project files for each subproject.
> 
> If I use a single Eclipse project for the whole lot, I then have the
> problems of:
>   a. merging the .classpath dependencies from each subproject into the
> top level .classpath
>   b. managing *many* source locations in the Build Path
> 
> Thanks
> - Aaron
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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



Maven2 source, where can I get it?

2005-04-13 Thread Boggs, Chadwick
I'm having trouble finding where I can get the source code to Maven2.  Is it
available?

 

Thank you sincerely,

Chadwick.

 



RE: best practice with Eclipse?

2005-04-13 Thread Chris DeJong
We create a separate Eclipse project for each subproject.  Our daily
build uses multiproject on the whole deal, although this appears to be
complex to maintain.  But it's much easier for a developer to deal with
only one subproject at a time.  

Each of the subprojects generates a jar that lives in a maven
repository, and the maven and Eclipse classpaths point to this, so the
subproject developers are pretty well insulated from each other.

This approach seems to work pretty well.  If multiproject were easier to
use, I might try developing with the whole thing inside of Eclipse.
Please send the list a description of how it went for you if you try
that!

--Chris



-Original Message-
From: Aaron Bell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 5:24 AM
To: users@maven.apache.org
Subject: best practice with Eclipse?

I am just getting started with Maven. Can anyone advise a practical way 
to use Eclipse on a Maven project with multiple subprojects?

For example, are people using a separate Eclipse Java project for each 
subproject, or a single Java project for the whole hierarchy?

The former is implied as the 'eclipse:eclipse' goal (run on the top 
level) generates .classpath and .project files for each subproject.

If I use a single Eclipse project for the whole lot, I then have the 
problems of:
  a. merging the .classpath dependencies from each subproject into the 
top level .classpath
  b. managing *many* source locations in the Build Path

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]



Problem generating Javadoc html

2005-04-13 Thread iblack
Hi,

I'm trying to generate the javadoc info for a particular project.

I'm using the 1.7 javadoc plugin and the relevant goal is as follows...













The problem lies in the output and the html javadoc file that is being
generated.

The console output is...

javadoc:projectname:
[echo] c:/javadoc_tmp
[echo]
[echo] target/classes
[echo] maven.javadoc.debug: true
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package com.companyname.constants...
[javadoc] Loading source files for package
com.companyname.framework.cache...
[javadoc] Loading source files for package
com.companyname.framework.cache.factory...
[javadoc] Loading source files for package
com.companyname.framework.cache.mbean...
[javadoc] Loading source files for package
com.companyname.framework.cache.settings...
[javadoc] Loading source files for package
com.companyname.framework.counts.cache...
[javadoc] Loading source files for package
com.companyname.framework.counts.cache.settings...
[javadoc] Loading source files for package
com.companyname.framework.counts.model...
[javadoc] Loading source files for package
com.companyname.framework.email...
[javadoc] Loading source files for package
com.companyname.framework.email.javamail...
[javadoc] Loading source files for package
com.companyname.framework.jdbc...
[javadoc] Loading source files for package
com.companyname.framework.query...
[javadoc] Loading source files for package
com.companyname.framework.test...
[javadoc] Loading source files for package com.companyname.log...
[javadoc] Loading source files for package com.companyname.mbean...
[javadoc] Loading source files for package
com.companyname.mbean.aggregate...
[javadoc] Loading source files for package
com.companyname.mbean.metadata...
[javadoc] Loading source files for package
com.companyname.mbean.server...
[javadoc] Loading source files for package
com.companyname.mbean.server.weblogic...
[javadoc] Loading source files for package com.companyname.mbean.test...
[javadoc] Loading source files for package com.companyname.mbean.util...
[javadoc] Loading source files for package com.companyname.menu...
[javadoc] Loading source files for package com.companyname.model.bean...
[javadoc] Loading source files for package
com.companyname.model.filter...
[javadoc] Loading source files for package com.companyname.model.jaxb...
[javadoc] Loading source files for package
com.companyname.model.jaxb.generated...
[javadoc] Loading source files for package
com.companyname.model.jaxb.generated.impl...
[javadoc] Loading source files for package
com.companyname.model.jaxb.generated.impl.runtime...
[javadoc] Loading source files for package com.companyname.model.ojb...
[javadoc] Loading source files for package
com.companyname.model.projectprop...
[javadoc] Loading source files for package
com.companyname.model.sortdef...
[javadoc] Loading source files for package com.companyname.model.user...
[javadoc] Loading source files for package
com.companyname.persistence...
[javadoc] Loading source files for package
com.companyname.persistence.lock...
[javadoc] Loading source files for package
com.companyname.persistence.test...
[javadoc] Loading source files for package com.companyname.privileges...
[javadoc] Loading source files for package com.companyname.service...
[javadoc] Loading source files for package com.companyname.util...
[javadoc] Loading source files for package
com.companyname.util.classutil...
[javadoc] Loading source files for package
com.companyname.util.collection...
[javadoc] Loading source files for package com.companyname.util.data...
[javadoc] Loading source files for package com.companyname.util.date...
[javadoc] Loading source files for package
com.companyname.util.ext.bea...
[javadoc] Loading source files for package
com.companyname.util.filter...
[javadoc] Loading source files for package
com.companyname.util.format...
[javadoc] Loading source files for package com.companyname.util.io...
[javadoc] Loading source files for package
com.companyname.util.location...
[javadoc] Loading source files for package
com.companyname.util.messenger...
[javadoc] Loading source files for package
com.companyname.util.object...
[javadoc] Loading source files for package com.companyname.util.ojb...
[javadoc] Loading source files for package
com.companyname.util.schedule...
[javadoc] Loading source files for package
com.companyname.util.worker...
[javadoc] Loading source files for package com.companyname.util.xpath...
[javadoc] Loading source files for package com.companyname.util.xslt...
[javad

Deploy with scp in maven2

2005-04-13 Thread Ilyevsky, Leonid (Equity Trading)
I want to use scp for deployment. Does it work now in maven2 ?
If so, I would need an example of what to put in pom.xml and in
settings.xml.

Thanks,

Leonid


If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail. http://www.ml.com/email_terms/



RE: [M2] dependency properties

2005-04-13 Thread Jörg Schaible
Jason van Zyl wrote on Wednesday, April 13, 2005 4:44 PM:

> On Wed, 2005-04-13 at 15:11 +0100, Aaron Bell wrote:
>> In Maven 1 we have eclipse dependencies, i.e.
>> 
>> 
>> ...
>>   
>> true
>>   
>> 
>> 
>> There are no dependency properties in M2. Is there a working
>> equivalent to this?
> 
> Typically in M1 dependency properties were always specific to
> a particular plugin. We felt having configuration information
> for a plugin should not be attached to a dependency so in M2
> we have a section in the POM that looks like this:
> 
> 
> ...
>   
> 
>   
> 
> ...
> 

Is there a concept for properties used in multiple plugins? E.g. current 
javaapp-plugin uses the uberjar.bundle property from uberjar-plugin, since 
javaapp is meant as plain replacement. Other example would be a new javadoc 
property that *is* tied to a dependency itself as an URL to an online javadoc. 
This property would be useful for the javadoc-plugin itself resolving the 
external dependencies in the doc and in an enhancement of the Eclipse-plugin, 
since Eclipse 3.1M6 started to store such an element in its .classpath 
description.

- Jörg

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



[Maven 2] [commons-configuration] dependencies problems

2005-04-13 Thread Nicolas Chalumeau
For commons-configuration I find that some deps of the maven 2 pom have problems

  commons-logging
  commons-logging-api
  1.0.4

If you use commons-logging as the artifactId the pom isn't here


  resources
  resources
  1.0

Is it commons-resources ? there is only a 0.1-dev version on
http://www.ibiblio.org/maven2

And a transitive dependency jdbc:jdbc:jar:2.0 isn't in the repository
(license problem ? where can I found it ?) but I don't know from who
it come from

Nicolas

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



Re: [M2] dependency properties

2005-04-13 Thread Aaron Bell
Thanks. So if I actually want to declare an eclipse dependency in M2 
today, is there a working 'configuration' element for the eclipse plugin?

Along the lines of:
...

  

  maven-eclipse-plugin
  1.0-SNAPSHOT
  
my-artifact
  

  

The 'projectDependency' element is a guess here..?
Thanks
- Aaron
Jason van Zyl wrote:
On Wed, 2005-04-13 at 15:11 +0100, Aaron Bell wrote:
In Maven 1 we have eclipse dependencies, i.e.

...
 
   true
 

There are no dependency properties in M2. Is there a working equivalent to this?

Typically in M1 dependency properties were always specific to a
particular plugin. We felt having configuration information for a plugin
should not be attached to a dependency so in M2 we have a section in the
POM that looks like this:

...
  
  
  

...
 

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


Re: [M2] dependency properties

2005-04-13 Thread Jason van Zyl
On Wed, 2005-04-13 at 15:11 +0100, Aaron Bell wrote:
> In Maven 1 we have eclipse dependencies, i.e.
> 
> 
> ...
>   
> true
>   
> 
> 
> There are no dependency properties in M2. Is there a working equivalent to 
> this?

Typically in M1 dependency properties were always specific to a
particular plugin. We felt having configuration information for a plugin
should not be attached to a dependency so in M2 we have a section in the
POM that looks like this:


...
  
  
  

...
 

-- 
jvz.

Jason van Zyl
jason at maven.org
http://On Wed, 2005-04-13 at 15:11 +0100, Aaron Bell wrote:
> In Maven 1 we have eclipse dependencies, i.e.
> 
> 
> ...
>   
> true
>   
> 
> 
> There are no dependency properties in M2. Is there a working equivalent to 
> this?

Typically in M1 dependency properties were always specific to a
particular plugin. We felt having configuration information for a plugin
should not be attached to a dependency so in M2 we have a section in the
POM that looks like this:


...
  

  
maven-assembly-plugin
1.0-SNAPSHOT

  src/assemble/bin.xml
  maven-2.0-SNAPSHOT

  

  

...
 

So each plugin has its own configuration which is the replacement
mechanism for properties that direct the operation of plugins in M1.

We are also trying to get smarter with configurations for plugins that
deal with artifact lists like the WAR plugin where you specify what you
what packaged. Here we want to be a bit more sensible insofar as
allowing the specification of exclusions. This will be easier in M2
generally because we have dependency scoping and dependencies scoped
"test" for example are automatically excluded from the list of run-time
dependencies that the WAR plugin might try to package.

Essentially we are trying to encapsulate the configuration for a plugin
in the respective plugin section in POM instead of attaching that
configuration to a dependency. Anything and everything you want to do
with respect to a plugin will be dealt with in the plugins section of
the POM.


-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

believe nothing, no matter where you read it,
or who has said it,
not even if i have said it,
unless it agrees with your own reason
and your own common sense.

 -- Buddha



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



[M2] dependency properties

2005-04-13 Thread Aaron Bell
In Maven 1 we have eclipse dependencies, i.e.

...
 
   true
 

There are no dependency properties in M2. Is there a working equivalent to this?
Thanks
- Aaron
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: best practice with Eclipse?

2005-04-13 Thread Thomas Recloux
> I am just getting started with Maven. Can anyone advise a practical way
> to use Eclipse on a Maven project with multiple subprojects?

I'am using an eclipse project for each maven project. I'm using the 
$ maven -Dgoal=eclipse multiproject:goal for generating all project's
eclipse files.

I'm also using the "eclipse.dependency" dependency for a faster development.

-- 
Thomas Recloux

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



Re: best practice with Eclipse?

2005-04-13 Thread Jamie Bisotti
I'm currently doing the latter...though I'd love to hear of a better way.

Jamie

On 4/13/05, Aaron Bell <[EMAIL PROTECTED]> wrote:
> I am just getting started with Maven. Can anyone advise a practical way
> to use Eclipse on a Maven project with multiple subprojects?
> 
> For example, are people using a separate Eclipse Java project for each
> subproject, or a single Java project for the whole hierarchy?
> 
> The former is implied as the 'eclipse:eclipse' goal (run on the top
> level) generates .classpath and .project files for each subproject.
> 
> If I use a single Eclipse project for the whole lot, I then have the
> problems of:
>   a. merging the .classpath dependencies from each subproject into the
> top level .classpath
>   b. managing *many* source locations in the Build Path
> 
> Thanks
> - Aaron
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Jamie Bisotti
Software Engineer
Lexmark International, Inc.

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



[M2] use maven-proxy ?

2005-04-13 Thread Nicolas Chalumeau
We use for maven 1 the maven-proxy between our server repo and
ibiblio. I try to find the way to do the same with m2 (I maybe doesn't
look on the good place). Is it possible ?

Nicolas,

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



best practice with Eclipse?

2005-04-13 Thread Aaron Bell
I am just getting started with Maven. Can anyone advise a practical way 
to use Eclipse on a Maven project with multiple subprojects?

For example, are people using a separate Eclipse Java project for each 
subproject, or a single Java project for the whole hierarchy?

The former is implied as the 'eclipse:eclipse' goal (run on the top 
level) generates .classpath and .project files for each subproject.

If I use a single Eclipse project for the whole lot, I then have the 
problems of:
 a. merging the .classpath dependencies from each subproject into the 
top level .classpath
 b. managing *many* source locations in the Build Path

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


Re: Purging old snapshot artifacts

2005-04-13 Thread Gisbert Amm
If others are interested too and probably want to vote:
To save your time, it's this issue:
http://jira.codehaus.org/browse/MPREPO-1
Regards,
Gisbert
Ryan Sonnek wrote:
I wrote a plugin to delete old snapshots.  you might want to search JIRA
and see if you can find it.  you can either install it in your own
sandbox, or vote for the issue and see if any developers can apply it to
the codebase.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 11:15 AM
To: users@maven.apache.org
Subject: Purging old snapshot artifacts
when using
$ maven multiproject:install-snapshot
you quickly end with a lot of obsolete artifacts in the local
repository.
Is there a simple way to purge them?
Thanks,
Thierry
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


distrib plugin best practice

2005-04-13 Thread Massimo Lusetti
How do you pack the (eventually) necessary bootstrap scripts, xml
metadata files, multimedia files, configuration files and so on when
building the binary distribution ?

Right now I'm doing it with some easy calls to ant copy/mkdir tasks
within maven.xml file in the postGoal of dist:prepare-bin-filesystem.

I wonder if there's a better way to do that.
And what about maven2 ?

Ciao
-- 
Massimo
http://meridio.blogspot.com

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



RE: Enterprise Build Presentation sample

2005-04-13 Thread Vincent Massol
Hi Geoffrey,

Hmm... No, I don't really have something complete and visible that would
show you how to implement it. I have this example from 2003 though
(http://blogs.codehaus.org/people/vmassol/archives/everest.zip), but bear in
mind that this is a bit oldish and little things have been improved (like
using multiproject instead of the reactor).

There is an example in upcoming Maven book (to be published early this
summer by O'Reilly) but it's a webapp example not a full-fledged J2EE
example. I could send it to you privately if you want.

WRT the container folder:
- It contains complete container configuration to make the applications in
that container runnable. For example, take WebLogic. It means that the
weblogic subprojects in container/ has a goal that generates a weblogic
domain from scratch (including config.xml, security files, etc). It also has
goals to start weblogic and run functional tests on it. Of course it's
better if these goals are provided by an existing plugin. I've done it for
jboss by including a jboss plugin in the Maven distribution. It creates a
jboss server configuration and can start/stop jboss. These container
configuration builds should take into account the environment that is built
as configuration for a developer platform is not the same as configuration
for a pre-production platform that uses clusters, etc.

The node folder is the set of containers that are installed on a single
machine type (I say type because machine can be in clusters). It should
contain scripts to start/stop the different container on that physical
machine type.

And last, I've now added a system folder that represents the full system. It
can have goal that allow installing the full system on a set of machines.
No, sorry there's no plugins right now for this, you'll have to write it
yourself ;-) This is where I put and run end 2 end system tests.

For CC, you could use CC's multiproject's feature but I personally don't
like it (I don't like how CC handles project dependencies) and I would
recommend using the Maven multiproject to handle project deps. Yes, this
means building the whole project when there's a change. However you could
simplify this by not running things like the web sites, etc.

Thanks
-Vincent

> -Original Message-
> From: Geoffrey Dagley [mailto:[EMAIL PROTECTED]
> Sent: mercredi 13 avril 2005 00:01
> To: users@maven.apache.org
> Subject: Enterprise Build Presentation sample
> 
> I have recently started using Maven and I am looking at the presentation
> on Enterprise Builds by Vincent Massol
> http://www.pivolis.com/pdf/Enterprise_Builds_V1.0.pdf
> 
> I am wondering if there exists a zip file with the sample application
> that could be used as a starting point for new applications?  I am very
> impressed with the features of Maven, but I am having difficulty getting
> out of the Ant mindset.  I am  not looking for anything too complex, but
> I am interested in the integration and functional testing aspects.  I
> would also like to ask about the purpose of the container folders in the
> file structure.
> 
> We are currently using CruiseControl for our continuous build, but it
> tries to build the ENTIRE project every time something is changed, so I
> would be interested in how a project like this might be setup for
> CruiseControl as well.
> 
> If there is a tutorial (beyond the intro on the Maven site), maybe I
> have missed it.  Please feel free to point me in the right direction.
> 
> Thanks,
> 
> Geof
> 
> 
> -
> 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]