mvn idea bundles "provided" libraries

2006-07-28 Thread Sanjiv Jivan

I have a web module in which the servlet API jar is declared with scope
"provided". When I generate an IDEA project file, "provided" scoped
libraries are also included as a library to be deployed by the web module.
"provided" modules should not be packaged by the web module. I'm using the
2.0 version of the idea plugin. Is there a way to exclude provided libraries
from being packaged but present during compile?

Thanks,
Sanjiv


Re: Newbie issues with maven castor plugin in Maven 1.0.2

2006-07-28 Thread Lukas Theussl
That's right. If you work out something nice, you might consider to file 
your patches at JIRA [1] so other people can look it up too; and maybe 
one day someone might even want to revive the plugin. Or, if you want to 
take over it's maintenance yourself, you are free to take the codebase 
and find another home for the plugin, eg at the sourceforge project [2].


Cheers,
-Lukas

[1] http://jira.codehaus.org/browse/MPCASTOR
[2] http://maven-plugins.sourceforge.net/


Karr, David wrote:

I see.  So since the the castor plugin for maven 1.x isn't supported
anymore, the only way I'm going to get it to use an alternate binding
file is for me to patch the plugin script myself (which I've already
done and tested, just to verify I could do it)? 




-Original Message-
From: Lukas Theussl [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 28, 2006 4:45 PM

To: Maven Users List
Subject: Re: Newbie issues with maven castor plugin in Maven 1.0.2

The mojo plugins are all for Maven 2, you cannot use them 
with Maven 1.x. The castor plugin for Maven 1.x has been 
deprecated [1], it is not supported by the Maven team anymore 
(but it should work still with Maven 1.0.2).


HTH,
-Lukas

[1] http://maven.apache.org/maven-1.x/plugins/castor/


Karr, David wrote:

I'm working on a project using Maven 1.0.2, and I'm not 


that familiar 

with how Maven works.  I'm trying to use the maven castor plugin to 
generate classes from an XSD, but I need to override the 


class binding 

to prevent duplicate classes.  I'm finding it a little hard to 
determine exactly what maven castor plugin I'm using, and 


what I should be using.

When I first googled for info about this, it looked like the plugin 
had a "binding" or "bindingfile" attribute that specified 


the path to 

a specific binding file to use.  I found that whatever I set for 
either of those properties was being ignored.


After turning on maven debug, I discovered that I'm using the 
"maven-castor-plugin-1.2", and the plugin.jelly file shows 


that this 

plugin is quite different from what I found by googling.  I 


found info 

on the "mojo" site about the maven castor plugin, and this has the 
"bindingfile" attribute, which I assume will do what I want.


So, now I have some questions:

1. Can I, and should I, use the maven castor plugin I found on mojo 
instead of what I have right now?
2. If I should use the mojo plugin, how exactly do I get 


it?  I can't 

find anyplace on the mojo site to download it?  Is that not the 
process for installing it?


I've been asking about this on the castor and mojo mailing 


lists, but 


I haven't seen much response.




-


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




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





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




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



RE: Newbie issues with maven castor plugin in Maven 1.0.2

2006-07-28 Thread Karr, David
I see.  So since the the castor plugin for maven 1.x isn't supported
anymore, the only way I'm going to get it to use an alternate binding
file is for me to patch the plugin script myself (which I've already
done and tested, just to verify I could do it)? 

> -Original Message-
> From: Lukas Theussl [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 28, 2006 4:45 PM
> To: Maven Users List
> Subject: Re: Newbie issues with maven castor plugin in Maven 1.0.2
> 
> The mojo plugins are all for Maven 2, you cannot use them 
> with Maven 1.x. The castor plugin for Maven 1.x has been 
> deprecated [1], it is not supported by the Maven team anymore 
> (but it should work still with Maven 1.0.2).
> 
> HTH,
> -Lukas
> 
> [1] http://maven.apache.org/maven-1.x/plugins/castor/
> 
> 
> Karr, David wrote:
> > I'm working on a project using Maven 1.0.2, and I'm not 
> that familiar 
> > with how Maven works.  I'm trying to use the maven castor plugin to 
> > generate classes from an XSD, but I need to override the 
> class binding 
> > to prevent duplicate classes.  I'm finding it a little hard to 
> > determine exactly what maven castor plugin I'm using, and 
> what I should be using.
> > When I first googled for info about this, it looked like the plugin 
> > had a "binding" or "bindingfile" attribute that specified 
> the path to 
> > a specific binding file to use.  I found that whatever I set for 
> > either of those properties was being ignored.
> > 
> > After turning on maven debug, I discovered that I'm using the 
> > "maven-castor-plugin-1.2", and the plugin.jelly file shows 
> that this 
> > plugin is quite different from what I found by googling.  I 
> found info 
> > on the "mojo" site about the maven castor plugin, and this has the 
> > "bindingfile" attribute, which I assume will do what I want.
> > 
> > So, now I have some questions:
> > 
> > 1. Can I, and should I, use the maven castor plugin I found on mojo 
> > instead of what I have right now?
> > 2. If I should use the mojo plugin, how exactly do I get 
> it?  I can't 
> > find anyplace on the mojo site to download it?  Is that not the 
> > process for installing it?
> > 
> > I've been asking about this on the castor and mojo mailing 
> lists, but 
> > I haven't seen much response.
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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



Re: Cargo Plugin

2006-07-28 Thread Alex Turner

Thanks for the pointer - the documentation isn't the easiest to follow, but
I figured it out.

Alex

On 7/29/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:


On 7/28/06, Alex Turner <[EMAIL PROTECTED]> wrote:
> I'm trying to find some good documentation on the cargo plugin, but I'm
> obviously having a brain dead moment.  Any chance someone out there
could
> point me in the right direction.

http://cargo.codehaus.org/Maven2+plugin

> If you are wondering what I am trying to do, I am wishing to deploy my
web
> application to tomcat 5.5.12 in an exploded fasion and have the app
reload.

I'm fairly sure this use case has been discussed recently either on
the Cargo user list, or here.  If it's not one of the examples in the
docs, check the archives for posts by Vincent Massol.

HTH,
--
Wendy

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




Re: Cleaning a Directory After Tests

2006-07-28 Thread Wendy Smoak

On 7/27/06, Ole Ersoy <[EMAIL PROTECTED]> wrote:


My tests create a directory in the root of the
project.


Does it have to?  If you put it under target then it will naturally
get cleaned up with 'mvn clean'.


Does anyone know of a plugin that will clean a
specified directory?

Something similar to doing this in ant:



You can always bind an execution of antrun and do the delete, but I'd
suggest changing the tests if possible.  Surefire sets some system
properties before running the tests, you can use those (or pass in
your own) in order to get the path you need to create the directory.

--
Wendy

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



Re: Cargo Plugin

2006-07-28 Thread Wendy Smoak

On 7/28/06, Alex Turner <[EMAIL PROTECTED]> wrote:

I'm trying to find some good documentation on the cargo plugin, but I'm
obviously having a brain dead moment.  Any chance someone out there could
point me in the right direction.


http://cargo.codehaus.org/Maven2+plugin


If you are wondering what I am trying to do, I am wishing to deploy my web
application to tomcat 5.5.12 in an exploded fasion and have the app reload.


I'm fairly sure this use case has been discussed recently either on
the Cargo user list, or here.  If it's not one of the examples in the
docs, check the archives for posts by Vincent Massol.

HTH,
--
Wendy

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



pom reference could use better indenting

2006-07-28 Thread cbrevard

Could someone who is a regular contributor to the m2 project (ie someone who
can create new tickets/issues in the Jira db) please request that the POM
reference at
  http://maven.apache.org/ref/current/maven-model/maven.html

be better indented? The xml takes up a fifth of the possible column width
and is essentially illegible from a structural standpoint.

Yeah, I could copy, paste and reformat it locally, but that defeats the
point of online documentation.
-- 
View this message in context: 
http://www.nabble.com/pom-reference-could-use-better-indenting-tf2018336.html#a5549655
Sent from the Maven - Users forum at Nabble.com.


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



RE: Packaging EE applications (Real problem!!!!)

2006-07-28 Thread Mike Perham
No. 

-Original Message-
From: German de la Cruz [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 28, 2006 6:09 PM
To: Maven Users List
Subject: Packaging EE applications (Real problem)

Is there a better solution???

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



Re: [m1.1] artifactId or id?

2006-07-28 Thread Lukas Theussl
Where did you read that in maven 1.1  is used instead of 
? It should be just the other way round, we have replaced 
 by the combination . However, there are 
probably still some inconsistencies (see eg [1]), so it would be good to 
know where you ran into problems with this?


Cheers,
-Lukas

[1] http://jira.codehaus.org/browse/MAVEN-1704


Daniel Beland wrote:

Hi,


in maven 1.0.2, when I install or deploy an artifact, it is put in the
 directory under s and the artifact is named
.

Now in maven 1.1, the artifact is named  instead of . I was
not using this tag previously I think Mevenide defaults it to
: so obviously it causes problems because it is not
named as before and it is not deployed at all (I think the colon is not
supported in the file name).


On the web site it says this:
id  The short name of the project. This value is used when naming
jarsand
distribution
files .
groupId The short name of the project group. This value is used to
group all jars
for a project in one directory. For more info look at the user
guide.
 artifactId  The short name of the project. This value is used in
conjunction with groupId when naming
jarsand
distribution
files .

I don't mind updating all my project files, I just want to make sure it is
the expected behaviour from now on before I do it?


Thanks,
Daniel



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



Re: Newbie issues with maven castor plugin in Maven 1.0.2

2006-07-28 Thread Lukas Theussl
The mojo plugins are all for Maven 2, you cannot use them with Maven 
1.x. The castor plugin for Maven 1.x has been deprecated [1], it is not 
supported by the Maven team anymore (but it should work still with Maven 
1.0.2).


HTH,
-Lukas

[1] http://maven.apache.org/maven-1.x/plugins/castor/


Karr, David wrote:

I'm working on a project using Maven 1.0.2, and I'm not that familiar
with how Maven works.  I'm trying to use the maven castor plugin to
generate classes from an XSD, but I need to override the class binding
to prevent duplicate classes.  I'm finding it a little hard to determine
exactly what maven castor plugin I'm using, and what I should be using.
When I first googled for info about this, it looked like the plugin had
a "binding" or "bindingfile" attribute that specified the path to a
specific binding file to use.  I found that whatever I set for either of
those properties was being ignored.

After turning on maven debug, I discovered that I'm using the
"maven-castor-plugin-1.2", and the plugin.jelly file shows that this
plugin is quite different from what I found by googling.  I found info
on the "mojo" site about the maven castor plugin, and this has the
"bindingfile" attribute, which I assume will do what I want.

So, now I have some questions:

1. Can I, and should I, use the maven castor plugin I found on mojo
instead of what I have right now?
2. If I should use the mojo plugin, how exactly do I get it?  I can't
find anyplace on the mojo site to download it?  Is that not the process
for installing it?

I've been asking about this on the castor and mojo mailing lists, but I
haven't seen much response.

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



Cargo Plugin

2006-07-28 Thread Alex Turner

I'm trying to find some good documentation on the cargo plugin, but I'm
obviously having a brain dead moment.  Any chance someone out there could
point me in the right direction.

If you are wondering what I am trying to do, I am wishing to deploy my web
application to tomcat 5.5.12 in an exploded fasion and have the app reload.

Thanks,

Alex.


Packaging EE applications (Real problem!!!!)

2006-07-28 Thread German de la Cruz

Hi!

I'm trying to make a real world ear. I've 2 wars with lot of 
dependencies. Some of them are shared. What I'm trying to do is not to 
include the libraries in my wars (I've resolved it by adding the 
addClasspath clause in my manifest configuration) but include them in 
the ear.


There is some information about this there...

   http://jira.codehaus.org/browse/MWAR-21
   http://jira.codehaus.org/browse/MWAR-9
   http://jira.codehaus.org/browse/MEAR-17


As a workaround, I've copied all the wars dependencies into the ear 
pom.xml, but, I know, It's horrible! :)


Is there a better solution???

Thanks!

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



Re: Success Messages For Recent Contributors Only

2006-07-28 Thread Jesse McConnell

nope, it doesn't allow for that as far as I know, however that would
be a nice feature so if you would so good as to enter that as a
feature request at

http://jira.codehaus.org/browse/CONTINUUM

that would be great

cheers!
jesse

On 7/28/06, Daun DeFrance <[EMAIL PROTECTED]> wrote:

Hi all,

My apologies if this has been answered before.  I was wondering if there
was a way to configure continuum to send success messages after every
build to only those contributors who had checked in code since the last
build.  Continuum provides the ability to see which files where modified
as part of that build, can we then draw the next connection to the
contributor submitting the files and them email them even on a
successful build?  I don't want to spam the whole team continuously for
successful builds but would like to let those who contributed code that
the "official" build is good, so they don't have to check the web
interface.



Thanks and Best,

Daun DeFrance






--
jesse mcconnell
[EMAIL PROTECTED]


How to pass -P profileName to continumm

2006-07-28 Thread Gautham Pamu

Hi Everyone,

I am using Continuum 1.0.3 and Maven 2.0.4 version. I have a profile defined
in the parent pom file. I want to pass the -P profileName
to maven command during the build. I have added it to Argument on Project
configuration on continuum, but it is not pickup the command. Could you
tell me how I should pass this information. I am also posting this questions
on maven user group as users on maven might have
an answer for it.

Thanks
-Gautham Pamu


RE: maven-surefire-plugin - turn off for "test", turn on for"integration-test"?

2006-07-28 Thread Chris Wall
I sure will.  Thanks Wendy.

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: July 27, 2006 8:16 PM
To: Maven Users List
Subject: Re: maven-surefire-plugin - turn off for "test", turn on
for"integration-test"?

On 7/27/06, Chris Wall <[EMAIL PROTECTED]> wrote:
> Goodness me.
>
> This...
...
> Works!
>
> Thanks everyone!

Would you consider writing up what you've discovered for the wiki?
Here's an 'Examples' page where it might fit:
http://docs.codehaus.org/display/MAVENUSER/Examples

(If by chance you don't have permission to edit, ask on [EMAIL PROTECTED])

Thanks,
-- 
Wendy

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

___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

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



Newbie issues with maven castor plugin in Maven 1.0.2

2006-07-28 Thread Karr, David
I'm working on a project using Maven 1.0.2, and I'm not that familiar
with how Maven works.  I'm trying to use the maven castor plugin to
generate classes from an XSD, but I need to override the class binding
to prevent duplicate classes.  I'm finding it a little hard to determine
exactly what maven castor plugin I'm using, and what I should be using.
When I first googled for info about this, it looked like the plugin had
a "binding" or "bindingfile" attribute that specified the path to a
specific binding file to use.  I found that whatever I set for either of
those properties was being ignored.

After turning on maven debug, I discovered that I'm using the
"maven-castor-plugin-1.2", and the plugin.jelly file shows that this
plugin is quite different from what I found by googling.  I found info
on the "mojo" site about the maven castor plugin, and this has the
"bindingfile" attribute, which I assume will do what I want.

So, now I have some questions:

1. Can I, and should I, use the maven castor plugin I found on mojo
instead of what I have right now?
2. If I should use the mojo plugin, how exactly do I get it?  I can't
find anyplace on the mojo site to download it?  Is that not the process
for installing it?

I've been asking about this on the castor and mojo mailing lists, but I
haven't seen much response.

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



Re: Maven and dependency on central servers

2006-07-28 Thread Graham Leggett

Ulrich Hobelmann wrote:

Could I simply tar up the .m2 directory, or is there anything in it 
that's host-specific?  (so a new machine could simply copy the .m2 and 
start building; especially for a portable machine I'd hate to be missing 
a dependency...).


I've moved around copies of .m2 and .maven from machine to machine with 
no problems, mainly to save a team of developers having to download 
dependencies to each developer's machines.


Regards,
Graham
--


smime.p7s
Description: S/MIME Cryptographic Signature


How to I unsubscribe?

2006-07-28 Thread Frank Russo
I've a message 5 different times to the unsubscribe email address, but
it won't remove me. I've gotten no confirmation at all.
 
Thanks...


Success Messages For Recent Contributors Only

2006-07-28 Thread Daun DeFrance
Hi all,

My apologies if this has been answered before.  I was wondering if there
was a way to configure continuum to send success messages after every
build to only those contributors who had checked in code since the last
build.  Continuum provides the ability to see which files where modified
as part of that build, can we then draw the next connection to the
contributor submitting the files and them email them even on a
successful build?  I don't want to spam the whole team continuously for
successful builds but would like to let those who contributed code that
the "official" build is good, so they don't have to check the web
interface.

 

Thanks and Best,

Daun DeFrance



[ANN] Maven NSIS Plugin 2.0 for Maven 1.x released

2006-07-28 Thread Lukas Theussl
We are pleased to announce the Maven NSIS Plugin 2.0 release! 

http://maven.apache.org/maven-1.x/plugins/nsis/

A plugin to generate Win32 installer programs using NSIS 

===

Changes in this version include:

  New Features:

o Add faq Thanks to Geoffrey. 

  Fixed bugs:

o Use maven.nsis.build.dir instead of maven.dist.assembly.dir. Fixes 
  MPNSIS-9. Thanks to Matthias Kerkhoff. 
o Fail when makensis fails. Fixes MPNSIS-8. Thanks to Matthias Kerkhoff. 
o Check maven.nsis.exe exists before using it. Thanks to Geoffrey. 

  Changes:

o Rename ORGANIZATIONconstant to PROJECT_ORGANIZATION. 
o Add back license to project.xml after the scm plugin removed it.  

===


To automatically install the plugin, type the following on a single line:

maven plugin:download
  
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
  -DgroupId=maven
  -DartifactId=maven-nsis-plugin
  -Dversion=2.0

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-nsis-plugin-2.0.jar
 

Have fun!
-The Maven NSIS Plugin development team

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



[ANN] Maven FAQ Plugin 1.6.1 for Maven 1.x released

2006-07-28 Thread Lukas Theussl
We are pleased to announce the Maven FAQ Plugin 1.6.1 release! 

http://maven.apache.org/maven-1.x/plugins/faq/

Creates XDoc documentation from an FAQ XML document. 

===

Changes in this version include:

  Fixed bugs:

o Make it work with upgraded dependencies for Maven-1.1-beta-3. Fixes 
  MPFAQ-20.  

===


To automatically install the plugin, type the following on a single line:

maven plugin:download
  
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
  -DgroupId=maven
  -DartifactId=maven-faq-plugin
  -Dversion=1.6.1

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-faq-plugin-1.6.1.jar
 

Have fun!
-The Maven FAQ Plugin development team

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



[ANN] Maven Cruise Control Plugin 1.8 for Maven 1.x released

2006-07-28 Thread Lukas Theussl
We are pleased to announce the Maven Cruise Control Plugin 1.8 release! 

http://maven.apache.org/maven-1.x/plugins/cruisecontrol/

A plugin to work with Cruise Control. Plugin can generate a Cruise Control 
configuration from the POM, start the CruiseControl server, and when included 
as a report provide a link to the build results. 

===

Changes in this version include:

  Fixed bugs:

o Replace deprecated , 
  and 
  by 
  and 
  . Fixes MPCRUISECONTROL-32. 
o Add missing documentation for several properties. Fixes MPCRUISECONTROL-30. 
o Default for maven.cruisecontrol.logs.mergedirectoryis incorrect on the 
  Properties page. Fixes MPCRUISECONTROL-29. 
o Property maven.cruisecontrol.goalscontains deprecated scm:update-project. 
  Fixes MPCRUISECONTROL-33. 
o Properties documentation lists incorrect default for 
  maven.cruisecontrol.buildresults.url Fixes MPCRUISECONTROL-25. 

  Changes:

o Deprecate the cruisecontrol:run goal. It doesn't work with recent versions 
  of cruisecontrol. 
o Update dependencies to match ones in maven 1.1 core and to unify them 
  between plugins. The following dependency is updated : 
  commons-jelly-tags-xml v1.1 (was v1.0). Fixes MAVEN-1712.  

===


To automatically install the plugin, type the following on a single line:

maven plugin:download
  
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
  -DgroupId=maven
  -DartifactId=maven-cruisecontrol-plugin
  -Dversion=1.8

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-cruisecontrol-plugin-1.8.jar
 

Have fun!
-The Maven Cruise Control Plugin development team

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



[ANN] Maven Antlr Plugin 1.2.2 for Maven 1.x released

2006-07-28 Thread Lukas Theussl
We are pleased to announce the Maven Antlr Plugin 1.2.2 release! 

http://maven.apache.org/maven-1.x/plugins/antlr/


===

Changes in this version include:

  Changes:

o Update to ANTLR 2.7.6. Fixes MPANTLR-8.  

===


To automatically install the plugin, type the following on a single line:

maven plugin:download
  
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
  -DgroupId=maven
  -DartifactId=maven-antlr-plugin
  -Dversion=1.2.2

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-antlr-plugin-1.2.2.jar
 

Have fun!
-The Maven Antlr Plugin development team

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



Re: [M1] Using FTP in Maven 1.1... the answer....

2006-07-28 Thread Jamie Bisotti

On 7/19/06, Benoit Xhenseval <[EMAIL PROTECTED]> wrote:


Don't you love when the person who sends the question comes up with the
answer... as if the process of asking the question triggers some brain
activity...

You need to add more dependencies in your project.xml for Maven 1.1

netcomponents
NetComponents
1.3.8a

root



ant
ant-commons-net
1.6.5

root



commons-net
commons-net
1.4.1

root



  


  

  


  
Benoit



FYI...Commons-net should be a drop-in replacement for NetComponents; you
shouldn't need both.  Though the original post is not included, so maybe you
already addressed that.

--
Jamie Bisotti


Re: Perforce-continuum related issues

2006-07-28 Thread Emmanuel Venisse



Prashanth Krishnamurthy a écrit :
Couple Questions - 


1. when we do a build in continuum, what perforce
commands is it executing ? Which file has this
configuration ? ( using perforce-->maven->continuum ).

2. IN continuum, why don’t the children projects get
built when you build the parent project? 



By default, mvn run with -N parameter (non recursive). If you want to build sub-modules in the same 
build of the parent, you can remove this parameter in the build definition in continuum.


Emmanuel



Re: generate classpath

2006-07-28 Thread Trygve Laugstøl

Philippe Faes wrote:

Dear all,

I have a maven2 project that depends on many other projects. Obviously
when I run "mvn compile" all needed jars are downloaded into the local
repo. Now I want to run my project from the command line (without
maven), but I'm not sure which CLASSPATH to use. 


Can maven generate a CLASSPATH for me?


You might want to look at the appassembler for a plugin that can 
generate wrapper scripts.


You will have to build and install it yourself but it is useful.

[1]: 
http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/appassembler-maven-plugin/


--
Trygve

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



RE: Perforce-continuum related issues

2006-07-28 Thread Mike Perham
Use the -X to enable Maven debugging.  The p4 commands are emitted
before they are executed. 

-Original Message-
From: Prashanth Krishnamurthy [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 28, 2006 12:22 PM
To: continuum-users@maven.apache.org
Subject: Perforce-continuum related issues

Couple Questions - 

1. when we do a build in continuum, what perforce
commands is it executing ? Which file has this
configuration ? ( using perforce-->maven->continuum ).

2. IN continuum, why don't the children projects get
built when you build the parent project? 

thanks
--Prashanth

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Utility to create upload bundles

2006-07-28 Thread Ceki Gülcü

At 07:26 AM 7/22/2006, Tim Kettler wrote:
Will see that I find a home for it. But this will probably take abaout a 
week or two.


Ivo Limmen schrieb:

Sounds like a very usefull tool. I recently had the same problem, this would
have been a great help.
On 7/20/06, Tim Kettler <[EMAIL PROTECTED]> wrote:


Hi,

I recently had to add a bunch of 3d-party artifacts to our repository and
creating the
poms with all the transitive dependencies by hand was a major pain in the
a**. So I sat
down and wrote a little tool that takes a couple of jars as its input,
analyzes the
dependencies, generates the poms and writes upload bundles for each
artifact. It has a
rudimentary GUI that allows basic editing of the generated information for
the poms.

The tool is currently not very polished and has much room for improvements
but it is
useful and works for me. If there is interest in the community I will look
for a place
where I can make the tool available to the public.

-Tim

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


--
Ceki Gülcü
http://ceki.blogspot.com/


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



Perforce-continuum related issues

2006-07-28 Thread Prashanth Krishnamurthy
Couple Questions - 

1. when we do a build in continuum, what perforce
commands is it executing ? Which file has this
configuration ? ( using perforce-->maven->continuum ).

2. IN continuum, why don’t the children projects get
built when you build the parent project? 

thanks
--Prashanth

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: M2 Problems using wagon-ssh and scp site:deploy, but eventual success

2006-07-28 Thread Mykel Alvis

That's why, at the end of my [extremely long] post, I put in the
instructions for how to do it.


On 7/28/06, Jörg Schaible <[EMAIL PROTECTED]> wrote:


> 664
> 
>
> The .ppk file indicated is the same one I was supplying to
> pageant to allow
> my caveman brain to not have to remember the passwords for
> the remote hosts.

Note, that PuTTY's keys have an own format. You must export the key in the
proper format (can be done with the same tool you are creating the PuTTY key
- just can't remember the name).

[snip]




This being what got [snipped]...


2. The key file I produced using puttygen (version 0.58 in my case) is
incompatible with the ssh wagon.  This one was nagging me, like when the elk
manages to escape even though you have stalked it for many hours.

I remembered an Export function in puttygen.  I started puttygen and
looked for that function.  "Export" looked like a promising menu choice.  As
did "OpenSSH key" under "Export".
It turns out that if one loads the private key back into puttygen in and
"Exports"->"OpenSSH keyfile" (with a different name of course like
sourceforge-Shell-openssh.ppk), then points the privateKey field to the
NEW keyfile, and supplies the  for that new keyfile, it works
flawlessly.  It's all a question of format of the putty keyfile.  This may
be documented somewhere, but like a lot of the maven documentation, it's
probably in the one place that caveman programmers would never look.  Like
near the SOAP calls. :)

My NEW settings.xml has this server def:


site-id
myusername
 c:/putty/sourceforge- Shell-openssh.ppk

keyfilepassphrase
775
664


I only use that privateKey for doing maven deployments.  The other key (in
the putty format) is the one I load into Pageant to allow me to ssh to
remote hosts without unencrypted authentication across the wire.




Re: Problems with JSTL

2006-07-28 Thread Alex Turner

Doh - figured out the problem,  was missing taglibs.standard, heh.

Alex

On 7/28/06, Alex Turner <[EMAIL PROTECTED]> wrote:


I'm trying to include the right dependencies for JSTL.  The problem I'm
having is that javax.servlet.jstl is not matching with taglibs.c...
taglibs.c uses the apache impl, and javax seems to use the sun impl.  Is
there a way to match this stuff up so that it works right?

Sorry for the newbness of this question, but I'm really trying to get
maven going for my projects.  So far I really like it.

Thanks,

Alex



Re: M2 Problems using wagon-ssh and scp site:deploy, but eventual success

2006-07-28 Thread Mykel Alvis

The documentation claims that but it doesn't seem to work for me.

Using

  - 0.58 Putty
  - the putty directory in my PATH
  - running pageant with my key installed
  - keyfile has the passphrase of 'mykeyfilepassphrase'

My server.xml
   
   sourceforge
   myusername
   
   plink
   pscp
   
   mykeyfilepassphrase
   775
   664
   

My pom.xml contains:
   
   sourceforge
   Sourceforge Site
   
   scp://shell.sourceforge.net/home/groups/r/rp/rpgee/htdocs/
   
   


I invoke site:deploy and it starts and asks me for my sourceforge password.
C:\workspace\rpgee-core>mvn site:deploy
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO]

[INFO] Building rpgEE Core
[INFO]task-segment: [site:deploy]
[INFO]

[INFO] [site:deploy]
Password for [EMAIL PROTECTED]:

The site deployment waits at the prompt for me to type in my password.
It does not seem to invoke the configured external programs at all.
It could be the version wagon I'm using (2.0-beta-1), but I can't seem
to get it to work with the previous releases either.






On 7/28/06, Simon Kepp Nielsen <[EMAIL PROTECTED]> wrote:


Hi Mykel,

You can set up Maven to use putty as your ssh client. Then you can use you
putty keys and pageant.

You do this by adding the following to your server configuration in
settings.xml:

   
 server-id
 username
 
plink
pscp
 
   

You can find more documentation in "Guide to deploying with an external
SSH command", which can usually be found from
http://maven.apache.org/guides/index.html. However, that link seems to be
broken at the moment :-(

Best regards

Simon Kepp Nielsen, Configurations Manager
PFA Pension, Teknisk Arkitektur
Mobile: +45 30 52 77 07
E-mail: [EMAIL PROTECTED]


PFA Pension
Sundkrogsgade 4
DK-2100 Copenhagen OE

Disclaimer
This message is for the designated recipient only and may contain
confidential or privileged information. If you have received the message in
error, please notify the sender by replying the e-mail and delete the
message without copying or disclosing.

-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af
Mykel Alvis
Sendt: 28. juli 2006 08:02
Til: Maven Users List
Emne: M2 Problems using wagon-ssh and scp site:deploy, but eventual
success

I'm just a caveman programmer, and my attempts to use the wagon-ssh
extension were failing under strange circumstances.  Come close around the
fire while I tell the story of what I call "The Demon of Attempting To
Deploy Using SSH Under Windows".

It all started yesterday.
{cue the Scooby Doo wavy lines, and/or the Mr. Peabody and Sherman
noises...}

I had the latest update of the maven eclipse plugin as well as maven
2.0.4installed on the machine that I ran these scenarios with.  The
username on the Windows box I was using is "Mykel".  I had already supplied
the receiving host with my public key, which I generated using putty-0.58


In my pom.xml :



org.apache.maven.wagon
wagon-ssh
1.0-beta-1





site-id
Sourceforge Site

scp://shell.sourceforge.net/home/groups/r/rp/rpgee/htdocs/




In my settings.xml :

site-id
myusername
 c:/putty/sourceforge-Shell.ppk
passphrase
775
664


The .ppk file indicated is the same one I was supplying to pageant to
allow my caveman brain to not have to remember the passwords for the remote
hosts.

I had decided that I was simply not going to be able to invoke the
site:deploy command from inside the maven2 eclipse plugin.  It has never
worked on either windows or linux.  I like the eclipse plugin quite a lot,
but I can't ever seem to get it to invoke a deployment successfully.

I eventually accepted the "fact" that pageant was NOT going to
authenticate me via maven, and in doing so I said "yes" when asked if I
wanted to trust the remote box.  It added shell.sourceforge.net to
known_hosts inside c:\documents and settings\Mykel\.ssh\known_hosts (which
had to be created from the command line since XP didn't want to let me name
a directory ".ssh").
Note  that I BELIEVE putty puts its known_hosts in c:\documents and
settings\Mykel\ssh\known_hosts (ssh with no leading period)  I already had
that directory with a known_hosts file in it.  I'm not saying the maven
plugin is wrong.  I'm just a caveman programmer and it seems like it isn't
doing what I believe putty does.  Under windows, putty isn't the ONLY ssh
client.  Just the one used by caveman programmers.

But I digress...

The site d

[ANN] Archy - a simple frontend to archetypes

2006-07-28 Thread Don Brown

In a fit of frustration trying to find a list of Maven archetypes, I
threw together a little command-line frontend to Maven's archetypes
that makes using them easier.

Archy is a simple, command-line frontend to Maven 2's archetypes. It
walks you through the process of creating a new project using these
project templates. This tool was inspired by megg [1].

The list of archetypes comes from two sources:

   * An internal XML file that describes the archetype information
   * An external Maven wiki page [2] that lists available archetypes

I hope someone else finds it useful, and for the love of pete, please
help fill out the list of archetypes in the Maven wiki [2].  Thanks :)

Archy home page: https://www.twdata.org/projects/archy

Don

[1] http://javanicus.com/megg/
[2] http://docs.codehaus.org/display/MAVENUSER/Archetypes+List

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



Re: Maven 2.0 and Groovy

2006-07-28 Thread Denis Cabasson

Have a look there:
http://mojo.codehaus.org/groovy-maven-plugin/


Peter.Pilgrim wrote:
> 
> 
> Hi 
> 
> I believe that Groovy the scripting language can be use to call Ant
> tasks.
> If I understand this correctly. You don't run Ant to build a project,
> but
> you run a Groovy script and it does the building for you.
> 
> Is their a similar functionality for Maven 2.0?
> 
> Or has anybody starting work with M2 and Groovy yet?
> If so what is the use-case for this requirement?
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-2.0-and-Groovy-tf2016066.html#a5542721
Sent from the Maven - Users forum at Nabble.com.


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



Vincent CHAUVEAU/BPSS/FR/EUROPE/GROUP est absent.

2006-07-28 Thread vincent . chauveau
Je serai absent(e) du  28/07/2006 au 14/08/2006.

For any problem send a mail to PARIS BP2S GRP IST
or PARIS BP2S GRP IST SUPPORT for environment support purpose


This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


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



Problems with JSTL

2006-07-28 Thread Alex Turner

I'm trying to include the right dependencies for JSTL.  The problem I'm
having is that javax.servlet.jstl is not matching with taglibs.c...
taglibs.c uses the apache impl, and javax seems to use the sun impl.  Is
there a way to match this stuff up so that it works right?

Sorry for the newbness of this question, but I'm really trying to get maven
going for my projects.  So far I really like it.

Thanks,

Alex


Re: JBoss EJB Deploy issue with Maven META-INF

2006-07-28 Thread Wayne Fay

http://jira.codehaus.org/browse/MOJO-377

Wayne

On 7/28/06, Tommy1 <[EMAIL PROTECTED]> wrote:


Hello,
I am new to Maven and have ran into this issue under JBoss.

I have created an EJB jar that when I look at it in WinZip has the
following:
...
class files
...
meta-inf/Manifest.mf
meta-inf/ejb-jar.xml
meta-inf/jboss.xml
META-INF/maven/.../pom.properties
META-INF/maven/.../pom.xml

The problem I ran into is that when deployed in JBoss the "meta-inf" files
are not being found, only the "META-INF" files. This causes the JARDeployer
to be used instead of the EJBDeployer since the ejb-jar.xml was not found.
Once I deleted the pom.* files (thus getting rid of the "META-INF" directory
leaving only the "meta-inf") from the jar everything worked.

Is there a way to tell Maven to either leave out the pom.* files OR to use
the same case for the meta-inf directory?

Thanks.
Tom
--
View this message in context: 
http://www.nabble.com/JBoss-EJB-Deploy-issue-with-Maven-META-INF-tf2016034.html#a5541690
Sent from the Maven - Users forum at Nabble.com.


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




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



Creating a remote repository

2006-07-28 Thread Richard . ABBUHL
Is there an easy way (using scripts, etc.) to publish an entire local
repository to a remote repository which can then be used as a mirror?   I
have already tried copying my local repository to our web server.  When I
tried using it as a mirror and running "mvn install" maven complained about
not finding a valid version of a plug-in.

Thanks,

Richard



This message is intended for the addressee or its representative only. 
Any form of unauthorized use, publication, reproduction, copying or 
disclosure of the content of this e-mail is not permitted. If you are 
not the intended recipient of this e-mail message and its contents, 
please notify the sender immediately and delete this message and 
all its attachments subsequently.


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



JBoss EJB Deploy issue with Maven META-INF

2006-07-28 Thread Tommy1

Hello,
I am new to Maven and have ran into this issue under JBoss.

I have created an EJB jar that when I look at it in WinZip has the
following:
...
class files
...
meta-inf/Manifest.mf
meta-inf/ejb-jar.xml
meta-inf/jboss.xml
META-INF/maven/.../pom.properties
META-INF/maven/.../pom.xml

The problem I ran into is that when deployed in JBoss the "meta-inf" files
are not being found, only the "META-INF" files. This causes the JARDeployer
to be used instead of the EJBDeployer since the ejb-jar.xml was not found.
Once I deleted the pom.* files (thus getting rid of the "META-INF" directory
leaving only the "meta-inf") from the jar everything worked.

Is there a way to tell Maven to either leave out the pom.* files OR to use
the same case for the meta-inf directory?

Thanks.
Tom
-- 
View this message in context: 
http://www.nabble.com/JBoss-EJB-Deploy-issue-with-Maven-META-INF-tf2016034.html#a5541690
Sent from the Maven - Users forum at Nabble.com.


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



Maven 2.0 and Groovy

2006-07-28 Thread Peter . Pilgrim

Hi 

I believe that Groovy the scripting language can be use to call Ant
tasks.
If I understand this correctly. You don't run Ant to build a project,
but
you run a Groovy script and it does the building for you.

Is their a similar functionality for Maven 2.0?

Or has anybody starting work with M2 and Groovy yet?
If so what is the use-case for this requirement?

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



Vincent CHAUVEAU/BPSS/FR/EUROPE/GROUP est absent.

2006-07-28 Thread vincent . chauveau
Je serai absent(e) du  28/07/2006 au 14/08/2006.

For any problem send a mail to PARIS BP2S GRP IST
or PARIS BP2S GRP IST SUPPORT for environment support purpose


This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


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



Including src in built jars/wars

2006-07-28 Thread Christopher Blythe

I already have a working maven build setup for my J2EE app that includes ejb
and war modules. However, I was wondering if there is a way to easily
include the java source in the jars/wars along with the compiled classes?

Thanks...

Chris


[M2] Using Special Chars (& etc.) in POM properties

2006-07-28 Thread Graham Whitehead

Try again as Plain Text

Hi,

Does anyone know how to use an ampersand (&) as part of a property value in
a POM?

eg.

  4.0.0
  .
  .
  .
  
text1 && text2 && text3
  
  .
  .
  .


I have tried using & and  with no success.

When using & I get the following message:
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: entity
reference names can not start with character '&' (position: START_TAG seen
...test1 &&... @153:57)
at
org.codehaus.plexus.util.xml.pull.MXParser.parseEntityRef(MXParser.ja
va:2209)
.
.
.

Any help would be greatly appreciated.

Thanks,

Graham.
-- 
View this message in context: 
http://www.nabble.com/-M2--Using-Special-Chars-%28--etc.%29-in-POM-properties-tf2015885.html#a5541211
Sent from the Maven - Users forum at Nabble.com.


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



Re: Problem with commins-email

2006-07-28 Thread Wayne Fay

Actually javax.activation v1.1 and javax.mail v1.4 are both available
from the Java.net Maven Repo.

Its a Maven1 repo so you will need to add it as "legacy" in your repo list.
https://maven-repository.dev.java.net/nonav/repository/

Wayne

On 7/28/06, Eric Redmond <[EMAIL PROTECTED]> wrote:

Alex;

You will also need javax.mail installed as well.

Eric

On 7/28/06, Simon Kepp Nielsen <[EMAIL PROTECTED]> wrote:
>
> Hi Alex,
>
> Please see
> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
>
> Best regards
>
> Simon Kepp Nielsen, Configurations Manager
> PFA Pension, Teknisk Arkitektur
> Mobile: +45 30 52 77 07
> E-mail: [EMAIL PROTECTED]
>
>
> PFA Pension
> Sundkrogsgade 4
> DK-2100 Copenhagen OE
>
> Disclaimer
> This message is for the designated recipient only and may contain
> confidential or privileged information. If you have received the message
> in error, please notify the sender by replying the e-mail and delete the
> message without copying or disclosing.
>
> -Oprindelig meddelelse-
> Fra: Alex Turner [mailto:[EMAIL PROTECTED]
> Sendt: 28. juli 2006 16:14
> Til: Maven Users List
> Emne: Problem with commins-email
>
> I am having a problem with commons-email,
>
> it lists activation 1.0.2 as a dependency, but there is no jar in the
> javax/activation/activation/1.0.2 directory at
> http://www.ibiblio.org/maven2/javax/activation/activation/1.0.2/ or any
> other mirror I checked
>
> Hope someone can help
>
> Alex
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Eric
http://codehaus.org/~eredmond




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



Re: maven-ejb-plugin v2.1

2006-07-28 Thread Wayne Fay

If you can't find a released version, then it is probably not yet released.

You will need to pull the code from SVN and build/install it locally
to use this functionality.

Wayne

On 7/28/06, Ken Helmes <[EMAIL PROTECTED]> wrote:

Hello,



The 2.1 version of the maven-ejb-plugin should have a bug fix for including
and excluding files.  However, I don't see the 2.1 version in ibiblio.  Can
someone tell me where to find it?



Regards,

Ken Helmes











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



Ad: Problem with commins-email

2006-07-28 Thread Stefan Magnus Landrø
I believe that is due to licencing issues. Try placing it in your 
company's repository or your local repository

Stefan
"Alex Turner" <[EMAIL PROTECTED]> skrev 28.07.2006 16:13:59:

> I am having a problem with commons-email,
> 
> it lists activation 1.0.2 as a dependency, but there is no jar in the
> javax/activation/activation/1.0.2 directory at
> http://www.ibiblio.org/maven2/javax/activation/activation/1.0.2/ or any
> other mirror I checked
> 
> Hope someone can help
> 
> Alex


Re: Problem with commins-email

2006-07-28 Thread Eric Redmond

Alex;

You will also need javax.mail installed as well.

Eric

On 7/28/06, Simon Kepp Nielsen <[EMAIL PROTECTED]> wrote:


Hi Alex,

Please see
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Best regards

Simon Kepp Nielsen, Configurations Manager
PFA Pension, Teknisk Arkitektur
Mobile: +45 30 52 77 07
E-mail: [EMAIL PROTECTED]


PFA Pension
Sundkrogsgade 4
DK-2100 Copenhagen OE

Disclaimer
This message is for the designated recipient only and may contain
confidential or privileged information. If you have received the message
in error, please notify the sender by replying the e-mail and delete the
message without copying or disclosing.

-Oprindelig meddelelse-
Fra: Alex Turner [mailto:[EMAIL PROTECTED]
Sendt: 28. juli 2006 16:14
Til: Maven Users List
Emne: Problem with commins-email

I am having a problem with commons-email,

it lists activation 1.0.2 as a dependency, but there is no jar in the
javax/activation/activation/1.0.2 directory at
http://www.ibiblio.org/maven2/javax/activation/activation/1.0.2/ or any
other mirror I checked

Hope someone can help

Alex

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





--
Eric
http://codehaus.org/~eredmond


Re: Problem with commins-email

2006-07-28 Thread Alex Turner

Got it - thanks very much

Alex

On 7/28/06, Simon Kepp Nielsen <[EMAIL PROTECTED]> wrote:


Hi Alex,

Please see
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Best regards

Simon Kepp Nielsen, Configurations Manager
PFA Pension, Teknisk Arkitektur
Mobile: +45 30 52 77 07
E-mail: [EMAIL PROTECTED]


PFA Pension
Sundkrogsgade 4
DK-2100 Copenhagen OE

Disclaimer
This message is for the designated recipient only and may contain
confidential or privileged information. If you have received the message
in error, please notify the sender by replying the e-mail and delete the
message without copying or disclosing.

-Oprindelig meddelelse-
Fra: Alex Turner [mailto:[EMAIL PROTECTED]
Sendt: 28. juli 2006 16:14
Til: Maven Users List
Emne: Problem with commins-email

I am having a problem with commons-email,

it lists activation 1.0.2 as a dependency, but there is no jar in the
javax/activation/activation/1.0.2 directory at
http://www.ibiblio.org/maven2/javax/activation/activation/1.0.2/ or any
other mirror I checked

Hope someone can help

Alex

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




SV: Problem with commins-email

2006-07-28 Thread Simon Kepp Nielsen
Hi Alex,

Please see
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Best regards

Simon Kepp Nielsen, Configurations Manager
PFA Pension, Teknisk Arkitektur
Mobile: +45 30 52 77 07
E-mail: [EMAIL PROTECTED]


PFA Pension
Sundkrogsgade 4
DK-2100 Copenhagen OE

Disclaimer
This message is for the designated recipient only and may contain
confidential or privileged information. If you have received the message
in error, please notify the sender by replying the e-mail and delete the
message without copying or disclosing.

-Oprindelig meddelelse-
Fra: Alex Turner [mailto:[EMAIL PROTECTED] 
Sendt: 28. juli 2006 16:14
Til: Maven Users List
Emne: Problem with commins-email

I am having a problem with commons-email,

it lists activation 1.0.2 as a dependency, but there is no jar in the
javax/activation/activation/1.0.2 directory at
http://www.ibiblio.org/maven2/javax/activation/activation/1.0.2/ or any
other mirror I checked

Hope someone can help

Alex

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



Problem with commins-email

2006-07-28 Thread Alex Turner

I am having a problem with commons-email,

it lists activation 1.0.2 as a dependency, but there is no jar in the
javax/activation/activation/1.0.2 directory at
http://www.ibiblio.org/maven2/javax/activation/activation/1.0.2/ or any
other mirror I checked

Hope someone can help

Alex


Re: install submodules

2006-07-28 Thread Wojciech Biela

OK, my mistake ;) adding new attached modules to the  element
usually helps ;))

but one observation though .. I build my submodules though the master,
install them and then use them in the master pom to produce a special
package through:

 
   org.codehaus.mojo
   dependency-maven-plugin
   
 
   copy
   package
   
 copy
   
   
 
   
 ${project.groupId}
 ProductDict
 ${project.version}
 mod
 ${mod-dir}
 
   productdict1.mod
 
   
...

but I see that the produced artifact consists of the artifacts from
the local repo before this run's install, so when I build I get
modules from the last build, and install fresh ones .. that's sad
because then I have to run the whole build process twice

any solutions?

2006/7/28, Wojciech Biela <[EMAIL PROTECTED]>:

Hi

I have my master project and many modules defined in it. Every
submodule when given "mvn package install" does some magic to build
itself and in effect installs it's product in the local repo. Problem
is when I execute "mvn package install" from the level of the master
project maven builds all the submodules but it does not rebuild and
install the submodules' artifacts the same way it happens when I
execute install from the level of the submodule. I see that is
executes the tests, compiles code, but the submodules are not updated
in the local repo thus the dependencies are not updated.

any way to make install from the master level reach the modules level?

--
Wojtek Biela




--
Wojtek Biela

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



Re: mvn idea:idea question

2006-07-28 Thread Sanjiv Jivan

Sweet. Thanks.

PS : I figured out that setting an IDEA Path Variable pointing to the local
maven repository before generating the IDEA project files results in the
generated files having library paths with the Path Variable. This is very
useful when sharing project files with other team members.


On 7/28/06, Roald Bankras <[EMAIL PROTECTED]> wrote:


Hey Sanjiv

By placing the following in your pom, your idea project will contain the
sources and javadocs as far as they are available in the maven repository.


   
   
   org.apache.maven.plugins
   maven-idea-plugin
   
   1.5.0_06
   true
   true
   true
   

   


Roald Bankras
Software Engineer
JTeam b.v.

-Original Message-
From: Sanjiv Jivan [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 5:56 AM
To: users@maven.apache.org
Subject: Fwd: mvn idea:idea question

Not sure if my first mail went through as I was not subscribed to the
list.

-- Forwarded message --
From: Sanjiv Jivan <[EMAIL PROTECTED]>
Date: Jul 27, 2006 11:42 PM
Subject: mvn idea:idea question
To: users@maven.apache.org

Anyone know how to use this plugin so that it creates an IDEA project with
the dependencies as project modules with ability to attach source/javadocs
as opposed to the default where the individual jar are included (not as
libraries).

I also found a new idea plugin here :

http://ci.codehaus.org:8002/continuum/servlet/continuum/target/WorkingCopy.vm/view/WorkingCopy/id/45?userDirectory=target


How do I install this?

Thanks,
Sanjiv


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006


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




install submodules

2006-07-28 Thread Wojciech Biela

Hi

I have my master project and many modules defined in it. Every
submodule when given "mvn package install" does some magic to build
itself and in effect installs it's product in the local repo. Problem
is when I execute "mvn package install" from the level of the master
project maven builds all the submodules but it does not rebuild and
install the submodules' artifacts the same way it happens when I
execute install from the level of the submodule. I see that is
executes the tests, compiles code, but the submodules are not updated
in the local repo thus the dependencies are not updated.

any way to make install from the master level reach the modules level?

--
Wojtek Biela

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



Re: Issues related to snapshot versions of dependencies and filenames

2006-07-28 Thread korebantic

Got it, thanks =p

On 7/28/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

On 7/28/06, korebantic <[EMAIL PROTECTED]> wrote:

> Do you know what mechanism chooses  over
> , if both are present in ?

For deployment, if the version ends in -SNAPSHOT, it will go to the
 (timestamped or not depending on the
 setting.)  Otherwise, it goes to .

--
Wendy

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




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



Re: Ad: Re: Issues related to snapshot versions of dependencies and filenames

2006-07-28 Thread korebantic

Right. My question is how is snapshot choosen over repository? Does
the deploy plugin grep the version number or something?

On 7/28/06, Stefan Magnus Landrø <[EMAIL PROTECTED]> wrote:

I believe shapshots go in the snapshot repository, and release versions go
in the release repository.

korebantic <[EMAIL PROTECTED]> skrev 28.07.2006 14:37:25:

> Do you know what mechanism chooses  over
> , if both are present in ?
>
> On 7/28/06, Jörg Schaible <[EMAIL PROTECTED]> wrote:
> > Stefan Magnus Landrø wrote on Friday, July 28, 2006 10:49 AM:
> >
> > > I believe I found the solution to this issue.
> > >
> > > I placed the following snipplet in the jar-projects that my project
> > > depend upon, and made sure to use uniqueVersion set to false.
> > > A fresh deploy of these jar-projects then wrote a
> > > -SNAPSHOT.jar to the
> > > company repository (you only get timestamped versions if you use
> > > uniqueVersion=true(default))
> > >
> > > 
> > > 
> > > internal
> > > Company Repository
> > > file:\\server\repo-local
> > > false
> > > 
> > > 
> > >
> > > To bad there is nothing about this in the mergere book
> >
> > and despite the fact, that this has its own quirks:
> > http://jira.codehaus.org/browse/MNG-1908
> >
> > [snip]
> >
> > - Jörg
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>




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



Re: Issues related to snapshot versions of dependencies and filenames

2006-07-28 Thread Wendy Smoak

On 7/28/06, korebantic <[EMAIL PROTECTED]> wrote:


Do you know what mechanism chooses  over
, if both are present in ?


For deployment, if the version ends in -SNAPSHOT, it will go to the
 (timestamped or not depending on the
 setting.)  Otherwise, it goes to .

--
Wendy

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



Ad: Re: Issues related to snapshot versions of dependencies and filenames

2006-07-28 Thread Stefan Magnus Landrø
I believe shapshots go in the snapshot repository, and release versions go 
in the release repository.

korebantic <[EMAIL PROTECTED]> skrev 28.07.2006 14:37:25:

> Do you know what mechanism chooses  over
> , if both are present in ?
> 
> On 7/28/06, Jörg Schaible <[EMAIL PROTECTED]> wrote:
> > Stefan Magnus Landrø wrote on Friday, July 28, 2006 10:49 AM:
> >
> > > I believe I found the solution to this issue.
> > >
> > > I placed the following snipplet in the jar-projects that my project
> > > depend upon, and made sure to use uniqueVersion set to false.
> > > A fresh deploy of these jar-projects then wrote a
> > > -SNAPSHOT.jar to the
> > > company repository (you only get timestamped versions if you use
> > > uniqueVersion=true(default))
> > >
> > > 
> > > 
> > > internal
> > > Company Repository
> > > file:\\server\repo-local
> > > false
> > > 
> > > 
> > >
> > > To bad there is nothing about this in the mergere book
> >
> > and despite the fact, that this has its own quirks:
> > http://jira.codehaus.org/browse/MNG-1908
> >
> > [snip]
> >
> > - Jörg
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Re: Issues related to snapshot versions of dependencies and filenames

2006-07-28 Thread korebantic

Do you know what mechanism chooses  over
, if both are present in ?

On 7/28/06, Jörg Schaible <[EMAIL PROTECTED]> wrote:

Stefan Magnus Landrø wrote on Friday, July 28, 2006 10:49 AM:

> I believe I found the solution to this issue.
>
> I placed the following snipplet in the jar-projects that my project
> depend upon, and made sure to use uniqueVersion set to false.
> A fresh deploy of these jar-projects then wrote a
> -SNAPSHOT.jar to the
> company repository (you only get timestamped versions if you use
> uniqueVersion=true(default))
>
> 
> 
> internal
> Company Repository
> file:\\server\repo-local
> false
> 
> 
>
> To bad there is nothing about this in the mergere book

and despite the fact, that this has its own quirks:
http://jira.codehaus.org/browse/MNG-1908

[snip]

- Jörg

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




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



RE: Maven 2.0 Eclipse Plug-in compatibility with Eclipse 3.2.x (and IBMRAD 6.x)

2006-07-28 Thread Peter . Pilgrim


> -Original Message-
> From: Stefan Magnus Landrø 
> [mailto:[EMAIL PROTECTED] 
====
> 
> Well, the plugin does allow access to the repository, but 
> have you tried this site:
> 
> http://www.mvnregistry.com/
> 
 
Well I have now! 


Actually I get appears whenever I now access the Eclipse preferences dialog
e.g. MenuBar -> Windows -> Preferences.

"Plug-in org.maven.ide.eclipse was unable to load class 
org.maven.ide.eclipse.preferences.Maven2PreferencePage."

I wonder if it is something to do with having both IBM RAD 6 
and Eclipse 3.2installed on the same machine. Maybe they are conflicting.
I shall the M2EP at home to verify this.
 
> [EMAIL PROTECTED] skrev 28.07.2006 12:55:37:
> 
> > So there is no Maven 2 plug-in for Eclipse then worth looking at?
> > 
> > I remember there was interesting Maven 1 plug-in that 
> allowed access 
> > to the maven repository. Is there any development going on there to 
> > port the old M1 Eclipse IDE plug-in to M2?
> > 
> > > -Original Message-
> > > From: Roland Asmann [mailto:[EMAIL PROTECTED]
> > > Sent: 28 July 2006 11:03
> > > To: Maven Users List
> > > Subject: Re: Ad: Maven 2.0 Eclipse Plug-in compatibility with 
> > > Eclipse 3.2.x (and IBM RAD 6.x)
> > > 
> > > Imho one shouldn't use the m2eclipse-plugin, but just the 
> 'normal' 
> > > eclipse-plugin for maven...
> > > As for the RAD-version, a colleague and I are working on that for 
> > > one of our customers and we are willing (and allowed) to release 
> > > that stuff. We are not exactly sure on WHEN we will 
> release it, but 
> > > it shouldn't be too long...
> > > 
> > > Roland
> > > 
> > > 
> > > 
> > > On Friday 28 July 2006 10:57, Stefan Magnus Landrø wrote:
> > > > The latest version works fine with eclipse 3.1.2.
> > > >
> > > > However, I don't find the plugin too beneficial though 
> - I prefer 
> > > > using the cmd line.
> > > >
> > > > Stefan
> > > >
> > > > [EMAIL PROTECTED] skrev 28.07.2006 10:34:08:
> > > > > Hi
> > > > >
> > > > > About the Maven 2.0 Eclipse IDE Plug-in 
> > > > > http://m2eclipse.codehaus.org/
> > > > >
> > > > > I tried a software update with Eclipse 3.2 and the 
> plug-in failed.
> > > > > What is the status?
> > > > >
> > > > > One more question. Is there a version of the M2EP that works 
> > > > > with IBM Rational Software Development Platform 6.x ( 
> i.e olde 
> > > > > Eclipse
> > > > > 3.0.2 circa 2004/2005 ) ?
> > > > >
> > > > >
> > > > > --
> > > > > Peter Pilgrim
> > > > > UBS Investment Bank,
> > > > > PTS Portal / IT FIRC OPS LDN,
> > > > > 100 Liverpool Street, London EC2M 2RH, United Kingdom
> > > > >
> > > > > :: Java EE / E-Commerce / Spring Framework / Development ::
> > > > >
> > > > > Visit our website at http://www.ubs.com
> > ==== 
====
--
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]



Ad: generate classpath

2006-07-28 Thread Stefan Magnus Landrø
the assembly plugin should get half the way. See the examples section:

http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html

Philippe Faes <[EMAIL PROTECTED]> skrev 28.07.2006 14:06:51:

> Dear all,
> 
> I have a maven2 project that depends on many other projects. Obviously
> when I run "mvn compile" all needed jars are downloaded into the local
> repo. Now I want to run my project from the command line (without
> maven), but I'm not sure which CLASSPATH to use. 
> 
> Can maven generate a CLASSPATH for me?
> 
> thanks
> -- 
> Philippe Faes <[EMAIL PROTECTED]>
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Re: JWS - JNLP

2006-07-28 Thread Emmanuel Venisse

subversion url: 
http://svn.codehaus.org/mojo/trunk/mojo/webstart-maven-plugin/plugin/
snapshot repo to use : http://snapshots.repository.codehaus.org/

http://snapshots.repository.codehaus.org/org/codehaus/mojo/webstart-maven-plugin/1.0-alpha-1-SNAPSHOT/

You have a full example in the howto page

Emmanuel

Chris Michiels a écrit :

Thanks Emmanuel,
But I'm still a bit in the dark where the plugin is located (repo,
subversion, ...) ?
Do you have a small working example to play with please.
I would like to demonstrate that Maven 2 can replace our current Ant based
build environment.

TIA,

2006/7/26, Emmanuel Venisse <[EMAIL PROTECTED]>:



http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/howto.html 



Emmanuel

Chris a écrit :
> Where can I find more information about the Maven JNLP Plug-in ? Does
anybody
> already build Java Web Start applications using Maven 2 ? TIA.


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



Ad: Re: Maven and dependency on central servers

2006-07-28 Thread Stefan Magnus Landrø
We actually had to make a maven distribution like that for an offline 
workshop. It worked perfectly tarring up everything.

Stefan


[EMAIL PROTECTED] skrev 28.07.2006 14:04:23:

> On Jul 28, 2006, at 1:28 PM, Graham Leggett wrote:
> 
> > On Fri, July 28, 2006 1:06 pm, Ulrich Hobelmann wrote:
> >
> >> This isn't a troll, I'm only genuinely afraid of trusting a few
> >> centralized servers for a task that's needed for any new machine to
> >> setup their system (especially after noticing last night, how slow a
> >> server can be and what that means for getting to work).  A big
> >> tarball/package would certainly be easier to deploy for an 
> >> organisation.
> >
> > This is only a once off problem - now that you've gone through the
> > doanloading pain, there is no need to do it again, unless you 
> > decide to
> > add or change versions of dependancies.
> 
> Ok, that sounds reasonable.
> 
> Could I simply tar up the .m2 directory, or is there anything in it 
> that's host-specific?  (so a new machine could simply copy the .m2 
> and start building; especially for a portable machine I'd hate to be 
> missing a dependency...).
> 
> > The full repository is quite a number of GB in size, making a tarball
> > available of it is unlikely to be efficient when you could simply 
> > mirror
> > the repository yourself from time to time, removing the risk of the 
> > repo
> > "going away".
> >
> > If the central repos go down, you lose the auto-download 
> > capability, but
> > there is nothing stopping you from resolving the dependencies manually
> > (apart from the annoyance of having to do so).
> 
> Ok, thanks.
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


generate classpath

2006-07-28 Thread Philippe Faes
Dear all,

I have a maven2 project that depends on many other projects. Obviously
when I run "mvn compile" all needed jars are downloaded into the local
repo. Now I want to run my project from the command line (without
maven), but I'm not sure which CLASSPATH to use. 

Can maven generate a CLASSPATH for me?

thanks
-- 
Philippe Faes <[EMAIL PROTECTED]>


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



Re: Maven and dependency on central servers

2006-07-28 Thread Trent Albright

I agree with what you are saying. Luckily there is an answer: setup
your own internal repository. There are a few options here, I'm sure
someone else on the list can provide you with more details as I'm a
maven newb. These references might help:

http://maven.apache.org/guides/introduction/introduction-to-repositories.html
http://maven-proxy.codehaus.org/
http://proximity.abstracthorizon.org/

Also there is some discussion of this in the "Better Builds With Maven" guide.


On 7/28/06, Graham Leggett <[EMAIL PROTECTED]> wrote:

On Fri, July 28, 2006 1:06 pm, Ulrich Hobelmann wrote:

> This isn't a troll, I'm only genuinely afraid of trusting a few
> centralized servers for a task that's needed for any new machine to
> setup their system (especially after noticing last night, how slow a
> server can be and what that means for getting to work).  A big
> tarball/package would certainly be easier to deploy for an organisation.

This is only a once off problem - now that you've gone through the
doanloading pain, there is no need to do it again, unless you decide to
add or change versions of dependancies.

The full repository is quite a number of GB in size, making a tarball
available of it is unlikely to be efficient when you could simply mirror
the repository yourself from time to time, removing the risk of the repo
"going away".

If the central repos go down, you lose the auto-download capability, but
there is nothing stopping you from resolving the dependencies manually
(apart from the annoyance of having to do so).

Regards,
Graham
--



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




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



Re: Maven and dependency on central servers

2006-07-28 Thread Ulrich Hobelmann

On Jul 28, 2006, at 1:28 PM, Graham Leggett wrote:


On Fri, July 28, 2006 1:06 pm, Ulrich Hobelmann wrote:


This isn't a troll, I'm only genuinely afraid of trusting a few
centralized servers for a task that's needed for any new machine to
setup their system (especially after noticing last night, how slow a
server can be and what that means for getting to work).  A big
tarball/package would certainly be easier to deploy for an  
organisation.


This is only a once off problem - now that you've gone through the
doanloading pain, there is no need to do it again, unless you  
decide to

add or change versions of dependancies.


Ok, that sounds reasonable.

Could I simply tar up the .m2 directory, or is there anything in it  
that's host-specific?  (so a new machine could simply copy the .m2  
and start building; especially for a portable machine I'd hate to be  
missing a dependency...).



The full repository is quite a number of GB in size, making a tarball
available of it is unlikely to be efficient when you could simply  
mirror
the repository yourself from time to time, removing the risk of the  
repo

"going away".

If the central repos go down, you lose the auto-download  
capability, but

there is nothing stopping you from resolving the dependencies manually
(apart from the annoyance of having to do so).


Ok, thanks.



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



Re: Maven and dependency on central servers

2006-07-28 Thread Tamás Cservenák

Hi,

Making a full repository mirror is not an option. What you need is a
proxy for Maven.

You should try Proximity:
http://proximity.abstracthorizon.org/

Proximity protects you from repo blackouts, inconsistent repositories,
sporadic ibiblios HTTP 500 errors and also speeds the build time.

Organizations should indefinitely not depend on centralized servers,
they should build their own inhouse repositories (proxied reposes +
hosted reposes).


Have fun,
~t~

On 7/28/06, Graham Leggett <[EMAIL PROTECTED]> wrote:

On Fri, July 28, 2006 1:06 pm, Ulrich Hobelmann wrote:

> This isn't a troll, I'm only genuinely afraid of trusting a few
> centralized servers for a task that's needed for any new machine to
> setup their system (especially after noticing last night, how slow a
> server can be and what that means for getting to work).  A big
> tarball/package would certainly be easier to deploy for an organisation.

This is only a once off problem - now that you've gone through the
doanloading pain, there is no need to do it again, unless you decide to
add or change versions of dependancies.

The full repository is quite a number of GB in size, making a tarball
available of it is unlikely to be efficient when you could simply mirror
the repository yourself from time to time, removing the risk of the repo
"going away".

If the central repos go down, you lose the auto-download capability, but
there is nothing stopping you from resolving the dependencies manually
(apart from the annoyance of having to do so).

Regards,
Graham
--



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



Ad: Re: JWS - JNLP

2006-07-28 Thread Stefan Magnus Landrø
BTW,

You can easily integrate your existing ant script in maven writing a 
plugin. It's real easy, and should take you no time.

Stefan


"Chris Michiels" <[EMAIL PROTECTED]> skrev 28.07.2006 13:39:33:

> Thanks Emmanuel,
> But I'm still a bit in the dark where the plugin is located (repo,
> subversion, ...) ?
> Do you have a small working example to play with please.
> I would like to demonstrate that Maven 2 can replace our current Ant 
based
> build environment.
> 
> TIA,
> 
> 2006/7/26, Emmanuel Venisse <[EMAIL PROTECTED]>:
> >
> >
> > http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-
> maven-plugin/howto.html
> >
> > Emmanuel
> >
> > Chris a écrit :
> > > Where can I find more information about the Maven JNLP Plug-in ? 
Does
> > anybody
> > > already build Java Web Start applications using Maven 2 ? TIA.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> Chris MICHIELS
> Scire tuum nihil est, nisi te scire hoc sciat alter.


Re: JWS - JNLP

2006-07-28 Thread Chris Michiels

Thanks Emmanuel,
But I'm still a bit in the dark where the plugin is located (repo,
subversion, ...) ?
Do you have a small working example to play with please.
I would like to demonstrate that Maven 2 can replace our current Ant based
build environment.

TIA,

2006/7/26, Emmanuel Venisse <[EMAIL PROTECTED]>:



http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/howto.html

Emmanuel

Chris a écrit :
> Where can I find more information about the Maven JNLP Plug-in ? Does
anybody
> already build Java Web Start applications using Maven 2 ? TIA.


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





--
Chris MICHIELS
Scire tuum nihil est, nisi te scire hoc sciat alter.


RE: Ad: Maven 2.0 Eclipse Plug-in compatibility with Eclipse 3.2.x (and IBM RAD 6.x)

2006-07-28 Thread Roland Asmann
Well, sort of... In our company we are currently these using two 'plugins':
- http://m2eclipse.codehaus.org ('maven-in-eclipse')
- http://maven.apache.org/plugins/maven-eclipse-plugin/ ('eclipse-with-maven')

The first one is the one we started with and will not abondon because of the 
progress
of a certain project we have, but all other projects are using the second.
The second one is actually maven itself (as you might've guessed), but we 
trigger it
from within eclipse all the time, therefor using it as had it been an 
eclipse-plugin!
It's documented fairly well in the 'Better Build With Maven' if I remember 
correctly, so
grab a copy and look it up.

A tip for using it in eclipse: make a launch utilizing eclipse's 
'prompt'-functionality, this
way your builds are pretty flexible, since you can add command-line attributes 
and
goals and everything to your build!

If you have some more questions about this, I am willing to post some more info 
and
examples when I find a little time (probably would be somewhere after the 
weekend,
seeing my current stressy situation...).

Roland



On Friday 28 July 2006 12:55, [EMAIL PROTECTED] wrote:
> So there is no Maven 2 plug-in for Eclipse then worth
> looking at?
>
> I remember there was interesting Maven 1 plug-in that allowed
> access to the maven repository. Is there any development going
> on there to port the old M1 Eclipse IDE plug-in to M2?
>
> > -Original Message-
> > From: Roland Asmann [mailto:[EMAIL PROTECTED]
> > Sent: 28 July 2006 11:03
> > To: Maven Users List
> > Subject: Re: Ad: Maven 2.0 Eclipse Plug-in compatibility with
> > Eclipse 3.2.x (and IBM RAD 6.x)
> >
> > Imho one shouldn't use the m2eclipse-plugin, but just the
> > 'normal' eclipse-plugin for maven...
> > As for the RAD-version, a colleague and I are working on that
> > for one of our customers and we are willing (and allowed) to
> > release that stuff. We are not exactly sure on WHEN we will
> > release it, but it shouldn't be too long...
> >
> > Roland
> >
> > On Friday 28 July 2006 10:57, Stefan Magnus Landrø wrote:
> > > The latest version works fine with eclipse 3.1.2.
> > >
> > > However, I don't find the plugin too beneficial though - I prefer
> > > using the cmd line.
> > >
> > > Stefan
> > >
> > > [EMAIL PROTECTED] skrev 28.07.2006 10:34:08:
> > > > Hi
> > > >
> > > > About the Maven 2.0 Eclipse IDE Plug-in
> > > > http://m2eclipse.codehaus.org/
> > > >
> > > > I tried a software update with Eclipse 3.2 and the plug-in failed.
> > > > What is the status?
> > > >
> > > > One more question. Is there a version of the M2EP that works with
> > > > IBM Rational Software Development Platform 6.x ( i.e olde Eclipse
> > > > 3.0.2 circa 2004/2005 ) ?
> > > >
> > > >
> > > > --
> > > > Peter Pilgrim
> > > > UBS Investment Bank,
> > > > PTS Portal / IT FIRC OPS LDN,
> > > > 100 Liverpool Street, London EC2M 2RH, United Kingdom
> > > >
> > > > :: Java EE / E-Commerce / Spring Framework / Development ::
> > > >
> > > > Visit our website at http://www.ubs.com
>
> ====
>
> --
> Peter Pilgrim
> UBS Investment Bank,
> PTS Portal / IT FIRC OPS LDN,
> 100 Liverpool Street, London EC2M 2RH, United Kingdom
>
> :: Java EE / E-Commerce / Spring Framework / 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]



Re: Maven and dependency on central servers

2006-07-28 Thread Graham Leggett
On Fri, July 28, 2006 1:06 pm, Ulrich Hobelmann wrote:

> This isn't a troll, I'm only genuinely afraid of trusting a few
> centralized servers for a task that's needed for any new machine to
> setup their system (especially after noticing last night, how slow a
> server can be and what that means for getting to work).  A big
> tarball/package would certainly be easier to deploy for an organisation.

This is only a once off problem - now that you've gone through the
doanloading pain, there is no need to do it again, unless you decide to
add or change versions of dependancies.

The full repository is quite a number of GB in size, making a tarball
available of it is unlikely to be efficient when you could simply mirror
the repository yourself from time to time, removing the risk of the repo
"going away".

If the central repos go down, you lose the auto-download capability, but
there is nothing stopping you from resolving the dependencies manually
(apart from the annoyance of having to do so).

Regards,
Graham
--



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



Ad: Re: Maven and dependency on central servers

2006-07-28 Thread Stefan Magnus Landrø
Hi there,

If you read the "Better builds with maven" book you will see that you can 
easily set up your own mirror yourself (typically a mirror that is only 
used by you coworkers).

There are other options too (see book)

Stefan

"Alex Turner" <[EMAIL PROTECTED]> skrev 28.07.2006 13:20:50:

> I am with you.  I tried building the test project, and it failed on a 
few
> files from the central repository.  Based on this post, I switched to a
> mirror and got what I needed successfully.  In my mind this bodes very 
ill
> of this approach if the maven project can't keep it's central repository
> servers online and available.
> 
> Alex.
> 
> On 7/28/06, Ulrich Hobelmann <[EMAIL PROTECTED]> wrote:
> >
> > Hi, I'm new to maven, and I'm a bit reserved to trusting a few
> > centralized servers for something that's critical to a project.
> >
> > Since any host that downloads a project (say, from SVN) and wants to
> > build it, needs to download a number of Maven packages, obviously
> > there's a heavy dependency on the central maven server.
> >
> > Yesterday when I started trying out Maven, I spent maybe 20 minutes
> > waiting for the initial dependencies to be loaded from repo.maven.org
> > (at speeds of a few to a few thousand bytes/second), until I found
> > out how to use a mirror site.  The problem: there are only a handful
> > of mirror sites, and should they disappear (for any reason, maybe the
> > company/organisation losing interest / moving to another build
> > system) or be as overloaded/slow as the central server, it'd be
> > impossible to setup a new host and work on the project.
> >
> > I've read through the docs a bit and found out that you can set up
> > your own servers, but my question: is there a list of what packages/
> > dependencies the maven core uses, so that anybody who wants a 100%
> > reliable server can download anything that maven could ever need
> > (only the builtin modules, obviously; for everything else you manage
> > your own dependencies).
> >
> > Is it a viable option to simply tar up the .m2 directory after a few
> > full project builds (so that hopefully all dependencies will have
> > been loaded).
> >
> > This isn't a troll, I'm only genuinely afraid of trusting a few
> > centralized servers for a task that's needed for any new machine to
> > setup their system (especially after noticing last night, how slow a
> > server can be and what that means for getting to work).  A big
> > tarball/package would certainly be easier to deploy for an 
organisation.
> >
> > Best regards,
> >Ulrich
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >


Re: Maven and dependency on central servers

2006-07-28 Thread Alex Turner

I am with you.  I tried building the test project, and it failed on a few
files from the central repository.  Based on this post, I switched to a
mirror and got what I needed successfully.  In my mind this bodes very ill
of this approach if the maven project can't keep it's central repository
servers online and available.

Alex.

On 7/28/06, Ulrich Hobelmann <[EMAIL PROTECTED]> wrote:


Hi, I'm new to maven, and I'm a bit reserved to trusting a few
centralized servers for something that's critical to a project.

Since any host that downloads a project (say, from SVN) and wants to
build it, needs to download a number of Maven packages, obviously
there's a heavy dependency on the central maven server.

Yesterday when I started trying out Maven, I spent maybe 20 minutes
waiting for the initial dependencies to be loaded from repo.maven.org
(at speeds of a few to a few thousand bytes/second), until I found
out how to use a mirror site.  The problem: there are only a handful
of mirror sites, and should they disappear (for any reason, maybe the
company/organisation losing interest / moving to another build
system) or be as overloaded/slow as the central server, it'd be
impossible to setup a new host and work on the project.

I've read through the docs a bit and found out that you can set up
your own servers, but my question: is there a list of what packages/
dependencies the maven core uses, so that anybody who wants a 100%
reliable server can download anything that maven could ever need
(only the builtin modules, obviously; for everything else you manage
your own dependencies).

Is it a viable option to simply tar up the .m2 directory after a few
full project builds (so that hopefully all dependencies will have
been loaded).

This isn't a troll, I'm only genuinely afraid of trusting a few
centralized servers for a task that's needed for any new machine to
setup their system (especially after noticing last night, how slow a
server can be and what that means for getting to work).  A big
tarball/package would certainly be easier to deploy for an organisation.

Best regards,
   Ulrich

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




Re: Dependancy within the modules while generating the site. Help Needed.

2006-07-28 Thread Stefan Magnus Landrø
run a mvn install from the top-level project first. it should work then.

hth,

Stefan

"Abhijit Diwan" <[EMAIL PROTECTED]> skrev 28.07.2006 12:30:01:

> 
> 
> Hi all
> 
> 
> 
>  I have 2 modules under the main project POM. The directory
> structure looks like this
> 
> 
> 
> *   JCA15Adapter
> 
>   *   pom.xml
>   *   AeConnector
> 
>  *   Pom.xml
> 
>   *   EjbSupport
> 
>  *   Pom.xml
> 
> 
> 
> Main project pom has dependencyManagement section which is as following
> 
> 
> 
> 
> 
> 
> 
> 
> 
> com.tibco.ejb
> 
> EjbSupport
> 
> ${project.version}
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Now in AeConnector module I have reference to this other module which is
> EjbSupport as following
> 
> 
> 
> 
> 
> 
> 
> com.tibco.ejb
> 
> JCA15Adapter
> 
> 1.0-SNAPSHOT
> 
> 
> 
> 4.0.0
> 
> AeConnector
> 
> jar
> 
> AeConnector API
> 
> 
> 
> 
> 
> com.tibco.ejb
> 
> EjbSupport
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Pom for EjbSupport looks like this 
> 
> 
> 
> 
> 
> 
> 
> com.tibco.ejb
> 
> JCA15Adapter
> 
> 1.0-SNAPSHOT
> 
> 
> 
> 4.0.0
> 
> EjbSupport
> 
> jar
> 
> Support API
> 
> 
> 
> 
> 
> As far as compile phase is considered it goes fine and dependencies
> related to EjbSupport module are resolved but when I try to build a site
> usin mvn site I always get following error.
> 
> 
> 
> [INFO] Building AeConnector API
> 
> [INFO]task-segment: [site]
> 
> [INFO]
> 
> 
> ---
> 
> [INFO]
> 
> 
> [ERROR] BUILD ERROR
> 
> [INFO]
> 
> 
> [INFO] Failed to resolve artifact.
> 
> 
> 
> Missing:
> 
> --
> 
> 1) com.tibco.ejb:EjbSupport:jar:1.0-SNAPSHOT
> 
> 
> 
>   Try downloading the file manually from the project website.
> 
> 
> 
>   Then, install it using the command:
> 
>   mvn install:install-file -DgroupId=com.tibco.ejb
> -DartifactId=EjbSupport
> 
> 
> 
>   -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> 
> 
> 
>   Path to dependency:
> 
> 1) com.tibco.ejb:AeConnector:jar:1.0-SNAPSHOT
> 
> 2) com.tibco.ejb:EjbSupport:jar:1.0-SNAPSHOT
> 
> 
> 
> --
> 
> 1 required artifact is missing.
> 
> 
> 
> for artifact:
> 
>   com.tibco.ejb:AeConnector:jar:1.0-SNAPSHOT
> 
> 
> 
> from the specified remote repositories:
> 
>   central (http://repo1.maven.org/maven2)
> 
> 
> 
> 
> 
> [INFO]
> 
> 
> [INFO] For more information, run Maven with the -e switch
> 
> [INFO]
> 
> 
> 
> 
> I would really appreciate if any one can point the correct way for
> setting the dependencies for generating the site?
> 
> 
> 
> Thanks a lot
> 
> Abhijit
> 
> 
> 


RE: Maven 2.0 Eclipse Plug-in compatibility with Eclipse 3.2.x (and IBMRAD 6.x)

2006-07-28 Thread Stefan Magnus Landrø
Well, the plugin does allow access to the repository, but have you tried 
this site:

http://www.mvnregistry.com/


[EMAIL PROTECTED] skrev 28.07.2006 12:55:37:

> So there is no Maven 2 plug-in for Eclipse then worth
> looking at?
> 
> I remember there was interesting Maven 1 plug-in that allowed
> access to the maven repository. Is there any development going
> on there to port the old M1 Eclipse IDE plug-in to M2?
> 
> > -Original Message-
> > From: Roland Asmann [mailto:[EMAIL PROTECTED] 
> > Sent: 28 July 2006 11:03
> > To: Maven Users List
> > Subject: Re: Ad: Maven 2.0 Eclipse Plug-in compatibility with 
> > Eclipse 3.2.x (and IBM RAD 6.x)
> > 
> > Imho one shouldn't use the m2eclipse-plugin, but just the 
> > 'normal' eclipse-plugin for maven...
> > As for the RAD-version, a colleague and I are working on that 
> > for one of our customers and we are willing (and allowed) to 
> > release that stuff. We are not exactly sure on WHEN we will 
> > release it, but it shouldn't be too long...
> > 
> > Roland
> > 
> > 
> > 
> > On Friday 28 July 2006 10:57, Stefan Magnus Landrø wrote:
> > > The latest version works fine with eclipse 3.1.2.
> > >
> > > However, I don't find the plugin too beneficial though - I prefer 
> > > using the cmd line.
> > >
> > > Stefan
> > >
> > > [EMAIL PROTECTED] skrev 28.07.2006 10:34:08:
> > > > Hi
> > > >
> > > > About the Maven 2.0 Eclipse IDE Plug-in 
> > > > http://m2eclipse.codehaus.org/
> > > >
> > > > I tried a software update with Eclipse 3.2 and the plug-in failed.
> > > > What is the status?
> > > >
> > > > One more question. Is there a version of the M2EP that works with 
> > > > IBM Rational Software Development Platform 6.x ( i.e olde Eclipse 
> > > > 3.0.2 circa 2004/2005 ) ?
> > > >
> > > >
> > > > --
> > > > Peter Pilgrim
> > > > UBS Investment Bank,
> > > > PTS Portal / IT FIRC OPS LDN,
> > > > 100 Liverpool Street, London EC2M 2RH, United Kingdom
> > > >
> > > > :: Java EE / E-Commerce / Spring Framework / Development ::
> > > >
> > > > Visit our website at http://www.ubs.com
> ====
> 
> --
> Peter Pilgrim
> UBS Investment Bank, 
> PTS Portal / IT FIRC OPS LDN,
> 100 Liverpool Street, London EC2M 2RH, United Kingdom
> :: Java EE / E-Commerce / Spring Framework / 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 and dependency on central servers

2006-07-28 Thread Ulrich Hobelmann
Hi, I'm new to maven, and I'm a bit reserved to trusting a few  
centralized servers for something that's critical to a project.


Since any host that downloads a project (say, from SVN) and wants to  
build it, needs to download a number of Maven packages, obviously  
there's a heavy dependency on the central maven server.


Yesterday when I started trying out Maven, I spent maybe 20 minutes  
waiting for the initial dependencies to be loaded from repo.maven.org  
(at speeds of a few to a few thousand bytes/second), until I found  
out how to use a mirror site.  The problem: there are only a handful  
of mirror sites, and should they disappear (for any reason, maybe the  
company/organisation losing interest / moving to another build  
system) or be as overloaded/slow as the central server, it'd be  
impossible to setup a new host and work on the project.


I've read through the docs a bit and found out that you can set up  
your own servers, but my question: is there a list of what packages/ 
dependencies the maven core uses, so that anybody who wants a 100%  
reliable server can download anything that maven could ever need  
(only the builtin modules, obviously; for everything else you manage  
your own dependencies).


Is it a viable option to simply tar up the .m2 directory after a few  
full project builds (so that hopefully all dependencies will have  
been loaded).


This isn't a troll, I'm only genuinely afraid of trusting a few  
centralized servers for a task that's needed for any new machine to  
setup their system (especially after noticing last night, how slow a  
server can be and what that means for getting to work).  A big  
tarball/package would certainly be easier to deploy for an organisation.


Best regards,
  Ulrich

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



RE: Ad: Maven 2.0 Eclipse Plug-in compatibility with Eclipse 3.2.x (and IBM RAD 6.x)

2006-07-28 Thread Peter . Pilgrim
So there is no Maven 2 plug-in for Eclipse then worth
looking at?

I remember there was interesting Maven 1 plug-in that allowed
access to the maven repository. Is there any development going
on there to port the old M1 Eclipse IDE plug-in to M2?

> -Original Message-
> From: Roland Asmann [mailto:[EMAIL PROTECTED] 
> Sent: 28 July 2006 11:03
> To: Maven Users List
> Subject: Re: Ad: Maven 2.0 Eclipse Plug-in compatibility with 
> Eclipse 3.2.x (and IBM RAD 6.x)
> 
> Imho one shouldn't use the m2eclipse-plugin, but just the 
> 'normal' eclipse-plugin for maven...
> As for the RAD-version, a colleague and I are working on that 
> for one of our customers and we are willing (and allowed) to 
> release that stuff. We are not exactly sure on WHEN we will 
> release it, but it shouldn't be too long...
> 
> Roland
> 
> 
> 
> On Friday 28 July 2006 10:57, Stefan Magnus Landrø wrote:
> > The latest version works fine with eclipse 3.1.2.
> >
> > However, I don't find the plugin too beneficial though - I prefer 
> > using the cmd line.
> >
> > Stefan
> >
> > [EMAIL PROTECTED] skrev 28.07.2006 10:34:08:
> > > Hi
> > >
> > > About the Maven 2.0 Eclipse IDE Plug-in 
> > > http://m2eclipse.codehaus.org/
> > >
> > > I tried a software update with Eclipse 3.2 and the plug-in failed.
> > > What is the status?
> > >
> > > One more question. Is there a version of the M2EP that works with 
> > > IBM Rational Software Development Platform 6.x ( i.e olde Eclipse 
> > > 3.0.2 circa 2004/2005 ) ?
> > >
> > >
> > > --
> > > Peter Pilgrim
> > > UBS Investment Bank,
> > > PTS Portal / IT FIRC OPS LDN,
> > > 100 Liverpool Street, London EC2M 2RH, United Kingdom
> > >
> > > :: Java EE / E-Commerce / Spring Framework / Development ::
> > >
> > > Visit our website at http://www.ubs.com
====

--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Spring Framework / 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]



[m1.1] artifactId or id?

2006-07-28 Thread Daniel Beland

Hi,


in maven 1.0.2, when I install or deploy an artifact, it is put in the
 directory under s and the artifact is named
.

Now in maven 1.1, the artifact is named  instead of . I was
not using this tag previously I think Mevenide defaults it to
: so obviously it causes problems because it is not
named as before and it is not deployed at all (I think the colon is not
supported in the file name).


On the web site it says this:
id  The short name of the project. This value is used when naming
jarsand
distribution
files .
groupId The short name of the project group. This value is used to
group all jars
for a project in one directory. For more info look at the user
guide.
 artifactId  The short name of the project. This value is used in
conjunction with groupId when naming
jarsand
distribution
files .

I don't mind updating all my project files, I just want to make sure it is
the expected behaviour from now on before I do it?


Thanks,
Daniel


Dependancy within the modules while generating the site. Help Needed.

2006-07-28 Thread Abhijit Diwan
 

Hi all

 

 I have 2 modules under the main project POM. The directory
structure looks like this

 

*   JCA15Adapter

*   pom.xml
*   AeConnector

*   Pom.xml

*   EjbSupport

*   Pom.xml

 

Main project pom has dependencyManagement section which is as following

 







com.tibco.ejb

EjbSupport

${project.version}







 

Now in AeConnector module I have reference to this other module which is
EjbSupport as following

 





com.tibco.ejb

JCA15Adapter

1.0-SNAPSHOT



4.0.0

AeConnector

jar

AeConnector API





com.tibco.ejb

EjbSupport







 

Pom for EjbSupport looks like this 

 





com.tibco.ejb

JCA15Adapter

1.0-SNAPSHOT



4.0.0

EjbSupport

jar

Support API



 

As far as compile phase is considered it goes fine and dependencies
related to EjbSupport module are resolved but when I try to build a site
usin mvn site I always get following error.

 

[INFO] Building AeConnector API

[INFO]task-segment: [site]

[INFO]


---

[INFO]


[ERROR] BUILD ERROR

[INFO]


[INFO] Failed to resolve artifact.

 

Missing:

--

1) com.tibco.ejb:EjbSupport:jar:1.0-SNAPSHOT

 

  Try downloading the file manually from the project website.

 

  Then, install it using the command:

  mvn install:install-file -DgroupId=com.tibco.ejb
-DartifactId=EjbSupport

 

  -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

 

  Path to dependency:

1) com.tibco.ejb:AeConnector:jar:1.0-SNAPSHOT

2) com.tibco.ejb:EjbSupport:jar:1.0-SNAPSHOT

 

--

1 required artifact is missing.

 

for artifact:

  com.tibco.ejb:AeConnector:jar:1.0-SNAPSHOT

 

from the specified remote repositories:

  central (http://repo1.maven.org/maven2)

 

 

[INFO]


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

[INFO]


 

I would really appreciate if any one can point the correct way for
setting the dependencies for generating the site?

 

Thanks a lot

Abhijit

 



Site generation for single module in multi module project

2006-07-28 Thread Kapil Gupta\(CT\)
Hi,

I have a multi module project with a parent pom. There are lots of sub
modules and one such module contains all the interfaces of the
application.

After building my project through continuum, the site command on parent
pom generates javadocs for each module. But I would like to generate
javadocs for only one module that contains interfaces. I have not set
the reporting tag in any other module still site is generated for each
module.

Is there any way to specify site generation for one module only?

Thanks,

Kapil



Re: Ad: Maven 2.0 Eclipse Plug-in compatibility with Eclipse 3.2.x (and IBM RAD 6.x)

2006-07-28 Thread Roland Asmann
Imho one shouldn't use the m2eclipse-plugin, but just the 'normal' 
eclipse-plugin for maven...
As for the RAD-version, a colleague and I are working on that for one of our 
customers and we are
willing (and allowed) to release that stuff. We are not exactly sure on WHEN we 
will release it, but
it shouldn't be too long...

Roland



On Friday 28 July 2006 10:57, Stefan Magnus Landrø wrote:
> The latest version works fine with eclipse 3.1.2.
>
> However, I don't find the plugin too beneficial though - I prefer using
> the cmd line.
>
> Stefan
>
> [EMAIL PROTECTED] skrev 28.07.2006 10:34:08:
> > Hi
> >
> > About the Maven 2.0 Eclipse IDE Plug-in http://m2eclipse.codehaus.org/
> >
> > I tried a software update with Eclipse 3.2 and the plug-in failed.
> > What is the status?
> >
> > One more question. Is there a version of the M2EP that works with
> > IBM Rational Software Development Platform 6.x
> > ( i.e olde Eclipse 3.0.2 circa 2004/2005 ) ?
> >
> >
> > --
> > Peter Pilgrim
> > UBS Investment Bank,
> > PTS Portal / IT FIRC OPS LDN,
> > 100 Liverpool Street, London EC2M 2RH, United Kingdom
> >
> > :: Java EE / E-Commerce / Spring Framework / 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]



Dependancy within the modules while generating the site. Help Needed.

2006-07-28 Thread Abhijit Diwan
Hi all

 

 I have 2 modules under the main project POM. The directory
structure looks like this

 

*   JCA15Adapter

*   pom.xml
*   AeConnector

*   Pom.xml

*   EjbSupport

*   Pom.xml

 

Main project pom has dependencyManagement section which is as following

 







com.tibco.ejb

EjbSupport

${project.version}







 

Now in AeConnector module I have reference to this other module which is
EjbSupport as following

 





com.tibco.ejb

JCA15Adapter

1.0-SNAPSHOT



4.0.0

AeConnector

jar

AeConnector API





com.tibco.ejb

EjbSupport







 

Pom for EjbSupport looks like this 

 





com.tibco.ejb

JCA15Adapter

1.0-SNAPSHOT



4.0.0

EjbSupport

jar

Support API



 

As far as compile phase is considered it goes fine and dependencies
related to EjbSupport module are resolved but when I try to build a site
usin mvn site I always get following error.

 

[INFO] Building AeConnector API

[INFO]task-segment: [site]

[INFO]


---

[INFO]


[ERROR] BUILD ERROR

[INFO]


[INFO] Failed to resolve artifact.

 

Missing:

--

1) com.tibco.ejb:EjbSupport:jar:1.0-SNAPSHOT

 

  Try downloading the file manually from the project website.

 

  Then, install it using the command:

  mvn install:install-file -DgroupId=com.tibco.ejb
-DartifactId=EjbSupport

 

  -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

 

  Path to dependency:

1) com.tibco.ejb:AeConnector:jar:1.0-SNAPSHOT

2) com.tibco.ejb:EjbSupport:jar:1.0-SNAPSHOT

 

--

1 required artifact is missing.

 

for artifact:

  com.tibco.ejb:AeConnector:jar:1.0-SNAPSHOT

 

from the specified remote repositories:

  central (http://repo1.maven.org/maven2)

 

 

[INFO]


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

[INFO]


 

I would really appreciate if any one can point the correct way for
setting the dependencies for generating the site?

 

Thanks a lot

Abhijit

 



RE: changes plugin and jira-report

2006-07-28 Thread Roald Bankras
Thx Denis
I've created MCHANGES-54

Roald Bankras
Software Engineer
JTeam b.v.

-Original Message-
From: Denis Cabasson [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 28, 2006 10:42 AM
To: users@maven.apache.org
Subject: RE: changes plugin and jira-report



Roald Bankras wrote:
> 
> Hey Dennis
> 
> I've taken a look at the new changes plugin, including the documentation,
> but I run into a problem when I try to add a filter to my report
> configuration. When I add the following filter to the pom, running changes
> gives a 500 error.
> 
> &sorter/field=priority&sorter/order=DESC&sorter/field=updated&sorter/order=DESC&sorter/field=fixVersions&sorter/order=ASC
> 
> It seems that the leading & is removed from the url.
> 

Looks like a bug to me. The leading & is indeed stripped from the
filter, while when filter is built automatically, it gets a leading &
Fill a jira issue for this...



Roald Bankras wrote:
> 
> A small comment on the document is that I'd also put an example with a
> configuration in there. For the user not familiar with the configuration
> tag, the tags describes don't mean a thing.
> 
Have a look at the examples provided. Even though they don't adress your
problem at all, you can see how to use the configuration element there.

Denis
-- 
View this message in context: 
http://www.nabble.com/changes-plugin-and-jira-report-tf1992932.html#a5535753
Sent from the Maven - Users forum at Nabble.com.


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



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006
 

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



RE: Issues related to snapshot versions of dependencies and filenames

2006-07-28 Thread Jörg Schaible
Stefan Magnus Landrø wrote on Friday, July 28, 2006 10:49 AM:

> I believe I found the solution to this issue.
> 
> I placed the following snipplet in the jar-projects that my project
> depend upon, and made sure to use uniqueVersion set to false.
> A fresh deploy of these jar-projects then wrote a
> -SNAPSHOT.jar to the
> company repository (you only get timestamped versions if you use
> uniqueVersion=true(default)) 
> 
> 
> 
> internal
> Company Repository
> file:\\server\repo-local
> false
> 
> 
> 
> To bad there is nothing about this in the mergere book

and despite the fact, that this has its own quirks:
http://jira.codehaus.org/browse/MNG-1908

[snip]

- Jörg

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



Ad: Maven 2.0 Eclipse Plug-in compatibility with Eclipse 3.2.x (and IBM RAD 6.x)

2006-07-28 Thread Stefan Magnus Landrø
The latest version works fine with eclipse 3.1.2.

However, I don't find the plugin too beneficial though - I prefer using 
the cmd line.

Stefan

[EMAIL PROTECTED] skrev 28.07.2006 10:34:08:

> 
> Hi 
> 
> About the Maven 2.0 Eclipse IDE Plug-in http://m2eclipse.codehaus.org/
> 
> I tried a software update with Eclipse 3.2 and the plug-in failed.
> What is the status? 
> 
> One more question. Is there a version of the M2EP that works with
> IBM Rational Software Development Platform 6.x 
> ( i.e olde Eclipse 3.0.2 circa 2004/2005 ) ?
> 
> 
> --
> Peter Pilgrim
> UBS Investment Bank, 
> PTS Portal / IT FIRC OPS LDN,
> 100 Liverpool Street, London EC2M 2RH, United Kingdom
> :: Java EE / E-Commerce / Spring Framework / 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]
> 


Ad: Issues related to snapshot versions of dependencies and filenames

2006-07-28 Thread Stefan Magnus Landrø
I believe I found the solution to this issue.

I placed the following snipplet in the jar-projects that my project depend 
upon, and made sure to use uniqueVersion set to false.
A fresh deploy of these jar-projects then wrote a -SNAPSHOT.jar to the 
company repository (you only get timestamped versions if you use 
uniqueVersion=true(default))



internal
Company Repository
file:\\server\repo-local
false



To bad there is nothing about this in the mergere book

Stefan 


Stefan Magnus Landrø <[EMAIL PROTECTED]> skrev 27.07.2006 
15:55:34:

> Hi there,
> 
> We've run into the following issue:
> 
> Our war project depends on a certain number of in house jar projects. 
Now, 
> these jar projects are under development, so we're using snapshots, and 
> publishing these to our company repository on a regular basis.
> 
> Now, the thing is that on some environments, the snapshot-jars end up in 

> the web-inf\lib dir with filenames as follows: 
> jarproject-3.1-20060725.121629-3.jar, whereas on other environments they 

> end up with the following filename jarproject-3.1-SNAPSHOT.jar
> 
> You might say, this is not a problem, because they get loaded by the 
> classloader anyways, however, we're using a portal framework that 
requires 
> the filenames to be known in advance.
> 
> Does anyone know why this happens, and how we can get around this issue?
> 
> Kind regards,
> 
> Stefan Magnus Landrø
> BEKK Consulting


maven-ejb-plugin v2.1

2006-07-28 Thread Ken Helmes
Hello,

 

The 2.1 version of the maven-ejb-plugin should have a bug fix for including
and excluding files.  However, I don't see the 2.1 version in ibiblio.  Can
someone tell me where to find it?

 

Regards,

Ken Helmes

 

 

 



RE: changes plugin and jira-report

2006-07-28 Thread Denis Cabasson


Roald Bankras wrote:
> 
> Hey Dennis
> 
> I've taken a look at the new changes plugin, including the documentation,
> but I run into a problem when I try to add a filter to my report
> configuration. When I add the following filter to the pom, running changes
> gives a 500 error.
> 
> &sorter/field=priority&sorter/order=DESC&sorter/field=updated&sorter/order=DESC&sorter/field=fixVersions&sorter/order=ASC
> 
> It seems that the leading & is removed from the url.
> 

Looks like a bug to me. The leading & is indeed stripped from the
filter, while when filter is built automatically, it gets a leading &
Fill a jira issue for this...



Roald Bankras wrote:
> 
> A small comment on the document is that I'd also put an example with a
> configuration in there. For the user not familiar with the configuration
> tag, the tags describes don't mean a thing.
> 
Have a look at the examples provided. Even though they don't adress your
problem at all, you can see how to use the configuration element there.

Denis
-- 
View this message in context: 
http://www.nabble.com/changes-plugin-and-jira-report-tf1992932.html#a5535753
Sent from the Maven - Users forum at Nabble.com.


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



RE: M2 Problems using wagon-ssh and scp site:deploy, but eventual success

2006-07-28 Thread Jörg Schaible
Mykel Alvis wrote on Friday, July 28, 2006 8:02 AM:

> I'm just a caveman programmer, and my attempts to use the wagon-ssh
> extension were failing under strange circumstances.  Come
> close around the
> fire while I tell the story of what I call "The Demon of Attempting To
> Deploy Using SSH Under Windows".
> 
> It all started yesterday.
> {cue the Scooby Doo wavy lines, and/or the Mr. Peabody and Sherman
> noises...} 
> 
> I had the latest update of the maven eclipse plugin as well as maven
> 2.0.4installed on the machine that I ran these scenarios with.  The
> username on the Windows box I was using is "Mykel".  I had already
> supplied the receiving host with my public key, which I generated
> using putty-0.58 
> 
> 
> In my pom.xml :
> 
> 
> 
> org.apache.maven.wagon
> wagon-ssh
> 1.0-beta-1
> 
> 
> 
> 
> 
> site-id
> Sourceforge Site
> 
> scp://shell.sourceforge.net/home/groups/r/rp/rpgee/htdocs/
>  
> 
> 
> In my settings.xml :
> 
> site-id
> myusername
>  c:/putty/sourceforge-Shell.ppk
> passphrase
> 775
> 664
> 
> 
> The .ppk file indicated is the same one I was supplying to
> pageant to allow
> my caveman brain to not have to remember the passwords for
> the remote hosts.

Note, that PuTTY's keys have an own format. You must export the key in the 
proper format (can be done with the same tool you are creating the PuTTY key - 
just can't remember the name).

[snip]

- Jörg

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



Re: [maven-antrun-plugin] How to pass default Maven Properties to ?

2006-07-28 Thread Alexis Midon

Hi Toli,

I post my question on my blog too and I got
a useful answer from
Ruben
He suggests me to use the maven ant-task inside the build.xml itself.

http://maven.apache.org/ant-tasks.html

Actually the pom task  will load
a POM file and make it available as a reference for the other tasks or as
properties.
That could be a neat solution, don't you think?

Alexis


On 7/27/06, Toli Kuznets <[EMAIL PROTECTED]> wrote:


Alexis,

i've experimented with this as well and ended up with the same
solution as you. I'm afraid that may be the only option for now.

On 7/27/06, Alexis Midon <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> As recommended by the antrun
> plugin<
http://maven.apache.org/plugins/maven-antrun-plugin/introduction.html>,
> I'd like to "move all my Ant tasks to a build.xml file and just call it
from
> the POM using Ant's  task<
http://ant.apache.org/manual/CoreTasks/ant.html>
> ."
>
> I need to use some of the Maven properties (${project.build.directory},
${
> project.build.outputDirectory}, etc.) inside the build.xml,
unfortunately it
> seems that those properties are not inherited from the Maven Project.
>
> To be precise, Maven properties are available in the Maven  tag
but
> not passed to the  task.
>
> 
> 
> 
> ${project.build.directory}
>
> 
>   antfile="build.xml"
> />
> 
> 
>
>
> The only workaround I found out is to explicitly declare the properties
> before or inside the  tag.
> But you will agree that this not really neat nor efficient.
>
> 
> 
> 
> 
>
>   antfile="build-test.xml"
> />
> 
> 
>
> Does anyone have a solution please?
>
> Thanks in advance for your help,
>
> Alexis
>
>


--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.

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




Maven 2.0 Eclipse Plug-in compatibility with Eclipse 3.2.x (and IBM RAD 6.x)

2006-07-28 Thread Peter . Pilgrim

Hi 

About the Maven 2.0 Eclipse IDE Plug-in http://m2eclipse.codehaus.org/

I tried a software update with Eclipse 3.2 and the plug-in failed.
What is the status? 

One more question. Is there a version of the M2EP that works with
IBM Rational Software Development Platform 6.x 
( i.e olde Eclipse 3.0.2 circa 2004/2005 ) ?


--
Peter Pilgrim
UBS Investment Bank, 
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
:: Java EE / E-Commerce / Spring Framework / 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: Functional Tests and maven-surefire-report-plugin

2006-07-28 Thread Christophe DENEUX


Hi friends,

It seems that the maven-surefire-report-plugin generates the report only 
if the "language" of the "packaging" is "java" (see in source code: 
SurefireReportMojo.canGenerateReport).


As described in "Introduction to the Build Lifecycle" 
(http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html), 
I try to create a new packaging (it-java) as a 
build extension:
   - to map executions of maven-compiler-plugin, 
maven-resources-plugin, maven-surefire-plugin on the right phases,

   - to define the language ("java").

I have updated the POM of my functional tests modules to change the 
packagin and add the extension.


But the maven-surefire-report-plugin does not recognize the language of 
my new packaging. The executions of maven-compiler-plugin, 
maven-resources-plugin, maven-surefire-plugin are fine.


Where is my mistake ?

My extension is only composed of the source file 
META-INF/plexus/components.xml:


 
   
 org.apache.maven.artifact.handler.ArtifactHandler
 it-java
 
org.apache.maven.artifact.handler.DefaultArtifactHandler

 
   it-java
   java
 
   
   
 org.apache.maven.lifecycle.mapping.LifecycleMapping
 it-java
 
org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping

 
   
 
org.apache.maven.plugins:maven-resources-plugin:testResources
 
org.apache.maven.plugins:maven-compiler-plugin:testCompile
 
org.apache.maven.plugins:maven-surefire-plugin:test

   
 
   
 



Thanks for your help.



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Christophe DENEUX a écrit :


Hi all,

I'm trying to use maven-surefire-report-plugin to have a status on my 
functional tests in the maven generated website.


I think that i have used a standard way to implement functional tests:
   - my functional tests are a module of my project, that is packaged 
as POM (pom).
   - I have defined sources directories as src/it/java and 
src/it/resources,
   - I have redefined execution for maven-compiler-plugin, 
maven-resources-plugin, maven-surefire-plugin.


When I launch "mvn clean integration-test site site:deploy", the 
surefire report is not generated during site generation, but my 
functional tests are executed.

Here after, the POM of my functional module and execution traces.

Any idea ?

Thanks,
Christophe DENEUX


--



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/maven-v4_0_0.xsd";>
   
   ...
   ...
   ...
   
   4.0.0
   functional-tests
   ...
   pom
 
   ...
   
 
   src/it/java
   
   
   ${basedir}/src/it/resources
   
   
   
   
   org.apache.maven.plugins
   maven-compiler-plugin
   
   
   
   testCompile
   
   
   
   
 
   org.apache.maven.plugins
   maven-resources-plugin
   
   
   
   testResources
   
   
   
   
 
   org.apache.maven.plugins
   maven-surefire-plugin
   
   true
   
   
   
   integration-test
   
   test
   
   
   
   
   
   
 
   
   ...
   
   org.apache.maven.plugins
   maven-surefire-report-plugin
   
   ...
   
   org.apache.maven.plugins
   maven-project-info-reports-plugin
   
   
   


---
[INFO] [clean:clean]
[INFO] Deleting directory C:\Documents and Settings\cdeneux\Mes 
documents\Alc...
[INFO] Deleting directory C:\Documents and Settings\cdeneux\Mes 
documents\Alc...
[INFO] Deleting directory C:\Documents and Settings\cdeneux\Mes 
documents\Alc...

[INFO] [resources:testResources {execution: default}]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile {execution: default}]
Compiling 1 source file to C:\Documents and Settings\cdeneux\Mes 
documents\Al...


Re: sub project notifications

2006-07-28 Thread Emmanuel Venisse

We use only notifiers defined on the project added to continuum.

Emmanuel

Jesse McConnell a écrit :

I don't think it will use that childs notification element, I don't
think continuum actually knows anything about that subproject when it
comes to it failing and sending out notifications.

on the bright side project groups are getting a rework in the next
version of continuum :)

jesse

On 7/27/06, Brian E. Fox <[EMAIL PROTECTED]> wrote:

Hi All,
We're currently running 1.0.3 on several large multiprojects. I needed
to add just the parents and clear the non-recursive flag because having
each module as a standalone entity in continuum was unmanageable (we
have ~50 modules in several branches for around 100+ total). If I set a
notification element in one of the child poms, will continuum use that
to notify? Example:

A--
B--
C
D
E

If I set a notification email in B, when the build fails in C or D, will
that be sent, or will it only send notifications configured in A since
that's the only project configured directly in continuum?











Re: sub project notifications

2006-07-28 Thread Emmanuel Venisse

It will be a 1.1 feature. Actually, you need to force a build of B and C if 
they haven't changes.

Emmanuel

Philippe Faes a écrit :

I have a related question for multiple projects (but not sub-projects).
If project B and C depend on project A, I would like to automatically
re-build B and C whenever A gets updated (and rebuilt). This is needed
because minor modifications in A could trigger bugs in B or C.
Is there an easy way to do that? 


thanks
Philippe

On Thu, 2006-07-27 at 21:32 -0500, Jesse McConnell wrote:

I don't think it will use that childs notification element, I don't
think continuum actually knows anything about that subproject when it
comes to it failing and sending out notifications.

on the bright side project groups are getting a rework in the next
version of continuum :)

jesse

On 7/27/06, Brian E. Fox <[EMAIL PROTECTED]> wrote:

Hi All,
We're currently running 1.0.3 on several large multiprojects. I needed
to add just the parents and clear the non-recursive flag because having
each module as a standalone entity in continuum was unmanageable (we
have ~50 modules in several branches for around 100+ total). If I set a
notification element in one of the child poms, will continuum use that
to notify? Example:

A--
B--
C
D
E

If I set a notification email in B, when the build fails in C or D, will
that be sent, or will it only send notifications configured in A since
that's the only project configured directly in continuum?






Re: scm: svn, Jira, conitinum

2006-07-28 Thread Emmanuel Venisse



Satish a écrit :


Hi, i have seen couple of posting on these, but not able to find some basic
answers

I got my project setup with Maven2 and build is working.

a. How do we confirgure to scm: SVN
   - any samples configuration files with couple of instructions


http://maven.apache.org/scm/subversion.html


b. same for continum and JIRA


For continuum, when your pom will be configure with  and will put in your subversion, you add 
it in continuum from the menu


Emmanuel


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



SV: M2 Problems using wagon-ssh and scp site:deploy, but eventual success

2006-07-28 Thread Simon Kepp Nielsen
Hi Mykel,

You can set up Maven to use putty as your ssh client. Then you can use you 
putty keys and pageant.

You do this by adding the following to your server configuration in 
settings.xml:


 server-id 
 username 
 
plink 
pscp 
  
   

You can find more documentation in "Guide to deploying with an external SSH 
command", which can usually be found from 
http://maven.apache.org/guides/index.html. However, that link seems to be 
broken at the moment :-(

Best regards

Simon Kepp Nielsen, Configurations Manager
PFA Pension, Teknisk Arkitektur
Mobile: +45 30 52 77 07
E-mail: [EMAIL PROTECTED]


PFA Pension
Sundkrogsgade 4
DK-2100 Copenhagen OE

Disclaimer
This message is for the designated recipient only and may contain confidential 
or privileged information. If you have received the message in error, please 
notify the sender by replying the e-mail and delete the message without copying 
or disclosing.

-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Mykel Alvis
Sendt: 28. juli 2006 08:02
Til: Maven Users List
Emne: M2 Problems using wagon-ssh and scp site:deploy, but eventual success

I'm just a caveman programmer, and my attempts to use the wagon-ssh extension 
were failing under strange circumstances.  Come close around the fire while I 
tell the story of what I call "The Demon of Attempting To Deploy Using SSH 
Under Windows".

It all started yesterday.
{cue the Scooby Doo wavy lines, and/or the Mr. Peabody and Sherman noises...}

I had the latest update of the maven eclipse plugin as well as maven 
2.0.4installed on the machine that I ran these scenarios with.  The username on 
the Windows box I was using is "Mykel".  I had already supplied the receiving 
host with my public key, which I generated using putty-0.58


In my pom.xml :



org.apache.maven.wagon
wagon-ssh
1.0-beta-1





site-id
Sourceforge Site

scp://shell.sourceforge.net/home/groups/r/rp/rpgee/htdocs/




In my settings.xml :

site-id
myusername
 c:/putty/sourceforge-Shell.ppk
passphrase
775
664


The .ppk file indicated is the same one I was supplying to pageant to allow my 
caveman brain to not have to remember the passwords for the remote hosts.

I had decided that I was simply not going to be able to invoke the site:deploy 
command from inside the maven2 eclipse plugin.  It has never worked on either 
windows or linux.  I like the eclipse plugin quite a lot, but I can't ever seem 
to get it to invoke a deployment successfully.

I eventually accepted the "fact" that pageant was NOT going to authenticate me 
via maven, and in doing so I said "yes" when asked if I wanted to trust the 
remote box.  It added shell.sourceforge.net to known_hosts inside c:\documents 
and settings\Mykel\.ssh\known_hosts (which had to be created from the command 
line since XP didn't want to let me name a directory ".ssh").
Note  that I BELIEVE putty puts its known_hosts in c:\documents and 
settings\Mykel\ssh\known_hosts (ssh with no leading period)  I already had that 
directory with a known_hosts file in it.  I'm not saying the maven plugin is 
wrong.  I'm just a caveman programmer and it seems like it isn't doing what I 
believe putty does.  Under windows, putty isn't the ONLY ssh client.  Just the 
one used by caveman programmers.

But I digress...

The site deployment using scp seems to work fairly well under linux.  The 
openssh key swap that I had to do to make it work smoothly wasn't so bad and I 
haven't experienced a problem, although I have not yet tried to deploy to 
sourceforge using linux yet so I might be wrong about that.  But all in all, 
the linux deploys seem to go smoothly.

Under windoze, things are slightly different:

doing a mvn site:deploy, I was greeted with the following:

Using private key: c:\putty\sourceforge-Shell.ppk
Identity: com.jcraft.jsch.JSchException: invaid privatekey:
c:\putty\sourceforge-Shell.ppk
 Session error: com.jcraft.jsch.JSchException: invaid privatekey:
c:\putty\sourceforge-Shell.ppk
scp://shell.sourceforge.net/home/groups/r/rp/rpgee/htdocs/ - Session:
Disconnecting
scp://shell.sourceforge.net/home/groups/r/rp/rpgee/htdocs/ - Session:
Disconnected
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error uploading site

Embedded error: Cannot connect. Reason: invaid privatekey:
c:\putty\sourceforge-Shell.ppk


Apparently, that's a invalid private key.  Paegent thinks it's OK and I can use 
putty to ssh to the shell.sourceforge.net server without ente

RE: changes plugin and jira-report

2006-07-28 Thread Roald Bankras
Hey Dennis

I've taken a look at the new changes plugin, including the documentation, but I 
run into a problem when I try to add a filter to my report configuration. When 
I add the following filter to the pom, running changes gives a 500 error.

&sorter/field=priority&sorter/order=DESC&sorter/field=updated&sorter/order=DESC&sorter/field=fixVersions&sorter/order=ASC

It seems that the leading & is removed from the url.

A small comment on the document is that I'd also put an example with a 
configuration in there. For the user not familiar with the configuration tag, 
the tags describes don't mean a thing.

Roald Bankras
Software Engineer
JTeam b.v.

-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 24, 2006 5:41 PM
To: Maven Users List
Subject: Re: changes plugin and jira-report

juergen.schumacher wrote:
> Hi,
> I need the changes plugin to create a report about the changes done in jira.
> So far (after a while, try and error) the plugin could logon the jira
> system. Here the output:
> 
> [INFO] Succesfully logged in into JIRA.
> [INFO] Downloading
> http://localhost:8083/jira/secure/IssueNavigator.jspa?view=rss&pid=1&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
> [WARNING] Received: [503]
> org.xml.sax.SAXParseException: White spaces are required between publicId
> and sy
> stemId...
> .
> 
> As you can see there is an error complaining about white spaces.
> 
> Whats that? Had anybody similar effects and maybe any Idea ??? I found one
> in this forum with similar error messages but no solution.

Hi

What version of the plugin are you using? I published a 
2.0-beta-2-SNAPSHOT for the Apache version of the plugin last week. 
Please try it out if you are using the one from Mojo. Use this in your pom:


   ...
   
 
   
 org.apache.maven.plugins
 maven-changes-plugin
 
   
 
   jira-report
 
   
 
   
 
   
   ...


You can view a snapshot of the documentation (still a work in progress) 
for that version of the plugin here:
   http://people.apache.org/~dennisl/maven-changes-plugin/

Note that you may need to add the snapshot repository at Apache to be 
able to download it. You can do this in your pom as well:


...
   
 
   apache-snapshots
   Apache snapshots
   http://people.apache.org/maven-snapshot-repository/
 
   
...





-- 
Dennis Lundberg

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



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date: 7/21/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006
 

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



Re: Cleaning a Directory After Tests

2006-07-28 Thread Roland Asmann
Or you could configure an antrun to do the deleting

Roland



On Friday 28 July 2006 04:12, Ole Ersoy wrote:
> Actually,
>
> I think it's cleaner just to use the apache commons.io
> library FileUtils.delete(File directory) method in the
> teardown of the test.
>
> Here's the dependency in case anyone else wants to do
> this:
>
>   
>   commons-io
>   commons-io
>   1.2
>   test
>   
>
>
> Cheers,
> - Ole
>
> --- Ole Ersoy <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > My tests create a directory in the root of the
> > project.
> >
> > Does anyone know of a plugin that will clean a
> > specified directory?
> >
> > Something similar to doing this in ant:
> >
> > 
> >
> > Thanks,
> > - Ole
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
>
> -
>
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



SV: Packaged webapp

2006-07-28 Thread Simon Kepp Nielsen
Hi Kevin,

Try taking a look at the Assembly plugin. You can find documentation on
http://maven.apache.org/guides/mini/guide-assemblies.html
http://maven.apache.org/plugins/maven-assembly-plugin/

Best regards

Simon Kepp Nielsen, Configurations Manager
PFA Pension, Teknisk Arkitektur
Mobile: +45 30 52 77 07
E-mail: [EMAIL PROTECTED]


PFA Pension
Sundkrogsgade 4
DK-2100 Copenhagen OE

Disclaimer
This message is for the designated recipient only and may contain
confidential or privileged information. If you have received the message
in error, please notify the sender by replying the e-mail and delete the
message without copying or disclosing.

-Oprindelig meddelelse-
Fra: Kevin Menard [mailto:[EMAIL PROTECTED] 
Sendt: 28. juli 2006 01:55
Til: 'Maven Users List'
Emne: Packaged webapp

Hi all,

I have a Web app project that builds to a WAR just fine.  What I'd like
to do is also package it with a Tomcat bundle.  This way, I can provide
a single ZIP with everything necessary to run the Web app.

Does anyone have any experience doing this with maven?  Any pointers for
me?

Thanks,
Kevin


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


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



Re: Can we map a plugin to multiple phases?

2006-07-28 Thread macv


I found the solution, in the execution section I need to set unique ID.

Thanks. 
-- 
View this message in context: 
http://www.nabble.com/Can-we-map-a-plugin-to-multiple-phases--tf2013705.html#a5534763
Sent from the Maven - Users forum at Nabble.com.


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