Re: is maven.xdoc.distributionUrl working?

2004-11-26 Thread Michael Niemaz
Do you mean I have to do it by hand after the 'site' goal?
It's quiet weird. What's the point of having 
'maven.xdoc.distributionUrl' then?
What the relation between versions, maven.xdoc.distributionUrl and the
manually created download.xml?
I'm still a nit confused ... sorry ;-(

--mike
Charles Daniels wrote:
-Original Message-
From: Michael Niemaz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 25, 2004 4:47 AM
To: Maven Users List
Subject: is maven.xdoc.distributionUrl working?

Hi,
   No matter what I affect to maven.xdoc.distributionUrl, 
the download
   page is always empty. It only gets something when I play 
with versions
   but then it only links to jar files ;-(
   Do you know how to generate this download page which would list
   the files contained in maven.xdoc.distributionUrl for download?
   In fact, I would like to produce exactly what's on the 
maven download
   page. Automatically of course ;-)
   

That is precisely how things are supposed to work with
maven.xdoc.distributionUrl.  If you want to produce a download page
similar to the Maven download page, then you must create your own
download.xml file.  This is exactly what is done in the Maven project
itself.  See the Maven CVS repository (xdocs/start/download.xml):
http://cvs.apache.org/viewcvs.cgi/maven/xdocs/start/.
 

Thanx,
--mike
Gezerk wrote:
   

Set this property: maven.xdoc.distributionUrl
From the site:
Location where the artifacts are distributed. This property is
optional. If it is not defined, then the Download report will not be
added to the navigation menu. NOTE: In the future this information
will be described in the POM. Usage example:
maven.xdoc.distributionUrl=http://www.ibiblio.org/maven/maven
 

/plugins.
   

Info here: 
 

http://maven.apache.org/reference/plugins/xdoc/properties.html
   

On Fri, 19 Nov 2004 13:23:26 +0200 (EET), Teemu Hiltunen
[EMAIL PROTECTED] wrote:
 

Greetings!
Is there any automagical thing to create this Downloads 
   

page into the
   

site?
Like 
   

http://maven.apache.org/reference/plugins/dist/downloads.html for
   

example.
Thanks in advance,
Teemu Hiltunen

   

-
   

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

   

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

 

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


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

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


Question about cvs directory layout and Maven project directory layout

2004-11-26 Thread trincermail-maven
hi,
I've generated a simple project using commannd: maven
genapp. in the file project.xml, i noticed there is
an entry that's is about cvs repository.connection. 

I don't know  how  maven deals with the cvs
repository.  Will maven checkout from cvs repository
before building? 
Is there any restriction in how to layout the cvs
repository to match the maven project directory
layout?

Thanks alot !

_
Do You Yahoo!?
150MP3
http://music.yisou.com/

http://image.yisou.com
1G1000
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

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



sending mail if compailation fails

2004-11-26 Thread rajas kumar
I want to send a mail if compilation fails.We have a several modules. I am 
using the technique of module level compilation by the help of maven reactor. 
If any module fails i want to send mail to the particular module owner. I am 
only able to send mail if testcase fails. How can is send mail if compilation 
is failed. 
 
 
pcm--!
!
!--admin
!--build
!--user
!--people
!-util 
!-web
 
   
 
 
 
 
Any boby plz help in this issue
 
 
 
 
thanksregards
praveen


-
Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.

Re: sending mail if compailation fails

2004-11-26 Thread Corey Scott
This may not be the reply you are after, but I personally have found
CruiseControl extremely useful for this kind of thing.

-Corey


On Fri, 26 Nov 2004 04:19:13 -0800 (PST), rajas kumar
[EMAIL PROTECTED] wrote:
 I want to send a mail if compilation fails.We have a several modules. I am 
 using the technique of module level compilation by the help of maven reactor. 
 If any module fails i want to send mail to the particular module owner. I am 
 only able to send mail if testcase fails. How can is send mail if compilation 
 is failed.
 
pcm--!
!
!--admin
!--build
!--user
!--people
!-util
!-web
 
 Any boby plz help in this issue
 
 thanksregards
 praveen
 
 
 -
 Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.


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



Re: sending mail if compailation fails

2004-11-26 Thread Nicolas Chalumeau
The nagEmailAddress element in the pom is use by CC to send email when
build fail

I don't think you can send an email in a postGoal of test as if there
is test failure the build stop. The solution to don't stop the build
when there are test failure is probably to set the
maven.test.failure.ignore to true and check maven.test.failure value
to send email or not.

Nicolas,


On Fri, 26 Nov 2004 20:26:37 +0800, Corey Scott [EMAIL PROTECTED] wrote:
 This may not be the reply you are after, but I personally have found
 CruiseControl extremely useful for this kind of thing.
 
 -Corey
 
 On Fri, 26 Nov 2004 04:19:13 -0800 (PST), rajas kumar
 
 
 [EMAIL PROTECTED] wrote:
  I want to send a mail if compilation fails.We have a several modules. I am 
  using the technique of module level compilation by the help of maven 
  reactor. If any module fails i want to send mail to the particular module 
  owner. I am only able to send mail if testcase fails. How can is send mail 
  if compilation is failed.
 
 pcm--!
 !
 !--admin
 !--build
 !--user
 !--people
 !-util
 !-web
 
  Any boby plz help in this issue
 
  thanksregards
  praveen
 
 
  -
  Do you Yahoo!?
  Yahoo! Mail - Helps protect you from nasty viruses.
 
 
 -
 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]



Classes in the same directory as source

2004-11-26 Thread jmutonho





If one has classes that are sitting in the same directory as the
source you want to compile , is there a way of telling maven to use
the already compiled classes in its classpath in order to compile the
not yet compiled java files?

(of course one way is to jar the classes and include the jar as a
dependency)

Jeff
Registered Linux user number 366042




This e-mail is intended exclusively for the addressee.
If you are not the addressee you must not read, copy, use or disclose
the e-mail nor the content; please notify us immediately (by clicking Reply) 
and delete this e-mail.

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



Re: Dynamically modifing the ressources

2004-11-26 Thread Charles-Alexandre Sabourdin
I found the perfect  patch for my problem.
In the same director I set a project.xml with 
directorysrc/conf/default/directory
and set a project-confiA.xml
with extendproject.xml/extend , and a new id information and
build stuff. 
this way I just have to do a maven -p project-confiA.xml to make it works.

I would like to thanks everone for their help ;)

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



[ANN] Mevenide 0.4 for Netbeans released

2004-11-26 Thread Milos Kleint
The mevenide team is pleased to announce the Mevenide Netbeans project support 
0.4 release! 
http://mevenide.codehaus.org/mevenide-netbeans-project

It works with the newly released Netbeans 4.0 RC1.
For download, go to http://mevenide.codehaus.org/download.html

Changes in this version include:

  New Features:

o When changing version/artifactId/groupId suggest to update 
  projects that depend on it. 
o Link pmd and checkstyle reports' output with the IDE's editor. Annotate the 
  rule violations in the editor. 
o Additional project properties panels, updated some other panels,
recognizing and writing
 inherited properties from the parent pom as well.

Multiple bugs fixed.

Have fun!
-The mevenide team

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



Re: Classes in the same directory as source

2004-11-26 Thread Jason van Zyl
On Fri, 2004-11-26 at 08:16, [EMAIL PROTECTED] wrote:
 
 
 
 If one has classes that are sitting in the same directory as the
 source you want to compile , is there a way of telling maven to use
 the already compiled classes in its classpath in order to compile the
 not yet compiled java files?

No because it's not a good practice, in fact it's bad, and something
Maven would never support. Separate your compiled classes from your
sources or you're just looking for a world of pain.

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



Classpath order

2004-11-26 Thread Daniel Frey
I have some classpath issues which are (at the moment) only solvable by
specifying the order of the libraries in the classpath. How do I do that
with maven?
 
Thanks, Daniel


Re: Classpath order

2004-11-26 Thread Jason van Zyl
On Fri, 2004-11-26 at 13:11, Daniel Frey wrote:
 I have some classpath issues which are (at the moment) only solvable by
 specifying the order of the libraries in the classpath. How do I do that
 with maven?

The order in which you specify your dependencies is the order in which
they are appended to the classpath used. Will that do the trick for you?
Look at org.apache.maven.DependencyClasspathBuilder in CVS. I would give
you the URL but cvs.apache.org seems to be down.
 
 Thanks, Daniel

-- 
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: Maven and Eclipse External Tools

2004-11-26 Thread Duncan Krebs
Thanks for the tip, it worked. - Duncan

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 25, 2004 9:36 PM
Subject: Re: Maven and Eclipse External Tools


 try using eclipse:external-tools-21 if you're using anything above eclipse
 2.1.

 c.

  Hi,
  I'm trying to figure out how to import the externaltools.xml file
  generated by the eclipse:external-tools goal. I read the documentation,
  and made sure this file is stored in
 
  ${eclipse
 
workspace}/.metadata/.plugins/org.eclipse.ui.externaltools/externaltools.xml
 
  but when I go to run-externaltools in eclipse I don't see anything
  different. Part of the problem might be that I'm not too familiar with
  external tools in general but shouldn't I see a list of external tools
  that are defined in the file as menu options? Or should I not see
  anything different?
 
  Thanks
  Duncan




 -
 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: sending mail if compailation fails

2004-11-26 Thread Brett Porter
http://wiki.codehaus.org/maven/EmailTestReports

I think you will also need to ignore failures.

In the end, I found it better to use cruise control and let it fail
and mail when the tests fail.

- Brett


On Fri, 26 Nov 2004 14:05:14 +0100, Nicolas Chalumeau
[EMAIL PROTECTED] wrote:
 The nagEmailAddress element in the pom is use by CC to send email when
 build fail
 
 I don't think you can send an email in a postGoal of test as if there
 is test failure the build stop. The solution to don't stop the build
 when there are test failure is probably to set the
 maven.test.failure.ignore to true and check maven.test.failure value
 to send email or not.
 
 Nicolas,
 
 
 
 
 On Fri, 26 Nov 2004 20:26:37 +0800, Corey Scott [EMAIL PROTECTED] wrote:
  This may not be the reply you are after, but I personally have found
  CruiseControl extremely useful for this kind of thing.
 
  -Corey
 
  On Fri, 26 Nov 2004 04:19:13 -0800 (PST), rajas kumar
 
 
  [EMAIL PROTECTED] wrote:
   I want to send a mail if compilation fails.We have a several modules. I 
   am using the technique of module level compilation by the help of maven 
   reactor. If any module fails i want to send mail to the particular module 
   owner. I am only able to send mail if testcase fails. How can is send 
   mail if compilation is failed.
  
  pcm--!
  !
  !--admin
  !--build
  !--user
  !--people
  !-util
  !-web
  
   Any boby plz help in this issue
  
   thanksregards
   praveen
  
  
   -
   Do you Yahoo!?
   Yahoo! Mail - Helps protect you from nasty viruses.
  
 
  -
  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: sending mail if compailation fails

2004-11-26 Thread Nicolas Chalumeau
Brett Porter wrote:

http://wiki.codehaus.org/maven/EmailTestReports
  

I never see this link ! That's the solution I try to explain in my 
precedante mail I think !

I think you will also need to ignore failures.
  

Doesn't maven.test.failure.ignore ignore test failure ?

In the end, I found it better to use cruise control and let it fail
and mail when the tests fail.
  

I am totaly agree with you : a build tool isn't a continious integration 
tool

Nicolas,

- Brett


On Fri, 26 Nov 2004 14:05:14 +0100, Nicolas Chalumeau
[EMAIL PROTECTED] wrote:
  

The nagEmailAddress element in the pom is use by CC to send email when
build fail

I don't think you can send an email in a postGoal of test as if there
is test failure the build stop. The solution to don't stop the build
when there are test failure is probably to set the
maven.test.failure.ignore to true and check maven.test.failure value
to send email or not.

Nicolas,




On Fri, 26 Nov 2004 20:26:37 +0800, Corey Scott [EMAIL PROTECTED] wrote:


This may not be the reply you are after, but I personally have found
CruiseControl extremely useful for this kind of thing.

-Corey

On Fri, 26 Nov 2004 04:19:13 -0800 (PST), rajas kumar


[EMAIL PROTECTED] wrote:
  

I want to send a mail if compilation fails.We have a several modules. I am 
using the technique of module level compilation by the help of maven 
reactor. If any module fails i want to send mail to the particular module 
owner. I am only able to send mail if testcase fails. How can is send mail 
if compilation is failed.

   pcm--!
   !
   !--admin
   !--build
   !--user
   !--people
   !-util
   !-web

Any boby plz help in this issue

thanksregards
praveen


-
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.



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