building dependent (multi)-projects

2006-04-25 Thread Nigel Magnay
I have a set of M2 projects that depend on each other:

 A
 |
 B
/ \
   X   Y

What I'd like is that if project Y changes, then Y gets built
automatically; if successful then B (because a dependency has
changed), then A. (A is the project installer in this instance)

Is this something that continuum can do, or am I better off sticking
to a 'master build' type affair with cruisecontrol ?


[Ann] Continuum 1.0.3 Released

2006-04-25 Thread Emmanuel Venisse

  The Apache Maven team is pleased to announce Continuum 1.0.3.

  Continuum 1.0.3 is available for download from 
{{http://maven.apache.org/continuum/download.html}}

  Continuum is a continous integration server that will ensure the health of 
your code base.

  This release includes the following improvements :

   * Improved performance

   * New web interface

   * Added an internal maven repository for built projects

   * Improved the project build for projects with multiple build definitions

   * Improved maven2 setings/profiles loading

   * Bug fixes

  For a complete list of changes please refer to the complete changelog:

* {{http://maven.apache.org/continuum/change-log.html}}

  We hope you enjoy using Continuum! If you have any questions, please consult:

* the web site: {{http://maven.apache.org/continuum/}}

* the continuum-user mailing list: 
{{http://maven.apache.org/continuum/mail-lists.html}}


Emmanuel



Re: [Ann] Continuum 1.0.3 Released

2006-04-25 Thread Brett Porter
We haven't linked to it yet, but:

http://ci.codehaus.org/continuum

and

http://ci.codehaus.org/continuum-maven

Cheers,
Brett

On 4/25/06, Wim Deblauwe [EMAIL PROTECTED] wrote:
 Congrats on the release!

 Is there a public place with screenshots and/or a live demo of the new
 webinterface?

 regards,

 Wim

 2006/4/25, Emmanuel Venisse [EMAIL PROTECTED]:
 
 The Apache Maven team is pleased to announce Continuum 1.0.3.
 
 Continuum 1.0.3 is available for download from {{
  http://maven.apache.org/continuum/download.html}}
 
 Continuum is a continous integration server that will ensure the health
  of your code base.
 
 This release includes the following improvements :
 
  * Improved performance
 
  * New web interface
 
  * Added an internal maven repository for built projects
 
  * Improved the project build for projects with multiple build
  definitions
 
  * Improved maven2 setings/profiles loading
 
  * Bug fixes
 
 For a complete list of changes please refer to the complete changelog:
 
   * {{http://maven.apache.org/continuum/change-log.html}}
 
 We hope you enjoy using Continuum! If you have any questions, please
  consult:
 
   * the web site: {{http://maven.apache.org/continuum/}}
 
   * the continuum-user mailing list: {{
  http://maven.apache.org/continuum/mail-lists.html}}
 
 
  Emmanuel
 
 




Re: Upgrade to Continuum 1.0.3 from 1.0.2

2006-04-25 Thread Emmanuel Venisse

http://maven.apache.org/continuum/upgrade.html

Daniel Reghin a écrit :

Hi,

How can I upgrade my continuum 1.0.2 installation to 1.0.3?
I have several projects in 1.0.2 already and didn't want to lose them.

Daniel 


-
---
-
Esta mensagem e seus anexos podem conter informacoes confidenciais
ou privilegiadas. Se voce nao e o destinatario dos mesmos voce nao
esta autorizado a utilizar o material para qualquer fim.
Solicitamos que voce apague a mensagem e avise imediatamente ao
remetente. O conteudo desta mensagem e seus anexos nao representam
necessariamente a opiniao e a intencao da empresa, nao implicando
em qualquer obrigacao ou responsabilidade da parte da mesma.

This message may contain confidential and/or privileged
information. If you are not the addressee or authorized to receive
this for the addressee, you must not use, copy, disclose or take
any action based on this message or any information herein.
If you have received this message in error, please advise the
sender immediately by reply e-mail and delete this message. The
contents of this message and its attachments do not necessarily
express the opinion or the intention of the company, and do not
implies any legal obligation or responsibilities from this company.








Re: Problem upgrading from 1.0.3-SNAPSHOT (RC1) to 1.0.3

2006-04-25 Thread Carlos Henriquez
no build history for me either


[Continuum 1.0.3] Is Changes section broken again?

2006-04-25 Thread Mang Jun Lau
I just moved to 1.0.3 and I've done several test builds.  In one of the 
builds, I removed a project directory from the working directory to test 
out the Changes section in the build log.  When I ran the build again, 
Continuum checked out the missing directory just fine.  After the build, 
in the e-mail and on the web interface, the Changes section shows 3 blank 
columns and then the files that have changed in the 4th column.

I think it may be broken again.


_Mang

Re: Problem upgrading from 1.0.3-SNAPSHOT (RC1) to 1.0.3

2006-04-25 Thread Mark Donszelmann

Did so, no difference.

Regards
Mark
On Apr 25, 2006, at 12:10 PM, Mang Jun Lau wrote:

Build history is stored in the build-output-directory.  So maybe  
you would

have to copy all those txt files over to 1.0.3.


_Mang Lau





Carlos Henriquez [EMAIL PROTECTED]
04/25/2006 03:12 PM
Please respond to
continuum-users@maven.apache.org


To
continuum-users@maven.apache.org
cc

Subject
Re: Problem upgrading from 1.0.3-SNAPSHOT (RC1) to 1.0.3






no build history for me either





Re: build no matter if there is no change? 1.0.3

2006-04-25 Thread dan tran
not possilble until Continuum 1.1

However, I have the same requirement and the trick is to write a cron job to
delete one of file
under the source tree.  I would pick a dummy file thou.

it is a hack job, since your cronjob must know the exact location of source
tree using its assigned id.

-D


On 4/25/06, Peter Mueller [EMAIL PROTECTED] wrote:

 Is there a configuration option in 1.0.3 that allows the scheduler to
 build no matter if there is no change?

 INFO   | jvm 1| 2006/04/25 14:15:01 | 2006-04-25 14:15:01,125
 [Thread-2] INFO  BuildController- The project was not
 built because there are no changes.

 Thnx,

 P



RE: build no matter if there is no change? 1.0.3

2006-04-25 Thread Peter Mueller
 On 4/25/06, Peter Mueller [EMAIL PROTECTED] wrote:
 
  Is there a configuration option in 1.0.3 that allows the 
 scheduler to 
  build no matter if there is no change?
 
  INFO   | jvm 1| 2006/04/25 14:15:01 | 2006-04-25 14:15:01,125
  [Thread-2] INFO  BuildController- The 
 project was not
  built because there are no changes.

 not possilble until Continuum 1.1
 
 However, I have the same requirement and the trick is to 
 write a cron job to delete one of file under the source tree. 
  I would pick a dummy file thou.
 
 it is a hack job, since your cronjob must know the exact 
 location of source tree using its assigned id.

Thanks for the quick response Dan.  This is what I had been thinking of
doing and wanted to shy away from.  1.1 is too far away though :|.

Cheers,

P


Re: is CONTINUUM-609 really in 1.0.3?

2006-04-25 Thread Baron Reznik
Perhaps create a wiki, and add a patch for the FAQ to point to the
wiki? :-)

I agree though - a continuum wiki would be nice.

On Tue, 2006-04-25 at 18:33 +0200, Emmanuel Venisse wrote:
 You can create a patch for FAQ or other pages and I'll apply it
 
 Emmanuel
 
 Nigel Magnay a écrit :
  AHa - that fixed it (and a little local difficulty in forgetting I
  needed to do mvn -U)
  
  Is there a wiki for this kind of stuff that I could add to? I can't
  believe I'll be the last to tie my own shoelaces together on that one.
  
  On 25/04/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
  
 Do you have define the deployment repository field in configuration screen? 
 It's empty by default.
 
 Emmanuel
 
 Nigel Magnay a écrit :
 
 Hmm.. I must be doing something wrong - are there any docs for this or
 handy pointers? It sounds a really useful feature - 1.0.3 is really
 nice.
 
 On 25/04/06, Brett Porter [EMAIL PROTECTED] wrote:
 
 
 It's not browsable, but it will work just fine when used from Maven.
 
 - Brett
 
 On 4/25/06, Nigel Magnay [EMAIL PROTECTED] wrote:
 
 
 It's in the release note -
 I try http://box:8080/continuum/repository but just get a 404 ?
 
 
 
 
 
  
  
  
 


Re: [m2] How to include javadoc in site

2006-04-25 Thread Kees de Kooter
Hi Wendy,

I read the mini guide, but it does not contain any references to
javadoc. Do you put it in the reports section?

On 4/25/06, Wendy Smoak [EMAIL PROTECTED] wrote:
 On 4/24/06, Kees de Kooter [EMAIL PROTECTED] wrote:

  How can I get maven to generate javadocs when running site and link
  it from site.xml?

 See the 'Configuring Reports' section here:
  * http://maven.apache.org/guides/mini/guide-site.html

 You can see an example of Javadoc (maven-javadoc-plugin) configuration here:
  * http://svn.apache.org/repos/asf/struts/action/trunk/pom.xml

 (The config for aggregation only (sort of) works with the latest code,
 so either leave it out or be prepared if it causes a problem.)

 HTH,
 --
 Wendy


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



Re: [m2] How to include javadoc in site

2006-04-25 Thread Wayne Fay
Wendy sent the link to the mini guide to help you understand how
reports are linked into your Maven project site. In short, this link
is automatically added when you add the report.

And she sent the link to the Struts Action pom.xml so you would find
the Javadoc plugin yourself in the reporting node.

You just need to add a reference to the javadoc plugin in the
reporting node of your pom.xml file:
reporting
  plugins
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-javadoc-plugin/artifactId
 /plugin

Wayne

On 4/25/06, Kees de Kooter [EMAIL PROTECTED] wrote:
 Hi Wendy,

 I read the mini guide, but it does not contain any references to
 javadoc. Do you put it in the reports section?

 On 4/25/06, Wendy Smoak [EMAIL PROTECTED] wrote:
  On 4/24/06, Kees de Kooter [EMAIL PROTECTED] wrote:
 
   How can I get maven to generate javadocs when running site and link
   it from site.xml?
 
  See the 'Configuring Reports' section here:
   * http://maven.apache.org/guides/mini/guide-site.html
 
  You can see an example of Javadoc (maven-javadoc-plugin) configuration here:
   * http://svn.apache.org/repos/asf/struts/action/trunk/pom.xml
 
  (The config for aggregation only (sort of) works with the latest code,
  so either leave it out or be prepared if it causes a problem.)
 
  HTH,
  --
  Wendy
 

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




Re: [m2] How to include javadoc in site

2006-04-25 Thread Kees de Kooter
Thanks a lot Wendy and Wayne!
(I promise to read the example more carefully next time...)

Kees

On 4/25/06, Wayne Fay [EMAIL PROTECTED] wrote:
 Wendy sent the link to the mini guide to help you understand how
 reports are linked into your Maven project site. In short, this link
 is automatically added when you add the report.

 And she sent the link to the Struts Action pom.xml so you would find
 the Javadoc plugin yourself in the reporting node.

 You just need to add a reference to the javadoc plugin in the
 reporting node of your pom.xml file:
 reporting
   plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-javadoc-plugin/artifactId
  /plugin


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



RE: [M2] - Third party artifact installation / parse error in POM

2006-04-25 Thread Sharma, Jaikumar
Thanks Tim for useful tip, I installed the thirdparty artifact, but did
not use the option as you mentioned -- (-DgeneratePom=true). I would do
this and let you know the results.

In the settings.xml, I have specified the localRepository pointing to
local filesystem, but file:// -- protocol has been specified. Might be
that because of the first problems, further stacktrace is getting
generated. I would try and see the results.

Thanks again for your help!

Regards, Jaikumar



-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 24, 2006 8:00 PM
To: Maven Users List
Subject: Re: [M2] - Third party artifact installation / parse error in
POM


Hi,

two remarks:

1. Regarding the unsupported protocol error:

Can it be that you have specified a local file system repository
somewhere (project pom, 
settings.xml) like this:

urlC:/PATH/TO/REPO/url

and forgotten to put the protocol part in front ('file://') so it tries
to interpret your 
drive letter as a protocol?

2. Regarding the not found pom

when you install an artifact to your local repository by hand you need
to provide a self 
written pom (-DpomFile=mypom.xml) or tell maven to generate a stub pom 
(-DgeneratePom=true). Otherwise it tries to fetch the pom from Ibiblio
and of course fails 
doing so.

-Tim


Sharma, Jaikumar schrieb:
 Dear Maven users,
  
 I was just trying to install an third party artifact into the local 
 repository, it got installed but when M2 tries to parse the pom, I get

 the following error. Did somebody have already faced this error or 
 have an idea ?
  
 Regards, Jaikumar
  
 [INFO]
 --
 --
 [ERROR] BUILD ERROR
 [INFO]


 [INFO] Error building POM (may not be this project's POM).
  
 
 Project ID: jboss.transaction.client:jboss-transaction-client
  
 Reason: Error getting POM for 
 'jboss.transaction.client:jboss-transaction-client' from the 
 repository: Unsupported Protocol: 'C':
   jboss.transaction.client:jboss-transaction-client:pom:1.0
  
 from the specified remote repositories:
   central (http://repo1.maven.org/maven2 
 http://repo1.maven.org/maven2 )
  
  
  
 [INFO]
 --
 --
 [INFO] For more information, run Maven with the -e switch
 [INFO]


 [INFO] Total time: 4 seconds
 [INFO] Finished at: Mon Apr 24 18:03:43 GMT+05:30 2006
 [INFO] Final Memory: 4M/7M
 [INFO]


 
 BM__MailAutoSig_
 
  
 
 Jaikumar Sharma
 
 Sr.Software Development Engineer
 
  
 
 Barco Control Rooms
 
 A-5, Sector - 5,
 
 Noida. India 201 301.
 
 Tel +91 120-2421-651 to 659  Ext.313
 
 Fax+91 120 2421 691
 
  http://www.barco.com/ http://www.barco.com
 
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 _
 
  
 - - - - - - - DISCLAIMER- - - - - - - -
 Unless indicated otherwise, the information contained in this message 
 is privileged and confidential, and is intended only for the use of 
 the
 addressee(s) named above and others who have been specifically
authorized to
 receive it. If you are not the intended recipient, you are hereby
notified
 that any dissemination, distribution or copying of this message and/or
 attachments is strictly prohibited. The company accepts no liability
for any
 damage caused by any virus transmitted by this email. Furthermore, the
 company does not warrant a proper and complete transmission of this
 information, nor does it accept liability for any delays. If you have
 received this message in error, please contact the sender and delete
the
 message. Thank you.
 


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

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.


RE: [M2] - Third party artifact installation / parse error in POM

2006-04-25 Thread Simon Kitching
On Tue, 2006-04-25 at 08:54 +0200, Sharma, Jaikumar wrote:
 Thanks Tim for useful tip, I installed the thirdparty artifact, but did
 not use the option as you mentioned -- (-DgeneratePom=true). I would do
 this and let you know the results.

Note: there are some jars (in particular, Sun stuff like
javax.transaction) for which there is a pom in the ibiblio repository,
but not the jar, for legal reasons.

For these jars, you don't want to specify -DpomFile or -DgeneratePom;
just install the jar and the pom will be downloaded (with all the right
info). At least I think that's how it works.

 
 In the settings.xml, I have specified the localRepository pointing to
 local filesystem, but file:// -- protocol has been specified. Might be
 that because of the first problems, further stacktrace is getting
 generated. I would try and see the results.

Are you talking about the *local* repository (ie cache typically in
~/.m2/repository), or a remote repository that happens to be hosted by
you? If the latter, I've been unable to get file:// urls working; if you
do, please let me know!

Regards,

Simon



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



RE: [M2] - Third party artifact installation / parse error in POM

2006-04-25 Thread Sharma, Jaikumar
Ah. Great, I was wondering to see only poms in some cases on ibiblio
repository, and did not know the reasons why only poms are there and no
corresponding JARs available for those.

Thanks Simon.

Regards, Jaikumar

-Original Message-
From: Simon Kitching [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 12:40 PM
To: Maven Users List
Subject: RE: [M2] - Third party artifact installation / parse error in
POM


On Tue, 2006-04-25 at 08:54 +0200, Sharma, Jaikumar wrote:
 Thanks Tim for useful tip, I installed the thirdparty artifact, but 
 did not use the option as you mentioned -- (-DgeneratePom=true). I 
 would do this and let you know the results.

Note: there are some jars (in particular, Sun stuff like
javax.transaction) for which there is a pom in the ibiblio repository,
but not the jar, for legal reasons.

For these jars, you don't want to specify -DpomFile or -DgeneratePom;
just install the jar and the pom will be downloaded (with all the right
info). At least I think that's how it works.

 
 In the settings.xml, I have specified the localRepository pointing to 
 local filesystem, but file:// -- protocol has been specified. Might be

 that because of the first problems, further stacktrace is getting 
 generated. I would try and see the results.

Are you talking about the *local* repository (ie cache typically in
~/.m2/repository), or a remote repository that happens to be hosted by
you? If the latter, I've been unable to get file:// urls working; if you
do, please let me know!

Regards,

Simon



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

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.


Re: Dependencies Options

2006-04-25 Thread Simon Kitching
On Mon, 2006-04-24 at 21:25 -0400, Alexandre Poitras wrote:
 On 4/24/06, Brandon Goodin [EMAIL PROTECTED] wrote:
  tons of advantages - please quantify this.
 
 Well distributing internal corporation dependencies and managing the
 version, especially nightly build is way easier using Maven repository
 capabilities. Managing your project dependencies version is also
 really easier (especially conflicts and snapshots).

I would disagree. Managing dependencies is really easy when you've
checked jars into a directory - the jars used are the ones in that dir,
and nothing else.

Of course this does have the disadvantages listed in my mail (more repo
space needed, more bandwidth).

 
 All the Maven generated reports also work better with regular
 dependencies because they can find some metadatas to work with.

true.

 
 
  Personally, I find the repository to be a nice piece of Maven. But,
  I don't see it as a cardinal sin to actually distribute libraries in
  your project. If you follow the libary naming convention then who
  cares?
 
  Personally, what i find annoying are the copious additional, needless,
  and redundant dependencies that i have to download because of the
  dependencies defined in the pom of a jar that i need to download.
 
 Nothing the exclude tag can't fix.

That can be quite clumsy to use, though. Sometimes half-a-dozen libs
need to be excluded, at which point the pom becomes hard to read.

 
  I also find it annoying to have to manually install several small
  libraries to my local repo cuz i can't distribute them as a result of
  licensing. It is additionally annoying to have to setup a jar
  repository that will be used for jars that will be needed that can
  only be distributed privately. All of this... vs. me just referencing
  them in my source tree?
 
 
 You are making this sound like it is a lot of work. Manually
 installing files on a corporate repository using install:install-file
 usually doesn't take more time then checking them inside SVN. A maven
 repository is basically a Jar versionning systems.

[as noted in your followup, you meant deploy:deploy-file]

That's assuming that a corporate repo exists and that it has upload
support available.

 
  I like Maven a lot and really enjoy the standard project layout
  features and plugins that are provided. But, the jar repository has
  caused me more time and less efficiency. However, i do like ibiblio
  for a single one stop shop for grabbing jars i need... to drop in my
  source tree ;-)
 
  I like it when people can check out my source from SVN and simply
  build. This is possible when i place them in SVN. Heck, I can even
  check Sun Jars into my SVN repo! ;)
 
 If you have a remote Maven repository on the same server as your SVN
 repo, I really don't see the difference.

True, as long as:
(a) your svn server is already running behind a webserver, so the maven
repo can easily be set up,
(b) there is some upload support for that server,
(c) there is some way of ensuring that jars always come from this repo,
and never from ibiblio (this is the hardest bit in my experience)

Cheers,

Simon


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



Re: Dependencies Options

2006-04-25 Thread Anshuman Srivastava
If we do not use the system dependecies then how can we resolve the
dependency on ejb3.0 which is not available on
http://www.ibiblio.org/maven2/. This was my problem so i used ejb3 jars
distributed by jboss.Is there any other way?

pom.xml---

 groupIdjboss.ejb3/groupId
 artifactIdejb3-persistence/artifactId
version3.0/version
scopesystem/scope
systemPathC:/boss-4.0.4/server/default/deploy/ejb3.deployer/ejb3-
persistence.jar/systemPath
 /dependency
 dependency
groupIdjboss.ejb3/groupId
 artifactIdejb3-management/artifactId
version3.0/version
scopesystem/scope
systemPathC:/boss-4.0.4/docs/examples/jmx/ejb-management.jar
/systemPath
 /dependency
 dependency
groupIdjboss-ejb3x/groupId
 artifactIdejb3x/artifactId
version3.0/version
scopesystem/scope
systemPathC:/boss-4.0.4/server/default/deploy/ejb3.deployer/jboss-
ejb3x.jar/systemPath
 /dependency
 dependency
groupIdjboss-annotations-ejb3/groupId
 artifactIdannotations-ejb3/artifactId
version3.0/version
scopesystem/scope
 systemPathC:/boss-4.0.4/server/default/deploy/ejb3.deployer/jboss-
annotations-ejb3.jar/systemPath
 /dependency


On 4/25/06, Alexandre Poitras [EMAIL PROTECTED] wrote:

 Well you can use *system* dependencies but you loose tons of
 advantages. Instead, maybe you should just populate your local
 repository using the install plugin and -o to run mvn offline.

 On 4/24/06, Brandon Goodin [EMAIL PROTECTED] wrote:
  Is it a requirement that i use the remote repository for jars? Is
  there a way to reference jars that are distributed with the code when
  checked out from the code repository?
 
  Brandon
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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




RE: [m2][site] Strange behaviour using site:deploy with scp.

2006-04-25 Thread hermod.opstvedt
Hi

Try scp://[EMAIL PROTECTED]/homes/maven/public_html/sites/

I scratched my head with exactly this problem for some time a while back.

Hermod

-Original Message-
From: Mikael Andersson [mailto:[EMAIL PROTECTED]
Sent: Monday, April 24, 2006 6:20 PM
To: users@maven.apache.org
Subject: [m2][site] Strange behaviour using site:deploy with scp.


Hi,
when I use use site:deploy with scp (on Linux), something strange happens.
The site isn't deployed to the specified location, but in a somewhat strange
location!

From the pom:
distributionManagement
site
idmaven_html/id
urlscp:[EMAIL PROTECTED]
:/homes/maven/public_html/sites//url
/site
/distributionManagement

maven output:
[INFO] [site:deploy]
scp:prod.ebi.ac.uk:/homes/maven/public_html/sites/ - Session: Opened
Executing command: mkdir -p uk//homes/maven/public_html/sites/.
Executing command: mkdir -p uk//homes/maven/public_html/sites/.
Executing command: scp -t uk//homes/maven/public_html/sites/./wagon65232.zip
Uploading: ./wagon65232.zip to scp:
prod.ebi.ac.uk:/homes/maven/public_html/sites/

###
Transfer finished. 122920 bytes copied in 0.092 seconds
Executing command: cd uk//homes/maven/public_html/sites/.; unzip -q -o
wagon65232.zip; rm -f wagon65232.zip
scp:prod.ebi.ac.uk:/homes/maven/public_html/sites/ - Session: Disconnecting
scp:prod.ebi.ac.uk:/homes/maven/public_html/sites/ - Session: Disconnected
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]


Notice the 'uk//homes/maven/public_html/sites/.' in the commands printed in
the output, arghh. So the site is created in that users home in the
directory in 'uk//homes/maven/public_html/sites/.' .

Is there something which I've done wrong in my settings?

Help greatly appreciated,
 - Micke


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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



Re: [M2] - Third party artifact installation / parse error in POM

2006-04-25 Thread Tim Kettler

Simon Kitching schrieb:

On Tue, 2006-04-25 at 08:54 +0200, Sharma, Jaikumar wrote:

Thanks Tim for useful tip, I installed the thirdparty artifact, but did
not use the option as you mentioned -- (-DgeneratePom=true). I would do
this and let you know the results.


Note: there are some jars (in particular, Sun stuff like
javax.transaction) for which there is a pom in the ibiblio repository,
but not the jar, for legal reasons.

For these jars, you don't want to specify -DpomFile or -DgeneratePom;
just install the jar and the pom will be downloaded (with all the right
info). At least I think that's how it works.


In the settings.xml, I have specified the localRepository pointing to
local filesystem, but file:// -- protocol has been specified. Might be
that because of the first problems, further stacktrace is getting
generated. I would try and see the results.


Are you talking about the *local* repository (ie cache typically in
~/.m2/repository), or a remote repository that happens to be hosted by
you? If the latter, I've been unable to get file:// urls working; if you
do, please let me know!


I have this in my settings.xml:

repository
  idspike.releases.3dparty/id
  nameRepository for third party libraries/name
  urlfile:///C:/MavenRepo/url
/repository



Regards,

Simon



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



[m2] How to generate Download report using Maven 2

2006-04-25 Thread Martin Burger

Hello!

In Maven 1 it was possible to add a download report to the generated 
site (maven.xdoc.distributionUrl). I cannot found any information about 
this feature in the documentation of Maven 2. Is this feature missing?


Regards,

Martin Burger

--
Martin Burger
Researcher

Software Engineering Chair (Prof. Zeller)
Saarland University, Dept. of Informatics

Tel. +49 (0)681 302-64783 · Fax +49 (0)681 302-64012
[EMAIL PROTECTED] · http://www.st.cs.uni-sb.de/~mburger/


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

Query around maven.xml in Maven 2.0

2006-04-25 Thread Utpal Sen
Hi,
I am a new to maven. In the documentation that I have I see a reference to
maven.xml and project.properties but in the information posted on
maven.orgit seems like in the new version we don't need to use either
of them and can
perform the tasks through pom.xml only. Can anyone kindly validate this?

Thanks in advance
Utpal


[Ann] Continuum 1.0.3 Released

2006-04-25 Thread Emmanuel Venisse

  The Apache Maven team is pleased to announce Continuum 1.0.3.

  Continuum 1.0.3 is available for download from 
{{http://maven.apache.org/continuum/download.html}}

  Continuum is a continous integration server that will ensure the health of 
your code base.

  This release includes the following improvements :

   * Improved performance

   * New web interface

   * Added an internal maven repository for built projects

   * Improved the project build for projects with multiple build definitions

   * Improved maven2 setings/profiles loading

   * Bug fixes

  For a complete list of changes please refer to the complete changelog:

* {{http://maven.apache.org/continuum/change-log.html}}

  We hope you enjoy using Continuum! If you have any questions, please consult:

* the web site: {{http://maven.apache.org/continuum/}}

* the continuum-user mailing list: 
{{http://maven.apache.org/continuum/mail-lists.html}}


Emmanuel


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



Re: Problem with Eclipse plugin

2006-04-25 Thread Jose Gonzalez Gomez
I'm using 0.0.5... do you have more information about this issue?

Thanks
Jose

2006/4/24, Tom Joad [EMAIL PROTECTED]:

 Hello,
 Which version of the plugin do you use? It is a known issue of version
 0.0.4 resolved
 with 0.0.5 .
 Tom.



 2006/4/24, Jose Gonzalez Gomez [EMAIL PROTECTED]:
  Hi there,
 
  After reading about the Eclipse plugin I decided to give it a try. I
  installed it, and tried to run a maven goal, but the execution seems to
  hang. After enabling debug output in the preferences I get this in the
  console:
 
  [DEBUG] Found 0 components to load on start
  [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
 and
  Settings\jgonzalez\.m2\plugin-registry.xml'
  [DEBUG] Building Maven global-level settings from:
  'U:\proyectos\otros\netflux\netflux-core\conf\settings.xml'
  [DEBUG] Building Maven user-level settings from: 'C:\Documents and
  Settings\jgonzalez\.m2\settings.xml'
  [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for
  project: null:netflux-core:jar:null
 
  After this, the execution seems to hang. Any ideas?
 
  TIA, best regards
  Jose
 
 

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




documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi,
 
I'd like to interact with our project's cvs repository on java.net from within 
my own plugin, thus I plan to use the maven-scm-api. Is there any documentation 
for it available online? Maybe JavaDocs?
 
Is 1.0-beta-3 the latest version, which is not a snapshot?
 
I'm using a ssh tunnel, so my server is localhost, while I assume that other 
might directly connect to cvs.dev.java.net. All I could find out now, is that 
the scm url is only stored in project.scm.developerConnection
= Can the scm url be put into the ~/.m2/settings.xml? 
 
I tried to validate the scm url with scm:validate and that worked. A scm:status 
failed first, because it had no connectionUrl set. 
= Why does scm:status not look into the project.scm.developerConnection, but 
only in project.scm.connection?
= How do I create the ~/.cvspass?
= Do I have to install a cvs client in order to use cvs?

For people who should find this mail in the mailing list archives, here are a 
few pointers, what I found out so far:
http://maven.apache.org/scm/scms-overview.html

Invalid maven.scm.url
http://www.mail-archive.com/users@maven.apache.org/msg38037.html

[m2] maven scm api and cvs
http://www.mail-archive.com/users@maven.apache.org/msg37009.html
http://www.mail-archive.com/users@maven.apache.org/msg36576.html

How to use scm from Java
http://www.mail-archive.com/users@maven.apache.org/msg37445.html

How check that project should be rebuilded (source code management)?
http://www.mail-archive.com/users@maven.apache.org/msg22675.html

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

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



Impossible to start working with Maven

2006-04-25 Thread Gianfranco Oldani

Hello,
I have done the Maven setup and trying to compile my first project I cannot 
get out of this error (here is the command and the trace qfter launching 
with the -e option):


Thanks for any help.

D:\projects\maven_demomvn -e compile
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 


[INFO] Building Maven Demo 2.0
[INFO]task-segment: [compile]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from central
[WARNING] repository metadata for: 'artifact 
org.apache.maven.plugins:maven-resources-plugin' could not be retrieved from 
repository

[INFO] Repository 'central' will be blacklisted
[INFO] 


[ERROR] BUILD ERROR
[INFO] 

[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not 
exist or no valid version could be found
[INFO] 


[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 
'org.apache.maven.plugins:maven-resources-plugin' does not exist
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1281)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1011)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)

   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:585)
   at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: 
The plugin 'org.apache.maven.plugins:maven-resources-plug
   at 
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225)
   at 
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87)
   at 
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:158)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)

   ... 18 more

Gianfranco OLDANI
Mob: +79602726351

_
Sentez vous chez vous sur la page d'accueil MSN  en personnalisant le 
contenu! http://fr.ch.msn.com/default.aspx?dc=true



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



Re: Impossible to start working with Maven

2006-04-25 Thread Tom Joad
Hello,
It' s an internet connexion problem.
Tom.

2006/4/25, Gianfranco Oldani [EMAIL PROTECTED]:
 Hello,
 I have done the Maven setup and trying to compile my first project I cannot
 get out of this error (here is the command and the trace qfter launching
 with the -e option):

 Thanks for any help.

 D:\projects\maven_demomvn -e compile
 + Error stacktraces are turned on.
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building Maven Demo 2.0
 [INFO]task-segment: [compile]
 [INFO]
 
 [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
 for updates from central
 [WARNING] repository metadata for: 'artifact
 org.apache.maven.plugins:maven-resources-plugin' could not be retrieved from
 repository
 [INFO] Repository 'central' will be blacklisted
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
 exist or no valid version could be found
 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
 'org.apache.maven.plugins:maven-resources-plugin' does not exist
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1281)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1011)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
 The plugin 'org.apache.maven.plugins:maven-resources-plug
 at
 org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225)
 at
 org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87)
 at
 org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:158)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
 ... 18 more

 Gianfranco OLDANI
 Mob: +79602726351

 _
 Sentez vous chez vous sur la page d'accueil MSN  en personnalisant le
 contenu! http://fr.ch.msn.com/default.aspx?dc=true


 -
 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: Impossible to start working with Maven

2006-04-25 Thread Tom Joad
If you are under proxy you must put something like this on your
{user.home}/.m2/settings.xml
proxies
proxy
protocolhttp/protocol
portPORTNUMBER/port
hostYOURPROXY/host
/proxy
/proxies

Tom.

2006/4/25, Gianfranco Oldani [EMAIL PROTECTED]:
 Hello,
 I have done the Maven setup and trying to compile my first project I cannot
 get out of this error (here is the command and the trace qfter launching
 with the -e option):

 Thanks for any help.

 D:\projects\maven_demomvn -e compile
 + Error stacktraces are turned on.
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building Maven Demo 2.0
 [INFO]task-segment: [compile]
 [INFO]
 
 [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
 for updates from central
 [WARNING] repository metadata for: 'artifact
 org.apache.maven.plugins:maven-resources-plugin' could not be retrieved from
 repository
 [INFO] Repository 'central' will be blacklisted
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
 exist or no valid version could be found
 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
 'org.apache.maven.plugins:maven-resources-plugin' does not exist
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1281)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1011)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
 The plugin 'org.apache.maven.plugins:maven-resources-plug
 at
 org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225)
 at
 org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87)
 at
 org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:158)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
 ... 18 more

 Gianfranco OLDANI
 Mob: +79602726351

 _
 Sentez vous chez vous sur la page d'accueil MSN  en personnalisant le
 contenu! http://fr.ch.msn.com/default.aspx?dc=true


 -
 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: Impossible to start working with Maven

2006-04-25 Thread Anshuman Srivastava
Hi,

I faced this problem also in starting.You need to setup the proxi settings
in conf\settings.xml. I am writing a sample entry for my proxy.You have to
change it according to ur settings.

  proxies
 proxy
  id1001/id
  activetrue/active
  protocolhttp/protocol
  usernameanshumans/username
  passwordmomentum/password
  host192.168.1.2/host
  port3128/port
  nonProxyHostslocalhost/nonProxyHosts
/proxy
/proxies

 Tell me if your problem is solved.

Anshuman



On 4/25/06, Gianfranco Oldani [EMAIL PROTECTED] wrote:

 Hello,
 I have done the Maven setup and trying to compile my first project I
 cannot
 get out of this error (here is the command and the trace qfter launching
 with the -e option):

 Thanks for any help.

 D:\projects\maven_demomvn -e compile
 + Error stacktraces are turned on.
 [INFO] Scanning for projects...
 [INFO]

 
 [INFO] Building Maven Demo 2.0
 [INFO]task-segment: [compile]
 [INFO]

 
 [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
 for updates from central
 [WARNING] repository metadata for: 'artifact
 org.apache.maven.plugins:maven-resources-plugin' could not be retrieved
 from
 repository
 [INFO] Repository 'central' will be blacklisted
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
 not
 exist or no valid version could be found
 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
 'org.apache.maven.plugins:maven-resources-plugin' does not exist
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
 DefaultLifecycleExecutor.java:1281)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(
 DefaultLifecycleExecutor.java:1517)
at

 org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging
 (DefaultLifecycleExecutor.java:1011)
at

 org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings
 (DefaultLifecycleExecutor.java:975)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
 DefaultLifecycleExecutor.java:453)
at

 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
 (DefaultLifecycleExecutor.java:306)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
 DefaultLifecycleExecutor.java:273)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
 DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
 :39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(
 DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
 The plugin 'org.apache.maven.plugins:maven-resources-plug
at

 org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
 (DefaultPluginVersionManager.java:225)
at

 org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
 (DefaultPluginVersionManager.java:87)
at
 org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(
 DefaultPluginManager.java:158)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
 DefaultLifecycleExecutor.java:1252)
... 18 more

 Gianfranco OLDANI
 Mob: +79602726351

 _
 Sentez vous chez vous sur la page d'accueil MSN  en personnalisant le
 contenu! http://fr.ch.msn.com/default.aspx?dc=true


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




Use System Environment Variable for JUNIT

2006-04-25 Thread RobJac

I have Maven project which also runs Junit when i execute install command.
The class files which runs Junit has references to few System environment
variable. I would like to know if there is any way I can declare System
Environment variable in my pom xml so that the Junit can use this when it
runs my project. I am using Maven2
--
View this message in context: 
http://www.nabble.com/Use-System-Environment-Variable-for-JUNIT-t1504491.html#a4079453
Sent from the Maven - Users forum at Nabble.com.


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



Maven Proxy

2006-04-25 Thread Ben Short
Hi, 

I am trying to setup maven-proxy on my network and make all my clients
connect to it rather than go to the internet. But when I run mvn complie it
always connect to the internet server first. If maven can't find a
dependency on the internet server then it tries my maven-proxy.

I have added the following to my pom.

repositories
repository
idinternal/id
nameInternal Repos/name
layoutdefault/layout
urlhttp://internalhost:/url 
/repository
/repositories

I have also set the id element to central but it still uses the internet
server first.

Any ideas?

Ben





Generating site - outputEncoding=utf-8 doesn't work with menu and links names

2006-04-25 Thread MiSt

My pom.xml:
(...)
plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-site-plugin/artifactId
 configuration
 outputEncodingUTF-8/outputEncoding
/configuration
/plugin
(...)

Site's charset is ok:
meta http-equiv=Content-Type content=text/html; charset=UTF-8 /
and content from xdoc is proper UTF-8, but menu name,  menu items names 
and links names  have broken encoding.

I have ?xml version=1.0 encoding=UTF-8? in site.xml

I am doing something wrong or it is a bug ?


maven-site-plugin 2.0-beta-4
maven 2.0.4



--
Michael Steiner


--
Nie przychodz! Nie przyjezdzaj! Nie dzwon! Zamow ogloszenie drobne do Gazety 
Wyborczej przez internet wchodzac na http://www.aaaby.pl/wyborcza i wygraj nawet 
10.000 zl!

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



RE : Use System Environment Variable for JUNIT

2006-04-25 Thread Olivier Lamy
Read : http://maven.apache.org/plugins/maven-surefire-plugin/howto.html

Section called Using System Properties

-Olivier

-Message d'origine-
De : RobJac [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 25 avril 2006 11:49
À : users@maven.apache.org
Objet : Use System Environment Variable for JUNIT



I have Maven project which also runs Junit when i execute install
command. The class files which runs Junit has references to few System
environment variable. I would like to know if there is any way I can
declare System Environment variable in my pom xml so that the Junit can
use this when it runs my project. I am using Maven2
--
View this message in context:
http://www.nabble.com/Use-System-Environment-Variable-for-JUNIT-t1504491
.html#a4079453
Sent from the Maven - Users forum at Nabble.com.


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



This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
--
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après le message ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
-


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



Re: Use System Environment Variable for JUNIT

2006-04-25 Thread Emmanuel Venisse

http://maven.apache.org/plugins/maven-surefire-plugin/howto.html

Emmanuel

RobJac a écrit :

I have Maven project which also runs Junit when i execute install command.
The class files which runs Junit has references to few System environment
variable. I would like to know if there is any way I can declare System
Environment variable in my pom xml so that the Junit can use this when it
runs my project. I am using Maven2
--
View this message in context: 
http://www.nabble.com/Use-System-Environment-Variable-for-JUNIT-t1504491.html#a4079453
Sent from the Maven - Users forum at Nabble.com.


-
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: Use System Environment Variable for JUNIT

2006-04-25 Thread Sharma, Jaikumar
You can use system variables like ${var.name} -- please be sure for the
case of variables -- means access in M2 as defined in windows. 

-Original Message-
From: RobJac [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 3:19 PM
To: users@maven.apache.org
Subject: Use System Environment Variable for JUNIT



I have Maven project which also runs Junit when i execute install
command. The class files which runs Junit has references to few System
environment variable. I would like to know if there is any way I can
declare System Environment variable in my pom xml so that the Junit can
use this when it runs my project
--
View this message in context:
http://www.nabble.com/Use-System-Environment-Variable-for-JUNIT-t1504491
.html#a4079453
Sent from the Maven - Users forum at Nabble.com.


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

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.


Re: documentation for maven-scm-api?

2006-04-25 Thread Emmanuel Venisse

Hi,

[EMAIL PROTECTED] a écrit :

Hi,
 
I'd like to interact with our project's cvs repository on java.net from within my own plugin, thus I plan to use the maven-scm-api. Is there any documentation for it available online? Maybe JavaDocs?


javadocs isn't available online yet. I'll do it asap.

 
Is 1.0-beta-3 the latest version, which is not a snapshot?


yes, 1.0-beta-3 is the latest.

 
I'm using a ssh tunnel, so my server is localhost, while I assume that other might directly connect to cvs.dev.java.net. All I could find out now, is that the scm url is only stored in project.scm.developerConnection
= Can the scm url be put into the ~/.m2/settings.xml? 


It's possible with a property used in a profile.

 
I tried to validate the scm url with scm:validate and that worked. A scm:status failed first, because it had no connectionUrl set. 
= Why does scm:status not look into the project.scm.developerConnection, but only in project.scm.connection?


project.scm.connection is the default connection used, if you want to use 
project.scm.developerConnection, you can set connectionType plugin property to developerconnection



= How do I create the ~/.cvspass?


Maven-SCM create it and add the cvsroot in it if it doesn't exist.
If you want to create it manually, you'll need to call the cvs login command


= Do I have to install a cvs client in order to use cvs?


Yes, our pure java cvs provider isn't ready yet.



For people who should find this mail in the mailing list archives, here are a 
few pointers, what I found out so far:
http://maven.apache.org/scm/scms-overview.html

Invalid maven.scm.url
http://www.mail-archive.com/users@maven.apache.org/msg38037.html

[m2] maven scm api and cvs
http://www.mail-archive.com/users@maven.apache.org/msg37009.html
http://www.mail-archive.com/users@maven.apache.org/msg36576.html

How to use scm from Java
http://www.mail-archive.com/users@maven.apache.org/msg37445.html

How check that project should be rebuilded (source code management)?
http://www.mail-archive.com/users@maven.apache.org/msg22675.html

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 


--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

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







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



Re: Maven Proxy

2006-04-25 Thread Tom Joad
Maven always go to internal repository which connects to all maven
public repository you declare on your  maven proxy configuration file.
The order of checking artifact is  always
local repository --internal repository -- maven public repositories.

Tom.

2006/4/25, Ben Short [EMAIL PROTECTED]:
 Tom,

 Thanks for replying. Will maven then always go to the internal one or only
 when it cant connect to the internet server?

 Ben

 -Original Message-
 From: Tom Joad [mailto:[EMAIL PROTECTED]
 Sent: 25 April 2006 11:05
 To: Maven Users List; [EMAIL PROTECTED]
 Subject: Re: Maven Proxy

 HI,
 You configure connexion on settings.xml file with mirrors tag.
 mirrors
 mirror
 mirrorOfcentral/mirrorOf
 nameInternal Repos/name
 urlhttp://internalhost:/url
 idlocal-proxy/id
 /mirror
 /mirrors
 Tom.
 2006/4/25, Ben Short [EMAIL PROTECTED]:
  Hi,
 
  I am trying to setup maven-proxy on my network and make all my clients
  connect to it rather than go to the internet. But when I run mvn complie
 it
  always connect to the internet server first. If maven can't find a
  dependency on the internet server then it tries my maven-proxy.
 
  I have added the following to my pom.
 
  repositories
  repository
  idinternal/id
  nameInternal Repos/name
  layoutdefault/layout
  urlhttp://internalhost:/url
  /repository
  /repositories
 
  I have also set the id element to central but it still uses the internet
  server first.
 
  Any ideas?
 
  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]



[M2] : How to resolve package level dependencies

2006-04-25 Thread Sharma, Jaikumar
I have folder structure of the project :
 
 
|--Project   A 
|  |-sub-project B
|  |
|  ||---sub-sub project C
|  ||---pom.xml 
|  ||--sub-sub project D
|  ||---pom.xml
|  |-pom.xml   
|--pom.xml
 
 
In this scanario, packages access is defined in the classes, when I compile
sub-sub project C, it says package does not exist (which is already there
sub-sub project D)
 
How to define dependency for this ? 
 
Thanks!
 
Regards, Jaikumar 
 

BM__MailAutoSig_

 

Jaikumar Sharma

Sr.Software Development Engineer

 

Barco Control Rooms

A-5, Sector - 5,

Noida. India 201 301.

Tel +91 120-2421-651 to 659  Ext.313

Fax+91 120 2421 691

 http://www.barco.com/ http://www.barco.com

 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

_

 
- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.


RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi Emmanuel, thanks for the quick feedback. My comments inline below: 

-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 

javadocs isn't available online yet. I'll do it asap.

Great :-)

 I'm using a ssh tunnel, so my server is localhost, while I assume 
 that other might directly connect to cvs.dev.java.net. All I 
could find out now, is that the scm url is only stored in 
project.scm.developerConnection = Can the scm url be put into 
the ~/.m2/settings.xml?

It's possible with a property used in a profile.

I have used neither own properties nor a profile yet, but I will try :-)

 I tried to validate the scm url with scm:validate and that 
worked. A scm:status failed first, because it had no 
connectionUrl set. 
 = Why does scm:status not look into the 
project.scm.developerConnection, but only in project.scm.connection?

project.scm.connection is the default connection used, if you 
want to use project.scm.developerConnection, you can set 
connectionType plugin property to developerconnection

Ok, that worked :)

mvn -X -DconnectionType=developerConnection scm:status

 = How do I create the ~/.cvspass?

Maven-SCM create it and add the cvsroot in it if it doesn't exist.
If you want to create it manually, you'll need to call the cvs 
login command

Hm :-k but the command above (scm:status) did not create it, but complained 
that it is missing. 

 = Do I have to install a cvs client in order to use cvs?

Yes, our pure java cvs provider isn't ready yet.

Can I use cvsnt? Or are there other command line cvs clients for windows? I 
read that it does not take the .cvspass into account. Sorry if thesse questions 
might sound stupid :-/

Kind Regards,
 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

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



Getting root parent POM artifactid

2006-04-25 Thread javed mandary
Hi,
is there any properties value that returns the top Parent POM's artifact
id and version number.

Say i have a structure as follows:

root POM
  |
  |--module A POM
  |
  |-module B POM
|
|--module C POM



Is there a way to retrieve the artifactId and version number of top root POM
from module C POM ?

cheers,
Javed


RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Some further own investigations... 

-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 

 = How do I create the ~/.cvspass?

Maven-SCM create it and add the cvsroot in it if it doesn't exist.
If you want to create it manually, you'll need to call the cvs login 
command

Hm :-k but the command above (scm:status) did not create it, 
but complained that it is missing. 

 = Do I have to install a cvs client in order to use cvs?

Yes, our pure java cvs provider isn't ready yet.

Can I use cvsnt? Or are there other command line cvs clients 
for windows? I read that it does not take the .cvspass into 
account. Sorry if thesse questions might sound stupid :-/

I installed the GNU CVS, which seems to work quite well from 
ftp://ftp.informatik.rwth-aachen.de/pub/gnu/non-gnu/cvs/binary/stable/x86-woe/cvs-1-11-21.zip

\USERS\Programs\cvs-1-11-21\cvs login

Logging in to :pserver:[EMAIL PROTECTED]:2401/cvs
CVS password:

cat \Documents and Settings\aebbert\.cvspass
:pserver:[EMAIL PROTECTED]:/cvs XXX :

So the ~\.cvspass now exists, but when I try to use scm:status for example, I'm 
still getting the same error:

mvn -X -DconnectionType=developerConnection scm:status
--
[DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-scm-plugin:1.0-beta-3:status' --
[DEBUG]   (f) basedir = C:\USERS\My 
Development\ossj\tigersripe_ws\oss_om_distribution
[DEBUG]   (f) connectionType = developerConnection
[DEBUG]   (f) developerConnectionUrl = scm:cvs:pserver:[EMAIL 
PROTECTED]:/cvs:jsr264-private/oss_om_
distribution
[DEBUG]   (f) settings = [EMAIL PROTECTED]
[DEBUG] -- end configuration --
[INFO] [scm:status]
[DEBUG] cvsRoot: :pserver:[EMAIL PROTECTED]:2401/cvs
[DEBUG] passFile: C:\Documents and Settings\aebbert\.cvspass
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Cannot run checkout command :

Embedded error: Exception while executing SCM command.
password is required
--

I'm lost here :-(

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

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



RE: [M2] Compiler plugin 2.0.1 - compilerArguments error

2006-04-25 Thread Sharma, Jaikumar
I used complierArgument-classpath libraries path /compilerArgument
and problem disappeared!
Thanks for your help!
Regards, Jaikumar

-Original Message-
From: Alexandre Poitras [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 1:24 AM
To: Maven Users List
Subject: Re: [M2] Compiler plugin 2.0.1 - compilerArguments error


Please run maven with the -e switch and post the result because it's
hard to tell the cause based upon this stack.

On 4/24/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:
 Dear Maven Users,

 I was trying to specify -classpath system lib path using the 
 compilerArguments /compilerArguments construct , and I got the 
 following error. Someone having the idea why this error occurs ?

 Regards, Jaikumar


 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources. [INFO]


 [ERROR] BUILD ERROR
 [INFO]


 [INFO] Failed to configure plugin parameters for:
 org.apache.maven.plugins:maven-compiler-plugin:2.0.1

 Cause: Cannot assign value '-classpath C:\Program 
 Files\Java\jdk1.5.0_04\jre\lib\' to field: 
 org.apache.maven.plugin.CompilerMojo.compilerArguments; type: 
 java.lang.String [INFO]


 [INFO] For more information, run Maven with the -e switch
 [INFO]


 [INFO] Total time: 4 seconds
 [INFO] Finished at: Mon Apr 24 14:48:23 GMT+05:30 2006
 [INFO] Final Memory: 4M/8M
 [INFO]





 - - - - - - - DISCLAIMER- - - - - - - -
 Unless indicated otherwise, the information contained in this message 
 is privileged and confidential, and is intended only for the use of 
 the
 addressee(s) named above and others who have been specifically
authorized to
 receive it. If you are not the intended recipient, you are hereby
notified
 that any dissemination, distribution or copying of this message and/or
 attachments is strictly prohibited. The company accepts no liability
for any
 damage caused by any virus transmitted by this email. Furthermore, the
 company does not warrant a proper and complete transmission of this
 information, nor does it accept liability for any delays. If you have
 received this message in error, please contact the sender and delete
the
 message. Thank you.



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

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.


RE: Getting root parent POM artifactid

2006-04-25 Thread Sharma, Jaikumar
It is ${project.artifactId} and ${project.version}, as far as know. 

-Original Message-
From: javed mandary [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 4:18 PM
To: Maven Users List
Subject: Getting root parent POM artifactid


Hi,
is there any properties value that returns the top Parent POM's
artifact id and version number.

Say i have a structure as follows:

root POM
  |
  |--module A POM
  |
  |-module B POM
|
|--module C POM



Is there a way to retrieve the artifactId and version number of top root
POM from module C POM ?

cheers,
Javed
- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.


RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
 

-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 

cvsnt is supported by Maven-SCM, but cvsnt doesn't use the cvs 
standard, it doesn't use .cvspass but windows registry instead 
and Maven SCM require .cvspass file. So you'll need to run cvs 
login manually for creating windows registry entry if it 
doesn't

Since I'm now using the gnu cvs, I read that I don't need to run the cvs login 
manually, but that maven scm will create it for me. 

1) Good
2) How :-) ...

 and you can run scm:status with username and password 
parameter, Maven-SCM will create .cvspass with these parameters.

I've tried to put the password in the pom (in the developerConnection url) and 
that worked :-) Is there another way?

So my next tasks are: 

1) use the preferences and profiles as you suggested to move the url out of the 
POM.
2) make the first steps to connect to scm with my own plugin *scary*

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

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



Re: [Ann] Continuum 1.0.3 Released

2006-04-25 Thread Wim Deblauwe
Congrats on the release!

Is there a public place with screenshots and/or a live demo of the new
webinterface?

regards,

Wim

2006/4/25, Emmanuel Venisse [EMAIL PROTECTED]:

The Apache Maven team is pleased to announce Continuum 1.0.3.

Continuum 1.0.3 is available for download from {{
 http://maven.apache.org/continuum/download.html}}

Continuum is a continous integration server that will ensure the health
 of your code base.

This release includes the following improvements :

 * Improved performance

 * New web interface

 * Added an internal maven repository for built projects

 * Improved the project build for projects with multiple build
 definitions

 * Improved maven2 setings/profiles loading

 * Bug fixes

For a complete list of changes please refer to the complete changelog:

  * {{http://maven.apache.org/continuum/change-log.html}}

We hope you enjoy using Continuum! If you have any questions, please
 consult:

  * the web site: {{http://maven.apache.org/continuum/}}

  * the continuum-user mailing list: {{
 http://maven.apache.org/continuum/mail-lists.html}}


 Emmanuel




Re: documentation for maven-scm-api?

2006-04-25 Thread Emmanuel Venisse



[EMAIL PROTECTED] a écrit :
 




-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 



cvsnt is supported by Maven-SCM, but cvsnt doesn't use the cvs 
standard, it doesn't use .cvspass but windows registry instead 
and Maven SCM require .cvspass file. So you'll need to run cvs 
login manually for creating windows registry entry if it 
doesn't



Since I'm now using the gnu cvs, I read that I don't need to run the cvs login manually, but that maven scm will create it for me. 


1) Good
2) How :-) ...


With username/password define in scm url or in command line parameters




and you can run scm:status with username and password 
parameter, Maven-SCM will create .cvspass with these parameters.



I've tried to put the password in the pom (in the developerConnection url) and 
that worked :-) Is there another way?


yes :-)
You can define them in your settings.xml, in servers part like this:

servers
  server
idyour_host/idYou can use your_host:your_port, if a port is defined 
in your scm url
usernameuserusername
passwordpassword/password
  /server
/servers



So my next tasks are: 


1) use the preferences and profiles as you suggested to move the url out of the 
POM.
2) make the first steps to connect to scm with my own plugin *scary*


Why do you create your own scm plugin?



 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 


--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
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: Getting root parent POM artifactid

2006-04-25 Thread javed mandary
${project.artifactId} and ${project.version} just retrieves value for MODULE
C not for the root POM unfortunately

On 4/25/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:

 It is ${project.artifactId} and ${project.version}, as far as know.

 -Original Message-
 From: javed mandary [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 25, 2006 4:18 PM
 To: Maven Users List
 Subject: Getting root parent POM artifactid


 Hi,
 is there any properties value that returns the top Parent POM's
 artifact id and version number.

 Say i have a structure as follows:

 root POM
   |
   |--module A POM
   |
   |-module B POM
 |
 |--module C POM



 Is there a way to retrieve the artifactId and version number of top root
 POM from module C POM ?

 cheers,
 Javed
 - - - - - - - DISCLAIMER- - - - - - - -
 Unless indicated otherwise, the information contained in this message is
 privileged and confidential, and is intended only for the use of the
 addressee(s) named above and others who have been specifically authorized
 to
 receive it. If you are not the intended recipient, you are hereby notified
 that any dissemination, distribution or copying of this message and/or
 attachments is strictly prohibited. The company accepts no liability for
 any
 damage caused by any virus transmitted by this email. Furthermore, the
 company does not warrant a proper and complete transmission of this
 information, nor does it accept liability for any delays. If you have
 received this message in error, please contact the sender and delete the
 message. Thank you.




RE: Maven Proxy

2006-04-25 Thread Ben Short
Tom, 

Just tried that out and it works.

Many thanks. 

Ben

-Original Message-
From: Tom Joad [mailto:[EMAIL PROTECTED] 
Sent: 25 April 2006 11:21
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Maven Proxy

Maven always go to internal repository which connects to all maven
public repository you declare on your  maven proxy configuration file.
The order of checking artifact is  always
local repository --internal repository -- maven public repositories.

Tom.

2006/4/25, Ben Short [EMAIL PROTECTED]:
 Tom,

 Thanks for replying. Will maven then always go to the internal one or only
 when it cant connect to the internet server?

 Ben

 -Original Message-
 From: Tom Joad [mailto:[EMAIL PROTECTED]
 Sent: 25 April 2006 11:05
 To: Maven Users List; [EMAIL PROTECTED]
 Subject: Re: Maven Proxy

 HI,
 You configure connexion on settings.xml file with mirrors tag.
 mirrors
 mirror
 mirrorOfcentral/mirrorOf
 nameInternal Repos/name
 urlhttp://internalhost:/url
 idlocal-proxy/id
 /mirror
 /mirrors
 Tom.
 2006/4/25, Ben Short [EMAIL PROTECTED]:
  Hi,
 
  I am trying to setup maven-proxy on my network and make all my clients
  connect to it rather than go to the internet. But when I run mvn complie
 it
  always connect to the internet server first. If maven can't find a
  dependency on the internet server then it tries my maven-proxy.
 
  I have added the following to my pom.
 
  repositories
  repository
  idinternal/id
  nameInternal Repos/name
  layoutdefault/layout
  urlhttp://internalhost:/url
  /repository
  /repositories
 
  I have also set the id element to central but it still uses the internet
  server first.
 
  Any ideas?
 
  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]



Re: [m2] - Maven IDEA Plugin

2006-04-25 Thread Trent Rosenbaum
Thanks for the help, I will download the SNAPSHOT and work with that.

Trent

On 21/04/06, Konstantin Polyzois [EMAIL PROTECTED] wrote:

 I can only agree that the snapshot version is much better, don't have a
 clue
 when it will be relesaed...

 /konstantin

 On 4/20/06, Arik Kfir [EMAIL PROTECTED] wrote:
 
  Hi Trent,
 
  Indeed the snapshot version (or the svn version if you build it
 yourself)
  is
  much better.
 
  To build it from source (I can't find a snapshot version in the
 snapshots
  repository, at http://svn.apache.org/maven-snapshot-repository) run:
 
  svn checkout
  http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-idea-plugin
  cd maven-idea-plugin
  mvn install
 
  This will build a new version and install it in your local repository,
 so
  you can use it.
 
  Hope this helps,
  Arik Kfir.
 
  On 4/20/06, Trent Rosenbaum [EMAIL PROTECTED] wrote:
  
   Hi there,
  
   I am interested in using the IDEA plugin fro Maven 2 and was wondering
   when
   the next release is expected?
   From my plugin-registry.xml file I can see that I am using release
   2.0-beta-1 and I noticed an email saying that the latest SNAPSHOT
   contained
   many more features over the current release.
  
   Does anyone have more info on the subject?
  
   Many thanks
   Trent
  
  
 
 
  --
  __
  Cheers,
Arik Kfir   [EMAIL PROTECTED]
Linux user, number 415067 - http://counter.li.org/
http://corleon.dnsalias.org
 




Upgrade to Continuum 1.0.3 from 1.0.2

2006-04-25 Thread Daniel Reghin
Hi,

How can I upgrade my continuum 1.0.2 installation to 1.0.3?
I have several projects in 1.0.2 already and didn't want to lose them.

Daniel 

-
---
-
Esta mensagem e seus anexos podem conter informacoes confidenciais
ou privilegiadas. Se voce nao e o destinatario dos mesmos voce nao
esta autorizado a utilizar o material para qualquer fim.
Solicitamos que voce apague a mensagem e avise imediatamente ao
remetente. O conteudo desta mensagem e seus anexos nao representam
necessariamente a opiniao e a intencao da empresa, nao implicando
em qualquer obrigacao ou responsabilidade da parte da mesma.

This message may contain confidential and/or privileged
information. If you are not the addressee or authorized to receive
this for the addressee, you must not use, copy, disclose or take
any action based on this message or any information herein.
If you have received this message in error, please advise the
sender immediately by reply e-mail and delete this message. The
contents of this message and its attachments do not necessarily
express the opinion or the intention of the company, and do not
implies any legal obligation or responsibilities from this company.



RE: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi, 

-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 

With username/password define in scm url or in command line parameters

The doc (http://maven.apache.org/scm/plugins/status-mojo.html) says that the 
parameters are only evaluated for svn and starteam protocol, but when I use:


developerConnectionscm:cvs:pserver::@localhost:/cvs:jsr264-private/oss_om_distribution/developerConnection
  

And then run:

C:\USERS\My Development\ossj\tigersripe_ws\oss_om_distributionmvn -X 
-Dusername=aebbert -Dpassword=
XX -DconnectionType=developerConnection scm:changelog

It does work too :-)

 I've tried to put the password in the pom (in the 
developerConnection url) and that worked :-) Is there another way?

yes :-)
You can define them in your settings.xml, in servers part like this:

servers
   server
 idyour_host/idYou can use your_host:your_port, if 
a port is defined in your scm url
 usernameuserusername
 passwordpassword/password
   /server
/servers

What I tried now is to create a profile in the settings.xml:

profile
iddefault/id
  activationactiveByDefault//activation
  properties
javanetUsernameaebbert/javanetUsername
javanetPasswordXXX/javanetPassword
javanetCVSServerlocalhost/javanetCVSServer
  /properties
/profile

And then use the scm url as:

scm:cvs:pserver:${javanetUsername}:[EMAIL 
PROTECTED]:/cvs:jsr264-private/oss_om_distribution

But maven didn't like that :-( 

[DEBUG]   (f) developerConnectionUrl = scm:cvs:pserver:null:[EMAIL 
PROTECTED]:/cvs:jsr264-private/oss_om_disTribution

I will try your suggestion with the server settings.


 So my next tasks are: 
 
 1) use the preferences and profiles as you suggested to move 
the url out of the POM.
 2) make the first steps to connect to scm with my own plugin *scary*

Why do you create your own scm plugin?

I don't want to create my own scm plugin, I'm creating a plugin, which is using 
the maven-scm-api, and before I do that, I wanted to make sure that I have a 
rough understanding how the stuff is working :-)

Background is, that if you want to have your custom website within your project 
on java.net, you have to upload it to your cvs repository, thus my plugin which 
integrates the project to java.net shall be able to commit the whole generated 
site to cvs. 

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

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



Re: documentation for maven-scm-api?

2006-04-25 Thread Emmanuel Venisse



[EMAIL PROTECTED] a écrit :
Some further own investigations... 




-Original Message-
From: ext 
[EMAIL PROTECTED]
e.org 
[mailto:[EMAIL PROTECTED]
en.apache.org] 




= How do I create the ~/.cvspass?


Maven-SCM create it and add the cvsroot in it if it doesn't exist.
If you want to create it manually, you'll need to call the cvs login 
command


Hm :-k but the command above (scm:status) did not create it, 
but complained that it is missing. 




= Do I have to install a cvs client in order to use cvs?


Yes, our pure java cvs provider isn't ready yet.


Can I use cvsnt? Or are there other command line cvs clients 
for windows? I read that it does not take the .cvspass into 
account. Sorry if thesse questions might sound stupid :-/



I installed the GNU CVS, which seems to work quite well from 
ftp://ftp.informatik.rwth-aachen.de/pub/gnu/non-gnu/cvs/binary/stable/x86-woe/cvs-1-11-21.zip



\USERS\Programs\cvs-1-11-21\cvs login



Logging in to :pserver:[EMAIL PROTECTED]:2401/cvs
CVS password:



cat \Documents and Settings\aebbert\.cvspass


:pserver:[EMAIL PROTECTED]:/cvs XXX :

So the ~\.cvspass now exists, but when I try to use scm:status for example, I'm 
still getting the same error:



mvn -X -DconnectionType=developerConnection scm:status


--
[DEBUG] Configuring mojo 
'org.apache.maven.plugins:maven-scm-plugin:1.0-beta-3:status' --
[DEBUG]   (f) basedir = C:\USERS\My 
Development\ossj\tigersripe_ws\oss_om_distribution
[DEBUG]   (f) connectionType = developerConnection
[DEBUG]   (f) developerConnectionUrl = scm:cvs:pserver:[EMAIL 
PROTECTED]:/cvs:jsr264-private/oss_om_
distribution
[DEBUG]   (f) settings = [EMAIL PROTECTED]
[DEBUG] -- end configuration --
[INFO] [scm:status]
[DEBUG] cvsRoot: :pserver:[EMAIL PROTECTED]:2401/cvs
[DEBUG] passFile: C:\Documents and Settings\aebbert\.cvspass
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Cannot run checkout command :

Embedded error: Exception while executing SCM command.
password is required
--

I'm lost here :-(


Three possibilities:
1- your .cvspass isn't in C:\Documents and Settings\aebbert\
2- you don't have a line with :pserver:[EMAIL PROTECTED]:2401/cvs in your 
.cvspass
3- you don't use maven-scm plugin 1.0-beta-3

Emmanuel



 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 


--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
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: documentation for maven-scm-api?

2006-04-25 Thread andreas.ebbert-karroum
Hi, 

-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: 25 April, 2006 13:13

 I've tried to put the password in the pom (in the 
developerConnection url) and that worked :-) Is there another way?

yes :-)
You can define them in your settings.xml, in servers part like this:

servers
   server
 idyour_host/idYou can use your_host:your_port, if 
a port is defined in your scm url
 usernameuserusername
 passwordpassword/password
   /server
/servers

How does the scm url have to look like in this case? I tried:

scm:cvs:pserver:@localhost:/cvs:jsr264-private/oss_om_distribution

And 

scm:cvs:pserver:localhost:/cvs:jsr264-private/oss_om_distribution

But none of them worked. BTW settings.xml:

settings
  proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  host172.25.112.90/host
  port8080/port
/proxy
  /proxies
  servers
server
  idlocalhost/id
  usernameaebbert/username
  passwordXX/password
/server
  /servers  
/settings

 So my next tasks are: 
 
 1) use the preferences and profiles as you suggested to move 
the url out of the POM.
 2) make the first steps to connect to scm with my own plugin *scary*

Why do you create your own scm plugin?

BTW: something comparable to this:
https://maven-javanet-plugin.dev.java.net/nonav/maven/goals/site.html

But for maven2.

Merci beaucoup, for all your quick and valuable feedback. I really appreciate 
it!

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

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



Re: Problem with Eclipse plugin

2006-04-25 Thread Jose Gonzalez Gomez
You're right, I'm behind a proxy... You mention a plugin to manage the proxy
connection in Eclipse, where can I find it?

Thanks a lot
Jose

2006/4/25, Tom Joad [EMAIL PROTECTED]:

 Hi Jose,
 It is fixed in version 0.0;5 as i said .Are you under proxy? If it's the
 case

 As said Eugene Kuleshov one of plugin developers Unfortunately there
 are still no support for settings.xml, including
 proxy configuration. and i think your proble comes from it.
For now you can use system properties -Dhttp.proxyHost= and
 -Dhttp.proxyPort=
 Could you try to launch eclipse via commnand line with these two
 parameters
 Or  adding eclipse plugin to manage proxy connexion.

 Tom.
 2006/4/25, Jose Gonzalez Gomez [EMAIL PROTECTED]:
  I'm using 0.0.5... do you have more information about this issue?
 
  Thanks
  Jose
 
  2006/4/24, Tom Joad [EMAIL PROTECTED]:
  
   Hello,
   Which version of the plugin do you use? It is a known issue of version
   0.0.4 resolved
   with 0.0.5 .
   Tom.
  
  
  
   2006/4/24, Jose Gonzalez Gomez [EMAIL PROTECTED]:
Hi there,
   
After reading about the Eclipse plugin I decided to give it a try. I
installed it, and tried to run a maven goal, but the execution seems
 to
hang. After enabling debug output in the preferences I get this in
 the
console:
   
[DEBUG] Found 0 components to load on start
[DEBUG] Building Maven user-level plugin registry from:
 'C:\Documents
   and
Settings\jgonzalez\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level settings from:
'U:\proyectos\otros\netflux\netflux-core\conf\settings.xml'
[DEBUG] Building Maven user-level settings from: 'C:\Documents and
Settings\jgonzalez\.m2\settings.xml'
[DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml'
 for
project: null:netflux-core:jar:null
   
After this, the execution seems to hang. Any ideas?
   
TIA, best regards
Jose
   
   
  
   -
   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: documentation for maven-scm-api?

2006-04-25 Thread Emmanuel Venisse



[EMAIL PROTECTED] a écrit :
Hi, 




-Original Message-
From: ext Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: 25 April, 2006 13:13



I've tried to put the password in the pom (in the 


developerConnection url) and that worked :-) Is there another way?

yes :-)
You can define them in your settings.xml, in servers part like this:

servers
 server
   idyour_host/idYou can use your_host:your_port, if 
a port is defined in your scm url

   usernameuserusername
   passwordpassword/password
 /server
/servers



How does the scm url have to look like in this case? I tried:

scm:cvs:pserver:@localhost:/cvs:jsr264-private/oss_om_distribution

And 


scm:cvs:pserver:localhost:/cvs:jsr264-private/oss_om_distribution

But none of them worked. BTW settings.xml:


What is your error?
these scm urls are valid when you run scm:validate.



settings
  proxies
   proxy
  activetrue/active
  protocolhttp/protocol
  host172.25.112.90/host
  port8080/port
/proxy
  /proxies
  servers
server
  idlocalhost/id
  usernameaebbert/username
  passwordXX/password
/server
  /servers  
/settings


So my next tasks are: 

1) use the preferences and profiles as you suggested to move 


the url out of the POM.


2) make the first steps to connect to scm with my own plugin *scary*


Why do you create your own scm plugin?



BTW: something comparable to this:
https://maven-javanet-plugin.dev.java.net/nonav/maven/goals/site.html

But for maven2.


You can look at maven-scm plugin code for api usage.



Merci beaucoup, for all your quick and valuable feedback. I really appreciate 
it!

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
   Software Design Engineer - Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 


--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

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







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



Re: [M2] : How to resolve package level dependencies

2006-04-25 Thread Anshuman Srivastava
Hi Jai
i think you have to make an entry in pom.xml of project C for project D like
this--

dependency
 groupIdA.D/groupId
 artifactIdD/artifactId
 version1.0/version
 /dependency
Try it and let me know.

Anshuman

On 4/25/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:

 I have folder structure of the project :


 |--Project   A
 |  |-sub-project B
 |  |
 |  ||---sub-sub project C
 |  ||---pom.xml
 |  ||--sub-sub project D
 |  ||---pom.xml
 |  |-pom.xml
 |--pom.xml


 In this scanario, packages access is defined in the classes, when I
 compile
 sub-sub project C, it says package does not exist (which is already there
 sub-sub project D)

 How to define dependency for this ?

 Thanks!

 Regards, Jaikumar


 BM__MailAutoSig_



 Jaikumar Sharma

 Sr.Software Development Engineer



 Barco Control Rooms

 A-5, Sector - 5,

 Noida. India 201 301.

 Tel +91 120-2421-651 to 659  Ext.313

 Fax+91 120 2421 691

 http://www.barco.com/ http://www.barco.com

 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 _


 - - - - - - - DISCLAIMER- - - - - - - -
 Unless indicated otherwise, the information contained in this message is
 privileged and confidential, and is intended only for the use of the
 addressee(s) named above and others who have been specifically authorized
 to
 receive it. If you are not the intended recipient, you are hereby notified
 that any dissemination, distribution or copying of this message and/or
 attachments is strictly prohibited. The company accepts no liability for
 any
 damage caused by any virus transmitted by this email. Furthermore, the
 company does not warrant a proper and complete transmission of this
 information, nor does it accept liability for any delays. If you have
 received this message in error, please contact the sender and delete the
 message. Thank you.




Re: Including xmls while packaging

2006-04-25 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

 I have a project which has few xmls placed along with the java files in a
 particular folder. When I package this project only the class files appear
 in this folder and the xml files are ommited. But if i place these xml files
 with in the same folder path in the resources folder, it appears when i
 package.

See
http://maven.apache.org/guides/getting-started/index.html#How%20do%20add%20resources%20to%20my%20JAR?

 How can i make the mvn package take all the files even though it is
 not a java file as i wanted to avoid using the resources folder fon this?

A couple of days ago there was a discussion about this; see
http://www.nabble.com/Resources-from-src-tree-t1481490.html


HTH

Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEThd2QvObkgCcDe0RApiiAJ40SiPzmNK+FA1ahtvhIcym8sALMgCfUzBM
eU2uJNLImrUhu/rp8bO/Eng=
=+EvM
-END PGP SIGNATURE-

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



No way to add generated sources to the compilation path in Ant MOJO ?

2006-04-25 Thread DELHOSTE Fabrice
Hi,

Is it possible to add generated sources to the source compilation in Ant
MOJO, kind of sourceRoot in .mojos.xml ?
Sorry, still the same question as I had no answer to my previous mails
on this topic.

Thanks,

Fabrice



Custom Packaging Types

2006-04-25 Thread Marteijn Nouwens
Hello everybody maybe are repost but my subscribing went wrong,

I am new to maven 2.0. but experienced 1.0 user.

Do i understand correctly that packaging defines the type of product that is
being build. If so, can you define more than one and define your own custom
types. like installer and application. With matching plugins.

Thanks


Re: Maven2 : mvn site nullpointer

2006-04-25 Thread thenew05
I get this error even if I do not install the jar file. Just a simple mvn
site, gives me the  null error.




On 4/24/06, Carlos Sanchez [EMAIL PROTECTED] wrote:

 you need to upgrade the project-info report plugin

 On 4/24/06, Wayne Fay [EMAIL PROTECTED] wrote:
  This might be related to his use of the scope system for the dependency.
 
  Tom/etc, can you perhaps use mvn install:install-file to copy the
  tools.jar file into your Maven repo, and then change the dependency to
  provided, and re-run your site generation? Just to see if this is a
  valid work-around for the problem...
 
  Wayne
 
  On 4/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   Did someone post an answer to this, I am having the same problem!
  
   Thanks
  
  
   On 4/6/06, Tom Joad [EMAIL PROTECTED] wrote:
   
Hello all,
When I add ${java.home}/../lib/tools.jar
   
   dependency
 groupIdsun.jdk/groupId
 artifactIdtools/artifactId
 version1.4.2/version
 scopesystem/scope
 systemPath${java.home}/../lib/tools.jar/systemPath
   /dependency
as dependency of my project and  run mvn site I get following error
...
[DEBUG] -- end configuration --
[INFO] [site:site]
[INFO] Generate Continuous Integration report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted
 2 got
0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1
 got 0
[INFO] Generate Dependencies report.
[INFO]
   
 
[ERROR] FATAL ERROR
[INFO]
   
 
[INFO] null
[INFO]
   
 
[DEBUG] Trace
java.lang.NullPointerException
   at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:82)
   at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:63)
   at
   
 org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
(DefaultMavenProjectBuilder.java:3
86)
   at
   
 org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java:351)
   at
   
 org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRenderer.getMavenProjectFromRepository
(Dep
endenciesReport.java:362)
   at
   
 org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRenderer.renderBody
(DependenciesReport.jav
a:242)
   at
 org.apache.maven.reporting.AbstractMavenReportRenderer.render(
AbstractMavenReportRenderer.java:65)
   at
org.apache.maven.report.projectinfo.DependenciesReport.executeReport
 (
DependenciesReport.java:157)
   at org.apache.maven.reporting.AbstractMavenReport.generate(
AbstractMavenReport.java:98)
   at
 org.apache.maven.plugins.site.SiteMojo.generateReportsPages(
SiteMojo.java:802)
   at org.apache.maven.plugins.site.SiteMojo.execute(
 SiteMojo.java
:301)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:415)
   at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:531)
   at
   
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:47

Is it a bug ?
   
Tom.
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
 


 --
 I could give you my word as a Spaniard.
 No good. I've known too many Spaniards.
 -- The Princess Bride

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




RE: [M2] : How to resolve package level dependencies

2006-04-25 Thread Sharma, Jaikumar
Thanks Anshuman, I would try it and let you know.
Regards, Jaikumar

-Original Message-
From: Anshuman Srivastava [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 5:42 PM
To: Maven Users List
Subject: Re: [M2] : How to resolve package level dependencies


Hi Jai
i think you have to make an entry in pom.xml of project C for project D
like
this--

dependency
 groupIdA.D/groupId
 artifactIdD/artifactId
 version1.0/version
 /dependency
Try it and let me know.

Anshuman

On 4/25/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:

 I have folder structure of the project :


 |--Project   A
 |  |-sub-project B
 |  |
 |  ||---sub-sub project C
 |  ||---pom.xml
 |  ||--sub-sub project D
 |  ||---pom.xml
 |  |-pom.xml
 |--pom.xml


 In this scanario, packages access is defined in the classes, when I 
 compile sub-sub project C, it says package does not exist (which is 
 already there sub-sub project D)

 How to define dependency for this ?

 Thanks!

 Regards, Jaikumar


 BM__MailAutoSig_



 Jaikumar Sharma

 Sr.Software Development Engineer



 Barco Control Rooms

 A-5, Sector - 5,

 Noida. India 201 301.

 Tel +91 120-2421-651 to 659  Ext.313

 Fax+91 120 2421 691

 http://www.barco.com/ http://www.barco.com

 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 _


 - - - - - - - DISCLAIMER- - - - - - - -
 Unless indicated otherwise, the information contained in this message 
 is privileged and confidential, and is intended only for the use of 
 the
 addressee(s) named above and others who have been specifically
authorized
 to
 receive it. If you are not the intended recipient, you are hereby
notified
 that any dissemination, distribution or copying of this message and/or
 attachments is strictly prohibited. The company accepts no liability
for
 any
 damage caused by any virus transmitted by this email. Furthermore, the
 company does not warrant a proper and complete transmission of this
 information, nor does it accept liability for any delays. If you have
 received this message in error, please contact the sender and delete
the
 message. Thank you.


- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.


Re: Conditional dependencies in M2

2006-04-25 Thread Clifton Craig
On Monday 24 April 2006 3:51 pm, Mike Perham wrote:
 scopetest/scope is the closest thing I can think of.  Test dependencies
 are not transitive so you need to declare them in each module.

Right, I saw that but didn't know if the scoped would allow transitive 
behaviour. I also don't know much of other available scopes. So let's say I 
have a project, MyUtils, with a dependency on XMLUnit scoped to test and 
another optional dependency on JDOM. JDOM is only necessary if you want to 
use XPath features wrapped by MyUtils and provided by JDOM. Now I want to 
include Myutils in another project but I only want to use some collections 
classes also found in MyUtils and have no need for the wrapping of JDOM. How 
do I set the POM for MyUtils such that JDOM is not transitively included? 
More importantly how do I set it such that JDOM is automatically included 
with another project that does want to use the wrapped JDOM functionality 
from MyUtils without changing the POM for either project? Is profiles the 
answer?

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



Re: Jetty and Commons logging dependency

2006-04-25 Thread Julien Henry


Hi Jan,

Here is currently how it works. I have many JUnit tests. These tests are 
grouped in a test suite called AllTests.java this way :

public class AllTests extends TestSuite {
   public static Test suite() {
   TestSuite suite = new TestSuite();
  
   suite.addTestSuite(NavigationTest.class);

   suite.addTestSuite(WebAssertionsTest.class);
   

   return new JettySetup(suite);
   }

   public static void main(String[] args) {
   junit.textui.TestRunner.run(suite());
   }
}

JettySetup is used to launch Jetty only one time before all tests, and 
to close it after :

public class JettySetup extends TestSetup {
   private Server jettyServer = null;

   public void setUp() {
   try {
   URL jettyConfig = JettySetup.class
   .getResource(/jetty-test-config.xml);
   if(jettyConfig==null) {
   fail(Unable to locate jetty-test-config.xml on the 
classpath);

   }
   jettyServer = new Server(jettyConfig);
   jettyServer.start();
   } catch (Exception e) {
   e.printStackTrace();
   fail(Could not start the Jetty server:  + e);
   }
   }

   public void tearDown() {
   try {
   jettyServer.stop();
   } catch (InterruptedException e) {
   e.printStackTrace();
   fail(Jetty server was interrupted:  + e);
   }
   }
}

With Maven 2, I only select AllTests as test to be launched :
plugin
   artifactIdmaven-surefire-plugin/artifactId
   configuration
   includes
   include**/AllTests.java/include
   /includes
   /configuration
/plugin

But I see a few drawbacks to this configuration :
 - I don't have the detail of each test in Maven report (due to 
Surefire bug I think) :

 [INFO] Generate Maven Surefire Report report.
 java.lang.NumberFormatException: For input string: 25,814
at 
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)

 ...
 java.lang.NullPointerException
at 
org.codehaus.mojo.surefire.SurefireReportGenerator.constructTestCasesSection(SurefireReportGenerator.java:344)


 - I would like to run all tests 2 times, with a different parameter, 
but without restarting Jetty. And if I can have a clear report that show 
the number of success/failure for each value of the parameter, it would 
be perfect.


Jan Bartel a écrit :

Julien,

Embedding Jetty6 is pretty simple. The jetty.xml config file is written
in a straightforward mapping from the java API to xml syntax. There is 
the

beginnings of a guide to embedding jetty also on the wiki at:
 http://docs.codehaus.org/display/JETTY/Embedding+Jetty

Jetty is often used in the unit tests of other projects - a jetty Server
instance is started in the test setup and stopped in the test teardown.

However, if you want to use the plugin instead, you simply include the 
relevant lines into your pom.xml file, and invoke it:


 mvn jetty6:run

When you want to stop it, you cntrl-c it.

There is all the information on how to configure and run the plugin
here:

 http://jetty.mortbay.org/jetty6/maven-plugin/index.html


cheers
Jan



Julien Henry wrote:


Hi Jan,

I tried to migrate to Jetty 6, but there are too few doc about how to 
use embedded Jetty. I discovered that a Jetty6 plugin exists, and I 
think it could be a good thing to start jetty before the JUnit tests, 
and to stop Jetty after, because it exactly what I want. Do you know 
a simple way to do this ?


Thanks

Julien

Jan Bartel a écrit :


Hi Julien.


Jetty 5.x is built by ant, but the artifacts are made available on
ibiblio. The jetty5.x series, whilst the current stable series is
about to be superceded by the 6.x series.

Jetty 6.x is built by maven2 and has full poms with dependencies
listed which maven2 will transitively resolve for you.

I suggest you switch to jetty 6.x as 1) it is built by maven2 and
2) anyway has many many less dependencies.

cheers
Jan


Julien Henry wrote:



Hi,

I'm using Jetty to test my project. I have this in my pom (I use 
JSP) :

dependency
groupIdjetty/groupId
artifactIdorg.mortbay.jetty/artifactId
version5.1.10/version
scopetest/scope
/dependency
dependency
groupIdjetty/groupId
artifactIdjasper-runtime/artifactId
version4.2.20RC0/version
scopetest/scope
/dependency
dependency
groupIdjetty/groupId
artifactIdjasper-compiler/artifactId
version4.2.20RC0/version
scopetest/scope
/dependency

But the server can't be launched. I discovered that Jetty need 
org.apache.commons-logging. So I added :

dependency
groupIdcommons-logging/groupId
artifactIdcommons-logging/artifactId
version1.0.4/version
scopetest/scope
/dependency

But why don't put commons-logging as a dependency of Jetty in the 
pom on ibiblio ?


Thanks

Julien

This message contains information that may be privileged or 
confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is 

RE: Upgrade to Continuum 1.0.3 from 1.0.2

2006-04-25 Thread Vandermi Joao da Silva
Congratulations for new version!
I have the same doubt of Daniel below. How can I do a upgrade. I can't lose my 
builds. 
The link with Continuum new version is broken! 

 Hi,
 
 How can I upgrade my continuum 1.0.2 installation to 1.0.3?
 I have several projects in 1.0.2 already and didn't want to lose them.
 


 
 
Vandermi Silva
RD MAO - Core Engines  
BenQ Eletroeletrônica Ltda. 
 
TEL +55(92) 2127-8015
Mobile: +55(92) 8125-2248
FAX +55(92) 2127-8102
[EMAIL PROTECTED]
www.BenQMobile.com
Av. Djalma Batista, 536 - São Geraldo 
Manaus-AM
Brasil
 
 

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 7:37 AM
To: continuum-users@maven.apache.org
Subject: Re: Upgrade to Continuum 1.0.3 from 1.0.2

http://maven.apache.org/continuum/upgrade.html

Daniel Reghin a écrit :
 Hi,
 
 How can I upgrade my continuum 1.0.2 installation to 1.0.3?
 I have several projects in 1.0.2 already and didn't want to lose them.
 
 Daniel 
 
 -
 ---
 -
 Esta mensagem e seus anexos podem conter informacoes confidenciais
 ou privilegiadas. Se voce nao e o destinatario dos mesmos voce nao
 esta autorizado a utilizar o material para qualquer fim.
 Solicitamos que voce apague a mensagem e avise imediatamente ao
 remetente. O conteudo desta mensagem e seus anexos nao representam
 necessariamente a opiniao e a intencao da empresa, nao implicando
 em qualquer obrigacao ou responsabilidade da parte da mesma.
 
 This message may contain confidential and/or privileged
 information. If you are not the addressee or authorized to receive
 this for the addressee, you must not use, copy, disclose or take
 any action based on this message or any information herein.
 If you have received this message in error, please advise the
 sender immediately by reply e-mail and delete this message. The
 contents of this message and its attachments do not necessarily
 express the opinion or the intention of the company, and do not
 implies any legal obligation or responsibilities from this company.
 
 
 
 



Re: Impossible to start working with Maven

2006-04-25 Thread Clifton Craig
I too faced this problem getting my coworker setup. You may also want to clean 
out your ${user.home}/.m2 folder of everything and then recreate the 
settings.xml including the proxy as in the examples previously posted (see 
below). That seemed to be the only way I could get it to work, though it 
still gives me pause when I think of why it was having trouble before 
emptying the directory.
.
--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Tuesday 25 April 2006 5:39 am, Anshuman Srivastava wrote:
 Hi,

 I faced this problem also in starting.You need to setup the proxi settings
 in conf\settings.xml. I am writing a sample entry for my proxy.You have to
 change it according to ur settings.

   proxies
  proxy
   id1001/id
   activetrue/active
   protocolhttp/protocol
   usernameanshumans/username
   passwordmomentum/password
   host192.168.1.2/host
   port3128/port
   nonProxyHostslocalhost/nonProxyHosts
 /proxy
 /proxies

  Tell me if your problem is solved.

 Anshuman

 On 4/25/06, Gianfranco Oldani [EMAIL PROTECTED] wrote:
  Hello,
  I have done the Maven setup and trying to compile my first project I
  cannot
  get out of this error (here is the command and the trace qfter launching
  with the -e option):
 
  Thanks for any help.
 
  D:\projects\maven_demomvn -e compile
  + Error stacktraces are turned on.
  [INFO] Scanning for projects...
  [INFO]
 
  -
 --- [INFO] Building Maven Demo 2.0
  [INFO]task-segment: [compile]
  [INFO]
 
  -
 --- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
  checking for updates from central
  [WARNING] repository metadata for: 'artifact
  org.apache.maven.plugins:maven-resources-plugin' could not be retrieved
  from
  repository
  [INFO] Repository 'central' will be blacklisted
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
  not
  exist or no valid version could be found
  [INFO]
  
  [INFO] Trace
  org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
  'org.apache.maven.plugins:maven-resources-plugin' does not exist
 at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
  DefaultLifecycleExecutor.java:1281)
 at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(
  DefaultLifecycleExecutor.java:1517)
 at
 
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPacka
 ging (DefaultLifecycleExecutor.java:1011)
 at
 
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMap
 pings (DefaultLifecycleExecutor.java:975)
 at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
  DefaultLifecycleExecutor.java:453)
 at
 
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleF
 ailures (DefaultLifecycleExecutor.java:306)
 at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
  DefaultLifecycleExecutor.java:273)
 at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
  DefaultLifecycleExecutor.java:140)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
 
  :39)
 
 at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(
  DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at
  org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at
  org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
  Caused by:
  org.apache.maven.plugin.version.PluginVersionNotFoundException: The
  plugin 'org.apache.maven.plugins:maven-resources-plug
 at
 
  org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugin
 Version (DefaultPluginVersionManager.java:225)
 at
 
  org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugin
 Version (DefaultPluginVersionManager.java:87)
 at
  org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(
  

Re: Query around maven.xml in Maven 2.0

2006-04-25 Thread Clifton Craig
On Tuesday 25 April 2006 4:19 am, Utpal Sen wrote:
 Hi,
 I am a new to maven. In the documentation that I have I see a reference to
 maven.xml and project.properties but in the information posted on
 maven.orgit seems like in the new version we don't need to use either
 of them and can
 perform the tasks through pom.xml only. Can anyone kindly validate this?

 Thanks in advance
 Utpal

Hello,

I'm also a newcomer. I can validate, however, that maven.xml is no longer used 
in Maven2. The same goes for project.properties. Everything is configured 
through the POM and plugins.

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



RE: Maven Proxy

2006-04-25 Thread Ben Short
Tom, 

I would be interested in this also. 

When I run a mvn clean with I get the flowing.

D:\Personal\SourceCode\my-appmvn clean
[INFO] Scanning for projects...
[INFO]

[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [clean]
[INFO]

[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
updates from central
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'28d81deaa7c41e6f2d6f9eb6db76c44069b72b53'; remote = '?xml' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'28d81deaa7c41e6f2d6f9eb6db76c44069b72b53'; remote = '?xml' - IGNORING
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not
exist or no valid version could be found
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Tue Apr 25 14:34:47 BST 2006
[INFO] Final Memory: 1M/2M
[INFO]


Ben

-Original Message-
From: Clifton Craig [mailto:[EMAIL PROTECTED] 
Sent: 25 April 2006 14:11
To: Maven Users List
Subject: Re: Maven Proxy

Tom,

Could you help get me started with Maven proxy? I've been trying to get it 
working in our office but I've been unsuccessful. It (the proxy) seems to 
have a problem getting out to the internet through our in office http proxy.

I have the following in my Maven-proxy config properties file:

 PROXIES
#This is just a hack, it should auto discover them
proxy.list=instagate

#Authenticated proxy
proxy.instagate.host=instagate.icsaward.com
proxy.instagate.port=8080
proxy.instagate.username=***
proxy.instagate.password=*

When I copy stuff from my local ~/.m2 repository to the maven-proxy
repository 
I am able to download only the jar files and not the .pom files as it gives 
an error 500. When I try downloading the pom files I see it going out to the

internet to retrieve the latest copy but failing. Can you (or anyone else) 
help?

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
 Maven always go to internal repository which connects to all maven
 public repository you declare on your  maven proxy configuration file.
 The order of checking artifact is  always
 local repository --internal repository -- maven public repositories.

 Tom.

 2006/4/25, Ben Short [EMAIL PROTECTED]:
  Tom,
 
  Thanks for replying. Will maven then always go to the internal one or
  only when it cant connect to the internet server?
 
  Ben
 
  -Original Message-
  From: Tom Joad [mailto:[EMAIL PROTECTED]
  Sent: 25 April 2006 11:05
  To: Maven Users List; [EMAIL PROTECTED]
  Subject: Re: Maven Proxy
 
  HI,
  You configure connexion on settings.xml file with mirrors tag.
  mirrors
  mirror
  mirrorOfcentral/mirrorOf
  nameInternal Repos/name
  urlhttp://internalhost:/url
  idlocal-proxy/id
  /mirror
  /mirrors
  Tom.
 
  2006/4/25, Ben Short [EMAIL PROTECTED]:
   Hi,
  
   I am trying to setup maven-proxy on my network and make all my clients
   connect to it rather than go to the internet. But when I run mvn
   complie
 
  it
 
   always connect to the internet server first. If maven can't find a
   dependency on the internet server then it tries my maven-proxy.
  
   I have added the following to my pom.
  
   repositories
   repository
   idinternal/id
   nameInternal Repos/name
   layoutdefault/layout
   urlhttp://internalhost:/url
   /repository
   /repositories
  
   I have also set the id element to central but it still uses the
   internet server first.
  
   Any ideas?
  
   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 

Maven Plugin dev

2006-04-25 Thread javed mandary
Does a maven plugin extending AbstractMojo have access to the build
status {BUILD
SUCCESSFUL,BUILD FAILURE} via some inversion of control (IoC) voodoo?

thanks,
   javed


RE: Maven Proxy

2006-04-25 Thread Ben Short
My mistake, I didn't add repository to the end of the url.

Eg :

mirrors
 mirror
 mirrorOfcentral/mirrorOf
 nameInternal Repos/name
 urlhttp://internalhost:/repository/url
 idlocal-proxy/id
 /mirror
 /mirrors

-Original Message-
From: Ben Short [mailto:[EMAIL PROTECTED] 
Sent: 25 April 2006 14:36
To: 'Maven Users List'
Subject: RE: Maven Proxy

Tom, 

I would be interested in this also. 

When I run a mvn clean with I get the flowing.

D:\Personal\SourceCode\my-appmvn clean
[INFO] Scanning for projects...
[INFO]

[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [clean]
[INFO]

[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
updates from central
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'28d81deaa7c41e6f2d6f9eb6db76c44069b72b53'; remote = '?xml' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'28d81deaa7c41e6f2d6f9eb6db76c44069b72b53'; remote = '?xml' - IGNORING
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not
exist or no valid version could be found
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Tue Apr 25 14:34:47 BST 2006
[INFO] Final Memory: 1M/2M
[INFO]


Ben

-Original Message-
From: Clifton Craig [mailto:[EMAIL PROTECTED] 
Sent: 25 April 2006 14:11
To: Maven Users List
Subject: Re: Maven Proxy

Tom,

Could you help get me started with Maven proxy? I've been trying to get it 
working in our office but I've been unsuccessful. It (the proxy) seems to 
have a problem getting out to the internet through our in office http proxy.

I have the following in my Maven-proxy config properties file:

 PROXIES
#This is just a hack, it should auto discover them
proxy.list=instagate

#Authenticated proxy
proxy.instagate.host=instagate.icsaward.com
proxy.instagate.port=8080
proxy.instagate.username=***
proxy.instagate.password=*

When I copy stuff from my local ~/.m2 repository to the maven-proxy
repository 
I am able to download only the jar files and not the .pom files as it gives 
an error 500. When I try downloading the pom files I see it going out to the

internet to retrieve the latest copy but failing. Can you (or anyone else) 
help?

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
 Maven always go to internal repository which connects to all maven
 public repository you declare on your  maven proxy configuration file.
 The order of checking artifact is  always
 local repository --internal repository -- maven public repositories.

 Tom.

 2006/4/25, Ben Short [EMAIL PROTECTED]:
  Tom,
 
  Thanks for replying. Will maven then always go to the internal one or
  only when it cant connect to the internet server?
 
  Ben
 
  -Original Message-
  From: Tom Joad [mailto:[EMAIL PROTECTED]
  Sent: 25 April 2006 11:05
  To: Maven Users List; [EMAIL PROTECTED]
  Subject: Re: Maven Proxy
 
  HI,
  You configure connexion on settings.xml file with mirrors tag.
  mirrors
  mirror
  mirrorOfcentral/mirrorOf
  nameInternal Repos/name
  urlhttp://internalhost:/url
  idlocal-proxy/id
  /mirror
  /mirrors
  Tom.
 
  2006/4/25, Ben Short [EMAIL PROTECTED]:
   Hi,
  
   I am trying to setup maven-proxy on my network and make all my clients
   connect to it rather than go to the internet. But when I run mvn
   complie
 
  it
 
   always connect to the internet server first. If maven can't find a
   dependency on the internet server then it tries my maven-proxy.
  
   I have added the following to my pom.
  
   repositories
   repository
   idinternal/id
   nameInternal Repos/name
   layoutdefault/layout
   urlhttp://internalhost:/url
   /repository
   /repositories
  
   I have also set the id element to central but it still uses the
   internet server first.
  
   Any ideas?
  
   Ben
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  

Re: Maven Proxy

2006-04-25 Thread Tom Joad
On maven proxy config , you must set a proxy value to
repo.THE_MVNPUBLIC_REPOS.proxy key.
for instance

 #www.ibiblio.org
repo.www-ibiblio-org.url=http://www.ibiblio.org/maven2
repo.www-ibiblio-org.description=www.ibiblio.org
repo.www-ibiblio-org.proxy=instagate
repo.www-ibiblio-org.hardfail=true
#Cache this repository for 1 hour
repo.www-ibiblio-org.cache.period=3600
repo.www-ibiblio-org.cache.failures=true

Tom,
2006/4/25, Ben Short [EMAIL PROTECTED]:
 Tom,

 I would be interested in this also.

 When I run a mvn clean with I get the flowing.

 D:\Personal\SourceCode\my-appmvn clean
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building Maven Quick Start Archetype
 [INFO]task-segment: [clean]
 [INFO]
 
 [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
 updates from central
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
 '28d81deaa7c41e6f2d6f9eb6db76c44069b72b53'; remote = '?xml' - RETRYING
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
 '28d81deaa7c41e6f2d6f9eb6db76c44069b72b53'; remote = '?xml' - IGNORING
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not
 exist or no valid version could be found
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 1 second
 [INFO] Finished at: Tue Apr 25 14:34:47 BST 2006
 [INFO] Final Memory: 1M/2M
 [INFO]
 

 Ben

 -Original Message-
 From: Clifton Craig [mailto:[EMAIL PROTECTED]
 Sent: 25 April 2006 14:11
 To: Maven Users List
 Subject: Re: Maven Proxy

 Tom,

 Could you help get me started with Maven proxy? I've been trying to get it
 working in our office but I've been unsuccessful. It (the proxy) seems to
 have a problem getting out to the internet through our in office http proxy.

 I have the following in my Maven-proxy config properties file:

  PROXIES
 #This is just a hack, it should auto discover them
 proxy.list=instagate

 #Authenticated proxy
 proxy.instagate.host=instagate.icsaward.com
 proxy.instagate.port=8080
 proxy.instagate.username=***
 proxy.instagate.password=*

 When I copy stuff from my local ~/.m2 repository to the maven-proxy
 repository
 I am able to download only the jar files and not the .pom files as it gives
 an error 500. When I try downloading the pom files I see it going out to the

 internet to retrieve the latest copy but failing. Can you (or anyone else)
 help?

 ---
 Clifton C. Craig, Software Engineer
 Intelligent Computer Systems -  A Division of GBG
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

 On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
  Maven always go to internal repository which connects to all maven
  public repository you declare on your  maven proxy configuration file.
  The order of checking artifact is  always
  local repository --internal repository -- maven public repositories.
 
  Tom.
 
  2006/4/25, Ben Short [EMAIL PROTECTED]:
   Tom,
  
   Thanks for replying. Will maven then always go to the internal one or
   only when it cant connect to the internet server?
  
   Ben
  
   -Original Message-
   From: Tom Joad [mailto:[EMAIL PROTECTED]
   Sent: 25 April 2006 11:05
   To: Maven Users List; [EMAIL PROTECTED]
   Subject: Re: Maven Proxy
  
   HI,
   You configure connexion on settings.xml file with mirrors tag.
   mirrors
   mirror
   mirrorOfcentral/mirrorOf
   nameInternal Repos/name
   urlhttp://internalhost:/url
   idlocal-proxy/id
   /mirror
   /mirrors
   Tom.
  
   2006/4/25, Ben Short [EMAIL PROTECTED]:
Hi,
   
I am trying to setup maven-proxy on my network and make all my clients
connect to it rather than go to the internet. But when I run mvn
complie
  
   it
  
always connect to the internet server first. If maven can't find a
dependency on the internet server then it tries my maven-proxy.
   
I have added the following to my pom.
   
repositories
repository
idinternal/id
nameInternal Repos/name
layoutdefault/layout
urlhttp://internalhost:/url
/repository
/repositories
   
I have also set the id element to central but it still uses the
internet server first.
   
Any ideas?
   
Ben
  
   

is CONTINUUM-609 really in 1.0.3?

2006-04-25 Thread Nigel Magnay
It's in the release note -
I try http://box:8080/continuum/repository but just get a 404 ?


Re: Modules Best Practices

2006-04-25 Thread Ryan Wynn
On 4/24/06, dan tran [EMAIL PROTECTED] wrote:
 I mean the scm url that makes continuum to fetch the directry tree that
 contains the parent and the modules directories

 -D


Okay, I that is working now.  I used the file system scm url and
pointed to the directory containing all the projects.  This directory
was obtained using cvs export of all my projects.  In the past I had
just uploaded the pom for a project, but I guess this doesn't work for
projects with modules.  That is why I used the cvs export and point to
url approach.

So, if I understand this correctly Continuum just needs a url to
initially import the projects.  After that Continuum will use the scm
in the pom to get updates and never look at the initial url used to
load the project?  That seems correct to me I just wanted to make sure
I understand it correctly.


Re: Use System Environment Variable for JUNIT

2006-04-25 Thread dan tran
If you mean system environment that you can set in your shell before
invoking maven
Use this

environmentVariables
  varvalue/var
  ...
/environmentVariables

This feature is not released yet, your can use snapshot

example how to use this is in this pom

http://svn.codehaus.org/trunk/mojo/maven-native/native-maven-plugin/src/it/jni/native/win32/pom.xml?rev=1657root=mojoview=auto

Must fork the test thou


On 4/25/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:

 You can use system variables like ${var.name} -- please be sure for the
 case of variables -- means access in M2 as defined in windows.

 -Original Message-
 From: RobJac [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 25, 2006 3:19 PM
 To: users@maven.apache.org
 Subject: Use System Environment Variable for JUNIT



 I have Maven project which also runs Junit when i execute install
 command. The class files which runs Junit has references to few System
 environment variable. I would like to know if there is any way I can
 declare System Environment variable in my pom xml so that the Junit can
 use this when it runs my project
 --
 View this message in context:
 http://www.nabble.com/Use-System-Environment-Variable-for-JUNIT-t1504491
 .html#a4079453
 Sent from the Maven - Users forum at Nabble.com.


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

 - - - - - - - DISCLAIMER- - - - - - - -
 Unless indicated otherwise, the information contained in this message is
 privileged and confidential, and is intended only for the use of the
 addressee(s) named above and others who have been specifically authorized
 to
 receive it. If you are not the intended recipient, you are hereby notified
 that any dissemination, distribution or copying of this message and/or
 attachments is strictly prohibited. The company accepts no liability for
 any
 damage caused by any virus transmitted by this email. Furthermore, the
 company does not warrant a proper and complete transmission of this
 information, nor does it accept liability for any delays. If you have
 received this message in error, please contact the sender and delete the
 message. Thank you.




Re: Maven Proxy

2006-04-25 Thread Tom Joad
How do you copy stuff to your maven-proxy repository?
and what is value for
 pom.update key on your config properties?

Tom



2006/4/25, Clifton Craig [EMAIL PROTECTED]:
 Tom,

 Could you help get me started with Maven proxy? I've been trying to get it
 working in our office but I've been unsuccessful. It (the proxy) seems to
 have a problem getting out to the internet through our in office http proxy.
 I have the following in my Maven-proxy config properties file:

  PROXIES
 #This is just a hack, it should auto discover them
 proxy.list=instagate

 #Authenticated proxy
 proxy.instagate.host=instagate.icsaward.com
 proxy.instagate.port=8080
 proxy.instagate.username=***
 proxy.instagate.password=*

 When I copy stuff from my local ~/.m2 repository to the maven-proxy repository
 I am able to download only the jar files and not the .pom files as it gives
 an error 500. When I try downloading the pom files I see it going out to the
 internet to retrieve the latest copy but failing. Can you (or anyone else)
 help?

 ---
 Clifton C. Craig, Software Engineer
 Intelligent Computer Systems -  A Division of GBG
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

 On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
  Maven always go to internal repository which connects to all maven
  public repository you declare on your  maven proxy configuration file.
  The order of checking artifact is  always
  local repository --internal repository -- maven public repositories.
 
  Tom.
 
  2006/4/25, Ben Short [EMAIL PROTECTED]:
   Tom,
  
   Thanks for replying. Will maven then always go to the internal one or
   only when it cant connect to the internet server?
  
   Ben
  
   -Original Message-
   From: Tom Joad [mailto:[EMAIL PROTECTED]
   Sent: 25 April 2006 11:05
   To: Maven Users List; [EMAIL PROTECTED]
   Subject: Re: Maven Proxy
  
   HI,
   You configure connexion on settings.xml file with mirrors tag.
   mirrors
   mirror
   mirrorOfcentral/mirrorOf
   nameInternal Repos/name
   urlhttp://internalhost:/url
   idlocal-proxy/id
   /mirror
   /mirrors
   Tom.
  
   2006/4/25, Ben Short [EMAIL PROTECTED]:
Hi,
   
I am trying to setup maven-proxy on my network and make all my clients
connect to it rather than go to the internet. But when I run mvn
complie
  
   it
  
always connect to the internet server first. If maven can't find a
dependency on the internet server then it tries my maven-proxy.
   
I have added the following to my pom.
   
repositories
repository
idinternal/id
nameInternal Repos/name
layoutdefault/layout
urlhttp://internalhost:/url
/repository
/repositories
   
I have also set the id element to central but it still uses the
internet server first.
   
Any ideas?
   
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]



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



Re: Upgrade to Continuum 1.0.3 from 1.0.2

2006-04-25 Thread Emmanuel Venisse

Sorry for extra '}'

Emmanuel

Wim Deblauwe a écrit :

That is because of the extra '}' at the end of the link. I had the same
problem. Look at the url in your browser, it shows an additional character
at the end. Just remove it and you will be fine.

regards,

Wim

2006/4/25, Vandermi Joao da Silva [EMAIL PROTECTED]:


Congratulations for new version!
I have the same doubt of Daniel below. How can I do a upgrade. I can't
lose my builds.
The link with Continuum new version is broken!



Hi,

How can I upgrade my continuum 1.0.2 installation to 1.0.3?
I have several projects in 1.0.2 already and didn't want to lose them.






Vandermi Silva
RD MAO - Core Engines
BenQ Eletroeletrônica Ltda.

TEL +55(92) 2127-8015
Mobile: +55(92) 8125-2248
FAX +55(92) 2127-8102
[EMAIL PROTECTED]
www.BenQMobile.com
Av. Djalma Batista, 536 - São Geraldo
Manaus-AM
Brasil



-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 7:37 AM
To: continuum-users@maven.apache.org
Subject: Re: Upgrade to Continuum 1.0.3 from 1.0.2

http://maven.apache.org/continuum/upgrade.html

Daniel Reghin a écrit :


Hi,

How can I upgrade my continuum 1.0.2 installation to 1.0.3?
I have several projects in 1.0.2 already and didn't want to lose them.

Daniel

-
---
-
Esta mensagem e seus anexos podem conter informacoes confidenciais
ou privilegiadas. Se voce nao e o destinatario dos mesmos voce nao
esta autorizado a utilizar o material para qualquer fim.
Solicitamos que voce apague a mensagem e avise imediatamente ao
remetente. O conteudo desta mensagem e seus anexos nao representam
necessariamente a opiniao e a intencao da empresa, nao implicando
em qualquer obrigacao ou responsabilidade da parte da mesma.

This message may contain confidential and/or privileged
information. If you are not the addressee or authorized to receive
this for the addressee, you must not use, copy, disclose or take
any action based on this message or any information herein.
If you have received this message in error, please advise the
sender immediately by reply e-mail and delete this message. The
contents of this message and its attachments do not necessarily
express the opinion or the intention of the company, and do not
implies any legal obligation or responsibilities from this company.













Re: Deploying 3rd party artifacts with mvn deploy:deploy-file

2006-04-25 Thread Wendy Smoak
On 4/25/06, Douglas WF Acheson [EMAIL PROTECTED] wrote:

 I expected to be prompted for the password for the user www, but I was
 prompted for my password, h.  So my question is, how do I specify
 the uid and password or key (for ssh) for this goal?

In ~/.m2/settings.xml, add a server for dwfa.

Here's the model: http://maven.apache.org/maven-settings/settings.html

The 'Suggested Settings' section here has an example of using a private key:
   http://wiki.apache.org/struts/StrutsMaintenanceMaven

HTH,
--
Wendy

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



Re: is CONTINUUM-609 really in 1.0.3?

2006-04-25 Thread Brett Porter
It's not browsable, but it will work just fine when used from Maven.

- Brett

On 4/25/06, Nigel Magnay [EMAIL PROTECTED] wrote:
 It's in the release note -
 I try http://box:8080/continuum/repository but just get a 404 ?



Re: Modules Best Practices

2006-04-25 Thread dan tran
hi Ryan

What you did also works.  Basically, you use file url to import multiple
projects into contiuum.
after that continuum, continuum uses scm url in each indiviual module to
fetch the source.

What i shown you is just import single project and have continuum to do the
build just like you
do it from command line to use the parent pom to build muliple modules

-Dan


On 4/25/06, Ryan Wynn [EMAIL PROTECTED] wrote:

 On 4/24/06, dan tran [EMAIL PROTECTED] wrote:
  I mean the scm url that makes continuum to fetch the directry tree that
  contains the parent and the modules directories
 
  -D
 

 Okay, I that is working now.  I used the file system scm url and
 pointed to the directory containing all the projects.  This directory
 was obtained using cvs export of all my projects.  In the past I had
 just uploaded the pom for a project, but I guess this doesn't work for
 projects with modules.  That is why I used the cvs export and point to
 url approach.

 So, if I understand this correctly Continuum just needs a url to
 initially import the projects.  After that Continuum will use the scm
 in the pom to get updates and never look at the initial url used to
 load the project?  That seems correct to me I just wanted to make sure
 I understand it correctly.



[m2.0.4] maven-artifact-ant-2.0.4-dep still using wrong path to snapshot deps

2006-04-25 Thread Rollo, Dan
I'm still seeing incorrect paths being build by the m2 ant tasks when
resolving dependencies. I found a prior post about this issue, prior
thread:

http://www.nabble.com/maven-artifact-ant-2.0-fails-to-set-the-correct-fi
leset-t448540.html#a1232748

Unfortunately, the workaround discussed (building all dependencies on
the same machine) is not an option for me. I'm trying the use the m2 ant
tasks to migrate existing ant projects to maven in a distributed build
environment. Hence, I can never ensure all dependent snapshots have been
built on a single machine. Is this bug supposed to be fixed? (I couldn't
find a Jira issue for it). If not, any expected eta on a fix? Any other
workarounds?

Below are the relevant snippets. Notice the path used to download into
an empty local repo:
...util/1.0-SNAPSHOT/bhatestutil-1.0-20060422.014944-34.jar
But then when the fileset is created for Ant, the (incorrect) path shown
is:
...util/bhatestutil/1.0-20060422.014944-34/bhatestutil-1.0-20060422.0149
44-34.jar


Thanks,
Dan


build.xml:

 artifact:dependencies verbose=true filesetId=fs.deps.test 
pathId=cp.deps.test useScope=test
 pom refid=maven.project/
 /artifact:dependencies

 property name=cp.compilet.kludge2 refid=cp.deps.test/
 property name=classpath.compile.test 
value=${cp.compilet.kludge2}/


 javac srcdir=${dir.test} destdir=${dir.classes.test}
classpath=${dir.classes};${classpath.compile.test}
debug=on
optimize=off
deprecation=on
 source=1.3
 target=1.2
 /


Output from ant compile:


[artifact:dependencies] Downloading: 
com/bhaweb/testutil/bhatestutil/1.0-SNAPSHOT/bhatestutil-1.0-20060422.01
4944-34.jar
[artifact:dependencies] Transferring 19K Adding reference: cp.deps.test
Adding reference: fs.deps.test

...

Setting project property: cp.compilet.kludge2 -
/home/dan/.m2/repository/com/bhaweb/testutil/bhatestutil/1.0-20060422.01
4944-34/bhatestutil-1.0-20060422.014944-34.jar:/home/dan/.m2/repository/
junit/junit/3.8.1/junit-3.8.1.jar:

...

 [javac] Using modern compiler
dropping
/home/dan/.m2/repository/com/bhaweb/testutil/bhatestutil/1.0-20060422.01
4944-34/bhatestutil-1.0-20060422.014944-34.jar
from path as it doesn't exist

--
This e-mail and any files transmitted with it may contain privileged or 
confidential information.
It is solely for use by the individual for whom it is intended, even if 
addressed incorrectly.
If you received this e-mail in error, please notify the sender; do not 
disclose, copy, distribute,
or take any action in reliance on the contents of this information; and delete 
it from
your system. Any other use of this e-mail is prohibited.

Thank you for your compliance.
--

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



Re: Custom Packaging Types

2006-04-25 Thread dan tran
take a look at http://mojo.codehause.org/maven-native/native-maven-plugin

it uses build lifecyle extension to provide its own packaging type.

-Dan


On 4/25/06, Marteijn Nouwens [EMAIL PROTECTED] wrote:

 Hello everybody maybe are repost but my subscribing went wrong,

 I am new to maven 2.0. but experienced 1.0 user.

 Do i understand correctly that packaging defines the type of product that
 is
 being build. If so, can you define more than one and define your own
 custom
 types. like installer and application. With matching plugins.

 Thanks




Re: Impossible to start working with Maven

2006-04-25 Thread Gianfranco Oldani


Thanks a lot Anshuman it works perfectly

Regards

Gianfranco OLDANI
Mob: +79602726351



Original Message Follows
From: Anshuman Srivastava [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: Maven Users List users@maven.apache.org
Subject: Re: Impossible to start working with Maven
Date: Tue, 25 Apr 2006 15:09:15 +0530

Hi,

I faced this problem also in starting.You need to setup the proxi settings
in conf\settings.xml. I am writing a sample entry for my proxy.You have to
change it according to ur settings.

  proxies
 proxy
  id1001/id
  activetrue/active
  protocolhttp/protocol
  usernameanshumans/username
  passwordmomentum/password
  host192.168.1.2/host
  port3128/port
  nonProxyHostslocalhost/nonProxyHosts
/proxy
/proxies

 Tell me if your problem is solved.

Anshuman



On 4/25/06, Gianfranco Oldani [EMAIL PROTECTED] wrote:

 Hello,
 I have done the Maven setup and trying to compile my first project I
 cannot
 get out of this error (here is the command and the trace qfter launching
 with the -e option):

 Thanks for any help.

 D:\projects\maven_demomvn -e compile
 + Error stacktraces are turned on.
 [INFO] Scanning for projects...
 [INFO]

 


 [INFO] Building Maven Demo 2.0
 [INFO]task-segment: [compile]
 [INFO]

 


 [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
 for updates from central
 [WARNING] repository metadata for: 'artifact
 org.apache.maven.plugins:maven-resources-plugin' could not be retrieved
 from
 repository
 [INFO] Repository 'central' will be blacklisted
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
 not
 exist or no valid version could be found
 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
 'org.apache.maven.plugins:maven-resources-plugin' does not exist
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
 DefaultLifecycleExecutor.java:1281)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(
 DefaultLifecycleExecutor.java:1517)
at

 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging

 (DefaultLifecycleExecutor.java:1011)
at

 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings

 (DefaultLifecycleExecutor.java:975)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
 DefaultLifecycleExecutor.java:453)
at

 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures

 (DefaultLifecycleExecutor.java:306)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
 DefaultLifecycleExecutor.java:273)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
 DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
 :39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(
 DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 Caused by: 
org.apache.maven.plugin.version.PluginVersionNotFoundException:

 The plugin 'org.apache.maven.plugins:maven-resources-plug
at

 
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion

 (DefaultPluginVersionManager.java:225)
at

 
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion

 (DefaultPluginVersionManager.java:87)
at
 org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(
 DefaultPluginManager.java:158)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
 DefaultLifecycleExecutor.java:1252)
... 18 more

 Gianfranco OLDANI
 Mob: +79602726351

 _
 Sentez vous chez vous sur la page d'accueil MSN  en personnalisant le
 contenu! http://fr.ch.msn.com/default.aspx?dc=true


 

Re: Dependencies Options

2006-04-25 Thread Alexandre Poitras
On 4/25/06, Simon Kitching [EMAIL PROTECTED] wrote:
 On Mon, 2006-04-24 at 21:25 -0400, Alexandre Poitras wrote:
  On 4/24/06, Brandon Goodin [EMAIL PROTECTED] wrote:
   tons of advantages - please quantify this.
 
  Well distributing internal corporation dependencies and managing the
  version, especially nightly build is way easier using Maven repository
  capabilities. Managing your project dependencies version is also
  really easier (especially conflicts and snapshots).

 I would disagree. Managing dependencies is really easy when you've
 checked jars into a directory - the jars used are the ones in that dir,
 and nothing else.


Well if you depend on a project developped concurrently (some common
component) and not a stable component, it is easier. Easy to upgrade
to a newer version and especially easy to get the new nightly builds
in the morning. Of course, this is doable using some other mechanism
but you have to it manually. Maven just see there are a fresh snapshot
available and download it. Well, from experience I have found it
easier but I guess it depends if Maven fit the way your corporation
work.

 Of course this does have the disadvantages listed in my mail (more repo
 space needed, more bandwidth).

 
  All the Maven generated reports also work better with regular
  dependencies because they can find some metadatas to work with.

 true.

 
  
   Personally, I find the repository to be a nice piece of Maven. But,
   I don't see it as a cardinal sin to actually distribute libraries in
   your project. If you follow the libary naming convention then who
   cares?
  
   Personally, what i find annoying are the copious additional, needless,
   and redundant dependencies that i have to download because of the
   dependencies defined in the pom of a jar that i need to download.
 
  Nothing the exclude tag can't fix.

 That can be quite clumsy to use, though. Sometimes half-a-dozen libs
 need to be excluded, at which point the pom becomes hard to read.

Yup but if it is the case it is usually because the original
dependency pom has some dependencies that should be declared optional.
Time to fill a JIRA issue.

Also, the key here is using a super pom so those settings are fixed
for all your projects, this is what I do with Spring and Hibernate and
it works very well. I don't have to declare all those exclude again
and again.



 
   I also find it annoying to have to manually install several small
   libraries to my local repo cuz i can't distribute them as a result of
   licensing. It is additionally annoying to have to setup a jar
   repository that will be used for jars that will be needed that can
   only be distributed privately. All of this... vs. me just referencing
   them in my source tree?
  
 
  You are making this sound like it is a lot of work. Manually
  installing files on a corporate repository using install:install-file
  usually doesn't take more time then checking them inside SVN. A maven
  repository is basically a Jar versionning systems.

 [as noted in your followup, you meant deploy:deploy-file]

 That's assuming that a corporate repo exists and that it has upload
 support available.

Yup but honestly I wouldn't use Maven without it because when you find
a bug on ibiblio you don't have to wait for your bug report to be
treated, you can fix it on internal corporation repository in the mean
time.


 
   I like Maven a lot and really enjoy the standard project layout
   features and plugins that are provided. But, the jar repository has
   caused me more time and less efficiency. However, i do like ibiblio
   for a single one stop shop for grabbing jars i need... to drop in my
   source tree ;-)
  
   I like it when people can check out my source from SVN and simply
   build. This is possible when i place them in SVN. Heck, I can even
   check Sun Jars into my SVN repo! ;)
 
  If you have a remote Maven repository on the same server as your SVN
  repo, I really don't see the difference.

 True, as long as:
 (a) your svn server is already running behind a webserver, so the maven
 repo can easily be set up,
 (b) there is some upload support for that server,
 (c) there is some way of ensuring that jars always come from this repo,
 and never from ibiblio (this is the hardest bit in my experience)

You're right except couple of things :
- a) Http is not mandatory, you can use ftp or sctp for instance.
- c) Well this is one is easy to fix, install Maven proxy on your
internal corporation repository. Now on your desktop, go in your
settings.xml and declare this repository as the only mirror of
central. You'll never go on ibiblio again, the proxy will if you have 
configured it to do so. The only possible downside of this approach is
that your repository server needs acces to the Internet.

I understand inital difficulties using Maven repositories but once you
have an internal corporation repository coupled with Maven-proxy,
things get better. Well right now Maven-proxy is not the best 

RE: Maven Proxy

2006-04-25 Thread Ben Short
Tom, 

I'm still trying to get it all up and running. 

I am lead to believe that maven-proxy automatically downloads dependencies
from internet repositories if it dose not have them.

As for deploying(?) my own projects to it, I'm not sure. 

My pom.update is set to true

Ben

-Original Message-
From: Tom Joad [mailto:[EMAIL PROTECTED] 
Sent: 25 April 2006 14:51
To: Maven Users List
Subject: Re: Maven Proxy

How do you copy stuff to your maven-proxy repository?
and what is value for
 pom.update key on your config properties?

Tom



2006/4/25, Clifton Craig [EMAIL PROTECTED]:
 Tom,

 Could you help get me started with Maven proxy? I've been trying to get it
 working in our office but I've been unsuccessful. It (the proxy) seems to
 have a problem getting out to the internet through our in office http
proxy.
 I have the following in my Maven-proxy config properties file:

  PROXIES
 #This is just a hack, it should auto discover them
 proxy.list=instagate

 #Authenticated proxy
 proxy.instagate.host=instagate.icsaward.com
 proxy.instagate.port=8080
 proxy.instagate.username=***
 proxy.instagate.password=*

 When I copy stuff from my local ~/.m2 repository to the maven-proxy
repository
 I am able to download only the jar files and not the .pom files as it
gives
 an error 500. When I try downloading the pom files I see it going out to
the
 internet to retrieve the latest copy but failing. Can you (or anyone else)
 help?

 ---
 Clifton C. Craig, Software Engineer
 Intelligent Computer Systems -  A Division of GBG
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

 On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
  Maven always go to internal repository which connects to all maven
  public repository you declare on your  maven proxy configuration file.
  The order of checking artifact is  always
  local repository --internal repository -- maven public repositories.
 
  Tom.
 
  2006/4/25, Ben Short [EMAIL PROTECTED]:
   Tom,
  
   Thanks for replying. Will maven then always go to the internal one or
   only when it cant connect to the internet server?
  
   Ben
  
   -Original Message-
   From: Tom Joad [mailto:[EMAIL PROTECTED]
   Sent: 25 April 2006 11:05
   To: Maven Users List; [EMAIL PROTECTED]
   Subject: Re: Maven Proxy
  
   HI,
   You configure connexion on settings.xml file with mirrors tag.
   mirrors
   mirror
   mirrorOfcentral/mirrorOf
   nameInternal Repos/name
   urlhttp://internalhost:/url
   idlocal-proxy/id
   /mirror
   /mirrors
   Tom.
  
   2006/4/25, Ben Short [EMAIL PROTECTED]:
Hi,
   
I am trying to setup maven-proxy on my network and make all my
clients
connect to it rather than go to the internet. But when I run mvn
complie
  
   it
  
always connect to the internet server first. If maven can't find a
dependency on the internet server then it tries my maven-proxy.
   
I have added the following to my pom.
   
repositories
repository
idinternal/id
nameInternal Repos/name
layoutdefault/layout
urlhttp://internalhost:/url
/repository
/repositories
   
I have also set the id element to central but it still uses the
internet server first.
   
Any ideas?
   
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]



-
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: Dependencies Options

2006-04-25 Thread Alexandre Poitras
Well using the Jboss jars is indeed the solution. The only thing I
would do is install it in my local repository using
install:install-file. But you have to know it won't work on other
desktop so usually you should have an internal corporation repository
and deploy them there. This each developper won't have to install them
manually. After that, you can work with those jar like they were
normal dependencies.

On 4/25/06, Anshuman Srivastava [EMAIL PROTECTED] wrote:
 If we do not use the system dependecies then how can we resolve the
 dependency on ejb3.0 which is not available on
 http://www.ibiblio.org/maven2/. This was my problem so i used ejb3 jars
 distributed by jboss.Is there any other way?

 pom.xml---

  groupIdjboss.ejb3/groupId
  artifactIdejb3-persistence/artifactId
 version3.0/version
 scopesystem/scope
 systemPathC:/boss-4.0.4/server/default/deploy/ejb3.deployer/ejb3-
 persistence.jar/systemPath
  /dependency
  dependency
 groupIdjboss.ejb3/groupId
  artifactIdejb3-management/artifactId
 version3.0/version
 scopesystem/scope
 systemPathC:/boss-4.0.4/docs/examples/jmx/ejb-management.jar
 /systemPath
  /dependency
  dependency
 groupIdjboss-ejb3x/groupId
  artifactIdejb3x/artifactId
 version3.0/version
 scopesystem/scope
 systemPathC:/boss-4.0.4/server/default/deploy/ejb3.deployer/jboss-
 ejb3x.jar/systemPath
  /dependency
  dependency
 groupIdjboss-annotations-ejb3/groupId
  artifactIdannotations-ejb3/artifactId
 version3.0/version
 scopesystem/scope
  systemPathC:/boss-4.0.4/server/default/deploy/ejb3.deployer/jboss-
 annotations-ejb3.jar/systemPath
  /dependency


 On 4/25/06, Alexandre Poitras [EMAIL PROTECTED] wrote:
 
  Well you can use *system* dependencies but you loose tons of
  advantages. Instead, maybe you should just populate your local
  repository using the install plugin and -o to run mvn offline.
 
  On 4/24/06, Brandon Goodin [EMAIL PROTECTED] wrote:
   Is it a requirement that i use the remote repository for jars? Is
   there a way to reference jars that are distributed with the code when
   checked out from the code repository?
  
   Brandon
  
   -
   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: Dependencies Options

2006-04-25 Thread Wayne Fay
Use mvn install:install-file ... to install those ejb3 files into
your local repository. Then use scope compile, test, or provided as
necessary.

This is documented on the Maven website:
http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html

Wayne

On 4/25/06, Anshuman Srivastava [EMAIL PROTECTED] wrote:
 If we do not use the system dependecies then how can we resolve the
 dependency on ejb3.0 which is not available on
 http://www.ibiblio.org/maven2/. This was my problem so i used ejb3 jars
 distributed by jboss.Is there any other way?

 pom.xml---

  groupIdjboss.ejb3/groupId
 artifactIdejb3-persistence/artifactId
version3.0/version
scopesystem/scope
systemPathC:/boss-4.0.4/server/default/deploy/ejb3.deployer/ejb3-
 persistence.jar/systemPath
 /dependency
 dependency
groupIdjboss.ejb3/groupId
 artifactIdejb3-management/artifactId
version3.0/version
scopesystem/scope
systemPathC:/boss-4.0.4/docs/examples/jmx/ejb-management.jar
 /systemPath
 /dependency
 dependency
groupIdjboss-ejb3x/groupId
 artifactIdejb3x/artifactId
version3.0/version
scopesystem/scope
systemPathC:/boss-4.0.4/server/default/deploy/ejb3.deployer/jboss-
 ejb3x.jar/systemPath
 /dependency
 dependency
groupIdjboss-annotations-ejb3/groupId
 artifactIdannotations-ejb3/artifactId
version3.0/version
scopesystem/scope
 systemPathC:/boss-4.0.4/server/default/deploy/ejb3.deployer/jboss-
 annotations-ejb3.jar/systemPath
 /dependency


 On 4/25/06, Alexandre Poitras [EMAIL PROTECTED] wrote:
 
  Well you can use *system* dependencies but you loose tons of
  advantages. Instead, maybe you should just populate your local
  repository using the install plugin and -o to run mvn offline.
 
  On 4/24/06, Brandon Goodin [EMAIL PROTECTED] wrote:
   Is it a requirement that i use the remote repository for jars? Is
   there a way to reference jars that are distributed with the code when
   checked out from the code repository?
  
   Brandon
  
   -
   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: is CONTINUUM-609 really in 1.0.3?

2006-04-25 Thread Nigel Magnay
Hmm.. I must be doing something wrong - are there any docs for this or
handy pointers? It sounds a really useful feature - 1.0.3 is really
nice.

On 25/04/06, Brett Porter [EMAIL PROTECTED] wrote:
 It's not browsable, but it will work just fine when used from Maven.

 - Brett

 On 4/25/06, Nigel Magnay [EMAIL PROTECTED] wrote:
  It's in the release note -
  I try http://box:8080/continuum/repository but just get a 404 ?
 



Re: J2me projects (JAR and JAD)

2006-04-25 Thread Emmanuel Venisse

manifest created by maven is the default. I'm not sure you can remove these 
entries.
But you can add your own entries : 
http://maven.apache.org/guides/mini/guide-manifest.html

The best list for this message would be the maven users list.

Emmanuel

Vandermi Joao da Silva a écrit :

Hi everyone,
I have a J2me projects and I need do JAR file and JAD files. I use the command 
jar:jar at maven but the jar not work in my device(celular phone).
I open the file .jar and see the manifest with setings to maven and pom.xml , 
but in J2me the manifest settings are same below (correct Manifest). Please see 
the manifest copy below.
I think that  maven project don't preverify my class file. Is there a plugin to do 
preverify to my  J2me class?
 
(manifest generate to maven)

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: Vandermi.Silva
Build-Jdk: 1.4.2_08
Extension-Name: project
Specification-Vendor: Copyright BenQ Mobile GmbH Co. OHG 2002-2005
Implementation-Vendor: Copyright BenQ Mobile GmbH Co. OHG 2002-2005
Implementation-Title: project
Implementation-Version: 0.1-SNAPSHOT
 
 
(correct Manifest)

Manifest-Version: 1.0
MicroEdition-Configuration: CLDC-1.1
MIDlet-Name: client Midlet Suite
MIDlet-Vendor: Midlet Suite Vendor
MIDlet-1: project.
MIDlet-Version: 1.0.0
MicroEdition-Profile: MIDP-2.0
 
Best Regards
 
 

 

 


Vandermi Silva
RD MAO - Core Engines  

BenQ Eletroeletrônica Ltda. 

 


TEL +55(92) 2127-8015
Mobile: +55(92) 8125-2248
FAX +55(92) 2127-8102
[EMAIL PROTECTED]
www.BenQMobile.com
Av. Djalma Batista, 536 - São Geraldo 


Manaus-AM
Brasil

 

 

 





Re: Maven Proxy

2006-04-25 Thread Tom Joad
Maven proxy works exactly as your local repository , so transitive
dependency concept is
implemented. All compile scope dependency declared on pom.xml of
artifact will be downloaded.
 It is possible to deploy your jar by deploy:deploy-file
you just need to add inside settings.xml
servers
server
idYOURSERVER/id
username*/username
password/password
filePermissions664/filePermissions
directoryPermissions775/directoryPermissions
privateKey.ssh/known_hosts/privateKey
/server
/servers
Here is an example of command line I take on thread
mvn -X -P UnixServ deploy:deploy-file
-DgroupId=weblogic
 -DartifactId=ejbgen
-Dversion=SNAPSHOT
-Dpackaging=jar
 -Dfile=ejbgen.jar
-DrepositoryId=UnixServ-FTP
-Durl=scp://myserver.com
where repositoryId must be  mapped   on the id under server(here
YOURSERVER) section of settings.xml.
please see
http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html

For me it never works because of ssh conexion to my repository but i
saw on threads about it but it works fine. deploy:deploy-file create
.sha and .md5 files .


I ask value of pom update for clifton . I suggest him to put the value
to false so maven proxy doesn' t try to look for newer pom.
Tom,

 Tom,

 I'm still trying to get it all up and running.

 I am lead to believe that maven-proxy automatically downloads dependencies
 from internet repositories if it dose not have them.

 As for deploying(?) my own projects to it, I'm not sure.

 My pom.update is set to true

 Ben

 -Original Message-
 From: Tom Joad [mailto:[EMAIL PROTECTED]
 Sent: 25 April 2006 14:51
 To: Maven Users List
 Subject: Re: Maven Proxy

 How do you copy stuff to your maven-proxy repository?
 and what is value for
  pom.update key on your config properties?

 Tom



 2006/4/25, Clifton Craig [EMAIL PROTECTED]:
  Tom,
 
  Could you help get me started with Maven proxy? I've been trying to get it
  working in our office but I've been unsuccessful. It (the proxy) seems to
  have a problem getting out to the internet through our in office http
 proxy.
  I have the following in my Maven-proxy config properties file:
 
   PROXIES
  #This is just a hack, it should auto discover them
  proxy.list=instagate
 
  #Authenticated proxy
  proxy.instagate.host=instagate.icsaward.com
  proxy.instagate.port=8080
  proxy.instagate.username=***
  proxy.instagate.password=*
 
  When I copy stuff from my local ~/.m2 repository to the maven-proxy
 repository
  I am able to download only the jar files and not the .pom files as it
 gives
  an error 500. When I try downloading the pom files I see it going out to
 the
  internet to retrieve the latest copy but failing. Can you (or anyone else)
  help?
 
  ---
  Clifton C. Craig, Software Engineer
  Intelligent Computer Systems -  A Division of GBG
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
 
  On Tuesday 25 April 2006 6:20 am, Tom Joad wrote:
   Maven always go to internal repository which connects to all maven
   public repository you declare on your  maven proxy configuration file.
   The order of checking artifact is  always
   local repository --internal repository -- maven public repositories.
  
   Tom.
  
   2006/4/25, Ben Short [EMAIL PROTECTED]:
Tom,
   
Thanks for replying. Will maven then always go to the internal one or
only when it cant connect to the internet server?
   
Ben
   
-Original Message-
From: Tom Joad [mailto:[EMAIL PROTECTED]
Sent: 25 April 2006 11:05
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Maven Proxy
   
HI,
You configure connexion on settings.xml file with mirrors tag.
mirrors
mirror
mirrorOfcentral/mirrorOf
nameInternal Repos/name
urlhttp://internalhost:/url
idlocal-proxy/id
/mirror
/mirrors
Tom.
   
2006/4/25, Ben Short [EMAIL PROTECTED]:
 Hi,

 I am trying to setup maven-proxy on my network and make all my
 clients
 connect to it rather than go to the internet. But when I run mvn
 complie
   
it
   
 always connect to the internet server first. If maven can't find a
 dependency on the internet server then it tries my maven-proxy.

 I have added the following to my pom.

 repositories
 repository
 idinternal/id
 nameInternal Repos/name
 layoutdefault/layout
 urlhttp://internalhost:/url
 /repository
 /repositories

 I have also set the id element to central but it still uses the
 internet server first.

 Any ideas?

 Ben
   

Re: Jira Changes plugin

2006-04-25 Thread javed mandary
Hi John,
could you provide more information as to the patch that you are
using ?

thanks,
  javed

On 4/22/06, John Allen [EMAIL PROTECTED] wrote:

 A simple fix for this is to patch the plugin to support an explicit
 jiraUrl
 configuration property which, if defined, is used in preference to the
 issueManagementurl to generate the correct XML based page link.We did
 this in 5 minutes to enable the JIRA report to be included in a recent
 demo - I'll create a JIRA and submit a patch.

 A more sophistaticated solution would try and use the URI details from
 issueManagementurl to determine the correct parameters to pass to the
 XML specific URL defined in the plugin configuration unfortunately the two
 URLS dont use the same parameter format, the HTML page used project
 'names'
 and the XML URL uses project IDs... A solution might be out there with a
 bit
 more JIRA experimentation...

 J

 - Original Message -
 From: Mike Perham [EMAIL PROTECTED]
 To: Maven Users List users@maven.apache.org
 Sent: Tuesday, April 18, 2006 2:22 PM
 Subject: RE: Jira Changes plugin


 The JIRA changes report does not work with JIRA 3.x.

 Try downloading by hand the URL it prints out below.  JIRA is returning
 an HTML error page instead of the expected XML content.

 -Original Message-
 From: javed mandary [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 18, 2006 4:50 AM
 To: Maven Users List
 Subject: Jira Changes plugin

 Hi ,
  am getting a problem with the changes-maven-plugin , i keep getting
 a stack trace error each time i execute mvn site

 Here is the  configuration in my POM
 -POM--
 [...]
 issueManagement
 systemJira/system
 urlhttps://thisis.mycompany.com/issues/browse/MYPROJECT/url
 /issueManagement
 [...]
 reporting
   [...]
 plugin
 groupIdorg.codehaus.mojo/groupId
artifactIdchanges-maven-plugin/artifactId
 /plugin
   [...]
 /reporting
 END POM

 This is the stack trace am getting:

 --ERROR TRACE--

 [INFO] Downloading
 https://thisis.mycompany.com/issues/browse/secure/IssueNavigator.
 jspa?view=rsspid=sorter/field=createdsorter/order=DESCsorter/field=p
 riorityso
 rter/order=DESCtempMax=100reset=truedecorator=none
 [WARNING] Received: [407]
 org.xml.sax.SAXParseException: White spaces are required between
 publicId and syst emId.
 at
 com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPa
 rseException(ErrorHandlerWrapper.java:236)
 at
 com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(
 ErrorHandlerWrapper.java:215)
 at
 com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM
 LErrorReporter.java:386)
 at
 com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XM
 LErrorReporter.java:316)
 at
 com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XML
 Scanner.java:1438)
 at
 com.sun.org.apache.xerces.internal.impl.XMLScanner.scanExternalID
 (XMLSc
 anner.java:1024)
 at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.scanDoct
 END ERROR TRACE--

 Does anyone who why am getting this error message?

 thanks,
 Javed


 -
 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: Getting root parent POM artifactid

2006-04-25 Thread ian . d . stewart
Javed,

Have you tried ${parent.artifactId} and ${parent.version}?


Ian

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078



   
  javed mandary   
   
  [EMAIL PROTECTED]To:   Maven Users List 
users@maven.apache.org   
  cc:  
   
   Subject:  Re: Getting root 
parent POM artifactid
  04/25/2006 07:14  
   
  AM
   
  Please respond to 
   
  Maven Users  
   
  List 
   

   




${project.artifactId} and ${project.version} just retrieves value for
MODULE
C not for the root POM unfortunately

On 4/25/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:

 It is ${project.artifactId} and ${project.version}, as far as know.

 -Original Message-
 From: javed mandary [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 25, 2006 4:18 PM
 To: Maven Users List
 Subject: Getting root parent POM artifactid


 Hi,
 is there any properties value that returns the top Parent POM's
 artifact id and version number.

 Say i have a structure as follows:

 root POM
   |
   |--module A POM
   |
   |-module B POM
 |
 |--module C POM



 Is there a way to retrieve the artifactId and version number of top root
 POM from module C POM ?

 cheers,
 Javed
 - - - - - - - DISCLAIMER- - - - - - - -
 Unless indicated otherwise, the information contained in this message is
 privileged and confidential, and is intended only for the use of the
 addressee(s) named above and others who have been specifically authorized
 to
 receive it. If you are not the intended recipient, you are hereby
notified
 that any dissemination, distribution or copying of this message and/or
 attachments is strictly prohibited. The company accepts no liability for
 any
 damage caused by any virus transmitted by this email. Furthermore, the
 company does not warrant a proper and complete transmission of this
 information, nor does it accept liability for any delays. If you have
 received this message in error, please contact the sender and delete the
 message. Thank you.





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



RE: Dependencies Options

2006-04-25 Thread Goodin, Brandon
Alexandre,

First, thanks for your response. I appreciate you taking the time to answer
my thoughts.

 Just one more thing I dislike about system dependencies I wanted 
 to specify. A good practice is usually to do a 
 complete project check out after a check in. Takes 
 a lot of times when you have several jars bundled with your projects.

This is a very contextual argument, which is what my point is. I think we
can all find reasons why we would opt for using the jar repository (as Simon
stated). But equally, I think there are contexts where we can make the
argument for not using the jar repository. In all the contexts I've worked
in thus far it takes me very little time to actually checkout my project...
jars included. This holds true for larger projects too. Disk space is cheap.
The strain on bandwidth is not a compelling enough argument due to the fact
that a check happens once every few hours in a system that has a continuous
build. Also, I don't think I've ever heard one complaint about disk space
usage or bandwidth usage when checking out source code containing libraries.

Another thought occurred to me while I was writing this. What about other
binary elements that are in a source tree? Such as Images or PDFs. Should we
create a binary repository for them too? Or maybe we can setup a WebDAV for
those ;-) Sometimes these things are needed... but not every time.

 What is the difference between a 
 internal corporation Maven repository and a internal corporation SVN 
 repository setup on the same server? Nothing except Maven repository 
 is better at handling dependencies then SVN.

You really make my point here :). You pose the question What's the
difference?. My answer is very little or none. So if there isn't a
compelling difference for my project it becomes extra baggage that I would
prefer not to have. Shouldn't it be an optional, planned and acceptable
practice not to use it?

So, the difference is:
1) I only need one repository SVN
2) I only need to make one call to SVN

I think Simon has very valid points and has made a stab at a solution. Would
an enhancement request to more openly support source tree based jars be
welcomed?

I want to reemphasize that I really appreciate the hard work the Maven
developers have put in. I really enjoy much of Maven. I just believe the
dependency options are too strict and need to provide additional support.

Thank you all for your dialog on this,
Brandon Goodin

Start simple and grow to complexity... when necessary

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



Re: Dependencies Options

2006-04-25 Thread dan tran
I think you can checkin all your dependencies into SCM using maven layout.
and point your pom to local directory containing your binaries.

-D


On 4/25/06, Goodin, Brandon [EMAIL PROTECTED] wrote:

 Alexandre,

 First, thanks for your response. I appreciate you taking the time to
 answer
 my thoughts.

  Just one more thing I dislike about system dependencies I wanted
  to specify. A good practice is usually to do a
  complete project check out after a check in. Takes
  a lot of times when you have several jars bundled with your projects.

 This is a very contextual argument, which is what my point is. I think we
 can all find reasons why we would opt for using the jar repository (as
 Simon
 stated). But equally, I think there are contexts where we can make the
 argument for not using the jar repository. In all the contexts I've worked
 in thus far it takes me very little time to actually checkout my
 project...
 jars included. This holds true for larger projects too. Disk space is
 cheap.
 The strain on bandwidth is not a compelling enough argument due to the
 fact
 that a check happens once every few hours in a system that has a
 continuous
 build. Also, I don't think I've ever heard one complaint about disk space
 usage or bandwidth usage when checking out source code containing
 libraries.

 Another thought occurred to me while I was writing this. What about other
 binary elements that are in a source tree? Such as Images or PDFs. Should
 we
 create a binary repository for them too? Or maybe we can setup a WebDAV
 for
 those ;-) Sometimes these things are needed... but not every time.

  What is the difference between a
  internal corporation Maven repository and a internal corporation SVN
  repository setup on the same server? Nothing except Maven repository
  is better at handling dependencies then SVN.

 You really make my point here :). You pose the question What's the
 difference?. My answer is very little or none. So if there isn't a
 compelling difference for my project it becomes extra baggage that I would
 prefer not to have. Shouldn't it be an optional, planned and acceptable
 practice not to use it?

 So, the difference is:
 1) I only need one repository SVN
 2) I only need to make one call to SVN

 I think Simon has very valid points and has made a stab at a solution.
 Would
 an enhancement request to more openly support source tree based jars be
 welcomed?

 I want to reemphasize that I really appreciate the hard work the Maven
 developers have put in. I really enjoy much of Maven. I just believe the
 dependency options are too strict and need to provide additional support.

 Thank you all for your dialog on this,
 Brandon Goodin

 Start simple and grow to complexity... when necessary

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




Surefire bug with different test suites

2006-04-25 Thread Julien Henry


Hi,

I have 2 test suites : AllTestsHtmlUnit.java and AllTestsHttpUnit.java

Here is what I put in my pom :
   plugin
   artifactIdmaven-surefire-plugin/artifactId
   configuration
   includes
   include**/AllTests*.java/include
   /includes
   testFailureIgnoretrue/testFailureIgnore
   /configuration
   /plugin

And now, if I run mvn test, I get :
---
T E S T S
---
[surefire] Running net.sourceforge.jwebunit.AllTestsHtmlUnit
[surefire] Tests run: 155, Failures: 0, Errors: 1, Time elapsed: 4,656 
sec  FAILURE !!

[surefire] Running net.sourceforge.jwebunit.AllTestsHttpUnit
[surefire] Tests run: 155, Failures: 0, Errors: 1, Time elapsed: 1,782 
sec  FAILURE !!


Surefire run 2 times the same suite. Indeed, if I change my pom :
   includes
   include**/AllTestsHtmlUnit.java/include
   /includes

I get :
---
T E S T S
---
[surefire] Running net.sourceforge.jwebunit.AllTestsHtmlUnit
[surefire] Tests run: 155, Failures: 6, Errors: 20, Time elapsed: 5,422 
sec  FAILURE !!


I tried with the latest snapshot (2.1.3-SNAPSHOT) and the bug is still 
present.


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



Re: Maven Proxy

2006-04-25 Thread Clifton Craig
On Tuesday 25 April 2006 9:51 am, Tom Joad wrote:
 How do you copy stuff to your maven-proxy repository?
 and what is value for
  pom.update key on your config properties?

 Tom

Tom,

Thanx for your quick reply. So far so good. I set the proxy on both the 
ibiblio.org and codehaus.org repository settings and now I can download the 
pom.xml files from my maven-proxy instance. I configured a local repo for the 
proxy which is pointed to a folder under $JETTY_HOME/maven/repo-local. I 
understand this is different from the actual proxy cache which I point to 
$JETTY_HOME/maven/repo. Is that correct? Anyway, it looks like it's not 
having trouble getting out to the net at least to check for updates to the 
pom files. I tried testing to see if I could get the proxy to auto-download 
the pom for jaxen by pointing my browser to:
http://maven-proxy-host:8080/mvnrepo/repository/jaxen/poms/jaxen-1.1-beta-8.pom
After doing that I got another error 500. Here's a snippet of my log file:

2006-04-25 09:38:10,954 [INFO ] proxy.servlets.RepositoryServlet  - Received 
request: /jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,955 [DEBUG] proxy.engine.DownloadEngine  - Request: 
source=192.168.99.15, path=/jaxen/poms/jaxen-1.1-beta-8.pom, lastModified=-1, 
headOnly=false, ifModifiedSince=1132809499000
2006-04-25 09:38:10,956 [DEBUG] proxy.config.FileRepoConfiguration  - 
Repo[global]: Checking last modified time 
for ./maven/repo/jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,956 [DEBUG] proxy.config.FileRepoConfiguration  - 
Repo[local-repo]: Checking last modified time 
for ./maven/repo-local/jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,956 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /jaxen/poms/jaxen-1.1-beta-8.pom in snapshot cache
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: /jaxen/poms/jaxen-1.1-beta-8.pom last modified 
1132809499000
2006-04-25 09:38:10,956 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /jaxen/poms/jaxen-1.1-beta-8.pom in snapshot cache
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[dist-codehaus-org]: /jaxen/poms/jaxen-1.1-beta-8.pom last modified 
1127681978000
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: Found most up-to-date version 
of /jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: Sending NOT-MODIFIED response

There's more before that indicating it tried to look first in the cache but 
couldn't find jaxen. I'm not sure what's going on but it does look a little 
like it can get out to the net now. I'll write more in a few if I can make 
heads or tails of things. In the meantime can you help me figureout what's 
wrong? I will add that our http proxy has been responding slow so maybe it's 
a timeout?

--- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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



External dependencies not working

2006-04-25 Thread Jason Harrelson
I have a webapp that is not recognizing any of the external dependencies I
have set up in the classpath.  These were set up using the maven eclipse
plugin.  An example entry form the .classpath follows:

classpathentry kind=var path=MAVEN_REPO/torque/jars/torque- 3.2.jar/

I am getting a class not found error for all classes contained in jars that
are set up as external dependencies.

If I move the .jar's to the lib directory of my webbapp I no longer receive
errors.

The MAVEN_REPO variable is set up correctly and all of the external
dependencies are found successfully in order to compile.

Please help?  I thank you in advance!

--
Jason Harrelson


Re: is CONTINUUM-609 really in 1.0.3?

2006-04-25 Thread Nigel Magnay
AHa - that fixed it (and a little local difficulty in forgetting I
needed to do mvn -U)

Is there a wiki for this kind of stuff that I could add to? I can't
believe I'll be the last to tie my own shoelaces together on that one.

On 25/04/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
 Do you have define the deployment repository field in configuration screen? 
 It's empty by default.

 Emmanuel

 Nigel Magnay a écrit :
  Hmm.. I must be doing something wrong - are there any docs for this or
  handy pointers? It sounds a really useful feature - 1.0.3 is really
  nice.
 
  On 25/04/06, Brett Porter [EMAIL PROTECTED] wrote:
 
 It's not browsable, but it will work just fine when used from Maven.
 
 - Brett
 
 On 4/25/06, Nigel Magnay [EMAIL PROTECTED] wrote:
 
 It's in the release note -
 I try http://box:8080/continuum/repository but just get a 404 ?
 
 
 
 
 




Re: Query around maven.xml in Maven 2.0

2006-04-25 Thread Tom Joad
Hi,
With maven2 there isn'  t maven.xml anymore.
you configure connexion with  ${user.home}/.m2/settings.xml.(by default)
You have to read how to use of each plugins
 and to configure them and to perform task .
You set parameters listed for plugin goals  under configuration tag
under plugin tag as example below.
Please read http://maven.apache.org/plugins/index.html
and follow links for plugin listed. You have to know plugin name is
maven-THEPLUGIN-plugin.
Additionally you can find others plugins  in http://mojo.codehaus.org/ .
Here is an example of use of maven-war-plugin for my project which is
not maven layout conform. In fact it is an eclipse web dynamic
project.
plugins
plugin
artifactIdmaven-war-plugin/artifactId
version2.0-beta-2/version
configuration
  warSourceDirectoryMyproject/WebContent/warSourceDirectory
  webXmlMyproject/WebContent/WEB-INF/web.xml/webXml
  excludes**/context.xml/excludes
/configuration
  /plugin
/plugins

Tom.


2006/4/25, Utpal Sen [EMAIL PROTECTED]:
 Hi,
 I am a new to maven. In the documentation that I have I see a reference to
 maven.xml and project.properties but in the information posted on
 maven.orgit seems like in the new version we don't need to use either
 of them and can
 perform the tasks through pom.xml only. Can anyone kindly validate this?

 Thanks in advance
 Utpal



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



RE: Support for Multi-project Web Sites

2006-04-25 Thread Vijay Shanker
Ryan,
 
Looks like https://svn.apache.org is not working right now. Or may be , I am 
working from home so unable to access from here.
 
Thanks for the link.
 
Vijay
 



From: Ryan Wynn [mailto:[EMAIL PROTECTED]
Sent: Mon 4/24/2006 5:30 PM
To: Maven Users List
Subject: Re: Support for Multi-project Web Sites



On 4/24/06, Vijay Shanker [EMAIL PROTECTED] wrote:
 Hi Ryan,

 I am facing the same problem while building reports for multiple modules. 
 Parent report does not include links of child modules' reports.

 If it is working for you then could you please gives steps and suggestions to 
 achieve it.


See
http://www.nabble.com/Running-maven-site-plugin-from-svn-p3953978.html

that's what helped me.

You will need to download the skins plugin and do a mvn
-updateReleaseInfo=true install on it.



 Thanking you.

 Vijay


 

 From: Ryan Wynn [mailto:[EMAIL PROTECTED]
 Sent: Fri 4/21/2006 1:32 PM
 To: Maven Users List
 Subject: Re: Support for Multi-project Web Sites



 On 4/21/06, Elliot Metsger [EMAIL PROTECTED] wrote:
  Hi -
 
  See
  http://www.nabble.com/Running-maven-site-plugin-from-svn-p3953978.html
  and see if that doesn't help!
 

 Thanks, that help worked.  I needed to use install with
 -updateReleaseInfo=true instead of install-file.





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

m2 how to specify the scm url if module name has spaces in them

2006-04-25 Thread Gautham Pamu
Hi Everyone,

I have module which has spaces..  my module name is Sample Project...
Should we use %20 for spaces.. ?

scm:cvsdelimitermethod[delimiterusername_password_servername_port]delimiterpath_to_repositorydelimitermodule_name

--
-Gautham Pamu


Re: Jetty and Commons logging dependency

2006-04-25 Thread Jan Bartel

Julien,

You're not starting jetty6 correctly in the JettySetup setup() method.
You need to do:

Server server = new Server();
XmlConfiguration xmlConfiguration = new XmlConfiguration(jettyConfig);
xmlConfiguration.configure(server);
server.start();
server.getThreadPool().join();


Instead of running jetty once for all the test cases, you could do 
a startup and shutdown of Jetty in the individual TestCase setUp()

and tearDown() methods, and have the surefire plugin run **/*Test.java

cheers
Jan


Julien Henry wrote:


Hi Jan,

Here is currently how it works. I have many JUnit tests. These tests are 
grouped in a test suite called AllTests.java this way :

public class AllTests extends TestSuite {
   public static Test suite() {
   TestSuite suite = new TestSuite();
 suite.addTestSuite(NavigationTest.class);
   suite.addTestSuite(WebAssertionsTest.class);
   

   return new JettySetup(suite);
   }

   public static void main(String[] args) {
   junit.textui.TestRunner.run(suite());
   }
}

JettySetup is used to launch Jetty only one time before all tests, and 
to close it after :

public class JettySetup extends TestSetup {
   private Server jettyServer = null;

   public void setUp() {
   try {
   URL jettyConfig = JettySetup.class
   .getResource(/jetty-test-config.xml);
   if(jettyConfig==null) {
   fail(Unable to locate jetty-test-config.xml on the 
classpath);

   }
   jettyServer = new Server(jettyConfig);
   jettyServer.start();
   } catch (Exception e) {
   e.printStackTrace();
   fail(Could not start the Jetty server:  + e);
   }
   }

   public void tearDown() {
   try {
   jettyServer.stop();
   } catch (InterruptedException e) {
   e.printStackTrace();
   fail(Jetty server was interrupted:  + e);
   }
   }
}

With Maven 2, I only select AllTests as test to be launched :
plugin
   artifactIdmaven-surefire-plugin/artifactId
   configuration
   includes
   include**/AllTests.java/include
   /includes
   /configuration
/plugin

But I see a few drawbacks to this configuration :
 - I don't have the detail of each test in Maven report (due to Surefire 
bug I think) :

  [INFO] Generate Maven Surefire Report report.
  java.lang.NumberFormatException: For input string: 25,814
 at 
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:691)

  ...
  java.lang.NullPointerException
 at 
org.codehaus.mojo.surefire.SurefireReportGenerator.constructTestCasesSection(SurefireReportGenerator.java:344) 



 - I would like to run all tests 2 times, with a different parameter, 
but without restarting Jetty. And if I can have a clear report that show 
the number of success/failure for each value of the parameter, it would 
be perfect.


Jan Bartel a écrit :


Julien,

Embedding Jetty6 is pretty simple. The jetty.xml config file is written
in a straightforward mapping from the java API to xml syntax. There is 
the

beginnings of a guide to embedding jetty also on the wiki at:
 http://docs.codehaus.org/display/JETTY/Embedding+Jetty

Jetty is often used in the unit tests of other projects - a jetty Server
instance is started in the test setup and stopped in the test teardown.

However, if you want to use the plugin instead, you simply include the 
relevant lines into your pom.xml file, and invoke it:


 mvn jetty6:run

When you want to stop it, you cntrl-c it.

There is all the information on how to configure and run the plugin
here:

 http://jetty.mortbay.org/jetty6/maven-plugin/index.html


cheers
Jan



Julien Henry wrote:



Hi Jan,

I tried to migrate to Jetty 6, but there are too few doc about how to 
use embedded Jetty. I discovered that a Jetty6 plugin exists, and I 
think it could be a good thing to start jetty before the JUnit tests, 
and to stop Jetty after, because it exactly what I want. Do you know 
a simple way to do this ?


Thanks

Julien

Jan Bartel a écrit :


Hi Julien.


Jetty 5.x is built by ant, but the artifacts are made available on
ibiblio. The jetty5.x series, whilst the current stable series is
about to be superceded by the 6.x series.

Jetty 6.x is built by maven2 and has full poms with dependencies
listed which maven2 will transitively resolve for you.

I suggest you switch to jetty 6.x as 1) it is built by maven2 and
2) anyway has many many less dependencies.

cheers
Jan


Julien Henry wrote:



Hi,

I'm using Jetty to test my project. I have this in my pom (I use 
JSP) :

dependency
groupIdjetty/groupId
artifactIdorg.mortbay.jetty/artifactId
version5.1.10/version
scopetest/scope
/dependency
dependency
groupIdjetty/groupId
artifactIdjasper-runtime/artifactId
version4.2.20RC0/version
scopetest/scope
/dependency
dependency
groupIdjetty/groupId
artifactIdjasper-compiler/artifactId
version4.2.20RC0/version

  1   2   >