Re: [MAVEN - PMD]

2009-07-16 Thread javadevd...@googlemail.com
Hi!

thanks for that answer... but why does it use pmd-jdk14 and not the
pmd-4.2.2.jar ?
(i looked for this jar as dependency and so i couldnt find the version...)

Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
ruleset- exclude patterns doesnt work with the actual plugin... but
with pm 4.2.5 )

Or is there another way, to say to the plugin to use pmd version 4.2.5?

thanks


2009/7/15 Arnaud HERITIER aherit...@gmail.com:
 PMD 4.2.2http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html

 Cheers,

 Arnaud

 # Arnaud Héritier
 # Software Factory Manager
 # eXo Platform
 # http://www.exoplatform.com
 # http://blog.aheritier.net


 On Wed, Jul 15, 2009 at 3:42 PM, javadevd...@googlemail.com 
 javadevd...@googlemail.com wrote:

 Hello!

 Does anybody know which PMD Version is included in the actual Maven-PMD
 plugin ?
 I cant find it on the website..

 thanks...

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Vote for more Maven documentation

2009-07-16 Thread Peter Horlock
Hi,

Tim from Sonatype gave us 4 different books / documentation about Maven and
Maven related stuff.
Maven the definitive guide (published by O'reilly)
http://www.sonatype.com/products/maven/documentation/book-defguide
Nexus documentation
http://www.sonatype.com/products/nexus/documentation/book
m2eclipse documentation:
http://www.sonatype.com/m2eclipse/documentation/download-book?file=books/m2eclipse-book.pdf
And for the more experienced Maven users or those of you that are looking
for a best practices book that
describes a fast howto do. for Maven, he promised us a Maven Cookbook:
http://www.sonatype.com/products/maven/documentation/book-cookbook

However, in a post here on the Maven users list, he said he's planning to
work more on all the other books before he's
even starting to write the Maven Cookbook! TIM! That's WAY TOO LONG! We need
the Cookbook, we need it now! :-)
I've started an online Poll, and to be fair, you can vote for all 4 books.
Tell Tim from Sonatype which book he should focus on
next. So far 29 people have voted, and it's 16 votes for the Definitive
guide, 11 for the Cookbook, and 1 vote for the nexus book.
If you haven't voted yet, please do so now. And please be fair, only one
vote each!

http://*www*.doodle.*com*/p42ebutub2zx4kb4http://www.doodle.com/p42ebutub2zx4kb4


Peter, a MAVEN ADDICT :-)


Re: Vote for more Maven documentation

2009-07-16 Thread Dan Tran
is it a bot?

-D

On Wed, Jul 15, 2009 at 11:38 PM, Peter
Horlockpeter.horl...@googlemail.com wrote:
 Hi,

 Tim from Sonatype gave us 4 different books / documentation about Maven and
 Maven related stuff.
 Maven the definitive guide (published by O'reilly)
 http://www.sonatype.com/products/maven/documentation/book-defguide
 Nexus documentation
 http://www.sonatype.com/products/nexus/documentation/book
 m2eclipse documentation:
 http://www.sonatype.com/m2eclipse/documentation/download-book?file=books/m2eclipse-book.pdf
 And for the more experienced Maven users or those of you that are looking
 for a best practices book that
 describes a fast howto do. for Maven, he promised us a Maven Cookbook:
 http://www.sonatype.com/products/maven/documentation/book-cookbook

 However, in a post here on the Maven users list, he said he's planning to
 work more on all the other books before he's
 even starting to write the Maven Cookbook! TIM! That's WAY TOO LONG! We need
 the Cookbook, we need it now! :-)
 I've started an online Poll, and to be fair, you can vote for all 4 books.
 Tell Tim from Sonatype which book he should focus on
 next. So far 29 people have voted, and it's 16 votes for the Definitive
 guide, 11 for the Cookbook, and 1 vote for the nexus book.
 If you haven't voted yet, please do so now. And please be fair, only one
 vote each!

 http://*www*.doodle.*com*/p42ebutub2zx4kb4http://www.doodle.com/p42ebutub2zx4kb4


 Peter, a MAVEN ADDICT :-)


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



installing bouth maven 1.1 and 2.2 possible?

2009-07-16 Thread Nyre, Valerie
Hello there - I am a newbie in Java-programming.

I just started using an existing maven 1.1 compiled project and want to keep 
this environment up and running until I get more mature

Now, I want to install an IDE Eclipse (Europe) with a maven integration, which 
recommends installing a Maven version 2.

Question:

Will both maven installations interfere with each other?




Mit freundlichen Grüßen
With kind regards

Valerie Nyre
Dokumentation

Fon: +49 (0)76 72  48 17 12
Fax: +49 (0)76 72  48 17 28
mailto: v.n...@oxseed.commailto:v.n...@oxseed.com



Re: [MAVEN - PMD]

2009-07-16 Thread Arnaud HERITIER
The issue is already opened : http://jira.codehaus.org/browse/MPMD-97pmd-jdk14
is used because maven  2.2.0 has to be compatible with Java 1.4
In the meantime you can try to upgrade locally the pmd version used in the
plugin with :


  build
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
version2.3/version

dependencies

  dependency
  groupIdpmd/groupId
  artifactIdpmd-jdk14/artifactId
  version4.2.5/version
  /dependency

/dependencies
  /plugin
/plugins
  /build


Cheers,

Arnaud

# Arnaud Héritier
# Software Factory Manager
# eXo Platform
# http://www.exoplatform.com
# http://blog.aheritier.net


On Thu, Jul 16, 2009 at 8:02 AM, javadevd...@googlemail.com 
javadevd...@googlemail.com wrote:

 Hi!

 thanks for that answer... but why does it use pmd-jdk14 and not the
 pmd-4.2.2.jar ?
 (i looked for this jar as dependency and so i couldnt find the version...)

 Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
 ruleset- exclude patterns doesnt work with the actual plugin... but
 with pm 4.2.5 )

 Or is there another way, to say to the plugin to use pmd version 4.2.5?

 thanks


 2009/7/15 Arnaud HERITIER aherit...@gmail.com:
  PMD 4.2.2
 http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
 
  Cheers,
 
  Arnaud
 
  # Arnaud Héritier
  # Software Factory Manager
  # eXo Platform
  # http://www.exoplatform.com
  # http://blog.aheritier.net
 
 
  On Wed, Jul 15, 2009 at 3:42 PM, javadevd...@googlemail.com 
  javadevd...@googlemail.com wrote:
 
  Hello!
 
  Does anybody know which PMD Version is included in the actual Maven-PMD
  plugin ?
  I cant find it on the website..
 
  thanks...
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: Vote for more Maven documentation

2009-07-16 Thread Peter Horlock
? No Dan, I am not a bot, I am as human as a human could be! ;-)

Peter


When building (large) projects for a second time, I want to skip some of them

2009-07-16 Thread Arand, Thomas (NSN - DE/Munich)
Hi all,

consider the following scenario: In order to build our project, I have to start 
mvn in the root of the project. The complete run consists of many, many 
sub-projects, and the build lasts half an hour.

What unfortunately happens very often: One (or more) of the projects that are 
near the end of production fail - say after 20 minutes. After correction of the 
local problem I have to restart the build process. Currently, I have to wait 
again 20 minutes until mvn reached the place where it was before.

And here I would like to have a possibility to tell maven that it simply should 
skip all projects the it built successfully in the first run. I.e. it should 
resume where the failure initially happened.

The way it is now (repetition of the complete build) is a waste of time.

Any ideas whether that is possible?

Thanks a lot,

Thoma

---
Thomas Arand 
Tel. +49 (89) 636 76328 / +49 (160) 90888023
Fax. +49 (89) 636 76282
thomas.ar...@nsn.com 

Nokia Siemens Networks GmbH  Co. KG
Sitz der Gesellschaft: München / Registered office: Munich
Registergericht: München / Commercial registry: Munich, HRA 88537
WEEE-Reg.-Nr.: DE 52984304

Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens Networks 
Management GmbH
Geschäftsleitung / Board of Directors: Lydia Sommer, Olaf Horsthemke
Vorsitzender des Aufsichtsrats / Chairman of supervisory board: Lauri Kivinen
Sitz der Gesellschaft: München / Registered office: Munich
Registergericht: München / Commercial registry: Munich, HRB 163416





Re: [MAVEN - PMD]

2009-07-16 Thread javadevd...@googlemail.com
he, thanks, again for the answer.. but ...

...my real problem is, that the behavior of the maven plugin using
dependency to pmd-jdk14(4.2.5), is another than pmd version 4.2.5
applied from console!
Im have my own ruleset configuration with an exlude pattern. This
exclude-pattern is correctly used from pmd, but ignored when I start
from maven-pmd-plugin...

Is this a bug?

thanks

2009/7/16 Arnaud HERITIER aherit...@gmail.com:
 The issue is already opened : http://jira.codehaus.org/browse/MPMD-97pmd-jdk14
 is used because maven  2.2.0 has to be compatible with Java 1.4
 In the meantime you can try to upgrade locally the pmd version used in the
 plugin with :


  build
    plugins
      plugin
        groupIdorg.apache.maven.plugins/groupId
        artifactIdmaven-pmd-plugin/artifactId
        version2.3/version

        dependencies

          dependency
              groupIdpmd/groupId
              artifactIdpmd-jdk14/artifactId
              version4.2.5/version
          /dependency

        /dependencies
      /plugin
    /plugins
  /build


 Cheers,

 Arnaud

 # Arnaud Héritier
 # Software Factory Manager
 # eXo Platform
 # http://www.exoplatform.com
 # http://blog.aheritier.net


 On Thu, Jul 16, 2009 at 8:02 AM, javadevd...@googlemail.com 
 javadevd...@googlemail.com wrote:

 Hi!

 thanks for that answer... but why does it use pmd-jdk14 and not the
 pmd-4.2.2.jar ?
 (i looked for this jar as dependency and so i couldnt find the version...)

 Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
 ruleset- exclude patterns doesnt work with the actual plugin... but
 with pm 4.2.5 )

 Or is there another way, to say to the plugin to use pmd version 4.2.5?

 thanks


 2009/7/15 Arnaud HERITIER aherit...@gmail.com:
  PMD 4.2.2
 http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
 
  Cheers,
 
  Arnaud
 
  # Arnaud Héritier
  # Software Factory Manager
  # eXo Platform
  # http://www.exoplatform.com
  # http://blog.aheritier.net
 
 
  On Wed, Jul 15, 2009 at 3:42 PM, javadevd...@googlemail.com 
  javadevd...@googlemail.com wrote:
 
  Hello!
 
  Does anybody know which PMD Version is included in the actual Maven-PMD
  plugin ?
  I cant find it on the website..
 
  thanks...
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Release-Plugin remote- Tagging

2009-07-16 Thread Danny Schimke
Does remote- Tagging meant, that the (SVN-) Trunk- version is used for
prepare / perform the release instead of using the local workingcopy? Is
that correct?

Thank you!
-Danny Schimke

-- 
Danny Schimke
IT- Consultant

incowia GmbH

Albert-Einstein-Straße 3
D-98693 Ilmenau
www.incowia.com


Re: Vote for more Maven documentation

2009-07-16 Thread Manos Batsis


Peter Horlock wrote:

I've started an online Poll, and to be fair, you can vote for all 4 books.
Tell Tim from Sonatype which book he should focus on
next. 



It should be fair to assume that if Tim needed opinions, he would just 
ask for them. Once.


Cheers,

Manos


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: When building (large) projects for a second time, I want to skip some of them

2009-07-16 Thread Gabriel Euzet
Hi,

I think maven reactor plugin will solve your problem :
http://maven.apache.org/plugins/maven-reactor-plugin/index.html

Gabriel.

2009/7/16 Arand, Thomas (NSN - DE/Munich) thomas.ar...@nsn.com

 Hi all,

 consider the following scenario: In order to build our project, I have to
 start mvn in the root of the project. The complete run consists of many,
 many sub-projects, and the build lasts half an hour.

 What unfortunately happens very often: One (or more) of the projects that
 are near the end of production fail - say after 20 minutes. After correction
 of the local problem I have to restart the build process. Currently, I have
 to wait again 20 minutes until mvn reached the place where it was before.

 And here I would like to have a possibility to tell maven that it simply
 should skip all projects the it built successfully in the first run. I.e. it
 should resume where the failure initially happened.

 The way it is now (repetition of the complete build) is a waste of time.

 Any ideas whether that is possible?

 Thanks a lot,

 Thoma


 ---
 Thomas Arand
 Tel. +49 (89) 636 76328 / +49 (160) 90888023
 Fax. +49 (89) 636 76282
 thomas.ar...@nsn.com

 Nokia Siemens Networks GmbH  Co. KG
 Sitz der Gesellschaft: München / Registered office: Munich
 Registergericht: München / Commercial registry: Munich, HRA 88537
 WEEE-Reg.-Nr.: DE 52984304

 Persönlich haftende Gesellschafterin / General Partner: Nokia Siemens
 Networks Management GmbH
 Geschäftsleitung / Board of Directors: Lydia Sommer, Olaf Horsthemke
 Vorsitzender des Aufsichtsrats / Chairman of supervisory board: Lauri
 Kivinen
 Sitz der Gesellschaft: München / Registered office: Munich
 Registergericht: München / Commercial registry: Munich, HRB 163416






RE: site.xml for parent/child site which are siblings

2009-07-16 Thread Nord, James
There is another problem In that the children don't inherit the parents 
site.xml correctly (or probably more accuratly the parents site.xml gets munged 
when it is deployed.)

E.g we have a corporate pom which defines a site.xml which contains 
menu ref=modules/
However when this gets deployed the menu ref=modules has gone.  And as any 
multi-module project that has the corporate pom as its parent doesn't show the 
list of it's modules...  Also it's missing any comments that where inside it.  
Shouldn't the deploy deploy the descriptor as is?

E.g. the following:
?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/DECORATION/1.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://maven.apache.org/DECORATION/1.0.0 
http://maven.apache.org/xsd/decoration-1.0.0.xsd;
publishDate format=dd MMM  /
body
breadcrumbs
item name=Infrastructure
href=http://xxx.yyy/some/path/default.aspx; /
item name=Runtime

href=http://xxx.yyy/some/other/path/default.aspx; /
/breadcrumbs
menu name=${project.name}
item name=Introduction href=index.html /
/menu
menu ref=parent /
menu ref=modules /
menu ref=reports /
/body
 !-- a random comment --
/project

Becomes
?xml version=1.0 encoding=UTF-8?project
  publishDate format=dd MMM  /
  body
breadcrumbs
  item name=CAB Infrastructure 
href=http://xxx.yyy/some/path/default.aspx; /
  item name=Runtime href=http://xxx.yyy/some/other/path/default.aspx; /
/breadcrumbs
menu name=NDS CAB Maven build environment
  item name=Introduction href=index.html /
/menu
menu ref=parent /
menu ref=reports /
  /body
/project

Note that reports have gone and the name is now hard coded?

/James

 -Original Message-
 From: Benson Margulies [mailto:bimargul...@gmail.com] 
 Sent: 16 July 2009 00:29
 To: Maven Users List
 Subject: Re: site.xml for parent/child site which are siblings
 
 I never attached the workaround to the JIRA. It is MSITE-409. 
 I'm trying to get organized to try to fix it. However, the 
 whole idea of a 'parent' link needs thought.
 
 On Wed, Jul 15, 2009 at 2:54 PM, David C. 
 Hicksdhi...@i-hicks.org wrote:
  Benson Margulies wrote:
  I've filed a JIRA on this and also posted a workaround, 
 you have to 
  set up the URL for each project yourself. If you can't 
 find my posted 
  workaround I can post it again.
 
  Benson, can you give us a JIRA number?  I didn't find anything that 
  appeared to be the right one *and* had a workaround posted. 
  I could 
  have overlooked it, though.
  Thanks!
 
 
  
 -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 

**
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: [MAVEN - PMD]

2009-07-16 Thread Arnaud HERITIER
It's possible. I don't know.
Cheers,

Arnaud

# Arnaud Héritier
# Software Factory Manager
# eXo Platform
# http://www.exoplatform.com
# http://blog.aheritier.net


On Thu, Jul 16, 2009 at 12:40 PM, javadevd...@googlemail.com 
javadevd...@googlemail.com wrote:

 he, thanks, again for the answer.. but ...

 ...my real problem is, that the behavior of the maven plugin using
 dependency to pmd-jdk14(4.2.5), is another than pmd version 4.2.5
 applied from console!
 Im have my own ruleset configuration with an exlude pattern. This
 exclude-pattern is correctly used from pmd, but ignored when I start
 from maven-pmd-plugin...

 Is this a bug?

 thanks

 2009/7/16 Arnaud HERITIER aherit...@gmail.com:
  The issue is already opened :
 http://jira.codehaus.org/browse/MPMD-97pmd-jdk14
  is used because maven  2.2.0 has to be compatible with Java 1.4
  In the meantime you can try to upgrade locally the pmd version used in
 the
  plugin with :
 
 
   build
 plugins
   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-pmd-plugin/artifactId
 version2.3/version
 
 dependencies
 
   dependency
   groupIdpmd/groupId
   artifactIdpmd-jdk14/artifactId
   version4.2.5/version
   /dependency
 
 /dependencies
   /plugin
 /plugins
   /build
 
 
  Cheers,
 
  Arnaud
 
  # Arnaud Héritier
  # Software Factory Manager
  # eXo Platform
  # http://www.exoplatform.com
  # http://blog.aheritier.net
 
 
  On Thu, Jul 16, 2009 at 8:02 AM, javadevd...@googlemail.com 
  javadevd...@googlemail.com wrote:
 
  Hi!
 
  thanks for that answer... but why does it use pmd-jdk14 and not the
  pmd-4.2.2.jar ?
  (i looked for this jar as dependency and so i couldnt find the
 version...)
 
  Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
  ruleset- exclude patterns doesnt work with the actual plugin... but
  with pm 4.2.5 )
 
  Or is there another way, to say to the plugin to use pmd version 4.2.5?
 
  thanks
 
 
  2009/7/15 Arnaud HERITIER aherit...@gmail.com:
   PMD 4.2.2
  http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
  
   Cheers,
  
   Arnaud
  
   # Arnaud Héritier
   # Software Factory Manager
   # eXo Platform
   # http://www.exoplatform.com
   # http://blog.aheritier.net
  
  
   On Wed, Jul 15, 2009 at 3:42 PM, javadevd...@googlemail.com 
   javadevd...@googlemail.com wrote:
  
   Hello!
  
   Does anybody know which PMD Version is included in the actual
 Maven-PMD
   plugin ?
   I cant find it on the website..
  
   thanks...
  
   -
   To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
   For additional commands, e-mail: users-h...@maven.apache.org
  
  
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: [MAVEN - PMD]

2009-07-16 Thread javadevd...@googlemail.com
it's a bug for one year now... :-(

http://jira.codehaus.org/browse/MPMD-84


2009/7/16 Arnaud HERITIER aherit...@gmail.com:
 It's possible. I don't know.
 Cheers,

 Arnaud

 # Arnaud Héritier
 # Software Factory Manager
 # eXo Platform
 # http://www.exoplatform.com
 # http://blog.aheritier.net


 On Thu, Jul 16, 2009 at 12:40 PM, javadevd...@googlemail.com 
 javadevd...@googlemail.com wrote:

 he, thanks, again for the answer.. but ...

 ...my real problem is, that the behavior of the maven plugin using
 dependency to pmd-jdk14(4.2.5), is another than pmd version 4.2.5
 applied from console!
 Im have my own ruleset configuration with an exlude pattern. This
 exclude-pattern is correctly used from pmd, but ignored when I start
 from maven-pmd-plugin...

 Is this a bug?

 thanks

 2009/7/16 Arnaud HERITIER aherit...@gmail.com:
  The issue is already opened :
 http://jira.codehaus.org/browse/MPMD-97pmd-jdk14
  is used because maven  2.2.0 has to be compatible with Java 1.4
  In the meantime you can try to upgrade locally the pmd version used in
 the
  plugin with :
 
 
   build
     plugins
       plugin
         groupIdorg.apache.maven.plugins/groupId
         artifactIdmaven-pmd-plugin/artifactId
         version2.3/version
 
         dependencies
 
           dependency
               groupIdpmd/groupId
               artifactIdpmd-jdk14/artifactId
               version4.2.5/version
           /dependency
 
         /dependencies
       /plugin
     /plugins
   /build
 
 
  Cheers,
 
  Arnaud
 
  # Arnaud Héritier
  # Software Factory Manager
  # eXo Platform
  # http://www.exoplatform.com
  # http://blog.aheritier.net
 
 
  On Thu, Jul 16, 2009 at 8:02 AM, javadevd...@googlemail.com 
  javadevd...@googlemail.com wrote:
 
  Hi!
 
  thanks for that answer... but why does it use pmd-jdk14 and not the
  pmd-4.2.2.jar ?
  (i looked for this jar as dependency and so i couldnt find the
 version...)
 
  Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
  ruleset- exclude patterns doesnt work with the actual plugin... but
  with pm 4.2.5 )
 
  Or is there another way, to say to the plugin to use pmd version 4.2.5?
 
  thanks
 
 
  2009/7/15 Arnaud HERITIER aherit...@gmail.com:
   PMD 4.2.2
  http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
  
   Cheers,
  
   Arnaud
  
   # Arnaud Héritier
   # Software Factory Manager
   # eXo Platform
   # http://www.exoplatform.com
   # http://blog.aheritier.net
  
  
   On Wed, Jul 15, 2009 at 3:42 PM, javadevd...@googlemail.com 
   javadevd...@googlemail.com wrote:
  
   Hello!
  
   Does anybody know which PMD Version is included in the actual
 Maven-PMD
   plugin ?
   I cant find it on the website..
  
   thanks...
  
   -
   To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
   For additional commands, e-mail: users-h...@maven.apache.org
  
  
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: [MAVEN - PMD]

2009-07-16 Thread Arnaud HERITIER
yes and there is no patch :-(

On Thu, Jul 16, 2009 at 1:48 PM, javadevd...@googlemail.com 
javadevd...@googlemail.com wrote:

 it's a bug for one year now... :-(

 http://jira.codehaus.org/browse/MPMD-84


 2009/7/16 Arnaud HERITIER aherit...@gmail.com:
  It's possible. I don't know.
  Cheers,
 
  Arnaud
 
  # Arnaud Héritier
  # Software Factory Manager
  # eXo Platform
  # http://www.exoplatform.com
  # http://blog.aheritier.net
 
 
  On Thu, Jul 16, 2009 at 12:40 PM, javadevd...@googlemail.com 
  javadevd...@googlemail.com wrote:
 
  he, thanks, again for the answer.. but ...
 
  ...my real problem is, that the behavior of the maven plugin using
  dependency to pmd-jdk14(4.2.5), is another than pmd version 4.2.5
  applied from console!
  Im have my own ruleset configuration with an exlude pattern. This
  exclude-pattern is correctly used from pmd, but ignored when I start
  from maven-pmd-plugin...
 
  Is this a bug?
 
  thanks
 
  2009/7/16 Arnaud HERITIER aherit...@gmail.com:
   The issue is already opened :
  http://jira.codehaus.org/browse/MPMD-97pmd-jdk14
   is used because maven  2.2.0 has to be compatible with Java 1.4
   In the meantime you can try to upgrade locally the pmd version used in
  the
   plugin with :
  
  
build
  plugins
plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-pmd-plugin/artifactId
  version2.3/version
  
  dependencies
  
dependency
groupIdpmd/groupId
artifactIdpmd-jdk14/artifactId
version4.2.5/version
/dependency
  
  /dependencies
/plugin
  /plugins
/build
  
  
   Cheers,
  
   Arnaud
  
   # Arnaud Héritier
   # Software Factory Manager
   # eXo Platform
   # http://www.exoplatform.com
   # http://blog.aheritier.net
  
  
   On Thu, Jul 16, 2009 at 8:02 AM, javadevd...@googlemail.com 
   javadevd...@googlemail.com wrote:
  
   Hi!
  
   thanks for that answer... but why does it use pmd-jdk14 and not the
   pmd-4.2.2.jar ?
   (i looked for this jar as dependency and so i couldnt find the
  version...)
  
   Is there a plan to adapt the maven-pmd-plugin to 4.2.5? (cause
   ruleset- exclude patterns doesnt work with the actual plugin... but
   with pm 4.2.5 )
  
   Or is there another way, to say to the plugin to use pmd version
 4.2.5?
  
   thanks
  
  
   2009/7/15 Arnaud HERITIER aherit...@gmail.com:
PMD 4.2.2
   http://maven.apache.org/plugins/maven-pmd-plugin/dependencies.html
   
Cheers,
   
Arnaud
   
# Arnaud Héritier
# Software Factory Manager
# eXo Platform
# http://www.exoplatform.com
# http://blog.aheritier.net
   
   
On Wed, Jul 15, 2009 at 3:42 PM, javadevd...@googlemail.com 
javadevd...@googlemail.com wrote:
   
Hello!
   
Does anybody know which PMD Version is included in the actual
  Maven-PMD
plugin ?
I cant find it on the website..
   
thanks...
   
   
 -
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
   
   
   
  
   -
   To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
   For additional commands, e-mail: users-h...@maven.apache.org
  
  
  
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: site.xml for parent/child site which are siblings

2009-07-16 Thread jaybytez

Thanks for the suggestion.  I will definitely look into it.

I tried just doing the following in my child site.xml:

menu name=Used By
  item name=Avitek Parent href=../index.html/
/menu

But this didn't work, it didn't even show the link.  It's interesting,
almost like the parent site.xml doesn't care about the child site.xmls.

When I run $ mvn site:stage
-DstagingDirectory=c:/beaportal/user_projects/workspaces/default/avitek/published-site/site

It correctly takes my structure:
-avitekApp (EAR)
  - pom.xml
-avitekParent
  - src/site/site.xml (menu ref=modules name=Components/)
  - pom.xml
-avitekWeb (WAR)
  - pom.xml

And creates a structure of:
-site
  - Parent Site
- avitekApp Site
   - index.html
- avitekWeb Site
   - index.html
- index.html (with links to child sites)

It's just that the child sites, don't show a link to the parent.  I will try
the information you provided in the responses to see if it works.

When you run mvn site against a parent pom, does it use the parent site.xml
and the child site.xmls to build the generated site?

Thanks,

Jay

-- 
View this message in context: 
http://n2.nabble.com/site.xml-for-parent-child-site-which-are-siblings-tp3259842p3268421.html
Sent from the maven users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Vote for more Maven documentation

2009-07-16 Thread Peter Horlock
2009/7/16 Manos Batsis manos_li...@geekologue.com


 It should be fair to assume that if Tim needed opinions, he would just ask
 for them. Once.

 Cheers,

 Manos


Actually, just in case you didn't notice, you'r spaming the list with even
more unrelated stuff than I did.
My mail was at least, related, even if I sended it twice - I just think that
not everyone might have seen it (and it seems so as still more and more
people are voting), and to give them a chance to vote too.
Love you too!
P.s.: Did I already tell you to vote here:
http://www.doodle.com/p42ebutub2zx4kb4

;-)

Cheers,

Peter


Re: Vote for more Maven documentation

2009-07-16 Thread Dan Tran
It seems you are spamming the list to get attention, so far it does
not work, so please stop it

my 2c

-D

On Thu, Jul 16, 2009 at 10:38 AM, Peter
Horlockpeter.horl...@googlemail.com wrote:
 2009/7/16 Manos Batsis manos_li...@geekologue.com


 It should be fair to assume that if Tim needed opinions, he would just ask
 for them. Once.

 Cheers,

 Manos


 Actually, just in case you didn't notice, you'r spaming the list with even
 more unrelated stuff than I did.
 My mail was at least, related, even if I sended it twice - I just think that
 not everyone might have seen it (and it seems so as still more and more
 people are voting), and to give them a chance to vote too.
 Love you too!
 P.s.: Did I already tell you to vote here:
 http://www.doodle.com/p42ebutub2zx4kb4

 ;-)

 Cheers,

 Peter


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



escape ${some-value}

2009-07-16 Thread Jane Young

Hi Maven Gurus,

Is there a way to treat the literal value of ${foobar} instead of a 
property?
For example I want to be able to put an entry in the manifest using the 
Maven jar plugin.  The entry contains the value ${installRoot} but since 
there is no property associated with this, Maven converts it to 
null.In other words, is there a way that I can escape the 
expression ${..}?



Thanks in advance!
Jane

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: escape ${some-value}

2009-07-16 Thread David C. Hicks
Hi Jane,

I just happened to be looking for other information about escaping
when I saw your question. Looks like you can use:

\${foobar}

To cause the literal to be used. Here's a link to the page where I found
this: http://maven.apache.org/shared/maven-filtering/
Dave


Jane Young wrote:
 Hi Maven Gurus,

 Is there a way to treat the literal value of ${foobar} instead of a
 property?
 For example I want to be able to put an entry in the manifest using
 the Maven jar plugin. The entry contains the value ${installRoot} but
 since there is no property associated with this, Maven converts it to
 null. In other words, is there a way that I can escape the
 expression ${..}?


 Thanks in advance!
 Jane

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: escape ${some-value}

2009-07-16 Thread David C. Hicks
This may be of relevance, too...
http://maven.apache.org/plugins/maven-resources-plugin/examples/escape-filtering.html

David C. Hicks wrote:
 Hi Jane,

 I just happened to be looking for other information about escaping
 when I saw your question. Looks like you can use:

 \${foobar}

 To cause the literal to be used. Here's a link to the page where I found
 this: http://maven.apache.org/shared/maven-filtering/
 Dave


 Jane Young wrote:
   
 Hi Maven Gurus,

 Is there a way to treat the literal value of ${foobar} instead of a
 property?
 For example I want to be able to put an entry in the manifest using
 the Maven jar plugin. The entry contains the value ${installRoot} but
 since there is no property associated with this, Maven converts it to
 null. In other words, is there a way that I can escape the
 expression ${..}?


 Thanks in advance!
 Jane

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org

 

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org

   

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Atomic multi-module deploy?

2009-07-16 Thread David Hoffer
Is there a way to configure maven to deploy only if all artifacts in a
multi-module build are successful?  Currently, it seems each is deployed as
they are processed by the reactor.  The lack of atomic deploy is causing bad
builds by consuming applications.

-Dave


Re: escape ${some-value}

2009-07-16 Thread Jane Young

Hi David,

Thanks for responding.
Looks like  escaping works only in filtering resources, not in the 
pom.xml.


One workaround is to create the manifest file in src/main/resources and 
use filtering to filter the entries.


Other alternatives?

Thanks,
Jane




David C. Hicks wrote:

Hi Jane,

I just happened to be looking for other information about escaping
when I saw your question. Looks like you can use:

\${foobar}

To cause the literal to be used. Here's a link to the page where I found
this: http://maven.apache.org/shared/maven-filtering/
Dave


Jane Young wrote:
  

Hi Maven Gurus,

Is there a way to treat the literal value of ${foobar} instead of a
property?
For example I want to be able to put an entry in the manifest using
the Maven jar plugin. The entry contains the value ${installRoot} but
since there is no property associated with this, Maven converts it to
null. In other words, is there a way that I can escape the
expression ${..}?


Thanks in advance!
Jane

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

  




Re: Atomic multi-module deploy?

2009-07-16 Thread Wendy Smoak
On Thu, Jul 16, 2009 at 1:14 PM, David Hofferdhoff...@gmail.com wrote:
 Is there a way to configure maven to deploy only if all artifacts in a
 multi-module build are successful?  Currently, it seems each is deployed as
 they are processed by the reactor.  The lack of atomic deploy is causing bad
 builds by consuming applications.

I don't think Maven has that feature, but you could deploy to a
staging repository, and only promote it if the entire build is
successful.

-- 
Wendy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: escape ${some-value}

2009-07-16 Thread David C. Hicks
You can configure other directories to be considered for filtering.  I'm
not familiar with configuring the JAR plugin to add entries to the
Manifest, though.  So, I'd be out of place trying to offer any advice on
that.

Jane Young wrote:
 Hi David,

 Thanks for responding.
 Looks like  escaping works only in filtering resources, not in the
 pom.xml.

 One workaround is to create the manifest file in src/main/resources
 and use filtering to filter the entries.

 Other alternatives?

 Thanks,
 Jane


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: escape ${some-value}

2009-07-16 Thread Benson Margulies
properties
 dollar$/dollar
bloop{bloop}/bloop
dollar.bloop${dollar}${bloop}/dollar.bloop
/properties

On Thu, Jul 16, 2009 at 5:04 PM, David C. Hicksdhi...@i-hicks.org wrote:
 You can configure other directories to be considered for filtering.  I'm
 not familiar with configuring the JAR plugin to add entries to the
 Manifest, though.  So, I'd be out of place trying to offer any advice on
 that.

 Jane Young wrote:
 Hi David,

 Thanks for responding.
 Looks like  escaping works only in filtering resources, not in the
 pom.xml.

 One workaround is to create the manifest file in src/main/resources
 and use filtering to filter the entries.

 Other alternatives?

 Thanks,
 Jane


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Vote for more Maven documentation

2009-07-16 Thread Brett Randall
+1


On 7/17/09, Dan Tran dant...@gmail.com wrote:
 It seems you are spamming the list to get attention, so far it does
 not work, so please stop it

 my 2c

 -D

 On Thu, Jul 16, 2009 at 10:38 AM, Peter
 Horlockpeter.horl...@googlemail.com wrote:
 2009/7/16 Manos Batsis manos_li...@geekologue.com


 It should be fair to assume that if Tim needed opinions, he would just
 ask
 for them. Once.

 Cheers,

 Manos


 Actually, just in case you didn't notice, you'r spaming the list with even
 more unrelated stuff than I did.
 My mail was at least, related, even if I sended it twice - I just think
 that
 not everyone might have seen it (and it seems so as still more and more
 people are voting), and to give them a chance to vote too.
 Love you too!
 P.s.: Did I already tell you to vote here:
 http://www.doodle.com/p42ebutub2zx4kb4

 ;-)

 Cheers,

 Peter


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-- 
Sent from my mobile device

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: escape ${some-value}

2009-07-16 Thread Jane Young

Thanks for all the help.

$${some-value} works.

Jane


Benson Margulies wrote:

properties
 dollar$/dollar
bloop{bloop}/bloop
dollar.bloop${dollar}${bloop}/dollar.bloop
/properties

On Thu, Jul 16, 2009 at 5:04 PM, David C. Hicksdhi...@i-hicks.org wrote:
  

You can configure other directories to be considered for filtering.  I'm
not familiar with configuring the JAR plugin to add entries to the
Manifest, though.  So, I'd be out of place trying to offer any advice on
that.

Jane Young wrote:


Hi David,

Thanks for responding.
Looks like  escaping works only in filtering resources, not in the
pom.xml.

One workaround is to create the manifest file in src/main/resources
and use filtering to filter the entries.

Other alternatives?

Thanks,
Jane

  

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

  




${pom.version} not working

2009-07-16 Thread Gokul Jeyapaul
Hi,

 I have a question on the maven ${pom.version}.

 I am having a property file myapp.properties in which I have a entry as
follows,

 myapp.version=${pom.version}

 When I do a mvn clean install and run my app in jetty server - I see the
myapp.version is not updated.

 So my UI just displays version as ${pom.version}.

 Any suggestions?

/Gk