RE: Equivalent to Ants -logger?

2004-06-18 Thread Eric Pugh
I'll see how I get on..   I sorta feel like the Dashboard's approach to
grabbing messages is a bit of hack..  Hijacking the stream via passing in
another logger is creative though..

I was also playing around, and realized that log4j's SocketHubAppender is
all I really need!  If I can tell Maven to use a SocketHubAppender and a
port, then I can fire up Chainsaw, attached a SocketHubReciever to that port
and get my what is CC and therefore what is maven doing messages via
that route...

If I want to customize the log4j.properties file that Maven uses, would I be
able to place a log4j.properties in the /maven/lib directory?  Would the
classpath loader (?) pick that up instead of the log4j.properties in
maven.jar?  Or do I need to edit the maven.jar version?

I might look at the XMLOutput approach, and the issues listed, but mucking
around that deep in Maven sounds scary!  I agree, sounds like a good 1.1
addition!

Eric

 -Original Message-
 From: Brett Porter [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 18, 2004 3:37 AM
 To: Maven Users List; Eric Hauser
 Subject: Re: Equivalent to Ants -logger?


 If you are really keen to do this, you'd need to specify a new
 XMLOutput to
 Jelly. It could be done, but its not on the 1.0 priority list:)

 - Brett

 Quoting Eric Hauser [EMAIL PROTECTED]:

  Maven doesn't have an extensible event model for builds like Ant does.
  Unfortunately, you also cannot use Ant's event model from inside Maven
  either.  There are a couple of open issues in Maven's JIRA about this:
 
  http://jira.codehaus.org/browse/MAVEN-553
  http://jira.codehaus.org/browse/MAVEN-126
 
  Eric Pugh wrote:
   Hi all,
  
   I am playing around with the Dashboard plugin for Eclipse which allows
   CruiseControl messages to be sent to a socket.  It integrates into Ant
   builds via passing in a custom Logger.  I'd like to do the
 same for Maven
   builds, but not sure how to hijack the Maven logger and send messages
   elsewhere..
  
   Eric
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
  --
  Eric W. Hauser
  Application Developer
  accessIndiana...linking hoosiers to government
  http://www.IN.gov
  10 W. Market St., Suite 600
  Indianapolis, IN 46204
  Phone: (317) 233-4007
  Fax: (317) 233-2011
 
  **
  CONFIDENTIALITY NOTICE:
  This E-mail and any attachments are confidential.  If you are not the
  intended recipient, you do not have permission to disclose, copy,
  distribute, or open any attachments.  If you have received this E-mail
  in error, please notify us immediately by returning it to the
 sender and
  delete this copy from your system.
  Thank you.
  accessIndiana, MyLocal.IN.gov, CivicNet
  **
 
 
  -
  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: Equivalent to Ants -logger?

2004-06-18 Thread Brett Porter
 If I want to customize the log4j.properties file that Maven uses, would I be
 able to place a log4j.properties in the /maven/lib directory?  Would the
 classpath loader (?) pick that up instead of the log4j.properties in
 maven.jar?  Or do I need to edit the maven.jar version?

No, maven/lib wouldn't work. You're best bet is to use the log4j
system property to override it. It uses default initialisation, so
just take a look at the log4j documentation and you'll see where to
jump into the precendence ahead of Maven.

Cheers,
Brett

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



RE: Equivalent to Ants -logger?

2004-06-18 Thread Eric Pugh
Thanks..  In retrospect, my post probably should have gone to log4j users!
At any rate, if I get it to work, I'll post something to the wiki about
remote monitoring of Maven.

Eric

 -Original Message-
 From: Brett Porter [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 18, 2004 9:43 AM
 To: Maven Users List; [EMAIL PROTECTED]
 Subject: Re: Equivalent to Ants -logger?


  If I want to customize the log4j.properties file that Maven
 uses, would I be
  able to place a log4j.properties in the /maven/lib directory?  Would the
  classpath loader (?) pick that up instead of the log4j.properties in
  maven.jar?  Or do I need to edit the maven.jar version?

 No, maven/lib wouldn't work. You're best bet is to use the log4j
 system property to override it. It uses default initialisation, so
 just take a look at the log4j documentation and you'll see where to
 jump into the precendence ahead of Maven.

 Cheers,
 Brett


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



Problem with includes and excludes in unitTest

2004-06-18 Thread Josip Gracin
Hello!

Could somebody please tell me why the following code from project.xml still 
tries to compile several hundred test classes when I run 
maven clean test:compile?  As far as I understand the includes's and 
excludes's, this should exclude all files and it should not compile 
anything, right?

unitTestSourceDirectorysrc/unitTestSourceDirectory
unitTest
includes
include**/*Test.java/include
/includes
excludes
exclude**/*/exclude
/excludes
resources
resource
directorysrc/directory
includes
include**/*.xml/include
/includes
/resource
/resources
/unitTest

Thanks in advance!


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



How is releaseplan.xml used?

2004-06-18 Thread Paul Spencer
I was working with the release plugin and notice the file 
releaseplan.xml in the cvs.  Per the comments in the file, it looks like 
a very clean way to release project.

http://cvs.apache.org/viewcvs.cgi/maven-plugins/release/releaseplan.xml?rev=1.4view=markup
How is this file used by the maven plugins, release and others?
Paul Spencer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: junit tests and resources

2004-06-18 Thread Webb Morris
Yes, the call simply returns null. It really doesn't make much sense.  When I run 
maven with the
-X option I can see the path being included, but when I try to access the resource, I 
get null.

WM

--- Dion Gillard [EMAIL PROTECTED] wrote:
 The resources aren't on the system classloader?
 
 On Thu, 17 Jun 2004 12:39:04 -0700 (PDT), Webb Morris
 [EMAIL PROTECTED] wrote:
  
  I have set up some resources for my unit tests in the unittest/resources area of my
 project.xml.
  These resources are being correctly copied to the target/test-classes directory. 
  However, when
 I
  try to access these resources using:
  
  ClassLoader.getSystemResourceAsStream(myresource)
  
  The resource can not be found.
  
  Any ideas?
  
  WM
  
  __
  Do you Yahoo!?
  Yahoo! Mail - You care about security. So do we.
  http://promotions.yahoo.com/new_mail
  
  -
  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]
 
 




__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

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



Réf. : Problem with includes and excludes in unitTest

2004-06-18 Thread Nicolas . CHALUMEAU
Use the exclude only for file regexp who match the include regexp that you 
don't want to include in your unit test (**/*AbstractTest.java for 
example).
unitTestSourceDirectory must be set to your test directory (src/test)

 unitTestSourceDirectorysrc/test/unitTestSourceDirectory
unitTest
includes
include**/*Test.java/include
/includes
resources
resource
directorysrc/directory
includes
 include**/*.xml/include
/includes
/resource
/resources
/unitTest

Nicolas,





Josip Gracin [EMAIL PROTECTED]
18/06/2004 15:42
Veuillez répondre à Maven Users List

 
Pour :  [EMAIL PROTECTED]
cc : 
Objet : Problem with includes and excludes in unitTest


Hello!

Could somebody please tell me why the following code from project.xml 
still 
tries to compile several hundred test classes when I run 
maven clean test:compile?  As far as I understand the includes's and 
excludes's, this should exclude all files and it should not compile 
anything, right?

unitTestSourceDirectorysrc/unitTestSourceDirectory
unitTest
includes
include**/*Test.java/include
/includes
excludes
exclude**/*/exclude
/excludes
resources
resource
directorysrc/directory
includes
 include**/*.xml/include
/includes
/resource
/resources
/unitTest

Thanks in advance!


-
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: Réf. : Problem with includes and excludes in unitTest

2004-06-18 Thread Josip Gracin
Hi, thanks for the quick reply!

On Friday 18 June 2004 16:31, [EMAIL PROTECTED] wrote:
 Use the exclude only for file regexp who match the include regexp that you
 don't want to include in your unit test (**/*AbstractTest.java for
 example).

I see.  But here is what I want to do.  I have all the sources and tests in 
the same tree called 'src'.  Now, I want to use as tests only classes that 
match *Test.java, but at the same time don't match a group of *Test.java 
files which are located in com.company.experiments package.

unitTestSourceDirectorysrc/unitTestSourceDirectory
unitTest
includes
include**/*Test.java/include
/includes
excludes
excludecom/company/experiments/**/*/exclude
/excludes
/unitTest

When I use include**/*Test.java/include, does this mean that only classes 
that end with Test.java will be compiled as tests?  Because it doesn't work 
for me for some reason.  This include is ignored and every possible class in 
the src directory gets included.

 unitTestSourceDirectory must be set to your test directory (src/test)

Unfortunately, this is an old project that we have and all tests are in the 
same directory as the sources.  

BTW, I use maven-1.0rc3.


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



Re: Réf. : Problem with includes and excludes in unitTest

2004-06-18 Thread Josip Gracin
I have attached the build element from my project.xml file.  And partial 
output of maven -X clean test:compile is available at

http://veeone.tel.fer.hr/out.txt

Best regards,
Josip
	build
		sourceDirectorysrc/sourceDirectory 
		resources
			resource
directorysrc/directory
	includes
   			include**/*/include
	/includes
excludes
exclude**/*.java/exclude
excludeCVS/exclude
/excludes 
			/resource
		/resources
		sourceModifications
			sourceModification
classNamenonExistantClass/className
excludes
	excludehr/**/exclude
	excludecom/ingemark/experiments/**/exclude
	exclude**/*Test.java/exclude
	exclude**/test/**/*.java/exclude
	excludecom/ingemark/security/ws/**/exclude
/excludes
			/sourceModification
		/sourceModifications
		unitTestSourceDirectorysrc/unitTestSourceDirectory
		unitTest
			includes
include**/*Test.java/include
			/includes 
			excludes
excludecom/ingemark/experiments/**/*.java/exclude
			/excludes 
			resources
resource
	directorysrc/directory
			includes
   			include**/*.xml/include
   	 	/includes
/resource
			/resources 
		/unitTest
	/build

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

Réf. : Re: Réf. : Problem with includes and excludes in unitTest

2004-06-18 Thread Nicolas . CHALUMEAU
I see a first probleme with your resources :

sourceDirectorysrc/sourceDirectory 
resources
resource
directorysrc/directory

According to this section the directory where are the resources is 
src/src/**/*.xml  for your src and your test. I sure you want it to be 
only src/*.xml. 

So set it to (for  sourceDirectory and unitTestSourceDirectory) :
sourceDirectorysrc/sourceDirectory 
resources
resource
directory./directory

Can you show the directory structure of your project ?

Nicolas





Josip Gracin [EMAIL PROTECTED]
18/06/2004 17:08
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Re: Réf. : Problem with includes and excludes in unitTest


I have attached the build element from my project.xml file.  And partial 

output of maven -X clean test:compile is available at

http://veeone.tel.fer.hr/out.txt

Best regards,
Josip
-
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: Réf. : Re: Réf. : Problem with includes and excludes in unitTest

2004-06-18 Thread John Casey
It has absolutely NOT been my experience for maven to work in this
fashion. The resources section has NOTHING to do with the
sourceDirectory section. His original specification is correct in
this.

-j


On Fri, 2004-06-18 at 11:18, [EMAIL PROTECTED] wrote:
 I see a first probleme with your resources :
 
 sourceDirectorysrc/sourceDirectory 
 resources
 resource
 directorysrc/directory
 
 According to this section the directory where are the resources is 
 src/src/**/*.xml  for your src and your test. I sure you want it to be 
 only src/*.xml. 
 
 So set it to (for  sourceDirectory and unitTestSourceDirectory) :
 sourceDirectorysrc/sourceDirectory 
 resources
 resource
 directory./directory
 
 Can you show the directory structure of your project ?
 
 Nicolas
 
 
 
 
 
 Josip Gracin [EMAIL PROTECTED]
 18/06/2004 17:08
 Veuillez rpondre  Maven Users List
 
  
 Pour :  Maven Users List [EMAIL PROTECTED]
 cc : 
 Objet : Re: Rf. : Problem with includes and excludes in unitTest
 
 
 I have attached the build element from my project.xml file.  And partial 
 
 output of maven -X clean test:compile is available at
 
 http://veeone.tel.fer.hr/out.txt
 
 Best regards,
 Josip
 -
 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]
-- 
John Casey
[EMAIL PROTECTED]
CommonJava Open Components Project
http://www.commonjava.org


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



Re: RE : RE : Maven Javadoc doesn't split packages

2004-06-18 Thread Digby
Tried it on JDK1.4 and the problem went away. Thanks for your help.
Chuck Daniels wrote:
There is a problem with using the javadoc plugin with JDK 1.3.  It does not
properly generate the index frameset and the overview summary page.  The
index frameset shows only 2 frames, not 3.  Also, the overview summary (in
the primary frame of the frameset) does not show the table of packages.
However, using JDK 1.4 works just fine.  I posted this some time ago, but
did not receive any solution to making this work for 1.3.

-Original Message-
From: Heritier Arnaud [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 8:09 PM
To: Maven Users List
Subject: RE : RE : Maven Javadoc doesn't split packages
If there's no bug in the javadoc plugin and if you define your
project package as com.company.project it should work
Arnaud

-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de Digby
Envoyé : mercredi 16 juin 2004 21:04
À : [EMAIL PROTECTED]
Objet : Re: RE : Maven Javadoc doesn't split packages
Yes - I have com.company.project.xxx and com.company.project.yyy, but
all the classes are bundled together.
Thanks
Digby
Heritier Arnaud wrote:
Do you have a common root package ??
In maven we have a lot of packages but we have a common root
org.apache.maven
http://maven.apache.org/apidocs/index.html
Is it your case ??
Arnaud

-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de Digby Envoyé :
mercredi 16 juin 2004 20:28 À : [EMAIL PROTECTED]
Objet : Maven Javadoc doesn't split packages
Hi,
Since Maven is only supposed to produce one deliverable, does
this mean
that the javadoc plugin will only produce one package - the
one defined
in the POM? My project is split into several packages, but
they are all
lumped together under one package and there is no list of
packages in
the frameset (I get the one-package two-frame one).
I've had a look at what other people do and have noticed that the
Commons Net project has a separate Javadoc task in the
build.xml, but at
this stage I'd like to use the default Javadoc plugin.
I've tried adding various params to the project.properties file and
trying to specify more than one package in the POM, but
nothing seemed
to help. Am i missing something, or do I need a separate goal
to help me?
TIA
Digby

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


Having a problem with X-Doclet

2004-06-18 Thread Robert Durgin
I keep getting this error everytime I run X-Doclet, I have all the libraries 
downloaded, and I still get the same thing if I try deleting the libraries 
and trying to let maven download them itself, thanks in advance

Tag library requested that is not present: 'maven' in plugin: 
'maven-xdoclet-plugin-1.2.1'
Attempting to download xdoclet-1.2.1.jar.
WARNING: Failed to download xdoclet-1.2.1.jar.
Attempting to download xdoclet-xdoclet-module-1.2.1.jar.
WARNING: Failed to download xdoclet-xdoclet-module-1.2.1.jar.

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Having a problem with X-Doclet

2004-06-18 Thread Konstantin Priblouda
--- Robert Durgin [EMAIL PROTECTED] wrote:
 I keep getting this error everytime I run X-Doclet,
 I have all the libraries 
 downloaded, and I still get the same thing if I try
 deleting the libraries 
 and trying to let maven download them itself, thanks
 in advance
 
 Tag library requested that is not present: 'maven'
 in plugin: 
 'maven-xdoclet-plugin-1.2.1'
 Attempting to download xdoclet-1.2.1.jar.
 WARNING: Failed to download xdoclet-1.2.1.jar.
 Attempting to download
 xdoclet-xdoclet-module-1.2.1.jar.
 WARNING: Failed to download
 xdoclet-xdoclet-module-1.2.1.jar.

did you checked wheher those are at ibiblio?

regards,

=
[ Konstantin Pribluda ( ko5tik ) ]
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
[ http://www.pribluda.de ]

__
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: Having a problem with X-Doclet

2004-06-18 Thread Robert Durgin
They aren't, but I threw in those two jars manually into the lib directory, 
and maven still tries to download them


From: Konstantin Priblouda [EMAIL PROTECTED]
Reply-To: Maven Users List [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Subject: Re: Having a problem with X-Doclet
Date: Fri, 18 Jun 2004 11:04:03 -0700 (PDT)
--- Robert Durgin [EMAIL PROTECTED] wrote:
 I keep getting this error everytime I run X-Doclet,
 I have all the libraries
 downloaded, and I still get the same thing if I try
 deleting the libraries
 and trying to let maven download them itself, thanks
 in advance

 Tag library requested that is not present: 'maven'
 in plugin:
 'maven-xdoclet-plugin-1.2.1'
 Attempting to download xdoclet-1.2.1.jar.
 WARNING: Failed to download xdoclet-1.2.1.jar.
 Attempting to download
 xdoclet-xdoclet-module-1.2.1.jar.
 WARNING: Failed to download
 xdoclet-xdoclet-module-1.2.1.jar.
did you checked wheher those are at ibiblio?
regards,
=
[ Konstantin Pribluda ( ko5tik ) ]
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung.
Arbeitsort: Mainz
Skills:  Programieren, Kentnisse in OpenSource-Bereich
[ http://www.pribluda.de ]
__
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]
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

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


global properties

2004-06-18 Thread Dmitry Beransky
Hi,
There is a handful of properties that I would like to define globally, 
without requiring developers to enter them into individual build.properties 
files.  Here are some of the properties:

maven.build.dir
maven.repo.remote
maven.jnlp.signjar.dname.cn
maven.jnlp.signjar.dname.ou
maven.jnlp.signjar.dname.o
maven.jnlp.signjar.dname.c
pom.organization.name
How do I do this?
Dmitry
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Having a problem with X-Doclet

2004-06-18 Thread Steven Lohrenz
You don't even have to go as far as defining a remote repository.  You
could just copy the files to your local repository and have Maven find
them there.  It won't try to download them after they are there.

I use that trick when I need to use a bunch of jar files that my company
has issued from other projects.  I just created a folder called
xxxcompany in .maven/repository/ directory, create a jar directory under
that and then put the necessary jars in there.  Then define the correct
dependency stuff for them and voila, it works.

Steven Lohrenz

-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 7:25 PM
To: 'Maven Users List'
Subject: RE: Having a problem with X-Doclet


It will unless you have jar override on. 

Alternatively, I found maven proxy to be usefull in this case. 
If I want to download a jar manually and put it somewhere on my network
I just put it on proxy server. Proxy will find it and will not go for
ibiblio. (pretty neat)

Alex.

 -Original Message-
 From: Robert Durgin [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 18, 2004 2:20 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Having a problem with X-Doclet
 
 They aren't, but I threw in those two jars manually into the lib
 directory,
 and maven still tries to download them
 
 
 From: Konstantin Priblouda [EMAIL PROTECTED]
 Reply-To: Maven Users List [EMAIL PROTECTED]
 To: Maven Users List [EMAIL PROTECTED]
 Subject: Re: Having a problem with X-Doclet
 Date: Fri, 18 Jun 2004 11:04:03 -0700 (PDT)
 
 --- Robert Durgin [EMAIL PROTECTED] wrote:
   I keep getting this error everytime I run X-Doclet,
   I have all the libraries
   downloaded, and I still get the same thing if I try
   deleting the libraries
   and trying to let maven download them itself, thanks
   in advance
  
   Tag library requested that is not present: 'maven'
   in plugin:
   'maven-xdoclet-plugin-1.2.1'
   Attempting to download xdoclet-1.2.1.jar.
   WARNING: Failed to download xdoclet-1.2.1.jar.
   Attempting to download
   xdoclet-xdoclet-module-1.2.1.jar.
   WARNING: Failed to download
   xdoclet-xdoclet-module-1.2.1.jar.
 
 did you checked wheher those are at ibiblio?
 
 regards,
 
 =
 [ Konstantin Pribluda ( ko5tik ) ]
 Zu Verstärkung meines Teams suche ich ab Sofort einen
 Softwareentwickler[In] für die Festanstellung.
 Arbeitsort: Mainz
 Skills:  Programieren, Kentnisse in OpenSource-Bereich
 [ http://www.pribluda.de ]
 
 __
 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]
 
 
 _
 FREE pop-up blocking with the new MSN Toolbar – get it now!
 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
 
 
 -
 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: junit tests and resources

2004-06-18 Thread Webb Morris
In case anyone is following this thread or finds it while solving their own problem in 
the future,
here is what I ended up having to do:

InputStream is =
Thread.currentThread().getContextClassLoader()
  .getResourceAsStream(testResource);

Apparently there are some weird things going on with the JUnit ClassLoader. Also, if 
you are
attempting to access a resource in the root directory (directly under test-classes) 
then be sure
to prefix your resource with a / (i.e. /text.xml).

Thanks to those who tried to help!

WM

--- Webb Morris [EMAIL PROTECTED] wrote:
 Yes, the call simply returns null. It really doesn't make much sense.  When I run 
 maven with the
 -X option I can see the path being included, but when I try to access the resource, 
 I get null.
 
 WM
 
 --- Dion Gillard [EMAIL PROTECTED] wrote:
  The resources aren't on the system classloader?
  
  On Thu, 17 Jun 2004 12:39:04 -0700 (PDT), Webb Morris
  [EMAIL PROTECTED] wrote:
   
   I have set up some resources for my unit tests in the unittest/resources area of 
   my
  project.xml.
   These resources are being correctly copied to the target/test-classes directory. 
   However,
 when
  I
   try to access these resources using:
   
   ClassLoader.getSystemResourceAsStream(myresource)
   
   The resource can not be found.
   
   Any ideas?
   
   WM
   
   __
   Do you Yahoo!?
   Yahoo! Mail - You care about security. So do we.
   http://promotions.yahoo.com/new_mail
   
   -
   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]
  
  
 
 
 
   
 __
 Do you Yahoo!?
 Take Yahoo! Mail with you! Get it on your mobile phone.
 http://mobile.yahoo.com/maildemo 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

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



Not authorized by proxy

2004-06-18 Thread Wang, George
I put proxy configuration into build.properties file

But I got the following errors when I typed maven:
Error retrieving artifact from
[http://www.ibiblio.org/maven//junit/jars/junit-3.7.jar]:
java.io.IOException: Not authorized by proxy.

I doubled checked my user and password and they are all correct (same as
my w2k login).  Mozilla uses the same credentials and it works.

Thanks for help,
George

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



RE: Not authorized by proxy

2004-06-18 Thread Wang, George
My company appears to use Proxy-Authenticate: NTLM.  Does this mean
that maven does not support this yet?  I saw commons-httpclient-2.0 has
NTLM proxy support.

Thanks,
George

-Original Message-
From: Wang, George 
Sent: Friday, June 18, 2004 4:05 PM
To: [EMAIL PROTECTED]
Subject: Not authorized by proxy

I put proxy configuration into build.properties file

But I got the following errors when I typed maven:
Error retrieving artifact from
[http://www.ibiblio.org/maven//junit/jars/junit-3.7.jar]:
java.io.IOException: Not authorized by proxy.

I doubled checked my user and password and they are all correct (same as
my w2k login).  Mozilla uses the same credentials and it works.

Thanks for help,
George

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



dist.codehaus.org mirror?

2004-06-18 Thread Stefan Groschupf
Hi,
I try to dowload latest meven ide from 
http://dist.codehaus.org/mevenide/release but this folder does not 
exist. ;(
Has someone a copy of the latest snapshot or a mirror of 
dist.codehaus.org?

Thanks!
Stefan
---
enterprise information technology consulting
open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: junit tests and resources

2004-06-18 Thread Brett Porter
SomeTest.class.getResourceAsStream (or
getClass().getResourceAsStream()) would work just as effectively. This
is how I would do it whether I was using Maven or not.

This is not a weird thing - Maven doesn't shove everything onto the
system classloader, it builds up its own.

- Brett

On Fri, 18 Jun 2004 11:49:13 -0700 (PDT), Webb Morris
[EMAIL PROTECTED] wrote:
 
 In case anyone is following this thread or finds it while solving their own problem 
 in the future,
 here is what I ended up having to do:
 
 InputStream is =
 Thread.currentThread().getContextClassLoader()
   .getResourceAsStream(testResource);
 
 Apparently there are some weird things going on with the JUnit ClassLoader. Also, if 
 you are
 attempting to access a resource in the root directory (directly under test-classes) 
 then be sure
 to prefix your resource with a / (i.e. /text.xml).
 
 Thanks to those who tried to help!
 
 WM
 
 
 
 --- Webb Morris [EMAIL PROTECTED] wrote:
  Yes, the call simply returns null. It really doesn't make much sense.  When I run 
  maven with the
  -X option I can see the path being included, but when I try to access the 
  resource, I get null.
 
  WM
 
  --- Dion Gillard [EMAIL PROTECTED] wrote:
   The resources aren't on the system classloader?
  
   On Thu, 17 Jun 2004 12:39:04 -0700 (PDT), Webb Morris
   [EMAIL PROTECTED] wrote:
   
I have set up some resources for my unit tests in the unittest/resources area 
of my
   project.xml.
These resources are being correctly copied to the target/test-classes 
directory. However,
  when
   I
try to access these resources using:
   
ClassLoader.getSystemResourceAsStream(myresource)
   
The resource can not be found.
   
Any ideas?
   
WM
   
__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
   
-
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]
  
  
 
 
 
 
  __
  Do you Yahoo!?
  Take Yahoo! Mail with you! Get it on your mobile phone.
  http://mobile.yahoo.com/maildemo
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 __
 Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.
 http://promotions.yahoo.com/new_mail
 
 -
 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: global properties

2004-06-18 Thread Brett Porter
There isn't a way in Maven to do this yet, unless you extract
defaults.properties from maven.jar and modify it.

This won't work for pom.organization.name though as that goes in the
project.xml.

Also, I wouldn't set a global maven.build.dir. What did you intend to set it to?

- Brett

On Fri, 18 Jun 2004 11:20:06 -0700, Dmitry Beransky [EMAIL PROTECTED] wrote:
 
 Hi,
 
 There is a handful of properties that I would like to define globally,
 without requiring developers to enter them into individual build.properties
 files.  Here are some of the properties:
 
 maven.build.dir
 maven.repo.remote
 maven.jnlp.signjar.dname.cn
 maven.jnlp.signjar.dname.ou
 maven.jnlp.signjar.dname.o
 maven.jnlp.signjar.dname.c
 pom.organization.name
 
 How do I do this?
 
 Dmitry
 
 -
 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: How is releaseplan.xml used?

2004-06-18 Thread Brett Porter
The release plugin hasn't really gotten off the ground - it is being
kept around because some of the classes are used elsewhere.

- Brett

On Fri, 18 Jun 2004 09:44:18 -0400, Paul Spencer
[EMAIL PROTECTED] wrote:
 
 I was working with the release plugin and notice the file
 releaseplan.xml in the cvs.  Per the comments in the file, it looks like
 a very clean way to release project.
 
 http://cvs.apache.org/viewcvs.cgi/maven-plugins/release/releaseplan.xml?rev=1.4view=markup
 
 How is this file used by the maven plugins, release and others?
 
 Paul Spencer
 
 -
 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: global properties

2004-06-18 Thread Jason van Zyl
On Fri, 2004-06-18 at 20:19, Brett Porter wrote:
 There isn't a way in Maven to do this yet, unless you extract
 defaults.properties from maven.jar and modify it.
 
 This won't work for pom.organization.name though as that goes in the
 project.xml.
 
 Also, I wouldn't set a global maven.build.dir. What did you intend to set it to?

You can take a look at the Geronimo build. They have a work around for a
set of projects by using a front-end maven.xml to control all the
builds. Not exactly pretty, but it works.

 - Brett
 
 On Fri, 18 Jun 2004 11:20:06 -0700, Dmitry Beransky [EMAIL PROTECTED] wrote:
  
  Hi,
  
  There is a handful of properties that I would like to define globally,
  without requiring developers to enter them into individual build.properties
  files.  Here are some of the properties:
  
  maven.build.dir
  maven.repo.remote
  maven.jnlp.signjar.dname.cn
  maven.jnlp.signjar.dname.ou
  maven.jnlp.signjar.dname.o
  maven.jnlp.signjar.dname.c
  pom.organization.name
  
  How do I do this?
  
  Dmitry
  
  -
  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]

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


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



Re: global properties

2004-06-18 Thread Jason van Zyl
On Fri, 2004-06-18 at 21:23, Dmitry Beransky wrote:
 At 05:19 PM 6/18/2004, you wrote:
 There isn't a way in Maven to do this yet, unless you extract
 defaults.properties from maven.jar and modify it.
 
 that's a shame.  But I have a small team, so I can just ask everyone to 
 create individual build.properties.  I do hope this feature will be added 
 to maven. IMHO properties should be cascaded this way:
 
 1.  Organization wide props
 2.  System wide props
 3.  User props
 4.  Project props

This is essentially how things work in maven2.

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


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



RAR Plugin Release

2004-06-18 Thread Dion Gillard
The maven team is pleased to announce the Maven RAR Plugin 1.0 release! 

http://maven.apache.org/reference/plugins/rar/

Rar Plugin for Maven 

New Features:

o Initial release after generouse donation by David Jencks  

To automatically install the plugin, type the following on a single line:

maven plugin:download 
  -DgroupId=maven 
  -DartifactId=maven-rar-plugin
  -Dversion=1.0

For a manual installation, you can download the plugin here:
http://www.ibiblio.org/maven/maven/plugins/maven-rar-plugin-1.0.jar
 

Have fun!
-The maven team

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



Maven Cruise Control Plugin 1.3 released

2004-06-18 Thread Brett Porter
The maven team is pleased to announce the Maven Cruise Control Plugin 1.3 
release! 

http://maven.apache.org/reference/plugins/cruisecontrol/

A plugin to handle the generating and maintaining of Cruise Control 
configuration. Requires Maven 1.0 RC2. 

Changes in this version include:

  New Features:

o implementation of run goal Issue: MPCRUISECONTROL-3. Thanks to Carsten 
  Ziegeler. 
o Allow SVN repositories to by used by cruisecontrol. 
o allow user to specify different cc template to use 

  Fixed bugs:

o allow the maven.cruisecontrol.home property to be overrided by other 
  plugins via preGoal calls.  

To automatically install the plugin, type the following on a single line:

maven plugin:download 
  -DgroupId=maven 
  -DartifactId=maven-cruisecontrol-plugin
  -Dversion=1.3

For a manual installation, you can download the plugin here:
http://www.ibiblio.org/maven/maven/plugins/maven-cruisecontrol-plugin-1.3.jar
 

Have fun!
-The maven team
  

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