Re: Need help with upgrading a plugin

2004-10-29 Thread Ben Gidley
As a quick and dirty fix I add the following goal to the maven.xml of
our projects and tell people to run it if they get plugin problems

goal name=antelope:upgradePlugins
j:forEach var=dep items=${pom.dependencies}
j:if test=${dep.type =='plugin'}
maven:get plugin=${dep.artifactId} 
property=plugin 
var=plugin /

ant:echo 
## 
Fetching ${dep.artifactId} Plugin You may have to run your goal again 
## 
/ant:echo
j:set var=groupId 
value=${dep.groupId}/
j:set var=artifactId 
value=${dep.artifactId}/
j:set var=version 
value=${dep.version}/
attainGoal name=plugin:download/
/j:if

/j:forEach
/goal


On Fri, 29 Oct 2004 06:35:28 +1000, Brett Porter [EMAIL PROTECTED] wrote:
 I would suggest that the plugin dependency will work, but only if you
 uninstall the original.
 
 The mechanism has problems when two different versions of on plugin are loaded.
 
 
 
 
 On Thu, 28 Oct 2004 09:34:35 -0700, Charles Daniels [EMAIL PROTECTED] wrote:
  This is a known issue.  Adding a plugin as a dependency doesn't quite
  work as you might expect.  In fact, in my experience, adding a plugin as
  a dependency can cause other little problems.  I suggest you remove the
  plugin as a dependency and manually download the plugin via the
  plugin:download goal.  You should probably also manually delete the
  plugin jar files from your MAVEN_HOME/plugins directory prior to running
  plugin:download.  If you simply stick to using plugin:download whenever
  you wish to upgrade to a newer plugin version, your older version will
  automatically be removed.
 
 
 
   -Original Message-
   From: Helck, Christopher [mailto:[EMAIL PROTECTED]
   Sent: Thursday, October 28, 2004 9:27 AM
   To: Maven Users List
   Subject: Need help with upgrading a plugin
  
   Note: This is a repost/rephrasing of an ealier question I sent out.
  
   Previous posts have led me to believe that I can upgrade a plugin by
   specifying the plugin in my POM. I've tried this and it
   partially works.
   The new plugin is downloaded and installed in my local repository, but
   Maven does not invoke the updated plugin. In this case I'm
   trying to use
   the latest version of the JXR plugin.
  
   Here's the relevent parts of my POM:
  
 dependencies
   dependency
 groupIdmaven/groupId
 artifactIdmaven-jxr-plugin/artifactId
 version1.4.2/version
 typeplugin/type
   /dependency
   ...
 /dependencies
  
 reports
   reportmaven-jxr-plugin/report
   ...
 /reports
  
  
   When I run maven site and it tries to build the java cross
   reference I
   get the error:
  
   BUILD FAILED
   File /home/chelck/.maven/cache/maven-jxr-plugin-1.4.1/plugin.jelly
  
   Version 1.4.2 of jxr is downloaded and in my cache next to
   1.4.1. So why
   isn't 1.4.2 being used?
  
   Any ideas? Thanks,
  
   -c. helck
  
  
  
   The information contained in this e-mail is confidential.
   This e-mail is intended only for the stated addressee.  If
   you are not an addressee, you must not disclose, copy,
   circulate or in any other way use or rely on the information
   contained in this e-mail. if you have received this e-mail in
   error, please inform us immediately and delete it and all
   copies from your system.
  
   EBS Dealing Resources International Limited.  Registered
   address:  55-56 Lincoln's Inn Fields, London WC2A 3LJ, United
   Kingdom. Registered number 2669861.
  
   EBS Dealing Resources, Inc, registered in Delaware. Address:
   535 Madison Avenue, 24th Floor, New York, NY 10022, USA, and
   One upper Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA.
  
   EBS Dealing Resources Japan Limited, a Japanese Corporation.
   Address: Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa,
   Chuo-Ku,  Tokyo 104-0033, Japan.
  
  
 
 
  -
  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]
 
 


-- 
Thanks

Ben

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

RE: Problem with bootstrap - can't find my project.xml

2004-10-29 Thread Michael Mattox
I will create the JIRA issue, but I don't understand the workaround.  The
check.tagged is for releases is it not?  I tried it and I get the same
error, it looks for my project.xml in the module directory.

Thanks,
Michael

 -Message d'origine-
 De : Brett Porter [mailto:[EMAIL PROTECTED]
 Envoye : jeudi 28 octobre 2004 22:32
 A : Maven Users List
 Objet : Re: Problem with bootstrap - can't find my project.xml


 looking at the source it seems that the tag checking is not honouring
 the POM dir.

 can you:
 - file a bug in JIRA
 - work around it by setting maven.scm.check.tagged=false

 Cheers,
 Brett


 On Thu, 28 Oct 2004 16:47:08 +0200, Michael Mattox
 [EMAIL PROTECTED] wrote:
  I have a flat directory structure in CVS, with my maven files
 in a directory
  called maven.  Like this:
 
  module
- project1/project.xml
- project2/project.xml
- ...
- maven/project.xml (master project which all others inherit)
 
  The checkout is fine but then it seems the maven
 scm:bootstrap-project goal
  can't find my maven/project.xml:
 
  [EMAIL PROTECTED] tmp]$
  maven -Dmaven.scm.method=cvs
 -Dmaven.scm.cvs.module=sources-malibu -Dmaven.s
  cm.bootstrap.pom.dir=maven
 -Dmaven.scm.bootstrap.goals=multiproject:deploy,m
  ultiproject:site,site:deploy scm:bootstrap-project
 
  snip
  [cvs] U sources-malibu/maven/logo/cs_logo.jpg
  [cvs] U sources-malibu/maven/logo/logo_new_rvb.jpg
 
  BUILD FAILED
  File..
  /export/home/cgey/maven/.maven/cache/maven-scm-plugin-1.4/plugin.jelly
  Element... maven:maven
  Line.. 158
  Column 9
  Error parsing project.xml
 
 '/export/home/cgey/maven/tmp/target/checkouts/sources-malibu/project.xml'
  Total time: 24 minutes 52 seconds
  Finished at: Thu Oct 28 16:22:36 CEST 2004
 
  I've used -Dmaven.scm.bootstrap.pom.dir=maven so I think it
 should look in
  $module/maven which for me is sources-malibu/maven/project.xml but it
  doesn't find it.  Am I doing something wrong?
 
  Thanks,
  Michael
 
  --
  This E-mail is confidential.  It may also be legally
 privileged.  If you are
  not the addressee you may not copy, forward, disclose or use
 any part of it.
  If you have received this message in error, please delete it
 and all copies
  from your system and notify the sender immediately by return E-mail.
  Internet communications cannot be guaranteed to be timely,
 secure, error or
  virus-free.  The sender does not accept liability for any
 errors or omissions.
 
  -
  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]


--
This E-mail is confidential.  It may also be legally privileged.  If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free.  The sender does not accept liability for any errors or omissions.


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



Michele Forte/SwissRe is out of the office.

2004-10-29 Thread Michele_Forte
I will be out of the office starting  29/10/2004 and will not return until
07/11/2004.

I will read my e-mail, but I will not guaranty an immediater answer so if
you have urgent matter : for j2ee migration
or POM related questions please contact the IX Customer Service at (4884)
for friends please just be patient I will answer in a while 

Regards


This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender


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



Cyclic dependencies

2004-10-29 Thread jmutonho





Is there a way of getting maven to work in situation where there is a
cyclic dependency between project A  and B?

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: Cyclic dependencies

2004-10-29 Thread Jörg Schaible
[EMAIL PROTECTED] wrote on Friday, October 29, 2004 11:57 AM:

 Is there a way of getting maven to work in situation where
 there is a cyclic dependency between project A  and B?

Create project C with the common parts 
;-)

- Jörg

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



Re: Cyclic dependencies

2004-10-29 Thread Bent André Solheim
The problem with cyclic dependencies in Maven is that you cannot build
project A without having built project B, and you can't build project
B without having A. This means that you will have trouble
bootstrapping artifact generation of projects A and B in Maven. What
you can do, is to use, for instance, an Ide that supports cyclic
dependencies to generate the jar file for either project A or project
B to get you started, and then making sure you do not do parallell
development on project A and B without building a jar (SNAPSHOT) in
between (or you will get the same problem as before).

I would recommend, though, that you create a new project C that
depends on A and B, and put all the code from project A that depends
on B, and all the code from project B that depends on A in it. This
way you are free as a bird to do parallell development as you see fit.
Cyclic dependencies lead to much trouble, so if possible you should,
in my oppinion, try to avoid them.

Hope this helps.

Best Regards
Bent


On Fri, 29 Oct 2004 11:57:00 +0200, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 
 
 Is there a way of getting maven to work in situation where there is a
 cyclic dependency between project A  and B?
 
 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]
 


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



Re: Cyclic dependencies

2004-10-29 Thread Jeffrey Mutonho
Thanks guys...Am doing that now.We alwways seem safe behind the
protection of IDEs , until one bumps into something like this :)

jeff mutonho


On Fri, 29 Oct 2004 13:45:04 +0200, Bent André Solheim
[EMAIL PROTECTED] wrote:
 The problem with cyclic dependencies in Maven is that you cannot build
 project A without having built project B, and you can't build project
 B without having A. This means that you will have trouble
 bootstrapping artifact generation of projects A and B in Maven. What
 you can do, is to use, for instance, an Ide that supports cyclic
 dependencies to generate the jar file for either project A or project
 B to get you started, and then making sure you do not do parallell
 development on project A and B without building a jar (SNAPSHOT) in
 between (or you will get the same problem as before).
 
 I would recommend, though, that you create a new project C that
 depends on A and B, and put all the code from project A that depends
 on B, and all the code from project B that depends on A in it. This
 way you are free as a bird to do parallell development as you see fit.
 Cyclic dependencies lead to much trouble, so if possible you should,
 in my oppinion, try to avoid them.
 
 Hope this helps.
 
 Best Regards
 Bent
 
 On Fri, 29 Oct 2004 11:57:00 +0200, [EMAIL PROTECTED]
 
 
 [EMAIL PROTECTED] wrote:
 
 
  Is there a way of getting maven to work in situation where there is a
  cyclic dependency between project A  and B?
 
  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]
 
 
 
 -
 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]



Michele Forte/SwissRe is out of the office.

2004-10-29 Thread Michele_Forte
I will be out of the office starting  29/10/2004 and will not return until
07/11/2004.

I will read my e-mail, but I will not guaranty an immediater answer so if
you have urgent matter : for j2ee migration
or POM related questions please contact the IX Customer Service at (4884)
for friends please just be patient I will answer in a while 

Regards


This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender


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



Checkstyle Configuration

2004-10-29 Thread Haile, Mussie
Hej et al -

I am looking for a complete configuration of Sun_Checks.xml for Checkstyle.
I had modified the file based on the
http://CheckStyle.sourceforge.net/config_file.html content if any one out
their had a best practices file please share.

L8r.

-M-


 sun_checks.xml 

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

Re: Checkstyle Configuration

2004-10-29 Thread Pascal Thivent
Hi,

take a look at https://jjguidelines.dev.java.net/.

Pascal


On Fri, 29 Oct 2004 09:40:24 -0400, Haile, Mussie [EMAIL PROTECTED] wrote:
 Hej et al -
 
 I am looking for a complete configuration of Sun_Checks.xml for Checkstyle.
 I had modified the file based on the
 http://CheckStyle.sourceforge.net/config_file.html content if any one out
 their had a best practices file please share.
 
 L8r.
 
 -M-
 
  sun_checks.xml
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Pascal

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



Build a zip of static files

2004-10-29 Thread Pierre-Yves Chauveau
Hi,
I have a question: is there a simple goal to build a zip of all the static files from 
a war project ?
Often, you want to separate the static contents from the dyanmic contents to deploy 
one on a http server and the over on the web server.
Thanks,
Pierre-Yves.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

dynamic property access

2004-10-29 Thread Ben Anderson
Hi,
I want to dynamically set which property I access.  Is this possible? 
Obviously the below code won't work, but you get the idea.  I thought
maybe that the j:expr tag might help, but it doesn't seem to do
anything.

j:set var=color value=red/
j:set var=colorKey value=color/
ant:echo
${${colorKey}}
/ant:echo

Any ideas?

Thanks,
Ben

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



Re: dynamic property access

2004-10-29 Thread Eric Giguere
Hello Ben
Yep, try this:
   j:set var=color value=red/
   j:set var=colorKey value=${color}/
   ant:echo
   ${colorKey}
   /ant:echo
Hope it helps
Eric.
Ben Anderson wrote:
Hi,
I want to dynamically set which property I access.  Is this possible? 
Obviously the below code won't work, but you get the idea.  I thought
maybe that the j:expr tag might help, but it doesn't seem to do
anything.

   j:set var=color value=red/
   j:set var=colorKey value=color/
   ant:echo
   ${${colorKey}}
   /ant:echo
Any ideas?
Thanks,
Ben
-
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]


Michele Forte/SwissRe is out of the office.

2004-10-29 Thread Michele_Forte
I will be out of the office starting  29/10/2004 and will not return until
07/11/2004.

I will read my e-mail, but I will not guaranty an immediater answer so if
you have urgent matter : for j2ee migration
or POM related questions please contact the IX Customer Service at (4884)
for friends please just be patient I will answer in a while 

Regards


This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender


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



Re: dynamic property access

2004-10-29 Thread Ben Anderson
yes, that's a solution for the example I gave, but not what I'm looking for. 
Let me give the real example:

config.properties
-
servername.qa=qaServer
servername.prod=prodServer

maven.xml
-
u:properties var=props file=config.properties/
j:forEach var=prop items=${props}
  ant:copy file=${basedir}/WEB-INF/web.xml
tofile=${build.dir}/WEB-INF/web.xml
overwrite=true
ant:filterset
  ant:filter token=servername value=${servername.${env}}/


actually, this is probably a bit much.  Is there a way to solve the original
example w/out modifying the j:set tags?

Thanks,
Ben

Quoting Eric Giguere [EMAIL PROTECTED]:

 Hello Ben
 Yep, try this:

 j:set var=color value=red/
 j:set var=colorKey value=${color}/
 ant:echo
 ${colorKey}
 /ant:echo


 Hope it helps
 Eric.

 Ben Anderson wrote:

 Hi,
 I want to dynamically set which property I access.  Is this possible?
 Obviously the below code won't work, but you get the idea.  I thought
 maybe that the j:expr tag might help, but it doesn't seem to do
 anything.
 
 j:set var=color value=red/
 j:set var=colorKey value=color/
 ant:echo
 ${${colorKey}}
 /ant:echo
 
 Any ideas?
 
 Thanks,
 Ben
 
 -
 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: Checkstyle Configuration

2004-10-29 Thread Haile, Mussie
Thank You,,,

-Original Message-
From: Pascal Thivent [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 11:43 AM
To: Maven Users List
Subject: Re: Checkstyle Configuration


Hi,

take a look at https://jjguidelines.dev.java.net/.

Pascal


On Fri, 29 Oct 2004 09:40:24 -0400, Haile, Mussie [EMAIL PROTECTED]
wrote:
 Hej et al -
 
 I am looking for a complete configuration of Sun_Checks.xml for
Checkstyle.
 I had modified the file based on the
 http://CheckStyle.sourceforge.net/config_file.html content if any one out
 their had a best practices file please share.
 
 L8r.
 
 -M-
 
  sun_checks.xml
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Pascal

-
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: dynamic property access

2004-10-29 Thread Eric Giguere
Ah, I see
I'm not sure if this is feasible...
One thing sure, you cannot put an expression in an expression ( 
${...${}}. It just does not work with jelly.
I've done a couple of tests with dynamic property names without success.

Eric.
Ben Anderson wrote:
yes, that's a solution for the example I gave, but not what I'm looking for. 
Let me give the real example:

config.properties
-
servername.qa=qaServer
servername.prod=prodServer
maven.xml
-
u:properties var=props file=config.properties/
j:forEach var=prop items=${props}
 ant:copy file=${basedir}/WEB-INF/web.xml
   tofile=${build.dir}/WEB-INF/web.xml
   overwrite=true
   ant:filterset
 ant:filter token=servername value=${servername.${env}}/
actually, this is probably a bit much.  Is there a way to solve the original
example w/out modifying the j:set tags?
Thanks,
Ben
Quoting Eric Giguere [EMAIL PROTECTED]:
 

Hello Ben
Yep, try this:
   j:set var=color value=red/
   j:set var=colorKey value=${color}/
   ant:echo
   ${colorKey}
   /ant:echo
Hope it helps
Eric.
Ben Anderson wrote:
   

Hi,
I want to dynamically set which property I access.  Is this possible?
Obviously the below code won't work, but you get the idea.  I thought
maybe that the j:expr tag might help, but it doesn't seem to do
anything.
  j:set var=color value=red/
  j:set var=colorKey value=color/
  ant:echo
  ${${colorKey}}
  /ant:echo
Any ideas?
Thanks,
Ben
-
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]
 




How to modify the generated website

2004-10-29 Thread Eric Black
Hi,

I would like to know how to modify the project site pages, specifically I
want to modify the pages to have a download link for the jars on the left
hand column like the main maven website. Can anyone point me in the right
direction? I haven't found any docs of how to do this.

Thanks,
Eric



project dependency : strange problem

2004-10-29 Thread Sachin Bansal

Maven Users,

If I use maven multiproject:install-snapshot (SNAPSHOT) for the version
information (for projects to figure out the dependencies on other projects)
it works as long as the name of the project does not have a '.' in it.

That is if my sub-project names are like

myProject
  foo
  bar
  hello
  world

Then maven figures out the inter-dependencies among the projects and builds
snapshot jars. 

But if my sub-project are like following

myProject
  com.abc.def.A
  com.abc.def.B
  com.abc.def.C
  com.abc.def.D
  com.abc.def.E
  com.abc.def.F

Maven fails to figure out the inter-dependencies among the projects and
looks for the com.abc.deg.c-SNAPSHOT.jar (if my project com.abc.def.A
depends on com.abc.def.C)

Has anyone else encountered the same problem? What is the work around, if I
cannot change the name of my project (owing to the fact that they are
eclipse plugins)
I look forward to your suggestions. Also, the mailing list users have been
really helpful in suggesting and guiding me to get up to speed on Maven.

I am using the command maven multiproject:install-snapshot

Thanks,
 
Sachin
 
[EMAIL PROTECTED]


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



Re: How to modify the generated website

2004-10-29 Thread nico . chalumeau
It is in the plugin : You have to modify in plugins src/plugin-resources/*.jsl
and regenerate the plugin (ie plugin:install from the source of the plugin)

Nicolas,

Eric Black wrote:

Hi,

I would like to know how to modify the project site pages, specifically I
want to modify the pages to have a download link for the jars on the left
hand column like the main maven website. Can anyone point me in the right
direction? I haven't found any docs of how to do this.

Thanks,
Eric






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



Michele Forte/SwissRe is out of the office.

2004-10-29 Thread Michele_Forte
I will be out of the office starting  29/10/2004 and will not return until
07/11/2004.

I will read my e-mail, but I will not guaranty an immediater answer so if
you have urgent matter : for j2ee migration
or POM related questions please contact the IX Customer Service at (4884)
for friends please just be patient I will answer in a while 

Regards


This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender


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



Re: How to modify the generated website

2004-10-29 Thread Brett Porter
And even if you are not specifically doing downloads, you need only
edit create/edit navigation.xml.

Regards,
Brett


On Fri, 29 Oct 2004 18:41:43 -0400, Charles Daniels [EMAIL PROTECTED] wrote:
 No, you don't need to modify the plugin to get a Downloads link to show
 up.  You simply need to specify a value for the
 maven.xdoc.distributionUrl property in your project.properties file.
 See the xdoc plugin documentation
 (http://maven.apache.org/reference/plugins/xdoc/properties.html).
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Friday, October 29, 2004 4:11 PM
  To: [EMAIL PROTECTED]
  Subject: Re: How to modify the generated website
 
  It is in the plugin : You have to modify in plugins
  src/plugin-resources/*.jsl
  and regenerate the plugin (ie plugin:install from the source
  of the plugin)
 
  Nicolas,
 
  Eric Black wrote:
 
  Hi,
  
  I would like to know how to modify the project site pages,
  specifically I
  want to modify the pages to have a download link for the
  jars on the left
  hand column like the main maven website. Can anyone point me
  in the right
  direction? I haven't found any docs of how to do this.
  
  Thanks,
  Eric
  
  
 
 
 
 
  -
  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: project dependency : strange problem

2004-10-29 Thread Brett Porter
I'm not sure we've ever considered '.' to be valid in an artifactID,
but it certainly is in the groupId. try that, and if it still doesn't
work, file it as a bug.

I'd suggest a groupId of com.abc.def and artifactId of F, for
example, and introduce some other process of renaming it to
${pom.groupId}.${pom.artifactId}-${pom.currentVersion}.jar when
publishing to the eclipse plugins directory (you can use
maven.final.name to change the name as it hits the target directory)

Cheers,
Brett

On Fri, 29 Oct 2004 13:05:33 -0700, Sachin Bansal [EMAIL PROTECTED] wrote:
 
 Maven Users,
 
 If I use maven multiproject:install-snapshot (SNAPSHOT) for the version
 information (for projects to figure out the dependencies on other projects)
 it works as long as the name of the project does not have a '.' in it.
 
 That is if my sub-project names are like
 
 myProject
   foo
   bar
   hello
   world
 
 Then maven figures out the inter-dependencies among the projects and builds
 snapshot jars.
 
 But if my sub-project are like following
 
 myProject
   com.abc.def.A
   com.abc.def.B
   com.abc.def.C
   com.abc.def.D
   com.abc.def.E
   com.abc.def.F
 
 Maven fails to figure out the inter-dependencies among the projects and
 looks for the com.abc.deg.c-SNAPSHOT.jar (if my project com.abc.def.A
 depends on com.abc.def.C)
 
 Has anyone else encountered the same problem? What is the work around, if I
 cannot change the name of my project (owing to the fact that they are
 eclipse plugins)
 I look forward to your suggestions. Also, the mailing list users have been
 really helpful in suggesting and guiding me to get up to speed on Maven.
 
 I am using the command maven multiproject:install-snapshot
 
 Thanks,
 
 Sachin
 
 [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: dynamic property access

2004-10-29 Thread Brett Porter
j:set var=var value=servername.${env} /
ant:filter token=servername value=${var} /

or

ant:filter token=servername
value=${context.getVariable('servername.' + env)} /

I'm not 100% certain the latter works.

- Brett

On Fri, 29 Oct 2004 14:17:46 -0400, Eric Giguere
[EMAIL PROTECTED] wrote:
 Ah, I see
 
 I'm not sure if this is feasible...
 One thing sure, you cannot put an expression in an expression (
 ${...${}}. It just does not work with jelly.
 I've done a couple of tests with dynamic property names without success.
 
 Eric.
 
 
 
 
 Ben Anderson wrote:
 
 yes, that's a solution for the example I gave, but not what I'm looking for.
 Let me give the real example:
 
 config.properties
 -
 servername.qa=qaServer
 servername.prod=prodServer
 
 maven.xml
 -
 u:properties var=props file=config.properties/
 j:forEach var=prop items=${props}
   ant:copy file=${basedir}/WEB-INF/web.xml
 tofile=${build.dir}/WEB-INF/web.xml
 overwrite=true
 ant:filterset
   ant:filter token=servername value=${servername.${env}}/
 
 
 actually, this is probably a bit much.  Is there a way to solve the original
 example w/out modifying the j:set tags?
 
 Thanks,
 Ben
 
 Quoting Eric Giguere [EMAIL PROTECTED]:
 
 
 
 Hello Ben
 Yep, try this:
 
 j:set var=color value=red/
 j:set var=colorKey value=${color}/
 ant:echo
 ${colorKey}
 /ant:echo
 
 
 Hope it helps
 Eric.
 
 Ben Anderson wrote:
 
 
 
 Hi,
 I want to dynamically set which property I access.  Is this possible?
 Obviously the below code won't work, but you get the idea.  I thought
 maybe that the j:expr tag might help, but it doesn't seem to do
 anything.
 
j:set var=color value=red/
j:set var=colorKey value=color/
ant:echo
${${colorKey}}
/ant:echo
 
 Any ideas?
 
 Thanks,
 Ben
 
 -
 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]