[M2] Maven and JavaFX

2008-01-22 Thread Peter Pilgrim

Hiya

Has anyone done an work integrating Maven 2 and JavaFX?

--
Peter A. Pilgrim
Java EE Software Development / Design / Architecture(``A Sun Java 
Champion'')

:: http://jroller.com/peter_pilgrim ::
:: http://jroller.com/javawug ::

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



RE: Maven users in the industry

2007-04-13 Thread Peter . Pilgrim
 -Original Message-
 From: Pilgrim, Peter 
 Sent: 11 April 2007 17:51
 To: [EMAIL PROTECTED]
 Subject: RE: Maven users in the industry
 
 UBS Investment Bank within Post Trade Services 
(Maven 2.0)
Unsubscribing myself. Finishing UBS contract. Upwards and onwards to
find the next one!

--
Peter Pilgrim
UBS Investment Bank, 
Client Portal Dev LDN,
Triton Court, 14 Finsbury Square, London, EC2A 1PD
United Kingdom (  +44 (0)207 56 75692 )
:: Java EE Spring 2.0 Hibernate 3.2 Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mails are not encrypted and cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses.  The sender
therefore does not accept liability for any errors or omissions in the
contents of this message which arise as a result of e-mail transmission.
If verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities
or related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

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



RE: Maven users in the industry

2007-04-11 Thread Peter . Pilgrim
UBS Investment Bank within Post Trade Services

--
Peter Pilgrim
UBS Investment Bank, 
Client Portal Dev LDN,
Triton Court, 14 Finsbury Square, London, EC2A 1PD
United Kingdom (  +44 (0)207 56 75692 )
:: Java EE Spring 2.0 Hibernate 3.2 Development ::

 

 -Original Message-
 From: Gilles Scokart [mailto:[EMAIL PROTECTED] 
 Sent: 11 April 2007 09:01
 To: users@maven.apache.org
 Subject: Maven users in the industry
 
 
 Hi,
 
 Next week I have to make a presentation to my collegues.  I 
 will try to 'sell' maven, and I would like to say something 
 like Look, Maven is now very used in the industry, It's for 
 instance used by 
 
 Did you know any companies using Maven, more particularily in 
 Belgium and Europe, but worlwide would be ok also?
 
 
 Thanks for your help.
 
 Gilles
 --
 View this message in context: 
 http://www.nabble.com/Maven-users-in-the-industry-tf3557876s17
 7.html#a9934912
 Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mails are not encrypted and cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses.  The sender
therefore does not accept liability for any errors or omissions in the
contents of this message which arise as a result of e-mail transmission.
If verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities
or related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

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



[OT][ANN] JAVAWUG BOF 25 / 27 March 2007 @ 18:30 / Adobe Flex with Ben Forsaith / Skills Matter

2007-03-02 Thread Peter . Pilgrim
Hi

I would like to formally announce that ``JAVAWUG'' (Java Web User Group)

is holding the BOF 25 at the Skills Matter, London. Ben Forsaith will
give
a presentation on Adobe Flex on Tuesday 27th March 2007 at Skills Matter

Ben will talk about integrating Flex with Java server side frameworks

For more information see here:
 http://jroller.com/page/javawug?entry=javawug_bof_25_adobe_flex

For registration please see here: http://skillsmatter.com/javawug

http://jroller.com/page/javawug

Thanks very much

--
Peter Pilgrim, JUG Leader, ``Java Champion''
JAVAWUG (The Java Web Users Group) [e] 2004,
:: http://jroller.com/page/javawug/ ::
 __ 
|__| ___  ___ __  _   __    
|  \__  \\  \/ /\__  \\ \/ \/ /  |  \/ ___\ 
|  |/ __ \\   /  / __ \\ /|  |  / /_/  
/\__|  (  /\_/  (  /\/\_/ |/\___  / 
\__|\/   \//_/  

   https://java-champions.dev.java.net/

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.


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



RE: maven2 websphere plugin

2007-02-19 Thread Peter . Pilgrim

 -Original Message-
 From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
 Sent: 16 February 2007 19:10
 To: Maven Users List
 Subject: Re: maven2 websphere plugin
 
 Hi Remy,
  shame on me... i didnt follow links as i did need plugin at 
 that time...
 well, then your best bet is to go with WAS-specific ant task, 
 call them from maven-antrun plugin
 
 a friend of mine (Mr Peter Pilgrim) has done some work on that..
 i post here the link of his blog where he describes how to use it...
 
 http://www.jroller.com/page/peter_pilgrim
 
Actually the link is 
http://www.jroller.com/page/peter_pilgrim?entry=battling_with_maven_2_in
tegrating
Unfortunately I am no longer working directly with WebSphere on my
current project
but I expect by now a M2.0.5 fixes a few issues and somebody is writing
a 
WebSphere RAD 6.* plug-in.
--
Peter Pilgrim
UBS Investment Bank, 
Client Portal Dev LDN,
Triton Court, 14 Finsbury Square, London, EC2A 1PD
United Kingdom (  +44 (0)207 56 75692 )
:: Java EE Spring 2.0 Hibernate 3.2 Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.


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



RE: Maven 2.0.5 Released

2007-02-15 Thread Peter . Pilgrim

  ___   __ __  _   __
 / ___/__  ___  ___  _/ /___ __/ /__ _/ /_(_)__  ___  ___ / /
/ /__/ _ \/ _ \/ _ `/ __/ _ `/ __/ // / / _ `/ __/ / _ \/ _ \(_-/_/ 
\___/\___/_//_/\_, /_/  \_,_/\__/\_,_/_/\_,_/\__/_/\___/_//_/___(_)  
  /___/  

+-+
| CONGRATULATIONS MAVEN 2.0.5 TEAM!!! |
+-+


 
http://video.google.com/videoplay?docid=-4064926306201565385q=JAVAWUG

--
Peter Pilgrim, JUG Leader, 
JAVAWUG (The Java Web Users Group) [e] 2004, ``Java Champion ''
:: http://jroller.com/page/javawug/ ::
:: http://jroller.com/page/peter_pilgrim
 __ 
|__| ___  ___ __  _   __    
|  \__  \\  \/ /\__  \\ \/ \/ /  |  \/ ___\ 
|  |/ __ \\   /  / __ \\ /|  |  / /_/  
/\__|  (  /\_/  (  /\/\_/ |/\___  / 
\__|\/   \//_/  

   https://java-champions.dev.java.net/ 



 -Original Message-
 From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
 Sent: 14 February 2007 21:53
 To: Maven Users List; announce@maven.apache.org; Maven Developers List
 Subject: Maven 2.0.5 Released
 
 The Maven team would like to announce the release of Maven 2.0.5.
 
 You can find the roadmap for the release here:
 
 http://jira.codehaus.org/secure/IssueNavigator.jspa? 
 reset=truepid=10500fixfor=12294sorter/field=issuekeysorter/
 order=DESC
 
 The release notes can be found here:
 
 http://maven.apache.org/release-notes.html
 
 And you can download it from here:
 
 http://maven.apache.org/download.html
 
 Thanks,
 
 The Maven Apache Team!
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.


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



[OT][ANN] REMINDER: JAVAWUG 24 Web Framework Smackdown :: Skills Matter :: 19/Feb/2007

2007-02-13 Thread Peter . Pilgrim
Hi All

The Java Web User Group (JAVAWUG, LONDON) is holding a web framework
smackdown 
BOF 24 at Skills Matter's offices in London on 19 Feb 2007. At the
moment we have
representatives for RIFE, Spring MVC, and standard API. Hey! If someone
wants
to rock the house with Struts 2 or Wicket demos and ``represent'' their
framework
to the fullest then come on down. We always need more people!

http://jroller.com/page/javawug?entry=javawug_24_web_framework_smackdown

Have fun. Get ready to rumble! 
(Register directly here http://www.skillsmatter.com/javawug )

We also have some JavaPolis Bags to give away.
http://jroller.com/comments/javawug?anchor=bof_24_javawug_free_javapolis

 COMING SOON 
(1) Grid Computing Talk / Tangasol
(2) Flex / Adobe
--
Peter Pilgrim, JUG Leader, 
JAVAWUG (The Java Web Users Group) [e] 2004, ``Java Champion''
:: http://jroller.com/page/javawug/ ::
 __ 
|__| ___  ___ __  _   __    
|  \__  \\  \/ /\__  \\ \/ \/ /  |  \/ ___\ 
|  |/ __ \\   /  / __ \\ /|  |  / /_/  
/\__|  (  /\_/  (  /\/\_/ |/\___  / 
\__|\/   \//_/  

   https://java-champions.dev.java.net/

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.


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



[OT][ANN] JAVAWUG 24 Web Framework Smackdown :: Skills Matter :: 19/Feb/2007

2007-01-25 Thread Peter . Pilgrim
Hi 

The Java Web User Group (JAVAWUG, LONDON) is holding a web framework
smackdown 
BOF 24 at Skills Matter's offices in London on 19 Feb 2007. At the
moment we have
representatives for RIFE, Spring MVC, and standard API. Hey! If someone
wants
to rock the house with Struts 2 or Wicket demos and ``represent'' their
framework
to the fullest then come on down. We always need more people!

http://jroller.com/page/javawug?entry=javawug_24_web_framework_smackdown

Also an impromptu Birds of a Feather at The Fire Station pub in
Waterloo.
This is a Directional/Futures Meetup for the JAVAWUG, but you are very
welcomed
to join for a couple pints of ale or so on Monday 29th January 2007

http://jroller.com/page/javawug?entry=javawug_bof_23_5_decision

Have fun. Get ready to rumble!

--
Peter Pilgrim, JUG Leader, 
JAVAWUG (The Java Web Users Group) [e] 2004 
:: http://jroller.com/page/javawug/ ::
 __ 
|__| ___  ___ __  _   __    
|  \__  \\  \/ /\__  \\ \/ \/ /  |  \/ ___\ 
|  |/ __ \\   /  / __ \\ /|  |  / /_/  
/\__|  (  /\_/  (  /\/\_/ |/\___  / 
\__|\/   \//_/  

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.


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



[OT] JAVAWUG Canvasing for Speakers in 2007

2007-01-09 Thread Peter . Pilgrim
Hi

The Java Web User Group (JAVAWUG, UK) is canvasing for quality speakers
in 2007. 
If you are going in and near London, England this year and would like to

present a topic to our Java User Group then contact myself for further 
details.

--
Peter Pilgrim, JUG Leader
:: http://jroller.com/page/javawug ::
:: http://jroller.com/page/peter_pilgrim ::
peter dot pilgrim ampersand gmail dot com

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.


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



RE: Giving up on Archiva

2007-01-08 Thread Peter . Pilgrim
 -Original Message-
 From: drekka [mailto:[EMAIL PROTECTED] 
 Sent: 08 January 2007 06:31
 To: archiva-users@maven.apache.org
 Subject: Re: Giving up on Archiva
 
 
 Thanks Michael, that worked. How silly of me ;-) I've added 
 my experiences to the wiki as per my other post. It would be 
 good I think if the Maven site maintainers could put a little 
 more emphasis on the wiki on the main Archiva site as it's 
 not that easy to get to because the doco I looked at didn't 
 link to it.
 

Hi Derek

I last reviewed the state of art with Archiva in October last year.
Are you able to deploy to your local internal repository as well?

Do you run Archiva with just command line with Jetty?
What are your experiences of running inside Tomcat, if you have tried
that?

====

--
Peter Pilgrim
UBS Investment Bank, 
Client Portal Dev LDN,
Triton Court, 14 Finsbury Square, London, EC2A 1PD
United Kingdom (  +44 (0)207 567 75692 )
:: Java EE Spring 2.0 Hibernate 3.2 Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.



RE: Giving up on Archiva

2007-01-08 Thread Peter . Pilgrim



 

 -Original Message-
 From: Michael Horwitz [mailto:[EMAIL PROTECTED] 
 Sent: 08 January 2007 12:05
 To: archiva-users@maven.apache.org
 Subject: Re: Giving up on Archiva
 
 On 1/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
   -Original Message-
   From: drekka [mailto:[EMAIL PROTECTED]
   Sent: 08 January 2007 06:31
   To: archiva-users@maven.apache.org
   Subject: Re: Giving up on Archiva
  
  
   Thanks Michael, that worked. How silly of me ;-) I've added my 
   experiences to the wiki as per my other post. It would be good I 
   think if the Maven site maintainers could put a little 
 more emphasis 
   on the wiki on the main Archiva site as it's not that 
 easy to get to 
   because the doco I looked at didn't link to it.
  
 
  Hi Derek
 
  I last reviewed the state of art with Archiva in October last year.
  Are you able to deploy to your local internal repository as well?
 
Hi Michael
 
 Yes. With Maven 2 this can be done via the webdav URL by 
 installing the webdav wagon extension in Maven. For Maven 1 
 (which has no WebDav support) I simply opened up the repo as 
 a file share and deploy that way.

For Maven 2 where is the WEBDAV support. Is this a plug-in for Tomcat
that needs to be downloaded and installed separately?
 
 Do you run Archiva with just command line with Jetty?
  What are your experiences of running inside Tomcat, if you 
 have tried 
  that?
 
 
 I run Archiva in Tomcat. Setup was straightforward using the 
 instructions in the getting started guide.

Ditto I got Archiva with Tomcat to work on a Unix box here, however 
the application I think was challenged by the corporate firewall policy
here.

====
--
Peter Pilgrim
UBS Investment Bank, 
Client Portal Dev LDN,
Triton Court, 14 Finsbury Square, London, EC2A 1PD
United Kingdom (  +44 (0)207 56 75692 )
:: Java EE Spring 2.0 Hibernate 3.2 Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.



RE: Giving up on Archiva

2007-01-08 Thread Peter . Pilgrim
 -Original Message-
 From: drekka [mailto:[EMAIL PROTECTED] 
 Sent: 08 January 2007 12:01
 To: archiva-users@maven.apache.org
 Subject: RE: Giving up on Archiva
 
 
 Hi Peter,
 
 I'm just about to get into deploying to the local repository. 
 All things being equal I'm hoping it should be more straight 
 forward. I'll cerrtainly amend the guide with a basic example 
 of doing it once I've got it working in the next day or so.
 
 As for Jetty and Tomcat. Jetty was the thing that gave me the 
 grief originally. I've never tried Jetty before so not 
 knowing how to set it up and configure it didn't help. 
 However when I see step 1 ... step n instructions that claim 
 to get up up and running I expect they work. It was not the 
 case with the Jetty instructions I found on the Archiva site. 
 I thought about trying the Tomcat instructions but at that 
 time found the doco for running archiva standalone. So I 
 switched to that mode because it seemed to me that running 
 just it (even though it uses Jetty internally) would remove 
 any noise created by not configuring the web server correctly.
 
 So at the moment if someone asks my opinion I would say that 
 if you are very experienced in using Tomcat or Jetty then by 
 all means try adding Archiva as a webapp. Otherwise I wouls 
 suggest going standalone until you have a good reason to want 
 to integrate it. KISS ;-)

Hi

I'd second that emotion, especially if you trying this out with
a rigourous firewall team. I am not sure what Archiva is using under
the hood for the net communication, but I will guess it is a Commons
Http Client 
or other library. This is probably the cause of the lack of verbosity
in the comms error in your message earlier. Until that low-level lib
is fixed or better understood by the developer then the user will be
a victim of comms errors.


 
====

 Peter.Pilgrim wrote:
  
  ...
  I last reviewed the state of art with Archiva in October last year.
  Are you able to deploy to your local internal repository as well?
  
  Do you run Archiva with just command line with Jetty?
  What are your experiences of running inside Tomcat, if you 
 have tried 
  that?
====

--
Peter Pilgrim
UBS Investment Bank, 
Client Portal Dev LDN,
Triton Court, 14 Finsbury Square, London, EC2A 1PD
United Kingdom (  +44 (0)207 56 75692 )
:: Java EE Spring 2.0 Hibernate 3.2 Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

UBS Limited is a company registered in England  Wales under company
number 2035362, whose registered office is at 1 Finsbury Avenue,
London, EC2M 2PP, United Kingdom.

UBS AG (London Branch) is registered as a branch of a foreign company
under number BR004507, whose registered office is at
1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.

UBS Clearing and Execution Services Limited is a company registered
in England  Wales under company number 03123037, whose registered
office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom.



Javapolis Quickie: Introduction to Java EE Maven 2.0

2006-12-08 Thread Peter . Pilgrim
Hi

I will giving a quickie presentation at JavaPolis 2006 next Monday
lunchtime
http://www.javapolis.com/confluence/display/JP06/Introduction+to+Java+En
terprise+Edition+Maven+2.0+-+Part+1+-+by+Peter+Pilgrim

Come on down!

See also here http://www.javapolis.com/confluence/display/JP06/Quickies

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Javapolis Short Presentation: Introduction to Java EE Maven 2.0

2006-12-08 Thread Peter . Pilgrim
Hi

I will giving a quick (15 minute) presentation at JavaPolis 2006 next
Monday lunchtime
http://www.javapolis.com/confluence/display/JP06/Introduction+to+Java+En
terprise+Edition+Maven+2.0+-+Part+1+-+by+Peter+Pilgrim

Come on down!

See also here http://www.javapolis.com/confluence/display/JP06/Quickies

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] maven-exec-plugin:java command line launch

2006-12-07 Thread Peter . Pilgrim
 -Original Message-
 From: Wayne Fay [mailto:[EMAIL PROTECTED] 
====

 
 Your problem is that exec.arguments is a List of String 
 objects, and you can only pass a single String object in from 
 the command line.
 
 Unless someone knows how to pass an array of Strings from the 
 CLI (I've never seen that this was possible), you can't do 
 what you're trying to do from the CLI. You'll need to set up 
 profiles or something to achieve this.
 
Thanks Wayne.

So there is a bug in the plugin/mojo. It needs an additional parameter
and logic. So setting a profile is probably the best thing to do for
now.

e.g.

profile
idregenerate-pom/id
properties
java.program
com.acme.cartoons.BugsBunnyProgram
/java.program
/properties
/profile

profile
idpilgripe/id
properties
samba.internal.repository.dir
U:\internal\maven-repository
/samba.internal.repository.dir
/properties
activation
property
nameuser.name/name
valuepilgripe/value
/property
/activation
/profile


 On 12/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Hi
 
  I am looking at Maven Exec Plugin. I found that the command line 
  option is problematic with arguments:
 
  convertermvn exec:java
  -Dexec.mainClass=com.ubs.firc.ptsp.research.Converter
  -Dexec.arguments=C:\foo\bar
 
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'exec'.
  [INFO]
  
 --
  --
  -
  ---
  [INFO] Building Maven PTSP Repository Converter Tool
  [INFO]task-segment: [exec:java]
  [INFO]
  
 --
  --
  -
  ---
  [INFO] Preparing exec:java
  [INFO] No goals needed for project - skipping ...
 
  [INFO]
  
 --
  --
  [ERROR] BUILD ERROR
  [INFO]
  
 --
  -- [INFO] Failed to configure plugin parameters for:
  org.codehaus.mojo:exec-maven-p
  lugin:1.0.2
 
  on the command line, specify: '-Dexec.arguments=VALUE'
 
  Cause: Cannot assign configuration entry 'arguments' to 'class 
  [Ljava.lang.String;' from '${exec.arguments}', which is of 
 type class 
  java.lang.String
 
  However it does work when I set a configuration inside the POM.
  How can I pass arguments to maven-exec-plugin (java goal) with the 
  command line?
 
  How can you configure multiple the POM configured executions?
 
  --
  Peter Pilgrim
  UBS Investment Bank,
  PTS Portal / IT FIRC OPS LDN,
  100 Liverpool Street, London EC2M 2RH, United Kingdom
  +44 (0) 20 75 75692
  :: Java EE / E-Commerce / Enterprise Integration / Development ::
 
  Visit our website at http://www.ubs.com
 
  This message contains confidential information and is intended only 
  for the individual named.  If you are not the named addressee you 
  should not disseminate, distribute or copy this e-mail.  
 Please notify 
  the sender immediately by e-mail if you have received this 
 e-mail by 
  mistake and delete this e-mail from your system.
 
  E-mail transmission cannot be guaranteed to be secure or 
 error-free as 
  information could be intercepted, corrupted, lost, 
 destroyed, arrive 
  late or incomplete, or contain viruses.  The sender 
 therefore does not 
  accept liability for any errors or omissions in the 
 contents of this 
  message which arise as a result of e-mail transmission.  If 
  verification is required please request a hard-copy version.  This 
  message is provided for informational purposes and should not be 
  construed as a solicitation or offer to buy or sell any 
 securities or 
  related financial instruments.
 
 
  
 -
  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]
 
 
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete

[m2] maven-exec-plugin:java command line launch

2006-12-06 Thread Peter . Pilgrim

Hi

I am looking at Maven Exec Plugin. I found that the command line
option is problematic with arguments:

convertermvn exec:java
-Dexec.mainClass=com.ubs.firc.ptsp.research.Converter
-Dexec.arguments=C:\foo\bar

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'exec'.
[INFO]

-
---
[INFO] Building Maven PTSP Repository Converter Tool
[INFO]task-segment: [exec:java]
[INFO]

-
---
[INFO] Preparing exec:java
[INFO] No goals needed for project - skipping
...

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to configure plugin parameters for:
org.codehaus.mojo:exec-maven-p
lugin:1.0.2

on the command line, specify: '-Dexec.arguments=VALUE'

Cause: Cannot assign configuration entry 'arguments' to 'class
[Ljava.lang.String;' from '${exec.arguments}', which is of type class
java.lang.String

However it does work when I set a configuration inside the POM.
How can I pass arguments to maven-exec-plugin (java goal) with the
command line?

How can you configure multiple the POM configured executions?

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[M2] Unable Disable a Repository?

2006-12-04 Thread Peter . Pilgrim

Hi 

I need to find out how to undisable a repository, when Maven 
thinks it is unavailable.

(Testing an internal repository with an artifacts which Maven claims it
is missing,
but actually does exist. )

[DEBUG] Skipping disabled repository ptsp-internal
[INFO] snapshot com.ubs.firc.ptsp:xmlbeans-cse:0.1-SNAPSHOT: checking
for updates from ptsp-repository
[DEBUG] repository metadata for: 'snapshot
com.ubs.firc.ptsp:xmlbeans-cse:0.1-SNAPSHOT' could not be found on
repository: ptsp-repository
[DEBUG] Skipping disabled repository central
[DEBUG] xmlbeans-cse: using locally installed snapshot
[DEBUG] Skipping disabled repository ptsp-internal
[DEBUG] Trying repository ptsp-repository
Downloading:
file://V:\pilgripe_PTSP1_2\LDN_PTS/build/repository/com/ubs/firc/ptsp/xm
lbeans-cse/0.1-SNAPSHOT/xmlbeans-cse-0.1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository ptsp-repository
(file://V:\pilgripe_PTSP1_2\LDN_PTS/build/repository)
[DEBUG] Skipping disabled repository central
[DEBUG] Artifact not found - using stub model: Unable to download the
artifact from any repository

  com.ubs.firc.ptsp:xmlbeans-cse:pom:0.1-SNAPSHOT

from the specified remote repositories:


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: MAVEN_INSTALL_DIR/conf/settings.xml

2006-12-04 Thread Peter . Pilgrim



 -Original Message-
 From: Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) 
====
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 01, 2006 2:53 AM
  To: users@maven.apache.org
  Subject: RE: MAVEN_INSTALL_DIR/conf/settings.xml
  
   -Original Message-
   From: Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) 
   [mailto:[EMAIL PROTECTED]
   Sent: 01 December 2006 00:15
   To: Maven Users List
   Subject: RE: MAVEN_INSTALL_DIR/conf/settings.xml
   
   I tried the suggestion below for invoking Maven and it
  worked.  I also
   defined the maven.repo.local property in the ant script for
  our mixed
   build, hoping antlib would pick up on it and use the same local 
   repository for the Maven ant tasks.  No such luck.
   
   It seems there is no way to pass the location of the local
  repository
   to antlib except through ~/.m2/settings.xml or
  ~/.m2/ant/settings.xml.  
   Thus there is no way to have multiple repositories per user 
   simultaneously.  I will file a JIRA request for an enhancement.
  
  Hi Jason et Al
  
  We need to export some important system variables through Maven 2 
  Ant[Run] and Exec similar plugins. Perhaps the developer 
 can devise a 
  way to create or export system variables as environment variables 
  generally through Maven core.
  
  Marilyn
  
  I also worked around this problem by using `sed' on UNIX 
 with a simple 
  placeholder inside `settings.xml.in'.
  
  I did it in a shell script that called Maven like this
  
  /bin/rm -rf ${XYZ_M2_LOCAL}/settings.xml sed -e 
  's,@BUILD_REPO@,'${XYZ_M2_LOCAL_REPO}',g'
  src/release-control/settings.xml.in   ${XYZ_M2_LOCAL}/settings.xml
  
  The settings.xml.in looks like this, of course:
  
  settings xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 

 http://maven.apache.org/xsd/settings-1.0.0.xsd;
  
localRepository@BUILD_REPO@/localRepository
  
interactiveMode/
usePluginRegistry/
...
  /setting
 
 Peter,
 Thanks for your reply and for this suggestion.  We are 
 already doing something like that in order to keep the 
 repositories for different builds separate.  But we still 
 have the problem that each build must be allowed to complete 
 before another one can run for the same user , because the 
 ant tasks that use Maven can run very late in the build.
 

(Where are the gears grinding?)

I see: You have a build that has a dependency that relates to
build-time.
Despite the fact that Maven creates it artifacts and install them 
in a local repository, there is some other thing in your 
corporate environment that it is time conscience.

If this is the case then what would be case if you are build with Apache
Ant, then this build-time dependency will still exist regardless of the
infrastructure technology.

I am not sure, then, if Maven can solve this, especially f you cannot 
isolate the build-time dependency.

Having said, I think a user-profile related dependency can be a problem 
for you. If you a user-profile that shared between teams, divisions,
departments
then the environment variables can be changed ad hoc. Therefore again
Maven cannot 

 I've filed the JIRA request.  I got the automated 
 acknowledgment (MNG-2684), but that's all so far.
 --Marilyn
  
   
   Meantime, our mixed builds are not scalable at all.  We 
 can do only 
   one build per user per machine at a time.  I hope the
  enhancement will
   come through fairly quickly.
  
  
   
  ====
  
  --
  Peter Pilgrim
  UBS Investment Bank,
  PTS Portal / IT FIRC OPS LDN,
  100 Liverpool Street, London EC2M 2RH, United Kingdom
  +44 (0) 20 75 75692
  :: Java EE / E-Commerce / Enterprise Integration / Development ::
  
  Visit our website at http://www.ubs.com
  
  This message contains confidential information and is intended only 
  for the individual named.  If you are not the named addressee you 
  should not disseminate, distribute or copy this e-mail.  
 Please notify 
  the sender immediately by e-mail if you have received this 
 e-mail by 
  mistake and delete this e-mail from your system.
  
  E-mail transmission cannot be guaranteed to be secure or 
 error-free as 
  information could be intercepted, corrupted, lost, 
 destroyed, arrive 
  late or incomplete, or contain viruses.  The sender 
 therefore does not 
  accept liability for any errors or omissions in the 
 contents of this 
  message which arise as a result of e-mail transmission.  If 
  verification is required please request a hard-copy version.  This 
  message is provided for informational purposes and should not be 
  construed as a solicitation or offer to buy or sell any 
 securities or 
  related financial instruments.
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED

[M2] Just need the open source eyes on this

2006-12-04 Thread Peter . Pilgrim
Hi

Maven says it cant download the file from the internal repository.

Anything out of the ordinary of this maven-metadata.xml file.


?xml version=1.0?
metadata
  groupIdorg.easymock/groupId
  artifactIdeasymock/artifactId
  version2.2/version
  versioning
latest2.2/latest
release2.2/release

versions
  version1.2/version
  version2.2/version
/versions
lastUpdated20061120170542/lastUpdated
  /versioning
/metadata
!--*PP* Mon Nov 20 17:05:42 GMT 2006 --

Error

[INFO] Error building POM (may not be this project's POM).


Project ID: org.easymock:easymock

Reason: Error getting POM for 'org.easymock:easymock' from the
repository: Error
 transferring file
  org.easymock:easymock:pom:1.2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  ptsp-repository (file://V:\pilgripe_PTSP1_2\LDN_PTS/build/repository),
  ptsp-internal
(http://sldn0868dap.ldn.swissbank.com:9091/internal/maven-reposi
tory)

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Just need the open source eyes on this

2006-12-04 Thread Peter . Pilgrim
 -Original Message-
 From: Pilgrim, Peter 
 Sent: 04 December 2006 16:10
 To: 'Maven Users List'
 Subject: [M2] Just need the open source eyes on this 
 
 Hi
 
 Maven says it cant download the file from the internal repository.
 
 Anything out of the ordinary of this maven-metadata.xml file.
 

Ignore I think firewall proxy issues are preventing the routing
access direct to internal repository from the machine.



BTW: Any one got a good guide to the metadata format and explanation?
Most of it I did was guess work.

 
 ?xml version=1.0?
 metadata
   groupIdorg.easymock/groupId
   artifactIdeasymock/artifactId
   version2.2/version
   versioning
 latest2.2/latest
 release2.2/release
 
 versions
   version1.2/version
   version2.2/version
 /versions
 lastUpdated20061120170542/lastUpdated
   /versioning
 /metadata
 !--*PP* Mon Nov 20 17:05:42 GMT 2006 --
 
 Error
 
 [INFO] Error building POM (may not be this project's POM).
 
 
 Project ID: org.easymock:easymock
 
 Reason: Error getting POM for 'org.easymock:easymock' from 
 the repository: Error  transferring file
   org.easymock:easymock:pom:1.2
 
 from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   ptsp-repository 
 (file://V:\pilgripe_PTSP1_2\LDN_PTS/build/repository),
   ptsp-internal 
 (http://sldn0868dap.ldn.swissbank.com:9091/internal/maven-reposi
 tory)
 
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Just need the open source eyes on this

2006-12-04 Thread Peter . Pilgrim


 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
 Sent: 04 December 2006 16:50
 To: Maven Users List
 Subject: Re: [M2] Just need the open source eyes on this
 
 On 12/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Ignore I think firewall proxy issues are preventing the 
 routing access 
  direct to internal repository from the machine.
 
 Based on other problems you've reported, that sounds likely.  
 FWIW, I think releases are discovered directly, by 
 constructing the path to the artifact, not by reading the metadata.


That's very interesting, Wendy.
In my experience you do need a maven-metadata.xml file with 
information that points to the versions of the artifact. 
 
  BTW: Any one got a good guide to the metadata format and 
 explanation?
  Most of it I did was guess work.
 
 No, but feel free to add a page to the wiki.  'Guide to Maven 
 Repository Metadata' sounds like a useful thing to have. :)
 

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Just need the open source eyes on this

2006-12-04 Thread Peter . Pilgrim

Hi

 -Original Message-
 From: Wayne Fay [mailto:[EMAIL PROTECTED] 
 Sent: 04 December 2006 16:48
 To: Maven Users List
 Subject: Re: [M2] Just need the open source eyes on this
 
 Do you have the corresponding sha1 and md5 files next to the 
 pom file named ie blah-1.0.pom, blah-1.0.pom.sha1, 
 blah-1.0.pom.md5? You will need this for all files in the 
 repository.
 
 This can cause those error messages, IIRC.
 
Thanks Wayne

I wrote a Java tool that regenerates the MD5 and SHA-1 files based on
Brett's DigestUtils.
The only thing I did was append a '\n' to the end of the files. Just so
I could 
execute `cat *.md5' and get a newline character on the command line. I
don't think 
that cause Maven fail though.

BTW: Your schema worked out quite well in the end. It is just so hard
find out when
Maven cant transfer a file down or work out what possible else has gone
wrong.

 
 On 12/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   -Original Message-
   From: Pilgrim, Peter
   Sent: 04 December 2006 16:10
   To: 'Maven Users List'
   Subject: [M2] Just need the open source eyes on this
  
   Hi
  
   Maven says it cant download the file from the internal repository.
  
   Anything out of the ordinary of this maven-metadata.xml file.
  
 
  Ignore I think firewall proxy issues are preventing the 
 routing access 
  direct to internal repository from the machine.
 
 
 
  BTW: Any one got a good guide to the metadata format and 
 explanation?
  Most of it I did was guess work.
 
  
   ?xml version=1.0?
   metadata
 groupIdorg.easymock/groupId
 artifactIdeasymock/artifactId
 version2.2/version
 versioning
   latest2.2/latest
   release2.2/release
  
   versions
 version1.2/version
 version2.2/version
   /versions
   lastUpdated20061120170542/lastUpdated
 /versioning
   /metadata
   !--*PP* Mon Nov 20 17:05:42 GMT 2006 --
  
   Error
  
   [INFO] Error building POM (may not be this project's POM).
  
  
   Project ID: org.easymock:easymock
  
   Reason: Error getting POM for 'org.easymock:easymock' from the 
   repository: Error  transferring file
 org.easymock:easymock:pom:1.2
  
   from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 ptsp-repository
   (file://V:\pilgripe_PTSP1_2\LDN_PTS/build/repository),
 ptsp-internal
   (http://sldn0868dap.ldn.swissbank.com:9091/internal/maven-reposi
   tory)
  
====
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Just need the open source eyes on this

2006-12-04 Thread Peter . Pilgrim


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
 Sent: 04 December 2006 17:13
 To: Maven Users List
 Subject: Re: [M2] Just need the open source eyes on this
 
 On 12/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  That's very interesting, Wendy.
  In my experience you do need a maven-metadata.xml file with 
  information that points to the versions of the artifact.
 

I wonder if the problem is that the easymock 1.2 does not exist at the
moment
on central 

http://repo1.maven.org/maven2/org/easymock/easymock/


Hence Maven complains when over here we try to overrule the repository.
From the BBWM book in terms of precedure the local-most profiles wins
out. 
(Page 70)

I ran maven so that it activates a profile that points to the internal
repo. Is there a setting for a repository definiton inside a ``local
profile''
that overrules completely? 


 If that were true across the board, no one would be able to 
 use MyFaces 1.1.4.
http://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-impl/
 (The metadata only mentions the 1.1.2 version.)
 
 Archiva may be more sensitive to incorrect metadata, however.
 
I am not using Archiva because I could get Maven to download from the
Tomcat Server. I am just using a Tomcat with the DefaultServlet that
serves files from a directory instead.

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

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] A good guide to Multi-Module Assemblies?

2006-12-01 Thread Peter . Pilgrim


 -Original Message-
 From: Mick Knutson [mailto:[EMAIL PROTECTED] 
 Sent: 30 November 2006 18:47
 To: Maven Users List
 Subject: Re: [M2] A good guide to Multi-Module Assemblies?
 
 What is the issue?
 
 There is this:
 http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
 
 And it seems to work pretty well for me. If I knew what issue 
 you where having after this page, I can help...
 

I have master project that I want to put an assembly into under
`TOP/master/pom.xml'
and I want to build zip and tar.gz files of it and the sub projects.

TOP
  |
  +--master
  |  |
  |  +--src
  |  |  |
  |  |  +--assembly
  |  | |
  |  | +--dep.xml
  |  |  
  |  +--pom.xml
  |  
  +--alpha
  |  |
  |  +--pom.xml
  |
  +--beta
  |  |
  |  +--pom.xml
  |
  +--gamma
  |  |
  |  +--pom.xml
  |
  ...

I understand how to create an assembly for a single project, but how can

I archive all of this with a multi-module assembly? 
Do you have to create individual assemblies for every single sub-project
(!)?

TIA


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: MAVEN_INSTALL_DIR/conf/settings.xml

2006-12-01 Thread Peter . Pilgrim
 -Original Message-
 From: Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) 
 [mailto:[EMAIL PROTECTED] 
 Sent: 01 December 2006 00:15
 To: Maven Users List
 Subject: RE: MAVEN_INSTALL_DIR/conf/settings.xml
 
 I tried the suggestion below for invoking Maven and it 
 worked.  I also defined the maven.repo.local property in the 
 ant script for our mixed build, hoping antlib would pick up 
 on it and use the same local repository for the Maven ant 
 tasks.  No such luck. 
 
 It seems there is no way to pass the location of the local 
 repository to antlib except through ~/.m2/settings.xml or 
 ~/.m2/ant/settings.xml.  Thus there is no way to have 
 multiple repositories per user simultaneously.  I will file a 
 JIRA request for an enhancement.

Hi Jason et Al

We need to export some important system variables through Maven 2
Ant[Run] 
and Exec similar plugins. Perhaps the developer can devise a way to
create 
or export system variables as environment variables generally through 
Maven core. 

Marilyn

I also worked around this problem by using `sed' on UNIX with a simple
placeholder inside `settings.xml.in'.

I did it in a shell script that called Maven like this

/bin/rm -rf ${XYZ_M2_LOCAL}/settings.xml
sed -e 's,@BUILD_REPO@,'${XYZ_M2_LOCAL_REPO}',g'
src/release-control/settings.xml.in   ${XYZ_M2_LOCAL}/settings.xml

The settings.xml.in looks like this, of course:

settings xmlns=http://maven.apache.org/POM/4.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
  http://maven.apache.org/xsd/settings-1.0.0.xsd;

  localRepository@BUILD_REPO@/localRepository

  interactiveMode/
  usePluginRegistry/
  ...
/setting

 
 Meantime, our mixed builds are not scalable at all.  We can 
 do only one build per user per machine at a time.  I hope the 
 enhancement will come through fairly quickly.


 
====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] A good guide to Multi-Module Assemblies?

2006-12-01 Thread Peter . Pilgrim
 -Original Message-
 From: Pilgrim, Peter 
====

  -Original Message-
  From: Mick Knutson [mailto:[EMAIL PROTECTED]
  Sent: 30 November 2006 18:47
  To: Maven Users List
  Subject: Re: [M2] A good guide to Multi-Module Assemblies?
  
  What is the issue?
  
  There is this:
  http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
  
  And it seems to work pretty well for me. If I knew what issue you 
  where having after this page, I can help...
  
 

Having look at this again, this is a job for Ant zip/zipfileset tasks
not Maven 2.0 unfortunately. Use the right tool for the right job.

 I have master project that I want to put an assembly into 
 under `TOP/master/pom.xml'
 and I want to build zip and tar.gz files of it and the sub projects.
 
 TOP
   |
   +--master
   |  |
   |  +--src
   |  |  |
   |  |  +--assembly
   |  | |
   |  | +--dep.xml
   |  |
   |  +--pom.xml
   |
   +--alpha
   |  |
   |  +--pom.xml
   |
   +--beta
   |  |
   |  +--pom.xml
   |
   +--gamma
   |  |
   |  +--pom.xml
   |
   ...
 
 I understand how to create an assembly for a single project, 
 but how can I archive all of this with a multi-module assembly? 
 Do you have to create individual assemblies for every single 
 sub-project (!)?
 
====
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Peter . Pilgrim
Hi All

Is there a property to define the location of the Maven local
repository?

Reading the notes from the installation configuration ``settings.xml''
in the 
``MAVEN_INSTALL_DIR/conf''. There are two system properties

 |  1. User Level. This settings.xml file provides configuration for a
single user, 
 | and is normally provided in $HOME/.m2/settings.xml.
 |
 | NOTE: This location can be overridden with the system
property:
 |
 |
-Dorg.apache.maven.user-settings=/path/to/user/settings.xml
 |
 |  2. Global Level. This settings.xml file provides configuration for
all maven
 | users on a machine (assuming they're all using the
same maven
 | installation). It's normally provided in 
 | ${maven.home}/conf/settings.xml.
 |
 | NOTE: This location can be overridden with the system
property:
 |
 |
-Dorg.apache.maven.global-settings=/path/to/global/settings.xml


Is there an equivalent system property to set the location of the 
local repository?

If it exists I would like to specify it on the command line in order to
generate
a build on a severly isolated machine.

Alternatively can Maven settings.xml substitute system properties?

settings
  !-- localRepository
   | The path to the local repository maven will use to store artifacts.
   |
   | Default: ~/.m2/repository
  --

 
localRepository${user.home}/non-sharable/maven-repository/localReposi
tory
  ...
/settings


TIA

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Peter . Pilgrim

 -Original Message-
 From: Tom Huybrechts [mailto:[EMAIL PROTECTED] 
====
 
 -Dmaven.repo.local=...
 
 On 11/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Unfortunately, in Maven 2.0.4 this system property does not work to
override
the default local repository location. e.g.

% mvn -Dorg.apache.maven.user-setting=~/ptsp/m2/settings.xml
-Dmaven.repo.local=~/ptsp/m2/repository -X compile


  Hi All
 
  Is there a property to define the location of the Maven local 
  repository?
 
  Reading the notes from the installation configuration 
 ``settings.xml''
  in the
  ``MAVEN_INSTALL_DIR/conf''. There are two system properties
 
   |  1. User Level. This settings.xml file provides 
 configuration for a 
  single user,
   | and is normally provided in 
 $HOME/.m2/settings.xml.
   |
   | NOTE: This location can be overridden 
 with the system
  property:
   |
   |
  -Dorg.apache.maven.user-settings=/path/to/user/settings.xml
   |
   |  2. Global Level. This settings.xml file provides 
 configuration for 
  all maven
   | users on a machine (assuming they're all 
 using the
  same maven
   | installation). It's normally provided in
   | ${maven.home}/conf/settings.xml.
   |
   | NOTE: This location can be overridden 
 with the system
  property:
   |
   |
  -Dorg.apache.maven.global-settings=/path/to/global/settings.xml
 
 
  Is there an equivalent system property to set the location of the 
  local repository?
 
  If it exists I would like to specify it on the command line 
 in order 
  to generate a build on a severly isolated machine.
 
  Alternatively can Maven settings.xml substitute system properties?

====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: MAVEN_INSTALL_DIR/conf/settings.xml

2006-11-30 Thread Peter . Pilgrim
 -Original Message-
 From: Tom Huybrechts [mailto:[EMAIL PROTECTED] 
 Sent: 30 November 2006 13:24
 To: Maven Users List
 Subject: Re: MAVEN_INSTALL_DIR/conf/settings.xml
 
 I just tried this on my machine, and it did work.
 
 C:\mvn clean -Dmaven.repo.local=x:\ -X
 + Error stacktraces are turned on.
 Maven version: 2.0.4
 .
 [DEBUG] Exception
 org.apache.maven.wagon.TransferFailedException: Specified 
 destination directory cannot be created:
 x:\org\apache\maven\plugins\maven-clean-plugin

It works for me too. 
Ah! The Tilde (~) symbol and the BASH command line

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::  

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[M2] A good guide to Multi-Module Assemblies?

2006-11-30 Thread Peter . Pilgrim
Hi

Has any one got a reference to a multi-module assemblies?
An article, a page, or a blog spot. TIA

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: Proxy vs. Repository URLs

2006-11-28 Thread Peter . Pilgrim

 -Original Message-
 From: Joakim Erdfelt [mailto:[EMAIL PROTECTED] 
 Sent: 27 November 2006 13:32
 To: archiva-users@maven.apache.org
 Subject: Re: Proxy vs. Repository URLs
 
 URL Name was introduced to make the repository snippets make sense.
 
 consider the following
 
 repository
   idsnapshots/id
   urlhttp://archiva.corporate.com/repository/snapshots/url
 /repository
 

(1)


 vs
 
 repository
   idcorporate.snapshots/id
   urlhttp://archiva.corporate.com/repository/snapshots/url
 /repository
 

 (2)

And your point is? What is different then apart from the identifier
name? Is (1) is supposed to 
better than (2) or is it vice versa?


 One future feature for archiva is to manage the pom internal 
 repositories to point to itself.
 In other words, if archiva is told to proxy central, and a 
 pom gets pulled down pointing to a new repository of say ...
 repository
   idsf.net/id
   urlhttp://projfoo.sourceforge.net/maven2//url
 /repository
 
 then archiva should replace that entry with itself so that 
 the requests at the maven client continue to hit the 
 corporate repository.
 
====
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



RE: servlet-api-2.5-6.0.0beta12.jar

2006-11-28 Thread Peter . Pilgrim
 

 -Original Message-
 From: alexsil [mailto:[EMAIL PROTECTED] 
 Sent: 28 November 2006 10:54
 To: users@maven.apache.org
 Subject: servlet-api-2.5-6.0.0beta12.jar
 
 
 From this morning, when I try to run mvn install,  maven 
 try to update plugins from central repository but when 
 arrived to servlet-api-2.5-6.0.0beta12.jar fails with the 
 follow error:
 
Hi Alessandro

I had this failure for a internal repository I set up as well.
I resolved by manual copying the JAR from local to remote.

Was your solution the same?

====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Archiva Database Creation

2006-11-27 Thread Peter . Pilgrim

Hi

Archiva appears to creating a database under my home directory on UNIX
e.g

/home/pilgripe/database
/home/pilgripe/derby.log

Instead of under catalina.home, where is this setting controlled
contrary to the information at 
http://maven.apache.org/archiva/guides/getting-started/index.html ?

TIA

Also running Archiva under Tomcat 5 and XALAN configuration this 
following URL is very useful.
http://forum.java.sun.com/thread.jspa?tstart=30forumID=34threadID=5420
44trange=15


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



[M2] Assembly Multi Modules

2006-11-21 Thread Peter . Pilgrim

Hi

I got a multi-module project that looks like this:


Top
  |
  +build/master
  ||
  |\--pom.xml
  |\--src/assembly/dep.xml
  |
  +adapters
   |
   +---Core
   |
   +--foo1
   |  |
   |  \--pom.xml
   |
   +--foo2
   |  |
   |  \--pom.xml
   |
   +--foo3
  |
  \--pom.xml


I am looking to create a backup of the source code using the master
project `build/master/pom.xml'.

Can the assembly plug-in handle changing directory `upwards' 
e.g. cd ../..

From the information at
http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodu
le/module-source-inclusion-simple.html

Can you the assembly Plugin now do this? It is not clear if it can. Or 
is the zip-plugin a better option?

TIA

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-21 Thread Peter . Pilgrim

Hi 

With my local to remote M2 Repo converter tool I hit a crunch. I am
trying
to figure why the maven is going to the internet, even though the
maven-metadata.xml is set correctly. Is there another tag paremeter
in maven-metadata.xml that I am missing? 

I do have all the POM/JARs for jetty and the maven-site-plugin in the 
right place at least in my internal repository.


Downloading:
http://dist.codehaus.org/org.mortbay.jetty/jars/servlet-api-2.5-6.0.0bet
a12.jar
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Error transferring file
  org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://dist.codehaus.org),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
  snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency: 
1)
org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-beta-5
2) org.mortbay.jetty:jetty:jar:6.0.0beta12
3) org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12



[INFO]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
transferring file
  org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://dist.codehaus.org),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
  snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency: 
1)
org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-beta-5
2) org.mortbay.jetty:jetty:jar:6.0.0beta12
3) org.mortbay.jetty:servlet-api-2.5:jar:6.0.0beta12

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-21 Thread Peter . Pilgrim
 -Original Message-
 From: Wayne Fay [mailto:[EMAIL PROTECTED] 
 Sent: 16 November 2006 19:37
 To: Maven Users List
 Subject: Re: [M2] Howto Set Up Quickly an Offline Internal Repository?
 
 They aren't shell scripts, actually... they're Ant scripts.
 
====

I have written my own Java utility to convert a local M2 repository to a
remote one.

I am generating the maven-metadata.xml files like this one:

metadata
  groupIdorg\apache\maven\plugins/groupId
  artifactIdmaven-clean-plugin/artifactId
  version2.1/version
  versioning
versions
 version2.1/version
 version2.1.1/version
/versions
  /versioning
/metadata

I also created the MD5 and SHA-1 files for the maven-metadata.xml using
Brett's
DigestUtils class.

Unfortunately I am still getting this error from mvn -X clean. Why?

Do I need the latest and release tags here?
(http://docs.codehaus.org/display/MAVEN/Repository+Metadata)

Caused by: java.io.IOException: Server returned HTTP response code: 500
for URL:
http://sldn0868dap.ldn.swissbank.com:9091/internal/maven-repository/org/
apache/maven/plugins/maven-clean-plugin/maven-metadata.xml
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:814)
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:85)
... 36 more
[DEBUG] maven-clean-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest version

  org.apache.maven.plugins:maven-clean-plugin:pom:LATEST


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-clean-plugin:pom:LATEST
[DEBUG] maven-clean-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release version

  org.apache.maven.plugins:maven-clean-plugin:pom:RELEASE


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-clean-plugin:pom:RELEASE
[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]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid
version could be found
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
LifecycleExecutor.java:1281)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De
faultLifecycleExecutor.java:1517)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPack
aging(DefaultLifecycleExecutor.java:1011)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa
ppings(DefaultLifecycleExecutor.java:975)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:453)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.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.jav
a:39)
...




--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial

RE: Archive Repository

2006-11-17 Thread Peter . Pilgrim
 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
====
 
 On 11/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  How do you access the repository through the jetty:run?
 
  I set up the guest as an observer role and I tried to 
 access it like 
  this
 
  http://localhost:9091/repository/aopalliance/aopalliance/1.0/
 
 Unfortunately, browsing the repository with Jetty doesn't 
 seem to work.
 
Hi 

Having moved from Jetty when I browse now with Tomcat with the
repository 
that I just set up http://localhost:9091/repository/PETER_PILGRIM
I still get the 404 Error request resource is not found.
Any ideas!

BTW: I set the Guest account as `Repository Observer'
====
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



RE: Archive Repository

2006-11-17 Thread Peter . Pilgrim
 -Original Message-
 From: Pilgrim, Peter 
 Sent: 17 November 2006 12:03
 To: 'archiva-users@maven.apache.org'
 Subject: RE: Archive Repository
 
  -Original Message-
  From: Wendy Smoak [mailto:[EMAIL PROTECTED]
 ====
====
 Having moved from Jetty when I browse now with Tomcat with 
 the repository that I just set up 
 http://localhost:9091/repository/PETER_PILGRIM
 I still get the 404 Error request resource is not found.
 Any ideas!

I just released that the link on the administration page is wrong for
Tomcat!
There is no web application context called `repository'!
Rather it is should be
http://localhost:9091/archiva/repository/PETER_PILGRIM
Missing request.getContextPath()

What I don't understand is this what you place inside ~/.m2/settings.xml
or the actual project pom.xml?


Maven does not find the repository and then disables it, how to you
undisable the repository?

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Peter . Pilgrim

Hi All

I am building an offline build, I want to verify the hold project is
building in 
Maven on a disconnected machine.

I copied my developer machine M2 repository to the isolated server. I
think that
I set up a repository for as an `internal' one. 

What is wrong with this ``~/.m2/setting.xml'' file? 

settings xmlns=http://maven.apache.org/POM/4.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
  http://maven.apache.org/xsd/settings-1.0.0.xsd;
  interactiveMode/
  usePluginRegistry/
  offline/
  pluginGroups/
  servers/
  mirrors
  /mirrors
  proxies/

  profiles
profile
idprivate-repository/id
repositories

repository
idblah/id

urlfile:/home/pilgripe/internal/maven-repository/url
layoutdefault/layout
snapshots
enabledtrue/enabled
/snapshots
/repository

 /repositories
/profile
/profiles
activeProfiles
   activeProfileprivate-repository/activeProfile
/activeProfiles
/settings

Because the message I get is

[EMAIL PROTECTED] [415]  mvn compile
[INFO] Scanning for projects...
[INFO]


[INFO] Building PTSP Valuations Schema (XML Beans)
[INFO]task-segment: [compile]
[INFO]



Downloading:
file:/home/pilgripe/internal/maven-repository/xmlbeans/xbean/2.2.0/xbean
-2.2.0.pom
[WARNING] Unable to get resource from repository blah
(file:/home/pilgripe/internal/maven-repository)
Downloading:
http://repo1.maven.org/maven2/xmlbeans/xbean/2.2.0/xbean-2.2.0.pom
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: xmlbeans:xbean

Reason: Error getting POM for 'xmlbeans:xbean' from the repository:
Error transferring file
  xmlbeans:xbean:pom:2.2.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  blah (file:/home/pilgripe/internal/maven-repository)


Clearly the priority order of the repositories is incorrect, 
but how do you reorder them?

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Peter . Pilgrim

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
 Sent: 16 November 2006 13:16
 To: Maven Users List
 Subject: Re: [M2] Howto Set Up Quickly an Offline Internal Repository?
 
 On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  I am building an offline build, I want to verify the hold 
 project is 
  building in Maven on a disconnected machine.
 
  I copied my developer machine M2 repository to the isolated server.
 
 I asked on IRC, and a local repository can't simply be copied 
 and repurposed as a remote repository.  Jason suggested 
 looking at the 'repository-assembler' in the shared module, 
 which can convert a local repo into a remote one by adding 
 the missing metadata.

This is not good for me, because I am trying to build the project 
on an isolated machine. It cant get access to the Internet.
BTW: Did Jason give a reason and say why not?

 
  I think that I set up a repository for as an `internal' one.
  What is wrong with this ``~/.m2/setting.xml'' file?
 
 
  urlfile:/home/pilgripe/internal/maven-repository/url
 
 My file protocol urls have file:// then /path/to/whatever.  
 So file:///home/... (with three /'s.)
 
  from the specified remote repositories:
central (http://repo1.maven.org/maven2),
blah (file:/home/pilgripe/internal/maven-repository)
 
  Clearly the priority order of the repositories is 
 incorrect, but how 
  do you reorder them?
 
 I don't think it's an option yet, nor is convincing Maven 
 that certain groupIds are only ever going to be found in 
 certain repositories.
 
 If you _never_ want Maven to contact the central repository, 
 I think you'll need to configure something as a mirrorOf 
 central and then take responsibility for making sure that 
 repo has everything you need.
  I know you were playing with Archiva... that's the path I'd take.
 

Yes would be good if it worked.

I have been trying to configure it on my developer machine. I am
having a bitch of time trying to get Archiva working on the 
Apache/Tomcat server we have here. 

The archiva war is failing to start up and I don't know why yet. 
Nothing in the tomcat logs. I thought it was a reject servlet 2.2 lib
then I removed it.

Does Archiva convert the local repository into a remote repository.

 http://maven.apache.org/guides/mini/guide-mirror-settings.html

 
Thanks I will take a look


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Peter . Pilgrim
Cheers! 

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
====
 
 Correction... it's maven-repository-builder, in the sandbox:
 

http://svn.apache.org/repos/asf/maven/sandbox/maven-repository-builder/
 
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Peter . Pilgrim

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
====

 On 11/16/06, Wendy Smoak [EMAIL PROTECTED] wrote:
 
  I asked on IRC, and a local repository can't simply be copied and 
  repurposed as a remote repository.  Jason suggested looking at the 
  'repository-assembler' in the shared module, which can 
 convert a local 
  repo into a remote one by adding the missing metadata.
 
 Correction... it's maven-repository-builder, in the sandbox:
 

http://svn.apache.org/repos/asf/maven/sandbox/maven-repository-builder/
 
How do I check it out for building?

svn checkout
http://svn.apache.org/repos/asf/maven/sandbox/maven-repository-builder/t
runk maven-repository-builder
svn: URL
'http://svn.apache.org/repos/asf/maven/sandbox/maven-repository-builder
/trunk' doesn't exist

==///==
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Peter . Pilgrim



 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
 Sent: 16 November 2006 15:48
 To: Maven Users List
 Subject: Re: [M2] Howto Set Up Quickly an Offline Internal Repository?
 
 On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
   Correction... it's maven-repository-builder, in the sandbox:
  
 http://svn.apache.org/repos/asf/maven/sandbox/maven-repository-builder
  /
  
  How do I check it out for building?
 
 Where are you getting 'trunk'?  It's here:
 

http://svn.apache.org/repos/asf/maven/sandbox/maven-repository-builder/
 
 (Or https:// if you prefer.)

Please forgive my SVN ignorance. Wendy, you are correct.
svn checkout
http://svn.apache.org/repos/asf/maven/sandbox/maven-repository-builder
maven-repository-builder

So basically compile and build this thing and run it against the
maven-repository that 
I uploaded to the isolated box. Cool! I like it.

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Peter . Pilgrim
Hi. Is there any type of documentation for the maven-repository-builder
?


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Peter . Pilgrim


 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
====
 
 On 11/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Hi. Is there any type of documentation for the 
  maven-repository-builder ?
 
 No, I already asked.  Apparently the code was pulled out of 
 the assembly plugin, and is used to test the eclipse plugin.
 
 So you might find some hints in the eclipse plugin tests.

So this sends me right back to Archiva again. Can Archiva convert
a local repository back to a remote one or am I wandering down the
wrong path? When I ran Archiva on my own development machine as `mvn
jetty:run'
did not make a repository available, except that Jetty had a bug to
prevent
this feature working?

Everything I have tried today seems to lead to a dead stop, and I just
want to get the thing actually working for a client and their deployment

machine.

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-16 Thread Peter . Pilgrim
 -Original Message-
 From: Wayne Fay [mailto:[EMAIL PROTECTED] 
 Sent: 16 November 2006 17:02
 To: Maven Users List
 Subject: Re: [M2] Howto Set Up Quickly an Offline Internal Repository?
 
 We've had this discussion before on this list, and I know 
 someone posted a way to convert a local repo into a remote 
 repo with some shell scripts.
 

Well if there are scripts I cannot find them in nabble or otherwise.

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Can a Archiva Repo be transfered from machine to an isolated machine

2006-11-16 Thread Peter . Pilgrim

Hi

I want to create a remote internal repository on an isolated server.

I have a plan. Your comments are welcomed please!


0) Clean my project down (mvn clean)

1) With my development PC, set up Archiva on a Tomcat instance
2) With a tomcat instance create a blank empty internal repository
   (e.g. C:\opt\archiva-transfer-repo )
3) Set up a proxy of the Maven Central, because my PC can see the
Internet.

4) Switch my current ~/.m2/settings.xml to a brand new configuration
   a) I switch over to completely fresh M2 local repository (e.g.
C:\opt\throwaway-repo )
   b) Switch over to the Archiva internal repository, which is now
proxying
  Maven Central

5) Clean my project down complete again, to test the Archiva running on
my development machine

6) Rebuid the entire project `mvn install'

7) Stop. 

With the now full internal repository with Archiva
(C:\opt\archiva-transfer-repo) 
can I move this remote repository from one machine to another? In other
words
can I copy it from my development PC to the isolated machine?

TIA

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: Archiva Start-Up Error

2006-11-15 Thread Peter . Pilgrim

How come I got a 404 error when I surf to the localhost:9091
the first time I used it.
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
 Sent: 14 November 2006 12:42
 To: archiva-users@maven.apache.org
 Subject: Re: Archiva Start-Up Error
 
 As it is written in this page : A Derby exception Schema 
 'SA' does not exist occurs, but is not of concern.
 
 It isn't an error, the database doens't exist and jpox create 
 it after this message.
 
 Emmanuel
 
 [EMAIL PROTECTED] a écrit :
  Hi
  
  I am trying to start up Archiva using the jetty:run, using the 
  Getting-Started guide 
  http://maven.apache.org/archiva/guides/getting-started/index.html
  
  When I pointed my browser to localhost:9091 I got a severe error.
  
  
  2006-11-14 10:20:28,866 [btpool0-2] INFO 
  EnvironmentCheck:required-roles - Chec king the existance 
 of required 
  roles.
  2006-11-14 10:20:34,522 [btpool0-2] WARN  RDBMS
  - Error
   initialising derby schema : Schema 'SA' does not exist 
 ERROR 42Y07: 
  Schema 'SA' does not exist
  at
  
 org.apache.derby.iapi.error.StandardException.newException(Unknown So
  urce)
  at
  
 org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSchemaDescrip
  tor(Unknown Source)
  at
  
 org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(U
  nknown Source)
  at
  
 org.apache.derby.impl.sql.compile.DDLStatementNode.getSchemaDescripto
  r(Unknown Source)
  at 
  org.apache.derby.impl.sql.compile.DropAliasNode.bind(Unknown
  Source)
  at 
  org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown
  Source)
  
  at 
 org.apache.derby.impl.sql.GenericStatement.prepare(Unknown
  Source)
  at
  
 org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepa
  reInternalStatement(Unknown Source)
  at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown
  Source)
  at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown
  Source)
  at
  
 org.jpox.store.rdbms.adapter.DerbyAdapter.initialiseDatastore(DerbyAd
  apter.java:125)
  at
  
 org.jpox.store.rdbms.RDBMSManager.initialiseSchema(RDBMSManager.java:
  492)
  at
  org.jpox.store.rdbms.RDBMSManager.init(RDBMSManager.java:265)
  at 
  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
  Method)
  
  at
  
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
  orAccessorImpl.java:39)
  at
  
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
  onstructorAccessorImpl.java:27)
  at
  java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  at org.jpox.util.ClassUtils.newInstance(ClassUtils.java:64)
  at
  
 org.jpox.store.StoreManagerFactory.getStoreManager(StoreManagerFactor
  y.java:73)
  at
  
 org.jpox.AbstractPersistenceManager.init(AbstractPersistenceManager
  .java:224)
  at
  
 org.jpox.PersistenceManagerImpl.init(PersistenceManagerImpl.java:42
  )
  at
  
 org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(Persiste
  nceManagerFactoryImpl.java:175)
  at
  
 org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(Persiste
  nceManagerFactoryImpl.java:150)
  at
  
 org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.get
  PersistenceManager(JdoTool.java:114)
  at
  
 org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.get
  ObjectById(JdoTool.java:236)
  at
  
 org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool.obj
  ectExistsById(JdoTool.java:283)
  at
  
 org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoRbacMana
  ger.roleExists(JdoRbacManager.java:124)
  at
  
 org.codehaus.plexus.rbac.profile.AbstractRoleProfile.getRole(Abstract
  RoleProfile.java:236)
  at
  
 org.codehaus.plexus.rbac.profile.DefaultRoleProfileManager.getRole(De
  faultRoleProfileManager.java:72)
  at
  
 org.codehaus.plexus.security.ui.web.checks.security.RequiredRolesEnvi
  
 ronmentCheck.validateEnvironment(RequiredRolesEnvironmentCheck
 .java:64)
  at
  
 org.codehaus.plexus.security.ui.web.interceptor.EnvironmentCheckInter
  ceptor.init(EnvironmentCheckInterceptor.java:78)
  at
  
 org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(Plexus
  ObjectFactory.java:101)
  at
  
 com.opensymphony.xwork.config.providers.InterceptorBuilder.constructI
  nterceptorReference(InterceptorBuilder.java:48)
  at
  
 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.look
  upInterceptorReference(XmlConfigurationProvider.java:702

[M2] offline

2006-11-15 Thread Peter . Pilgrim

Hi 

For Maven 2 working in offline mode where the project is behind a
firewall / proxy 
and disconnected from the Internet.

I get this error 

mvn clean
[INFO] Scanning for projects...
[INFO]


[INFO] Building PTSP Valuations Schema (XML Beans)
[INFO]task-segment: [clean]
[INFO]


[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking
for updates from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from
repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[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: 2 seconds
[INFO] Finished at: Wed Nov 15 16:05:00 GMT 2006
[INFO] Final Memory: 1M/4M
[INFO]


Even though I copied my entire M2 repository to the test machine, and
reset
the ~/.m2/setting.xml to point to the new repository. I assumed with my
217MB repository that worked on my developer machine, it would work also
on the isolated machine.

Is there a way of telling M2 to not look outside?

What does the offline in the settings.xml actually do, then?

See here http://maven.apache.org/settings.html


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] offline [FORGET ABOUT IT]

2006-11-15 Thread Peter . Pilgrim

 -Original Message-
 From: Pilgrim, Peter 
==== 
 
 Hi 
 
 For Maven 2 working in offline mode where the project is 
 behind a firewall / proxy and disconnected from the Internet.
 

FORGET ABOUT IT.
http://maven.apache.org/guides/mini/guide-mirror-settings.html

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Archive Repository

2006-11-15 Thread Peter . Pilgrim
Hi 

How do you access the repository through the jetty:run?

I set up the guest as an observer role and I tried to access it like
this

http://localhost:9091/repository/aopalliance/aopalliance/1.0/

?



--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



RE: Archive Repository

2006-11-15 Thread Peter . Pilgrim
Thanks Wendy

It is the right path. I will transplant it to a Tomcat on the server
instead.

Thanks!


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
 Sent: 15 November 2006 17:16
 To: archiva-users@maven.apache.org
 Subject: Re: Archive Repository
 
 On 11/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  How do you access the repository through the jetty:run?
 
  I set up the guest as an observer role and I tried to 
 access it like 
  this
 
  http://localhost:9091/repository/aopalliance/aopalliance/1.0/
 
 Unfortunately, browsing the repository with Jetty doesn't 
 seem to work.
 
 See the comments on http://jira.codehaus.org/browse/MRM-204 
 (and the archives of this list) for a little more info.
 
 --
 Wendy
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



RE: Trying Quickly build Archiva

2006-11-14 Thread Peter . Pilgrim

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
====
 
 On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  I download all of the software from the required page as described. 
  The sun jars.
  I cant see what is wrong there. It happens more than once in build 
  Archive Security Configuration project.
 
 The error you posted said it couldn't download 
 commons-configuration 1.3, which is definitely available.  
 Are you still getting the same error?  Does it download 
 anything at all?
 
 (At this point I start suspecting you're behind a proxy, 
 because we've seen numerous reports of problems when a proxy 
 is involved.)
 
 Sorry I can't help more, but Archiva builds fine here.
 
Indeed it does, Wendy, I just download the dependencies and put them
into
the POM.

-- 
Peter Pilgrim
JUG Leader( JAVAWUG http://jroller.com/page/javawug )
Registration http://developers.sun.com/jugs/display/europe/gbr/london )

   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )  
   )_)(  )\  )_)( ((_)()\ ))\(()/(  
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___| 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Archiva Start-Up Error

2006-11-14 Thread Peter . Pilgrim
)
at
com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(De
faultActionProxyFactory.java:46)
at
com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(Dis
patcherUtils.java:216)
at
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterD
ispatcher.java:202)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1040)
at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilt
er.java:118)
at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilte
r.java:52)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1040)
at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Act
ionContextCleanUp.java:88)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
Handler.java:1040)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
52)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:2
30)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
27)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:149)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:123)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
41)
at org.mortbay.jetty.Server.handle(Server.java:286)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:44
4)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:701)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:203)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:340)
at
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.jav
a:270)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool
.java:475)

2006-11-14 10:20:39,288 [btpool0-2] WARN  SQL
- Objec
t with id Registered User not found !
2006-11-14 10:20:39,319 [btpool0-2] WARN  SQL
- Objec
t with id Registered User not found !
2006-11-14 10:20:39,335 [btpool0-2] WARN  SQL
- Objec
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim


 

 -Original Message-
 From: Barrett Nuzum [mailto:[EMAIL PROTECTED] 
 Sent: 10 November 2006 17:30
 To: Maven Users List
 Subject: RE: [m2] List of All Dependencies for any project X
 
 Peter:
  
 mvn project-info-reports:dependencies should give you what you want.
  

Can you make this report easily descend recursively through sub-projects
or not ?

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim


 

 -Original Message-
 From: Barrett Nuzum [mailto:[EMAIL PROTECTED] 
 Sent: 10 November 2006 17:30
 To: Maven Users List
 Subject: RE: [m2] List of All Dependencies for any project X
 
 Peter:
  
 mvn project-info-reports:dependencies should give you what you want.
  
What I meant to ask. Is there a way to get a aggregate (or grand total)
of all the dependencies for project A and it descendent sub projects 
A-A, A-B, A-B-A, A-B-B etc?


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim



 -Original Message-
 From: Mark Hobson [mailto:[EMAIL PROTECTED] 
 Sent: 13 November 2006 10:15
 To: Maven Users List
 Subject: Re: [m2] List of All Dependencies for any project X
 
 On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  What I meant to ask. Is there a way to get a aggregate (or grand 
  total) of all the dependencies for project A and it descendent sub 
  projects
  A-A, A-B, A-B-A, A-B-B etc?
 
 So a list of all transitive dependencies, as per the report, 
 but also with the dependency path for each one?  Not that I'm 
 aware of, although it'd be easy enough to do.
 

Something like that I think. 

For now I would like to know if what the dependency used in the 
whole project.

Suppose I had a project tree such as this:

A--B--C
|
D--E--F
|
G

Say if `commons-collections (3.1)' is used subproject D, 
I would like to see it.

If `struts 1.2.9' is used at sub project B, C and G. 
I would like to see it.

If `servlet 2.4' is used only A. I would like see it, when 
I save generate (this grand total of dependencies) from the
master project A. 

On the other hand if I ask to generate the same report at sub-project C
then I will only see `struts 1.2.9'



Here is the analogy: The difference between with the traditional UNIX
command

(1) du /usr/src

and

  (2) du -k /usr/src


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
  

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
Hi Mark

Is this a MOJO or plug-in? I loaded this project from the ZIP into
Eclipse and
built it from the command. I commented out the maven-shared-component
definition
in the pom.xml. 

How do I use this plug-in? There are no descriptions or secret
parameters
that I can see. 

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

 -Original Message-
 From: Mark Hobson [mailto:[EMAIL PROTECTED] 
 Sent: 10 November 2006 18:01
 To: Maven Users List
 Subject: Re: [m2] List of All Dependencies for any project X
 
 On 10/11/06, Sebastien Brunot [EMAIL PROTECTED] wrote:
  Mark Hobson seems to have authored mojos that does this:
  http://jira.codehaus.org/browse/MNG-2654
 
 Yep, that's the prerequisite to provide a patch for 
 http://jira.codehaus.org/browse/MPH-14, which is the cleanest 
 solution.  Although as Barrett mentioned, this will indeed 
 give the same info as obtained from mvn 
 project-info-reports:dependencies.
 
 Mark
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim



 -Original Message-
 From: Mark Hobson [mailto:[EMAIL PROTECTED] 
 Sent: 13 November 2006 11:23
 To: Maven Users List
 Subject: Re: [m2] List of All Dependencies for any project X
 
 On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Something like that I think.
 
  For now I would like to know if what the dependency used in 
 the whole 
  project.
 
  Suppose I had a project tree such as this:
 
  A--B--C
  |
  D--E--F
  |
  G
 

Forgot about that ... clearly did not explain my problem

====

 
 Hmm, not too sure I understand what you mean there.  The 
 dependency tree in the aforementioned report will give you 
 the full dependency hierarchy for whichever project you run it under.


Let take it step backwards. Let say I am working with the DayTrader J2EE
project in the BBWB pdf.

daytrader
   |
   +--client
   |  |
   |  +--streamer
   |  +--wsappclient
   |  \--pom.xml
   |
   +--server
   |  +--ear
   |  +--ejb
   |  +--web
   |  \--pom.xml
   |
   \--pom.xml


I would like to see a full list of dependencies required for the whole
of DayTrader J2EE application and all of it sub-projects `client',
`client/streamer'
`client/wsappclient' , `server', `server/ear'. 

I would rather see it is one report under 
`daytrader/target/site/dependencies.html' instead of a series
of separate reports under 
`daytrader/{client,server}/**/target/site/dependencies.html'

Ok when I try running `mvn project-info-reports:dependencies' on my 
client's own project I don't see this grand total view. 
I can see only the dependencies relevant to the current project 
that I am in, even it is the (root) master project. 
(e.g. the daytrader/pom.xml). Is it making sense now?
 
  Here is the analogy: The difference between with the 
 traditional UNIX 
  command
 
  (1) du /usr/src
 

du /usr/src

  and
 
(2) du -k /usr/src

Wrong flag (twice in one day, huh)

du -s /usr/src 

 
 This just changes the units to kilobytes, not sure what the 
 analogy is here?
====
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim


 -Original Message-
 From: Mark Hobson [mailto:[EMAIL PROTECTED] 
====
 
 On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Is this a MOJO or plug-in? I loaded this project from the ZIP into 
  Eclipse and built it from the command. I commented out the 
  maven-shared-component definition in the pom.xml.
 
  How do I use this plug-in? There are no descriptions or secret 
  parameters that I can see.
 
 It's a plexus component rather than a mojo.  It will be used 
 by MPH-14 once it has been committed - I'm holding off 
 submitting that patch in case the shared component API needs 
 to change.

So this is no go, then until the Mojo is released.

====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim
 -Original Message-
 From: Mark Hobson [mailto:[EMAIL PROTECTED] 
====
 
 On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Ok when I try running `mvn project-info-reports:dependencies' on my 
  client's own project I don't see this grand total view.
  I can see only the dependencies relevant to the current 
 project that I 
  am in, even it is the (root) master project.
  (e.g. the daytrader/pom.xml). Is it making sense now?
 
 Right, I see.  This is what the latest dependency report does 
 in fact display.  Check the example report:
 

http://maven.apache.org/plugins/maven-project-info-reports-plugin/depend
encies.html
 
This is the correct report

 It shows the immediate dependencies (Project Dependencies); 
 all transitive dependencies (Project Transitive Dependencies) 
 (what you require I believe); and the dependency tree 
 (Project Dependency Graph).

Excellent. This is what I really want.

 
 If you're not seeing that maybe you're running an old version?
 

Running `mvn -U project-info-reports:dependencies'. Does not get the
latest
version. Where is the latest version in the SVN tree? And is the one in 
SVN actually working now?

Cheers

  Wrong flag (twice in one day, huh)
 
  du -s /usr/src
 
 Heh, I get you now.
 
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim


 

 -Original Message-
 From: Mark Hobson [mailto:[EMAIL PROTECTED] 
 Sent: 13 November 2006 13:34
 To: Maven Users List
 Subject: Re: [m2] List of All Dependencies for any project X
 
 On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Running `mvn -U project-info-reports:dependencies'. Does 
 not get the 
  latest version. Where is the latest version in the SVN tree? And is 
  the one in SVN actually working now?
 
 The latest version is 2.0.1:
 
 http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-p
 roject-info-reports-plugin/2.0.1/
 http://maven.apache.org/plugins/maven-project-info-reports-plugin/
 http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-proj
 ect-info-reports-plugin/
 
Guess I must be missing something elementary here with report set up,
because I definitely have the latest 2.0.1 on my machine. Unfortunately
I don't see the aggregate view for all the sub projects at all.

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim


 -Original Message-
 From: Mark Hobson [mailto:[EMAIL PROTECTED] 
 Sent: 13 November 2006 15:31
 To: Maven Users List
 Subject: Re: [m2] List of All Dependencies for any project X
 
 On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Guess I must be missing something elementary here with 
 report set up, 
  because I definitely have the latest 2.0.1 on my machine. 
  Unfortunately I don't see the aggregate view for all the 
 sub projects at all.
 
 Subprojects.. right, so you're running this as a pom project. 
  I haven't tried to use the report under multi-module builds, 
 so not sure how aggregation would work.  Anyone else know 
 much about this?

Would a dummy project with a fake artifact work? I wonder ... 
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim

No. It wont work at all

 -Original Message-
 From: Mark Hobson [mailto:[EMAIL PROTECTED] 
 Sent: 13 November 2006 15:31
 To: Maven Users List
 Subject: Re: [m2] List of All Dependencies for any project X
 
 On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Guess I must be missing something elementary here with 
 report set up, 
  because I definitely have the latest 2.0.1 on my machine. 
  Unfortunately I don't see the aggregate view for all the 
 sub projects at all.
 
 Subprojects.. right, so you're running this as a pom project. 
  I haven't tried to use the report under multi-module builds, 
 so not sure how aggregation would work.  Anyone else know 
 much about this?
 

[INFO] Scanning for projects...
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).


Project ID: com.ubs.firc.ptsp.faketop:faketop
POM Location: V:\pilgripe_PTSP1_2\LDN_PTS\build\faketop\pom.xml
Validation Messages:

[0]  Packaging 'jar' is invalid. Aggregator projects require 'pom'
as packaging.

Reason: Failed to validate POM
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-13 Thread Peter . Pilgrim


 

 -Original Message-
 From: Mark Hobson [mailto:[EMAIL PROTECTED] 
 Sent: 13 November 2006 15:31
 To: Maven Users List
 Subject: Re: [m2] List of All Dependencies for any project X
 
 On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Guess I must be missing something elementary here with 
 report set up, 
  because I definitely have the latest 2.0.1 on my machine. 
  Unfortunately I don't see the aggregate view for all the 
 sub projects at all.
 
 Subprojects.. right, so you're running this as a pom project. 
  I haven't tried to use the report under multi-module builds, 
 so not sure how aggregation would work.  Anyone else know 
 much about this?
 
Well I can see a use-case where we need to get this list project
(sub-project) 
of dependencies in some thing other than HTML, e.g. CSV or simply a text
file in
some format.

Then we need to feed this file into a `correlation engine' for
a Maven Mirror. This engine would tell I have the dependency X here
but I don't have the dependency Y here at all.

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Trying Quickly build Archiva

2006-11-13 Thread Peter . Pilgrim
Hi

Trying to build Archiva because there is no binaries available.

What are the correct repositories?


278K downloaded
Downloading:
https://maven-repository.dev.java.net/nonav/repository/commons-conf
iguration/jars/commons-configuration-1.3.jar
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Error transferring file
  commons-configuration:commons-configuration:jar:1.3

from the specified remote repositories:
  codehaus.org (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository),
  apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
  apache-snapshots (http://people.apache.org/maven-snapshot-repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)
Path to dependency:
1) org.apache.maven.archiva:archiva-security:jar:1.0-SNAPSHOT
2)
org.codehaus.plexus.security:plexus-security-system:jar:1.0-alpha-6-S
NAPSHOT
3)
org.codehaus.plexus.security:plexus-security-configuration:jar:1.0-al
pha-6-SNAPSHOT
4) commons-configuration:commons-configuration:jar:1.3



[INFO]

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

[INFO] Total time: 1 minute 14 seconds
[INFO] Finished at: Mon Nov 13 17:21:47 GMT 2006
[INFO] Final Memory: 15M/27M
[INFO]


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: Trying Quickly build Archiva

2006-11-13 Thread Peter . Pilgrim

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
 Sent: 13 November 2006 18:22
====
 
 On 11/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  Hi
 
  Trying to build Archiva because there is no binaries available.
 
  What are the correct repositories?
 
  Error transferring file
commons-configuration:commons-configuration:jar:1.3
 
 Did it happen more than once?  Commons Configuration should 
 be available [1], but Archiva does require several jars that 
 aren't in the public repositories, see this page for information:
http://maven.apache.org/archiva/guides/getting-started/index.html
 
 (And it has separate lists: 
 http://maven.apache.org/archiva/mail-lists.html )
 
 [1] 

http://repo1.maven.org/maven2/commons-configuration/commons-configuratio
n/1.3/

Hi Wendy
 
I download all of the software from the required page as described. The
sun jars.
I cant see what is wrong there. It happens more than once in build
Archive Security
Configuration project.


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[m2] List of All Dependencies for any project X

2006-11-10 Thread Peter . Pilgrim

Hi Jason, Brett et al

How do you get a list of all dependencies (transitive or declared) for
any M2 project?

Basically I want to find out the list so I can cross reference against
an in-house
repository here at UBS. 

The idea is to tell the administrator here with the in-house what
dependencies
they should be including, so that we don't have to use any external
sites.

Is this possible?


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] List of All Dependencies for any project X

2006-11-10 Thread Peter . Pilgrim
Thanks just is what I was looking for.


 -Original Message-
 From: Barrett Nuzum [mailto:[EMAIL PROTECTED] 
 Sent: 10 November 2006 17:30
 To: Maven Users List
 Subject: RE: [m2] List of All Dependencies for any project X
 
 Peter:
  
 mvn project-info-reports:dependencies should give you what you want.
  
 Barrett
  
 Barrett Nuzum
 Consultant, Skill Development
 [EMAIL PROTECTED]
 T:  +1 (918) 640 4414
 F:  +1 (972) 789 1340
 
 
 Valtech
 5080 Spectrum Drive Suite 700 West
 Addison, Texas 75001
 USA
 T: +1 (972) 789 1200
 
 
 
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Fri 11/10/2006 11:27 AM
 To: users@maven.apache.org
 Subject: [m2] List of All Dependencies for any project X
 
 
 
 
 Hi Jason, Brett et al
 
 How do you get a list of all dependencies (transitive or 
 declared) for any M2 project?
 
 Basically I want to find out the list so I can cross 
 reference against an in-house repository here at UBS.
 
 The idea is to tell the administrator here with the in-house 
 what dependencies they should be including, so that we don't 
 have to use any external sites.
 
 Is this possible?
 
 
 --
 Peter Pilgrim
 UBS Investment Bank,
 PTS Portal / IT FIRC OPS LDN,
 100 Liverpool Street, London EC2M 2RH, United Kingdom
 +44 (0) 20 75 75692
 :: Java EE / E-Commerce / Enterprise Integration / Development ::
====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] XMLBeans Plugin

2006-11-09 Thread Peter . Pilgrim
 -Original Message-
 From: Pilgrim, Peter 
====
 
 I written my solution as a blog instead (How to use Maven 2.0 
 XMLBeans Plug-in)
 http://jroller.com/page/peter_pilgrim?entry=how_to_use_maven_2
 

One thing I did not quite figure out for myself. Why would people want 
to use `xmlbeans:xmlbeans-test' goal in the project?

It might be considered OT for Maven 2 mailing list, but just
what is the UseCase here for only test XML schema?

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[OT][ANN] REMINDER: JAVAWUG BOF 23 / Skills Matter Sun London / 15 Sept 2006 @ 18:30 / Open Space Discussion

2006-11-09 Thread Peter . Pilgrim
Hi

I would like to formally announce that ``JAVAWUG'' (Java Web User Group)

is holding the Twenty Third Birds-of-Feather at the 
Skills Matter's  London Office on Wednesday, 15th Novemeber 2006 from
18:30.

+-+--+
|  TWO QUESTIONS  |  Open Space Technology Style Discussion  |
+-+--+

Concept to follow an open space technology discussion forum.  There
will be two themes for the night, about forty five minutes
approximately for each one.


---
Question 1: Okay. What Is the Future of Java Web Development?

---


---
Question 2: How Are We Now Going to Architect the New Enterprise?

---
====

For more information go here
http://jroller.com/page/javawug?entry=announcement_javawug_bof_23_skills

To register go here http://www.skillsmatter.com/javawug

Thanks very much
-- 
Peter Pilgrim
JUG Leader( JAVAWUG http://jroller.com/page/javawug )
Registration http://developers.sun.com/jugs/display/europe/gbr/london )

   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )  
   )_)(  )\  )_)( ((_)()\ ))\(()/(  
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___| 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] XMLBeans Plugin

2006-11-08 Thread Peter . Pilgrim
 -Original Message-
 From: Pilgrim, Peter 
====
 
 
  -Original Message-
 ====
  
   -Original Message-
   From: Pilgrim, Peter
   Sent: 01 November 2006 17:46
   To: 'Maven Users List'
   Subject: [m2] XMLBeans Plugin
   
   
   Maven 2 XMLBean Plugin
   http://mojo.codehaus.org/xmlbeans-maven-plugin/index.html
   
   I am trying to get the plugin to generate the java 
 classes from XSD 
   files in the same way as the `scomp' program.
   
   I stored the schema in the `src/main/xsd' folder.
   Is the command `mvn xmlbeans:xmlbeans' suppose to execute 
 the scomp 
   program?
  

Bah!

I written my solution as a blog instead (How to use Maven 2.0 XMLBeans
Plug-in)
http://jroller.com/page/peter_pilgrim?entry=how_to_use_maven_2

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

   

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] XMLBeans Plugin

2006-11-02 Thread Peter . Pilgrim


 -Original Message-
====
 
  -Original Message-
  From: Pilgrim, Peter
  Sent: 01 November 2006 17:46
  To: 'Maven Users List'
  Subject: [m2] XMLBeans Plugin
  
  
  Maven 2 XMLBean Plugin
  http://mojo.codehaus.org/xmlbeans-maven-plugin/index.html
  
  I am trying to get the plugin to generate the java classes from XSD 
  files in the same way as the `scomp' program.
  
  I stored the schema in the `src/main/xsd' folder.
  Is the command `mvn xmlbeans:xmlbeans' suppose to execute the scomp 
  program?
 
 I think the plugin is doing the functional equivalent of the 
 schema compile (scomp) when I grokked the verbose flag.
 
  
  I want to configure the plugin to use the same directory 
 for the xsd 
  and xsdconfig.
  
  For example
  
  src/main/xsd/magic/numbers/ipod.xsd
  src/main/xsd/magic/numbers/ipod.xsdconfig
  
  We find it convenient to have the .xsd and .xsdconfig in the same 
  folders.
  How do you configure this?
  
 
 Don't worry it is easier to run with the flow. So I moved a 
 few the xsdconfigs to the src/main/xsdconfig directory instead.
 
 I am trying to understand the outputJar parameter. I want to 
 generate an XmlBean JAR that I can stuff into the M2 Repository.
 
 1) xmlbeans does not seem to generate the jar (e.b. mvn 
 xmlbeans:xmlbeans) How do I product it?
 
 2) If I can generate the XMLBean Jar, do I use the install 
 plugin to load into the repository or can the xmlbean-plugin 
 do it all for me?
 
 
 build
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdxmlbeans-maven-plugin/artifactId
 executions
 execution
 goals
 goalxmlbeans/goal
 /goals
 /execution
 /executions
 inheritedtrue/inherited
 configuration
 memoryInitialSize32m/memoryInitialSize
 memoryMaximumSize64m/memoryMaximumSize
 outputJarvaluationSchema-0.4.jar/outputJar
 schemaDirectorysrc/main/xsd/schemaDirectory
 verbosetrue/verbose
 /configuration
 /plugin
 /plugins
 /build
 
 Getting there

Another day, another chance to progress. 

The plug-in did generate output jar, however in ${basedir}. 
Great! Now I can do it


 
outputJar${basedir}/target/valuationSchema-0.4.jar/outputJar


But wait a minute here! This is not the Maven way to do things, is it?

One primary artifact per project was the general rule, I remember. 
I going at this really wrong.

What I really need is:

1) I want to generate the XML Beans classes.
2) Compile Java code against the generated classes in (1) 
3) Run unit test against (1) and (2)
4) Package the project excluding some classes e.g. unit test
5) Install the whole as project artifact
in the M2 repository 

This means I can chuck away the `valuationSchema-0.4.jar' thing and rely
on good old' maven project definitions instead i.e. 
set up group id / artifact id / version and off we go!

My question is therefore about step (4). Can I include and exclude 
classes during the packaging.

The `xmlbeans-maven-plugin' generates my schema classes under

`target/classes/com/ubs/firc/ptsp/**'
`target/schemaoorg_apache_xmlbeans/**'
`target/xmlbeans-source/com/ubs/firc/ptsp/**'

The first two of the above are very useful to me, but the last is not
useful for third party projects unless they want the XMLBeans Schema 
source code.

What is the best packager here `maven-assembly-plugin'
( http://maven.apache.org/plugins/maven-assembly-plugin/index.html )
or the `maven-jar-plugin' 
( http://maven.apache.org/plugins/maven-jar-plugin/ )?

TIA

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
  

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments

[M2] Repository Lost Dependency for xmlbeans:xmlbeans:2.2.0

2006-11-02 Thread Peter . Pilgrim

Hi

It would appear that the dependencies for XML Beans 2.2.0 have
disappeared.

Downloading:
http://mirrors.sunsite.dk/maven2/xmlbeans/xmlbeans-jsr173-api/2.0-dev/xm
lbeans-jsr173-api-2.0-dev.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
http://mirrors.sunsite.dk/maven2/xmlbeans/xmlbeans-jsr173-api/2.0-dev/xm
lbeans-jsr173-api-2.0-dev.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Missing:
--
1) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=xmlbeans
-DartifactId=xmlbeans-jsr173-a
pi \
  -Dversion=2.0-dev -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1)
com.ubs.firc.ptsp.valuations:ptsp-valuations-schema:jar:0.1-SNAPSHOT
2) stax:stax:jar:1.1.1-dev
3) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev

--
1 required artifact is missing.

for artifact:
  com.ubs.firc.ptsp.valuations:ptsp-valuations-schema:jar:0.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


Indeed there is nothing no longer there at
http://repo1.maven.org/maven2/xmlbeans/xmlbeans-jsr173-ri/2.0-dev/

I just checked Mvnregistry.org. How up-to-date is this site?

Any ideas for XmlBeans 2.2.0 anyway?

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: (WORKAROUND) [M2] Repository Lost Dependency for xmlbeans:xmlbeans:2.2.0

2006-11-02 Thread Peter . Pilgrim

Workaround solves the issue
http://jira.codehaus.org/browse/MXMLBEANS-13

dependency
groupIdxmlbeans/groupId
artifactIdxbean/artifactId
version2.2.0/version
/dependency

!--
Avoid broken dependency error (due to licensing issues): 
Unable to download the artifact from any repository
xmlbeans:xmlbeans-jsr173-api:2.0-dev:jar

The current workaround is to explicitly list the `staxx' exclude
in the 
xmlbeans plugin pom in your project:
 --
dependency
groupIdstax/groupId
artifactIdstax/artifactId
version1.1.1-dev/version
scopecompile/scope
exclusions
exclusion
artifactIdxmlbeans-jsr173-api/artifactId
groupIdxmlbeans/groupId
/exclusion
/exclusions
/dependency

dependency
groupIdnet.sf.saxon/groupId
artifactIdsaxon/artifactId
version8.7/version
/dependency

dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1/version
scopetest/scope
/dependency

/dependencies

 -Original Message-
 From: Pilgrim, Peter 
 Sent: 02 November 2006 12:08
 To: 'Maven Users List'
 Subject: [M2] Repository Lost Dependency for xmlbeans:xmlbeans:2.2.0
 
 
 Hi
 
 It would appear that the dependencies for XML Beans 2.2.0 
 have disappeared.
 
 Downloading: 
 http://mirrors.sunsite.dk/maven2/xmlbeans/xmlbeans-jsr173-api/
 2.0-dev/xmlbeans-jsr173-api-2.0-dev.pom
 [WARNING] Unable to get resource from repository central 
 (http://repo1.maven.org/maven2)
 Downloading: 
 http://mirrors.sunsite.dk/maven2/xmlbeans/xmlbeans-jsr173-api/
 2.0-dev/xmlbeans-jsr173-api-2.0-dev.jar
 [WARNING] Unable to get resource from repository central 
 (http://repo1.maven.org/maven2) [INFO] 
 --
 --
 [ERROR] BUILD ERROR
 [INFO] 
 --
 --
 [INFO] Failed to resolve artifact.
 
 Missing:
 --
 1) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
 
   Try downloading the file manually from the project website.
 
   Then, install it using the command:
   mvn install:install-file -DgroupId=xmlbeans 
 -DartifactId=xmlbeans-jsr173-a pi \
   -Dversion=2.0-dev -Dpackaging=jar -Dfile=/path/to/file
 
   Path to dependency:
 1) 
 com.ubs.firc.ptsp.valuations:ptsp-valuations-schema:jar:0.1-SNAPSHOT
 2) stax:stax:jar:1.1.1-dev
 3) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
 
 --
 1 required artifact is missing.
 
 for artifact:
   com.ubs.firc.ptsp.valuations:ptsp-valuations-schema:jar:0.1-SNAPSHOT
 
 from the specified remote repositories:
   central (http://repo1.maven.org/maven2)
 
 
 Indeed there is nothing no longer there at 
 http://repo1.maven.org/maven2/xmlbeans/xmlbeans-jsr173-ri/2.0-dev/
 
 I just checked Mvnregistry.org. How up-to-date is this site?
 
 Any ideas for XmlBeans 2.2.0 anyway?
 
 --
 Peter Pilgrim
 UBS Investment Bank,
 PTS Portal / IT FIRC OPS LDN,
 100 Liverpool Street, London EC2M 2RH, United Kingdom
 +44 (0) 20 75 75692
 :: Java EE / E-Commerce / Enterprise Integration / Development ::
 

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[OT][ANN] JAVAWUG BOF 23 / Skills Matter Sun London / 15 Sept 2006 @ 18:30 / Open Space Discussion

2006-10-26 Thread Peter . Pilgrim

Hi

I would like to formally announce that ``JAVAWUG'' (Java Web User Group)

is holding the Twenty Third Birds-of-Feather at the 
Skills Matter's  London Office on Wednesday, 15th Novemeber 2006 from
18:30.

+-+--+
|  TWO QUESTIONS  |  Open Space Technology Style Discussion  |
+-+--+


Concept to follow an open space technology discussion forum.  There
will be two themes for the night, about forty five minutes
approximately for each one.



---
Question 1: Okay. What Is the Future of Java Web Development?

---

This theme will be looking back over the recent innovations over the
last two or three years. Of this will cover the invention or discovery
of asynchronous JavaScript and XML, JSON, DOM dynamic incremental
update technologies. It will also cover the battle between JavaScript
and proprietary media content on the web, where does Java the platform
and the language fit in?



---
Question 2: How Are We Now Going to Architect the New Enterprise?

---

This theme will tackle the challenges we face with the new enterprise
development for the rest of `The Noughties'. We are particularly
interested in the impact of Java Enterprise Edition to the businesses,
and to the community of developers. We want to know what kinds of
technologies will be changing the way Java software is created for
business and the real-world. How will these technologies change the
architecture and design for new application that are just a glimmer in
the eye right here right now. We will look at where we are now. Some
of us are still on the J2EE 1.4 track on our day-jobs, whilst some of
us are just starting to get acquainted with Java EE 5 and beyond. It
is an exciting road ahead for all of us.

For more information go here
http://jroller.com/page/javawug?entry=announcement_javawug_bof_23_skills


Thanks very much

-- 
Peter Pilgrim
JUG Leader( JAVAWUG http://jroller.com/page/javawug )
Registration http://developers.sun.com/jugs/display/europe/gbr/london )

   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )  
   )_)(  )\  )_)( ((_)()\ ))\(()/(  
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___| 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[OT][ANN] JAVAWUG Video / Jason van Zyl Maven 2.0 / Available Now

2006-10-14 Thread Peter Pilgrim

Hi All

The Java Web User Group is proud to announce that the Google Video for
BOF 22 is now uploaded. Jason van Zyl presented Maven 2.0 at the Sun
Microsystem's London Office, on Wednesday 22nd September 2006.

Over 90 minutes of Maven, build philosophy, design, architecture,
discussions, and demonstrations of Maven, Archiva, Continuum are
available from here

http://video.google.com/videoplay?docid=-4064926306201565385hl=en

For more information surf to

(1) http://jroller.com/page/javawug?entry=bof_22_report

(2) http://jroller.com/page/javawug?entry=announcement_javabof_xxii_jason_van

(3) http://jroller.com/page/javawug


--
Peter Pilgrim  ( Windows XP / Thunderbird 1.5 )

_ ___  + Expert Java
__  /_ ___   ___ ____  /__  /  + Enterprise
___ _  /_  __ `/_ | / /  __ `/__  __/  __  __/ + Design
/ /_/ / / /_/ /__ |/ // /_/ / _  /___  _  /___ + Architecture
\/  \__,_/ _/ \__,_/  /_/  /_/ + Web New Age


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



[M2] Plugin for XMLBeans 2.2.x

2006-10-11 Thread Peter . Pilgrim

Hi Y'All

Is there a XMLBean 2 plug-in available for Maven 2.0 that generates the
schema JAR
from the XSD files?


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[OT][ANN] REMINDER: JAVAWUG BOF 22 / Sun London / 20 Sept 2006 @ 18:30 / featuring Jason van Zyl, Maven 2.0

2006-09-13 Thread Peter . Pilgrim
Hi

``JAVAWUG'' (The Java Web User Group) is holding the twenty second 
Birds-of-Feather 22 at the Sun's London Office on Wednesday, 
20th September 2006 from 18:30 onwards.


For more information 
http://www.jroller.com/page/javawug?entry=announcement_javabof_xxii_jaso
n_van 

The confirmed speakers are:

Jason van Zyl - Architect  - Maven 2.0

Jason van Zyl presents the architecture and infrastructure
behind the declaration software construction framework called
``Maven''.

Jason van Zyl is the Chief Architect and co-founder of
``Mergere, Inc''. Jason co-founded Mergere to deliver an open
source-based build platform for dynamic, distributed,
enterprise-level Java(TM) projects requiring leading-edge
resource orchestration and build management. Jason has over 10
years of enterprise software development experience working
primarily for Fortune 500 companies. Jason is heavily involved
with open source: he is the lead in the development of several
open source projects including Plexus, Modello, and Continuum.


Afterwards members can retire to the nearby bar and restuarant (TBA) ...

(We will probably get started closer to 7pm to allow members who
are out of town to commute in)


The address is:

Sun Microsystems Ltd.
Customer Briefing Centre -- Cheapside Theatre
Regis House
45 King William Street
London
EC4R 9AN

Map (http://uk.sun.com/aboutsun/location/map-london-1.html)


If you would like to attend :

Please REGISTER so that you can be added to the Sun Security Detail.

Join the ``http://groups.google.com/group/javawug'' JAVAWUG at 
Google Groups and Send a mail to the list you are attending 

http://jroller.com/page/javawug

Thanks very much


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



maven.compile.classpath and fellows

2006-09-12 Thread Peter . Pilgrim
Title: maven.compile.classpath and fellows






Hi


I am looking for POM property similar to maven.compile.classpath 

that constructs the classpath and includes the dependency JAR files?


USE-CASE: I have an EJB in a J2EE subproject which references an interface in a parallel subject.

If I try building everything from the TOP project then WebSphere EJB Deploy 

complains that it cant reflect the interface.




--

Peter Pilgrim

UBS Investment Bank, 

PTS Portal / IT FIRC OPS LDN,

100 Liverpool Street, London EC2M 2RH, United Kingdom

+44 (0) 20 75 75692

:: Java EE / E-Commerce / Enterprise Integration / Development ::




Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

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

RE: maven.compile.classpath and fellows

2006-09-12 Thread Peter . Pilgrim
Don't bother it was ``maven.runtime.classpath'' I really needed.

Ta
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::


_ 
From:   Pilgrim, Peter  
Sent:   12 September 2006 13:34
To: 'Maven Users List'
Subject:maven.compile.classpath and fellows

Hi

I am looking for POM property similar to maven.compile.classpath

that constructs the classpath and includes the dependency JAR
files?

USE-CASE: I have an EJB in a J2EE subproject which references an
interface in a parallel subject.
If I try building everything from the TOP project then WebSphere
EJB Deploy 
complains that it cant reflect the interface.



--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development
::


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[OT][ANN] JAVAWUG BOF 21 / 5th Sept 2006 @ 18:30 / SkillsMatter / Max Antoni / AJAX Objected Oriented Javascript

2006-09-01 Thread Peter . Pilgrim

Hi All

I would like remind you of the twentieth first birds-of-a-feather (BOF
21) of the Java Web Users Group, taking part at the Skillmatters
building, London, England
on Tuesday 5th September 2006

FYI:
http://www.jroller.com/page/javawug?entry=announcement_javabof_xxi_max_a
ntoni

The feature speakers:

Max Antoni, 
Java Web Freelancer Software Developer

How to write object oriented AJAX applications. 

Max Antoni is working at UBS as a freelancer. 
He is working on the front-end Java web development 
of an portal enterprise application. He will be
cover AJAX development and how to write object oriented
Javascript. 

In the last years Max have collected some best
practices 
and he has lot of experience about how object
orientation 
works in languages derived from ECMA Script, 
like todays Javascript implementations.

Max started working with browser based applications in
2004 
and soon came across the idea of writing his own 
Java based application server, suiting the needs of 
his own applications. This idea brought EvaServer to
life
(See http://www.maxantoni.de website is in German) 
and now he is working towards to release a version 1.0 
by the end of this year.

We are both working on the same development portal 
project at the prestiguous UBS Investment Bank and 
IMHO Max cooks really great AJAXified web user
interfaces.


For more information 
http://www.jroller.com/page/javawug?entry=announcement_javabof_xxi_max_a
ntoni

JAVAWUG Mailing List
http://groups.google.com/group/javawug

--
Peter Pilgrim
JUG Leader ( JAVAWUG
http://developers.sun.com/jugs/display/europe/gbr/london )

   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )  
   )_)(  )\  )_)( ((_)()\ ))\(()/(  
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_  
_ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
= 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: Use System Properties in Settings.xml?

2006-08-29 Thread Peter . Pilgrim

*DONE*  http://jira.codehaus.org/browse/MNG-2532

 -Original Message-
 From: Eric Redmond [mailto:[EMAIL PROTECTED] 
====
 
 Hm. That is a pickle. Since settings.xml profiles override 
 pom and profiles.xml profiles, then if you make it active by 
 default it will always win. But you only want to set the 
 property iff it is not already set. I'd say file an issue 
 under the Profiles component.
 
 http://jira.codehaus.org/browse/MNG
 
 Eric
 
 
 On 8/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 
  I forgot to mentioned I tried this XML fragment
 
   profile
 iduser-install-root/id
 activation
   property
 name!user.install.root/name
   /property
 /activation
 properties
   user.install.rootC:\\Program 
  Files\\IBM\\WebSphere\\AppServer/user.install.root
 /properties
   /profile
 
  But it did not work for me at all!
 
 
   -Original Message-
   From: Eric Redmond [mailto:[EMAIL PROTECTED]
   Sent: 23 August 2006 13:38
   To: Maven Users List
   Subject: Re: Use System Properties in Settings.xml?
  
   You create at profile in settings.xml that is active by 
 default, and 
   contains a properties element with the property you wish 
 to active.
  
  
====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[M2] Define System Property with maven-antrun-plugin

2006-08-24 Thread Peter . Pilgrim

Hi All

With the maven-antrun-plugin in Maven 2.0.4 is it possibly to 
define a system property. Instead of me doing this all the time.

mvn install -Duser.install.root=C:\Program
Files\IBM\WebSphere\AppServer

For more info on the context see my blog 
http://www.jroller.com/page/peter_pilgrim?entry=how_to_configure_xemacs_
http


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: Use System Properties in Settings.xml?

2006-08-24 Thread Peter . Pilgrim

I forgot to mentioned I tried this XML fragment

 profile
   iduser-install-root/id
   activation
 property
   name!user.install.root/name
 /property
   /activation
   properties
 user.install.rootC:\\Program
Files\\IBM\\WebSphere\\AppServer/user.install.root
   /properties
 /profile

But it did not work for me at all!


 -Original Message-
 From: Eric Redmond [mailto:[EMAIL PROTECTED] 
 Sent: 23 August 2006 13:38
 To: Maven Users List
 Subject: Re: Use System Properties in Settings.xml?
 
 You create at profile in settings.xml that is active by 
 default, and contains a properties element with the property 
 you wish to active.
 
 
 On 8/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
   -Original Message-
   From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED]
   Sent: 19 August 2006 08:51
   To: Maven Users List
   Subject: RE: Use System Properties in Settings.xml?
  
   As I had initially mentioned, this works for me, not sure about 
   adding ENV as a prefix to MAVEN_HOME.
  
  localRepository${MAVEN_HOME}/repository/localRepository
  
====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: Use System Properties in Settings.xml?

2006-08-23 Thread Peter . Pilgrim




 -Original Message-
 From: Sharma, Jaikumar [mailto:[EMAIL PROTECTED] 
 Sent: 19 August 2006 08:51
 To: Maven Users List
 Subject: RE: Use System Properties in Settings.xml?
 
 As I had initially mentioned, this works for me, not sure 
 about adding ENV as a prefix to MAVEN_HOME.
 
localRepository${MAVEN_HOME}/repository/localRepository
 
 -Original Message-
 From: Eric Redmond [mailto:[EMAIL PROTECTED]
====
 
 
 I believe you need to prefix environment variables with ENV, 
 so you may
 need ${ENV.MAVEN_HOME}.
 
 Eric

Hi

Instead of using a system property is there a way to 
define a system property by default in settings.xml ?


====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[OT][ANN] JAVAWUG BOF XX Videos Uploaded

2006-08-23 Thread Peter . Pilgrim
Hi

The JAVAWUG is happy to announce two new videos uploaded to Google Video
of the birds-of-a-feather meeting number 20. 

Petstore RIFE Edition by Emmanuel Okyere
http://video.google.com/videoplay?docid=37561501217859187q=JAVAWUG+BOF+
XX

Rearchitecting Legacy J2EE Applications with the Spring Framework by
Peter Pilgrim
http://video.google.com/videoplay?docid=-4427639624207114903q=JAVAWUG+B
OF+XX

Enjoy. Thanks

--
Peter Pilgrim
JUG Leader, Java Web User Group
http://jroller.com/page/javawug

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[OT][ANN] JAVAWUG BOF XXII / Sun London / 20 Sept 2006 @ 18:30 / featuring Jason van Zyl, Maven 2.0

2006-08-23 Thread Peter . Pilgrim
Hi

I would like to formally announce that ``JAVAWUG'' (Java Web User Group)

is holding the twenty second Birds-of-Feather XXII (Meet up number 22)
at the 
Sun's London Office on Wednesday, 20th September 2006 from 18:30.

For more information 
http://www.jroller.com/page/javawug?entry=announcement_javabof_xxii_jaso
n_van 

The confirmed speakers are:

Jason van Zyl - Architect  - Maven 2.0

Jason van Zyl presents the architecture and infrastructure
behind the declaration software construction framework called
``Maven''.

Jason van Zyl is the Chief Architect and co-founder of
``Mergere, Inc''. Jason co-founded Mergere to deliver an open
source-based build platform for dynamic, distributed,
enterprise-level Java(TM) projects requiring leading-edge
resource orchestration and build management. Jason has over 10
years of enterprise software development experience working
primarily for Fortune 500 companies. Jason is heavily involved
with open source: he is the lead in the development of several
open source projects including Plexus, Modello, and Continuum.


Afterwards members can retire to the nearby bar and restuarant (TBA) ...

The address is:

Sun Microsystems Ltd.
Customer Briefing Centre -- Cheapside Theatre
Regis House
45 King William Street
London
EC4R 9AN

Map (http://uk.sun.com/aboutsun/location/map-london-1.html)


If you would like to attend :

Please REGISTER so that you can be added to the Sun Security Detail.

Join the ``http://groups.google.com/group/javawug'' JAVAWUG at 
Google Groups and Send a mail to the list you are attending 

http://jroller.com/page/javawug

Thanks very much


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] Maven Antrun Multiple Executions [SOLVED]

2006-08-18 Thread Peter . Pilgrim



 -Original Message-
 From: Pilgrim, Peter 
 Sent: 17 August 2006 16:05
 To: 'Maven Users List'
 Subject: [m2] Maven Antrun Multiple Executions
 
 
 
 [0]  You cannot have two plugin executions with the same 
 (or missing) id/ elements.
 Offending execution
 
 Id: 'default'
 Plugin:'org.apache.maven.plugins:maven-antrun-plugin'
 
 
 How do I configure the id for each execution XML fragment?
 

SOLUTION

  build
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ejb-plugin/artifactId
configuration
   generateClienttrue/generateClient
   !-- ejbVersion2.1/ejbVersion --
   clientExcludes
  clientExclude**/ejbserver/*EJB.class/clientExclude
   /clientExcludes
   archive
  manifest
 addClasspathtrue/addClasspath
  /manifest
   /archive
/configuration
  /plugin
  
  
  plugin
artifactIdmaven-antrun-plugin/artifactId
executions


  execution
idNYE/id
phaseverify/phase
...
  /execution

  execution
idMBINI/id
phaseverify/phase
...
  /execution

  execution
idNTATHU/id
phaseverify/phase
...
  /execution

/executions
  /plugin

/plugins
  /build  

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[m2] Maven Antrun Multiple Executions

2006-08-17 Thread Peter . Pilgrim


[0]  You cannot have two plugin executions with the same (or
missing) id/
elements.
Offending execution

Id: 'default'
Plugin:'org.apache.maven.plugins:maven-antrun-plugin'


How do I configure the id for each execution XML fragment?


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: using javadoc overview and maven plugin

2006-08-16 Thread Peter . Pilgrim


 -Original Message-
 From: Robbie Minshall [mailto:[EMAIL PROTECTED] 
====
 
 I am calling the javadoc plugin from within a pom.xml file like so :
 
If you cant use a relative path. Have you tried a Maven POM 
properties

   build
 plugins
   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-javadoc-plugin/artifactId
 configuration
 
 overviewc:\\working\\tuscany07252006\\java\\samples\\sdo\\sr
 c\\main\\java\\overview.html/overview
 /configuration
/plugin
 /plugins
   /build
 
 I would like to specify a relative path to my project ( 
 i.esrc\\main\java\\overview.html ) for the overview page.  
 However, this does not seem to be working.


Something like this

overview${maven.compile.compileSourceDir}samples\\sdo\\sr
c\\main\\java\\overview.html/overview

BTW: I am just guessing the POM property name here. 

It might be better to rely on the base directory

${basedir}/src/main/java/overview.html

etc

 How should I correctly specify an overview page when calling 
 javadoc plugin from within a pom.xml ?

Good luck

====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [SOLVED] RE: [M2] Intercept the workings of EJB Plugins (was RE: [m2] ant run plugin )

2006-08-09 Thread Peter . Pilgrim


 -Original Message-
 From: Pilgrim, Peter 
====

 
 [install] The EJB plugin now executes agains and installs the EJB-JAR
 into the M2 repository.
 
 Job done.
 
 I will document this craziness on my blog 
 http://jroller.com/page/peter_pilgrim
 asap because this was too damn crazy.
 

Job done!
http://jroller.com/page/peter_pilgrim?entry=battling_with_maven_2_integr
ating


====
--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[OT][ANN] JAVAWUG BOF XXI / 5th Sept 2006 @ 18:30 / SkillsMatter

2006-08-09 Thread Peter . Pilgrim
Hi All

I would like announce the twentieth first birds-of-a-feather (BOF 21) of
the Java Web Users Group. The event will take place on Tuesday 5th
September
2006, starting from 18:30 at


Skills Matter Limited
1 Sekforde Street
LONDON EC1R 0BE
Map: mapPhone: 020 7107 2620
Fax: 020 7107 2621
Email: [EMAIL PROTECTED]
Web: http://skillsmatter.com/javawug


The feature speakers:

Max Antoni, 
Java Web Freelancer Software Developer

How to write object oriented AJAX applications. 

Max Antoni is working at UBS as a freelancer. 
He is working on the front-end Java web development 
of an portal enterprise application. 

(Actually Max and I work together for the same project at 
100 Liverpool Street. Max is actually heading back to 
Germany at the end of September, so I am grateful 
that he accepted my invitation to talk to usw)

In the last couple of years Max have collected some
best practices 
and he has lot of experience about how object
orientation 
works in languages derived from ECMA Script, 
like todays Javascript implementations.

He started working with browser based applications in
2004 
and soon came across the idea of writing his own 
Java based application server, suiting the needs of 
applications. This idea brought EvaServer to life
(See http://www.maxantoni.de website is in German) 
and now he is working towards to release a version 1.0 
by the end of this year.

During the two 1/2 years of developing Max gained 
valuable insight about browser internals and how best to

represent client states on the server side 
[similar but counterpoint to DWR],  which will also be 
part of the discussion/presentation.


Afterwards members can retire to the nearby the ``Crown''
pub/restaurant for more in depth discussion dinner, food and drink ...

If you would like to attend, please REGISTER so that you can be added to
the
SECURITY DETAIL ( http://skillsmatter.com/javawug ).

Join the http://groups.google.com/group/javawug JAVAWUG at Google Groups
and ``Send an Email to the list you are attending''

http://jroller.com/page/javawug

The venue has graciously been organised by Wendy Devolder of
Skillsmatter. 
We all appreciate this generous gift.

Thank you for your time.

--
Peter Pilgrim
Your Organiser / Founder   ( JAVAWUG
http://developers.sun.com/jugs/display/europe/gbr/london )

   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )  
   )_)(  )\  )_)( ((_)()\ ))\(()/(  
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
= 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[M2] Intercept the workings of EJB Plugins (was RE: [m2] ant run plugin )

2006-08-08 Thread Peter . Pilgrim

Hi 

I finally got M2 and Antrun Plugin and the WebSphere ant task
WsEjbDeploy
to work successfully.

I have a question on the M2 maven-ejb-Plugin. I would like to intercept
the EJB plugin after it creates the server side EJB JAR 
in the `target' directory, but before it installs the artifacts
in the maven repository.

In other words I would like my websphere antrun command to run
on this stage temporary jar and then let the maven-ejb-plugin
take over. 

1. maven-ejb-plugins creates the foo-ejb-1.0-SNAPSHOT.jar and
foo-ejb-1.0-SNAPSHOT client.jar
2. ant-run plugins runs wsejbdeploy
   2a) wsejbdeploy takes the foo-ejb-1.0-SNAPSHOT.jar 
   2b) wsejbdeploy outputs an foo-ejb-1.0-SNAPSHOT-TEMP.jar
   2c) simply ant script swaps around foo-ejb-1.0-SNAPSHOT.jar and
foo-ejb-1.0-SNAPSHOT-TEMP.jar 
3) maven-ejb-plugin is non-the-wiser installs the
foo-ejb-1.0-SNAPSHOT.jar into M2 repo.


Is this possible?

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Lee Meador
 Sent: 07 August 2006 21:24
 To: Maven Users List
 Subject: Re: [m2] ant run plugin
 
 maven.compile.classpath would give you the current classpath 
 for compile.
 Look here for a bit more info on related stuff:
 http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
 
 The top level of the xml is project not pom
 
 -- Lee
 
 On 8/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Lee Meador
   Sent: 07 August 2006 18:05
   To: Maven Users List
   Subject: Re: [m2] ant run plugin
  
   There is no official list of properties.
  
 
  Surely there must be certain commons properties.
 
  Let me be clear. I am looking for the current classpath for the POM 
  project build.
 
   One thing that helps is that things defined in the POM 
 can sometimes 
   be referenced as properties. For example 
 'project.build.finalName' 
   gives the value from the pom that is defined in:
  
   project
  build
  finalNamexyz/finalname
   /build
   /project
  
   (skipping all the other parts of the POM) Just put the 
 tags from the 
   top down with dots between.
  
   There is a tricky part to this though. The POM you are looking at 
   may have a parent pom from which it inherits values and all POMs 
   have an ultimate ancestor in the SUPER pom.
  
   If you give the command 'mvn help:effective-pom it will show you 
   the full resulting POM that results when all the inheritance and 
   such are considered.
   You can look at this pom to find the dot format that is used to 
   reference something in particular.
  
 
  So from this. I would be look for something like 
 ``pom.build.classpath'
  or
  ``pom.build.test-classpath'' ?
 
   -- Lee
 
 
  
   On 8/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   
   
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Lee Meador
 Sent: 07 August 2006 16:49
 To: Maven Users List
 Subject: Re: [m2] ant run plugin

 I do it like this. I create a websphere classpath and
   then use it in
 the taskdef This example, which I use, sets up 
 things for the 
 websphere end point enabler for use with web services.

 was.install.root is the folder where websphere is installed.
 In my case that is c:\Program
   Files\IBM\WebSphere\AppServer but it
 just serves to get me to the jars I need. I figures out
   the list by
 trial and error, adding jars when a class wasn't found.

   
   
I figured taskdef classpath out finally myself.
   
The next question I have is, where can I find the official
   list of Maven
2.0
POM Properties. This should really be listed in the PDF 
 Book BTW 
Better Build with Maven
   
Embedded error: Unable to parse setupCmdLine:
   null\bin\setupCmdLine.bat
(The sys
tem cannot find the path specified)
   
Ever seen this error above?
   
 path id=was.classpath
 fileset dir=${was.install.root}/lib
 include name=wsanttasks.jar /
 include name=webservices.jar /
 include name=j2ee.jar /
 include name=ffdc.jar /
 include name=wsdl4j.jar /
 include name=bootstrap.jar /
 include name=commons-logging-api.jar /
 include name=commons-discovery.jar /
 include name=ras.jar /
 include name=wsexception.jar /
 include name=emf.jar /
 include name=classloader.jar /
 include name=*.jar /
 /fileset
 fileset dir=${was.install.root}/java/jre/lib
 include name=xml.jar

[SOLVED] RE: [M2] Intercept the workings of EJB Plugins (was RE: [m2] ant run plugin )

2006-08-08 Thread Peter . Pilgrim
See intermixed

 -Original Message-
 From: Pilgrim, Peter 
====
 
 
 Hi 
 
 I finally got M2 and Antrun Plugin and the WebSphere ant task 
 WsEjbDeploy to work successfully.
 
 I have a question on the M2 maven-ejb-Plugin. I would like to 
 intercept the EJB plugin after it creates the server side EJB 
 JAR in the `target' directory, but before it installs the 
 artifacts in the maven repository.
 
 In other words I would like my websphere antrun command to 
 run on this stage temporary jar and then let the 
 maven-ejb-plugin take over. 


The SHORT ANSWER is the maven phase called 'verify' as documented 
in BBWM.


 
 1. maven-ejb-plugins creates the foo-ejb-1.0-SNAPSHOT.jar and 
 foo-ejb-1.0-SNAPSHOT client.jar 2. ant-run plugins runs wsejbdeploy
2a) wsejbdeploy takes the foo-ejb-1.0-SNAPSHOT.jar 
2b) wsejbdeploy outputs an foo-ejb-1.0-SNAPSHOT-TEMP.jar
2c) simply ant script swaps around 
 foo-ejb-1.0-SNAPSHOT.jar and foo-ejb-1.0-SNAPSHOT-TEMP.jar
 3) maven-ejb-plugin is non-the-wiser installs the 
 foo-ejb-1.0-SNAPSHOT.jar into M2 repo.
 
 
 Is this possible?

The LONG ANSWER is because Maven has phases, and the EJB plugin
is build to execute different procedures on lifecycle phases.

Running the command `mvn install' causes the M2 to execute following
phases in order

[compiler:compile] 
[resources:testResources]
[compiler:testCompile] 
[resources:testResources]
[surefire:test] unit test are run

and only then does the EJB plug-in kick-in (pun intended)

[ejb:ejb] builds the EJB-JAR as you would expected

Because the ant-run is set on the phase called verify, which
the phase before install, then it will run

[ant:run] This runs the ANT script and WsEjbDeploy and now I
can intercept and process the EJB-JARs.  The script swaps
the input JAR with the proceesed output JAR

[install] The EJB plugin now executes agains and installs the EJB-JAR
into the M2 repository.

Job done.

I will document this craziness on my blog
http://jroller.com/page/peter_pilgrim
asap because this was too damn crazy.

====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



m2 WebSphere EJB / EAR Build and Deployment

2006-08-07 Thread Peter . Pilgrim
Hi

I just want to ask has anybody used Maven 2 to build an EJB-JAR, an EAR
and successfully deploy them all to WebSphere Server 6.0.x?

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: m2 WebSphere EJB / EAR Build and Deployment

2006-08-07 Thread Peter . Pilgrim
Hi Marco

 -Original Message-
 From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
====
 
 hi peter,
  not sure if it can help
  a colleague of mine wrote an ant script for building EJB and 
 deploying them, but it was with ant and it was deployed on WAS 5.1.
 i think he used 'custom' ant task from IBM for websphere So, 
 if m2 can't help, you could be able to launch an ant task 
 from m2 sorry to say that i don't know where my colleague 
 script went (and he has left the company few months ago)
 

I am new to Websphere building. So it sounds like that WebSphere
makes it harder to deploy EJB without using the wizards and IDEs.
I am beginning to come to the same conclusion to launch
Ant from M2, except I am unsure the name of the ant task to call.

I am getting a dependency missing when I deploy a pure EAR
that was build from the maven-ejb-plugin and maven-ear-plugin.
I suspect that EAR and EJB-JAR requires a Websphere extensions
( e.g an ejb-jar-ext.xml and ejb-jar-bnd.xml meta file)

However if you ever find that script let me know

 hth
  marco
====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



[m2] ant run plugin

2006-08-07 Thread Peter . Pilgrim
Hi

property name=was6.home value=C:\Program
Files\IBM\WebSphere\AppServer /

taskdef name=wsejbdeploy
classname=com.ibm.websphere.ant.tasks.WsEjbDeploy /

I have a problem defining the ant run. I have copied the Ant tasks to
the 
ANT_1.6.5\lib directory, but Ant does not seem to know where the 
external ant task? How is M2 invoking Ant?

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] ant run plugin

2006-08-07 Thread Peter . Pilgrim

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Lee Meador
 Sent: 07 August 2006 16:49
 To: Maven Users List
 Subject: Re: [m2] ant run plugin
 
 I do it like this. I create a websphere classpath and then 
 use it in the taskdef This example, which I use, sets up 
 things for the websphere end point enabler for use with web services.

 was.install.root is the folder where websphere is installed. 
 In my case that is c:\Program Files\IBM\WebSphere\AppServer 
 but it just serves to get me to the jars I need. I figures 
 out the list by trial and error, adding jars when a class 
 wasn't found.



I figured taskdef classpath out finally myself.

The next question I have is, where can I find the official list of Maven
2.0
POM Properties. This should really be listed 
in the PDF Book BTW Better Build with Maven

Embedded error: Unable to parse setupCmdLine: null\bin\setupCmdLine.bat
(The sys
tem cannot find the path specified)

Ever seen this error above?

 path id=was.classpath
 fileset dir=${was.install.root}/lib
 include name=wsanttasks.jar /
 include name=webservices.jar /
 include name=j2ee.jar /
 include name=ffdc.jar /
 include name=wsdl4j.jar /
 include name=bootstrap.jar /
 include name=commons-logging-api.jar /
 include name=commons-discovery.jar /
 include name=ras.jar /
 include name=wsexception.jar /
 include name=emf.jar /
 include name=classloader.jar /
 include name=*.jar /
 /fileset
 fileset dir=${was.install.root}/java/jre/lib
 include name=xml.jar /
 /fileset
 /path
 
 taskdef name=EndpointEnablerTask classname=
 com.ibm.websphere.ant.tasks.endptEnabler
 classpath refid=was.classpath /
 /taskdef
 
 -- Lee
 
 On 8/7/06, Wayne Fay [EMAIL PROTECTED] wrote:
 
  Maven does not invoke Ant from Ant's installed directory. 
 Instead it 
  downloads the Ant libs to the Maven repo and uses them directly.
 
  You will need to install your WS lib in the Maven repo and 
 specify it 
  as a dep on the Ant plugin, so that Maven includes it 
 when running 
  your Ant commands.
 
  Wayne
 
  On 8/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   Hi
  
   property name=was6.home value=C:\Program 
   Files\IBM\WebSphere\AppServer /
  
   taskdef name=wsejbdeploy
   classname=com.ibm.websphere.ant.tasks.WsEjbDeploy /
  
   I have a problem defining the ant run. I have copied the 
 Ant tasks 
   to the ANT_1.6.5\lib directory, but Ant does not seem to 
 know where 
   the external ant task? How is M2 invoking Ant?
====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [m2] ant run plugin

2006-08-07 Thread Peter . Pilgrim


 -Original Message-
 From: Dion Gillard [mailto:[EMAIL PROTECTED] 
 Sent: 07 August 2006 17:28
 To: Maven Users List
 Subject: Re: [m2] ant run plugin
 
 On 8/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Lee Meador
   Sent: 07 August 2006 16:49
   To: Maven Users List
   Subject: Re: [m2] ant run plugin
  
   I do it like this. I create a websphere classpath and 
 then use it in 
   the taskdef This example, which I use, sets up things for the 
   websphere end point enabler for use with web services.
  
   was.install.root is the folder where websphere is installed.
   In my case that is c:\Program 
 Files\IBM\WebSphere\AppServer but it 
   just serves to get me to the jars I need. I figures out 
 the list by 
   trial and error, adding jars when a class wasn't found.
  
 
 
  I figured taskdef classpath out finally myself.
 
  The next question I have is, where can I find the official 
 list of Maven
  2.0
  POM Properties. This should really be listed
  in the PDF Book BTW Better Build with Maven
 
  Embedded error: Unable to parse setupCmdLine: 
 null\bin\setupCmdLine.bat
  (The sys
  tem cannot find the path specified)
 
  Ever seen this error above?
 
 Yes. Sometimes the was ant tasks *must* be run using ws_ant instead of
 just Ant, as ws_ant sets up the environment.



The solution I found on the
http://ecommunity.groupintelligence.com/websphere/forums/archive/index.p
hp/t-452.html
was there is a bug in the WAS Libraries themselves. Sheesh!!!

So I did this

% mvn install -Duser.install.root=C:\Program
Files\IBM\WebSphere\AppServer

to kick start the wsEjbDeploy. So finally I get some output. 

So I have choices:

1) Define a system property for M2 at the command line.
2) Find out if M2 can define property in the POM
3) How do you configure the mvn antrun plugin to run ws_ant instead of
normal ant?

 
 
   path id=was.classpath
   fileset dir=${was.install.root}/lib
   include name=wsanttasks.jar /
   include name=webservices.jar /
   include name=j2ee.jar /
   include name=ffdc.jar /
   include name=wsdl4j.jar /
   include name=bootstrap.jar /
   include name=commons-logging-api.jar /
   include name=commons-discovery.jar /
   include name=ras.jar /
   include name=wsexception.jar /
   include name=emf.jar /
   include name=classloader.jar /
   include name=*.jar /
   /fileset
   fileset dir=${was.install.root}/java/jre/lib
   include name=xml.jar /
   /fileset
   /path
  
   taskdef name=EndpointEnablerTask classname=
   com.ibm.websphere.ant.tasks.endptEnabler
   classpath refid=was.classpath /
   /taskdef
  
   -- Lee
  
   On 8/7/06, Wayne Fay [EMAIL PROTECTED] wrote:
   
Maven does not invoke Ant from Ant's installed directory.
   Instead it
downloads the Ant libs to the Maven repo and uses them directly.
   
You will need to install your WS lib in the Maven repo and
   specify it
as a dep on the Ant plugin, so that Maven includes it
   when running
your Ant commands.
   
Wayne
   
====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Enterprise Integration / Development ::
 

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



  1   2   >