RE: share local repository

2006-06-26 Thread Jörg Schaible
Brett Porter wrote on Tuesday, June 27, 2006 8:37 AM:

> Please note it is highly recommended that you *do not share* your
> *local* repository. Maven makes no attempt to guarantee that
> permissions will be set correctly and that you and your colleagues
> won't overwrite each others work (it probably should lock the local
> repo while installing to allow you to do multiple installs at the same
> time, but it rarely is the case if you are the only user).
> 
> You should instead consider a shared "remote" deployment repository
> inside your organisation. 

Woudn't this be possible if the local repository were divided into release and 
snapshot as well? The snapshot repo should never be shared, but why not a local 
repo with releases? This would also help to wipe out all the local snapshots at 
once. Keeping local copies of released artifacts seems only useful if you 
intend to work independent of the network shares, but otherwise they are 
somewhat a waste of space.

- Jörg

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



Re: share local repository

2006-06-26 Thread Brett Porter

Please note it is highly recommended that you *do not share* your
*local* repository. Maven makes no attempt to guarantee that
permissions will be set correctly and that you and your colleagues
won't overwrite each others work (it probably should lock the local
repo while installing to allow you to do multiple installs at the same
time, but it rarely is the case if you are the only user).

You should instead consider a shared "remote" deployment repository
inside your organisation.

- Brett

On 28/06/06, Allan Ramirez <[EMAIL PROTECTED]> wrote:

As far as I know, that is the only way. :)

-allan

tulasi wrote:
> Hi,
>
> I have to share my repository with my collegues. I have gave the shared
> permissions fir repository and and i have modified settings.xml  set the tag
> like
> //xymachine/repository
>
> i have tested with yz machine.  its working fine.
>
> My question is can i able to do without modifying settings.xml?. is there
> any other way to do?
>
>



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





--
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/

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



Re: Inconsistency between JAR and Assembly

2006-06-26 Thread Barrie Treloar

I have the same issue that has no response to it in the archives,

that is the Class-Path entry in manifest has
--SNAPSHOT but the assembled files resolve
SNAPSHOT to the dated version.

Does anyone know the answer?

Thanks
Bae

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



Re: Any news about the update of Maven2 book with corrected errata ?

2006-06-26 Thread [EMAIL PROTECTED]
On Tuesday 27 June 2006 02:10, natalie burdick wrote:
> Sebastien,
>
> Are you volunteering as an author or a reviewer?

I am volunteering as a reviewer
Alexandre

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



Scope and manifest class path with M2

2006-06-26 Thread Maciej Mastalarczuk

Hi,

I am building a WAR file and I need M2 to put a jar in the manifest class 
path, but not include it under WEB-INF/lib (this is due to the classloader 
confiuration issues on WAS6).


Seems like a simple task, but is it possible? When I use scope 'provided' - 
it skips the class path entry in the maniftest. Any other scope will cause 
the jar to end up in WEB-INF/lib


Regards

Maciej Mastalarczuk

_
Research and compare new cars side by side at carpoint.com.au 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F833884&_t=54321&_r=hotmail_endtext&_m=EXT



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



Re: share local repository

2006-06-26 Thread Allan Ramirez

As far as I know, that is the only way. :)

-allan

tulasi wrote:

Hi,

I have to share my repository with my collegues. I have gave the shared
permissions fir repository and and i have modified settings.xml  set the tag
like 
//xymachine/repository 


i have tested with yz machine.  its working fine.

My question is can i able to do without modifying settings.xml?. is there
any other way to do?

  


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

share local repository

2006-06-26 Thread tulasi

Hi,

I have to share my repository with my collegues. I have gave the shared
permissions fir repository and and i have modified settings.xml  set the tag
like 
//xymachine/repository 

i have tested with yz machine.  its working fine.

My question is can i able to do without modifying settings.xml?. is there
any other way to do?

-- 
View this message in context: 
http://www.nabble.com/share-local-repository-tf1853318.html#a5060057
Sent from the Maven - Users forum at Nabble.com.


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



Re: java2iiop (Visibroker)

2006-06-26 Thread dan tran

On 6/26/06, TimHedger <[EMAIL PROTECTED]> wrote:



Dan,

I'm on the way to building this.  Just one question.

The steps in the process are:
1 compile java interface files




This is work of client pom itself to invoke compiler plugin to compile only
the selective java interfaces in your source root

2 run java2iiop process to generate more classes


This is work of your plugin to work on those generate classes, you will need
to place those generated java files
inside target directory and add the generated source dir to the maven
project source tree dynamically.

Do you know how directly invoke visibroker to do this work ( rather going
thru the provided executable, which make it not portable among platform)?

3 compille the generated classes with my own code


normal compile happens here

3 is obviously the normal compile phase


I would expect 2 to be generates-sources, but that would only leave
validate
to tie my compile java interface files to.  Which seems like a botch job.



Not sure what is the problem here

What is the right way to do this?



yes

And are there any examples you can point me at where other plugins or

configurations do a javac compile before the standard compile?
--





 
   org.apache.maven.plugins
   maven-compiler-plugin
   
 
   precompile
   generate-sources
   
 
   x/y/z/interface1.java
   x/y/z/interface2.java
 
   
   
 compile
   
 
   
 





View this message in context:
http://www.nabble.com/java2iiop-%28Visibroker%29-t1846831.html#a5045134
Sent from the Maven - Users forum at Nabble.com.


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




Re: scm connection string

2006-06-26 Thread Edwin Punzalan


The space between the path and the module should be a colon (:).

Please see: http://maven.apache.org/scm/cvs.html


^_^


Srinivas Pavani wrote:

Can some one please help me out in understanding how the scm connection 
settings work with respect to continuum and maven?

Maven2 has the following settings:

  
  scm:cvs:pserver:MY_NAME:[EMAIL 
PROTECTED]:PORT:/usr/local/cvsroot MY_MODULE
  scm:cvs:pserver:MY_NAME:[EMAIL 
PROTECTED]:PORT:/usr/local/cvsroot MY_MODULE
  MY_BRANCH
 
 http://MY_SERVER/cgi-bin/viewvc.cgi/MY_MODULE/
  

Which one of these is used scm connection is used by Continuum?
What do the settings in Continuum admin screen do - scm url/user id/password? 
Are these mean to override what is provided by maven pom.xml?

When I run maven's scm:validate, the validation is successful but when I try to 
run any other command such as scm:status scm:checkout, I keep  getting an error 
CVS requires a path spec.

I cannot figure out what is the correct scm connection string for a CVS 
repository which uses a pserver.

Can anyone provide a working example on how to setup these strings?

Thanks
Srinivas



-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.
  


Re: Sample project using M2/EJB3/TestNG for using jboss embeddable container

2006-06-26 Thread Srepfler Srgjan

Hi Marco,
I want to try your example but where can we find the files 
ehcache-alpha6.jar, hibernate-all-alpha6.jar, jboss-ejb3-all-alpha6.jar 
and thirdparty-all-alpha6.jar ? The latest jboss microcontainer release 
is 1.0.2 and it doesn't contain these libs (actually, is this the 
project we're supposed to download?)

Thanks and I hope this will become an archetype!

Srgjan

W Totti!!!

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



Re: properties file valorization during integration

2006-06-26 Thread Wayne Fay

Generally this is handled during the package phase with filters. I'm
not aware of any existing plugins which would take an existing Maven
artifact (out of local repo, I suppose) and change properties values
for a specific environment.

I'm assuming the existing "filter resources during build" stuff is not
acceptable to you?

Wayne

On 6/26/06, Sebastien Moreno <[EMAIL PROTECTED]> wrote:


Hello,

I would like to change properties values during integration.

In order to put values into properties file specific to an environnement
(path to generate files, etc), I would like to describe the properties to
valorize into the pom.
Then a maven "plugin" could change the values following a provided catalog
file.

This is a bit the same of the "replace" task in Ant to change the values in
property file.

Is there any existing plugin which could do that? Or a better method?

If not, I'm thinking about making a plugin who could do that.

Thanks!

Sebastien

--
View this message in context: 
http://www.nabble.com/properties-file-valorization-during-integration-t1850139.html#a5050881
Sent from the Maven - Users forum at Nabble.com.


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




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



Re: hibernate3 extension - No Suitable Driver

2006-06-26 Thread Allan Ramirez
Have you tried declaring your driver as a dependency instead of as an 
extension?


-allan

bkbonner wrote:

Max, I did do this, which is why I posted my original msg.  Thanks for
replying, just the same.

I realized what was happening.  The driver URL syntax had changed in the new
driver version.

I wanted to rule out that there wasn't anything special about the artifact. 
Lo and behold, it's just a regular JDBC driver library as you correctly

stated.

Brian
--
View this message in context: 
http://www.nabble.com/hibernate3-extension---No-Suitable-Driver-t1838389.html#a5019392
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]

scm connection string

2006-06-26 Thread Srinivas Pavani
Can some one please help me out in understanding how the scm connection 
settings work with respect to continuum and maven?

Maven2 has the following settings:

  
  scm:cvs:pserver:MY_NAME:[EMAIL 
PROTECTED]:PORT:/usr/local/cvsroot MY_MODULE
  
scm:cvs:pserver:MY_NAME:[EMAIL PROTECTED]:PORT:/usr/local/cvsroot 
MY_MODULE
  MY_BRANCH
 
 http://MY_SERVER/cgi-bin/viewvc.cgi/MY_MODULE/
  

Which one of these is used scm connection is used by Continuum?
What do the settings in Continuum admin screen do - scm url/user id/password? 
Are these mean to override what is provided by maven pom.xml?

When I run maven's scm:validate, the validation is successful but when I try to 
run any other command such as scm:status scm:checkout, I keep  getting an error 
CVS requires a path spec.

I cannot figure out what is the correct scm connection string for a CVS 
repository which uses a pserver.

Can anyone provide a working example on how to setup these strings?

Thanks
Srinivas



-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.

Re: Custom Repository Handler?

2006-06-26 Thread Edwin Punzalan


Hmmm...

I don't get this.  I know maven looks for poms in the repositories, but 
if cannot find one, it assumes a default pom and won't fail.  So I don't 
think you need a new repository handler for that.


What seems to be the problem?


Russell, Mark wrote:

Here is my scenario...

 


I'm in the process of creating a new project (with some specialized
plugins).  This new project needs to fetch some jars create in-house
from our existing repository which is similar in structure to maven 1.x
repositories (the structure is from the maven 1 alpha days).  The jars
it needs to fetch need to become part of the compile dependencies.
Unfortunately our repository structure IS NOT a maven 1.x structure as
1.x is today.  This means that there is no poms directory.

 


So my problem is that maven 2.x looks for a .pom file in our existing
repository that simply does not exist, and probably won't unless I
handcraft them.  So my question... Is it possible to define a repository
handler and bind it to a new type (ie instead of legacy, maybe an
inhouse-legacy type) to get around this?

 


Eventually I intend to convert everything to m2, but that isn't feasible
at this point in time.  Thus if I can't find a way around this, I'm
probably going to need to write a bunch of ant tasks to handle what I
need, which I'd rather not due since I much prefer the m2 plug-in
methodology.

 

 


Thanks,

 


Mark Russell


  


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



Re: cvs connection string

2006-06-26 Thread Edwin Punzalan


uhm, you put your password in the url like so:

   scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:module


Jeff Mutonho wrote:

Ok thanks.That seem to have sorted it out , but now Contiuum is
expecting a password in the scm connection string.I've installed a
cvsnt and did the manual login , tested checking out a project and
then logout.On my linux machine I have a ~/.cvspass file , but I don't
know how this works on XP?What am I suppose to to get Continuum to be
able to check code out of CVS?

On 6/26/06, jerome lacoste <[EMAIL PROTECTED]> wrote:

On 6/26/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
> Whats wrong with this scm connection string :
>
> 
> 
>scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot
> 
> 
>scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot
> 
> 

lacking module ?

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

> In any case , what the difference between  and
> ?

http://maven.apache.org/ref/current/maven-model/maven.html#class_scm

The distinction is mostly for security reasons and in small enterprise
setups you don't see the difference, although a guest connection might
be useful for giving access to tools (like your issue tracker, your
web scm, ...).

For those who don't want this granularity, it would seem logical (to
me) to have to define only the developer one when there's no
distinction between both. Hence issues like
http://jira.codehaus.org/browse/SCM-196

Cheers,

Jerome

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





Seems sorted , but now Continuum says :
Exception:
Cannot checkout sources.
Exception while executing SCM command.
password is required


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

-
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: Any news about the update of Maven2 book with corrected errata ?

2006-06-26 Thread Dennis Lundberg

You can count me in as a reviewer.

--
Dennis Lundberg

natalie burdick wrote:

Sebastien,

Are you volunteering as an author or a reviewer?

Please let me know and I will contact you directly off the mailing list -
and if there are any other volunteers interested in being reviewers, please
feel free to respond to this thread.

Natalie

On 6/23/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:


Any news about the updated version of Maven2 book ?
If you need help, I'm volunteer :oP

--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org

-
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: [m204] Error with compiler plugin with new project...

2006-06-26 Thread Steven Coco

Mick Knutson wrote:

Nope. That did not do it.

Hi.

Well, I am still looking at a bit more Maven than I am used to, but: why 
does it appear that the parent POM declares a dependency on the "common" 
module.  This looks like a circular dependency in the parent POM.  Am I 
wrong about that?


Steven.

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



Re: Any news about the update of Maven2 book with corrected errata ?

2006-06-26 Thread natalie burdick

Sebastien,

Are you volunteering as an author or a reviewer?

Please let me know and I will contact you directly off the mailing list -
and if there are any other volunteers interested in being reviewers, please
feel free to respond to this thread.

Natalie

On 6/23/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:


Any news about the updated version of Maven2 book ?
If you need help, I'm volunteer :oP

--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org

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




Re: [m204] Error with compiler plugin with new project...

2006-06-26 Thread Mick Knutson

Well, I am still stuck!
So, since I last sent a request in, I removed jdk 1.5.7 and installed 
1.4.2_12_b3 and it seems that I am now gettin gcompilation errors. This 
means to me that the build is now working, but now with jdk 1.5
So either there is a serious issue with jdk 1.5 support with Maven and 
Modules, or the compilation errors thrown in jdk 1.5 as super misleading.


I really have to support jdk 1.5 please.

---
Thank You
Mick Knutson

BASE logic, inc.
(415) 648-1804 (San Francisco, CA)
http://www.BASELogic.com

http://www.djmick.com
---





From: "Mick Knutson" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" 
To: users@maven.apache.org
Subject: Re: [m204] Error with compiler plugin with new project...
Date: Mon, 26 Jun 2006 12:37:58 -0700

Nope. That did not do it.
What is really strange, is that I deleted all my src files 
(./common/common-jar/src/main/java) and repository and get the error not.
So, in order, there is the FULL -e Build trace, then my pom.xml, 
common/pom.xml, common/common-jar/pom.xml

=

C:\Documents and Settings\mknutson\My Documents\wand\pw-90>mvn -e compile
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   PrO Unlimited PW-90 Project
[INFO]   PrO Unlimited Common Sub-Projects
[INFO]   Common jar resources
[INFO] 


[INFO] Building PrO Unlimited PW-90 Project
[INFO]task-segment: [compile]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking 
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking 
for updates from mojo_snapshot
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-p

lugin-2.0.1.pom
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.j

ar
14K downloaded
[INFO] No goals needed for project - skipping
[INFO] 


[INFO] Building PrO Unlimited Common Sub-Projects
[INFO]task-segment: [compile]
[INFO] 


[INFO] No goals needed for project - skipping
[INFO] 


[INFO] Building Common jar resources
[INFO]task-segment: [compile]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from mojo_snapshot
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom


1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom

3K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom

6K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
3K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar


13K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom

2K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom

8K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom

6K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom

1K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-conta

iner-default-1.0-alpha-8

Re: How to get the latest STABLE version of a library dependency automat

2006-06-26 Thread Jimisola Laursen

Ok. Well, we want to use this for an internal library that we don't want to
use SNAPSHOT for.

I'll wait and see if there are any other responses otherwise I'll add a
feature request.

My feature request will actually be to have an option to dependency version
range, so that the highest matching - not lowest - version of the
library/dependency will be selected.

If I want the latest version >1.1.1, but not 1.2 since that might break
compability.

[1.1.1, 1.2)

Regards,
Jimisola
--
View this message in context: 
http://www.nabble.com/How-to-get-the-latest-STABLE-version-of-a-library-dependency-automatical-t1851718.html#a5056312
Sent from the Maven - Users forum at Nabble.com.


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



Re: Top-level POM behaviour

2006-06-26 Thread Lars Gramark

Ok, I think I understand how the modules relate now.
Thanks a lot for your responses.

Best regards
Lars Gramark
--
View this message in context: 
http://www.nabble.com/Top-level-POM-behaviour-t1825699.html#a5056182
Sent from the Maven - Users forum at Nabble.com.


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



Re: How to get the latest STABLE version of a library dependency automatical

2006-06-26 Thread Alexandre Poitras

I don't think it is a good idea. You should always manually upgrade
your  dependencies to see if nothing break in your application. So in
short, I don't think there is a way to do that and I don't think many
people would be interested in this solution.

On 6/26/06, Jimisola Laursen <[EMAIL PROTECTED]> wrote:


Hi!

I've been looking for a way to specify that the latest STABLE version of a
library (dependency) should be used automatically. However, I can't seem to
find any information on this. Is this not possible? The "Dependency Version
Ranges" doesn't solve the problem for me since it sets with the lowest
version satisfying the range.

This guy had the same question about a year ago, but it doesn't look
promising:
http://www.nabble.com/newbie-ques%3A-downloading-latest-stable-jars-t74577.html#a202750

Regards,
Jimisola
--
View this message in context: 
http://www.nabble.com/How-to-get-the-latest-STABLE-version-of-a-library-dependency-automatical-t1851718.html#a5055636
Sent from the Maven - Users forum at Nabble.com.


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




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



Re: BUILD ERROR using native-maven-plugin: Cannot find lifecycle mapping for packaging: 'lib'

2006-06-26 Thread Trygve Laugstøl

Brad Harper wrote:

Oops. I dropped the  element somehow.

Does that element tell maven that a plugin provides new lifecycle
functionality? Wouldn't that information be something you'd expect a
plugin to reveal about itself ... rather than be declared by a dependent
project descriptor?


That is a good point, but it was required because is not Maven would 
have to look in a _lot_ of dependencies for extensions thus increasing 
the time it takes to build a project.


--
Trygve


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



How to get the latest STABLE version of a library dependency automatical

2006-06-26 Thread Jimisola Laursen

Hi!

I've been looking for a way to specify that the latest STABLE version of a
library (dependency) should be used automatically. However, I can't seem to
find any information on this. Is this not possible? The "Dependency Version
Ranges" doesn't solve the problem for me since it sets with the lowest
version satisfying the range.

This guy had the same question about a year ago, but it doesn't look
promising:
http://www.nabble.com/newbie-ques%3A-downloading-latest-stable-jars-t74577.html#a202750

Regards,
Jimisola
--
View this message in context: 
http://www.nabble.com/How-to-get-the-latest-STABLE-version-of-a-library-dependency-automatical-t1851718.html#a5055636
Sent from the Maven - Users forum at Nabble.com.


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



RE: Custom Repository Handler?

2006-06-26 Thread Russell, Mark
Looking at the ArtifactRepositoryLayout interface, there are two methods
for getting Repository Metadata.

What if the repository doesn't contain any metadata (ie no pom's or
equivalent)?  Can these methods safely return null?


MAR

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
Sanchez
Sent: Monday, June 26, 2006 3:21 PM
To: Maven Users List
Subject: Re: Custom Repository Handler?

Yep, implement a new RepositoryLayout and put it in the M2_HOME/lib
Check the LegacyRepositoryLayout

On 6/26/06, Russell, Mark <[EMAIL PROTECTED]> wrote:
> Here is my scenario...
>
>
>
> I'm in the process of creating a new project (with some specialized
> plugins).  This new project needs to fetch some jars create in-house
> from our existing repository which is similar in structure to maven
1.x
> repositories (the structure is from the maven 1 alpha days).  The jars
> it needs to fetch need to become part of the compile dependencies.
> Unfortunately our repository structure IS NOT a maven 1.x structure as
> 1.x is today.  This means that there is no poms directory.
>
>
>
> So my problem is that maven 2.x looks for a .pom file in our existing
> repository that simply does not exist, and probably won't unless I
> handcraft them.  So my question... Is it possible to define a
repository
> handler and bind it to a new type (ie instead of legacy, maybe an
> inhouse-legacy type) to get around this?
>
>
>
> Eventually I intend to convert everything to m2, but that isn't
feasible
> at this point in time.  Thus if I can't find a way around this, I'm
> probably going to need to write a bunch of ant tasks to handle what I
> need, which I'd rather not due since I much prefer the m2 plug-in
> methodology.
>
>
>
>
>
> Thanks,
>
>
>
> Mark Russell
>
>
>


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

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



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



Re: Custom Repository Handler?

2006-06-26 Thread Carlos Sanchez

Yep, implement a new RepositoryLayout and put it in the M2_HOME/lib
Check the LegacyRepositoryLayout

On 6/26/06, Russell, Mark <[EMAIL PROTECTED]> wrote:

Here is my scenario...



I'm in the process of creating a new project (with some specialized
plugins).  This new project needs to fetch some jars create in-house
from our existing repository which is similar in structure to maven 1.x
repositories (the structure is from the maven 1 alpha days).  The jars
it needs to fetch need to become part of the compile dependencies.
Unfortunately our repository structure IS NOT a maven 1.x structure as
1.x is today.  This means that there is no poms directory.



So my problem is that maven 2.x looks for a .pom file in our existing
repository that simply does not exist, and probably won't unless I
handcraft them.  So my question... Is it possible to define a repository
handler and bind it to a new type (ie instead of legacy, maybe an
inhouse-legacy type) to get around this?



Eventually I intend to convert everything to m2, but that isn't feasible
at this point in time.  Thus if I can't find a way around this, I'm
probably going to need to write a bunch of ant tasks to handle what I
need, which I'd rather not due since I much prefer the m2 plug-in
methodology.





Thanks,



Mark Russell






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

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



Custom Repository Handler?

2006-06-26 Thread Russell, Mark
Here is my scenario...

 

I'm in the process of creating a new project (with some specialized
plugins).  This new project needs to fetch some jars create in-house
from our existing repository which is similar in structure to maven 1.x
repositories (the structure is from the maven 1 alpha days).  The jars
it needs to fetch need to become part of the compile dependencies.
Unfortunately our repository structure IS NOT a maven 1.x structure as
1.x is today.  This means that there is no poms directory.

 

So my problem is that maven 2.x looks for a .pom file in our existing
repository that simply does not exist, and probably won't unless I
handcraft them.  So my question... Is it possible to define a repository
handler and bind it to a new type (ie instead of legacy, maybe an
inhouse-legacy type) to get around this?

 

Eventually I intend to convert everything to m2, but that isn't feasible
at this point in time.  Thus if I can't find a way around this, I'm
probably going to need to write a bunch of ant tasks to handle what I
need, which I'd rather not due since I much prefer the m2 plug-in
methodology.

 

 

Thanks,

 

Mark Russell



Re: [m204] Error with compiler plugin with new project...

2006-06-26 Thread Mick Knutson

This issue is really PISSING me off now.
I have removed everything except a single  as I need touse modules 
with this. I have also tried:

1.5
   1.5
   
   1.5


as well as


5
   5
   
   5


Can someone please assist me on this.

---
Thank You
Mick Knutson

BASE logic, inc.
(415) 648-1804 (San Francisco, CA)
http://www.BASELogic.com

http://www.djmick.com
---





From: "Mick Knutson" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" 
To: users@maven.apache.org
Subject: Re: [m204] Error with compiler plugin with new project...
Date: Mon, 26 Jun 2006 13:09:33 -0700

Is anyone else using ... with jdk 5?

---
Thank You
Mick Knutson

BASE logic, inc.
(415) 648-1804 (San Francisco, CA)
http://www.BASELogic.com

http://www.djmick.com
---





From: "Mick Knutson" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" 
To: users@maven.apache.org
Subject: Re: [m204] Error with compiler plugin with new project...
Date: Mon, 26 Jun 2006 12:37:58 -0700

Nope. That did not do it.
What is really strange, is that I deleted all my src files 
(./common/common-jar/src/main/java) and repository and get the error not.
So, in order, there is the FULL -e Build trace, then my pom.xml, 
common/pom.xml, common/common-jar/pom.xml

=

C:\Documents and Settings\mknutson\My Documents\wand\pw-90>mvn -e compile
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   PrO Unlimited PW-90 Project
[INFO]   PrO Unlimited Common Sub-Projects
[INFO]   Common jar resources
[INFO] 


[INFO] Building PrO Unlimited PW-90 Project
[INFO]task-segment: [compile]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking 
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking 
for updates from mojo_snapshot
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-p

lugin-2.0.1.pom
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.j

ar
14K downloaded
[INFO] No goals needed for project - skipping
[INFO] 


[INFO] Building PrO Unlimited Common Sub-Projects
[INFO]task-segment: [compile]
[INFO] 


[INFO] No goals needed for project - skipping
[INFO] 


[INFO] Building Common jar resources
[INFO]task-segment: [compile]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from mojo_snapshot
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom


1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom

3K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom

6K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom

3K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar


13K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom

2K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom

8K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom

6K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.

Re: [m2] configuring site:stage-deploy

2006-06-26 Thread Alexandre Poitras

Just to confirm, I just tried this solution and it fix the problems.

On 6/26/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:

Hi Wendy,

I got this from an older mail. Maybe you have the same problem :

> For anyone interested:
> I had to set PasswordAuthentication to 'yes' in /etc/ssh/sshd_config as it
> defaults to 'no'. Seems to be happy now.

On 6/19/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> When using 'mvn site:stage-deploy -DstagingSiteURL=...' I'm being
> prompted for an scp password.  How do I either
>
> - on the command line, specify a server id so that it will use the
> private key configured in settings.xml
>
>  or
>
> - in pom.xml, configure a different url for staging (and not the
> default ${project.distributionManagement.site.url}/staging)
>
> It seems like  needs 
>  * http://maven.apache.org/ref/current/maven-model/maven.html
>
> Thanks,
> 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: [m2] configuring site:stage-deploy

2006-06-26 Thread Alexandre Poitras

Hi Wendy,

I got this from an older mail. Maybe you have the same problem :


For anyone interested:
I had to set PasswordAuthentication to 'yes' in /etc/ssh/sshd_config as it
defaults to 'no'. Seems to be happy now.


On 6/19/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

When using 'mvn site:stage-deploy -DstagingSiteURL=...' I'm being
prompted for an scp password.  How do I either

- on the command line, specify a server id so that it will use the
private key configured in settings.xml

 or

- in pom.xml, configure a different url for staging (and not the
default ${project.distributionManagement.site.url}/staging)

It seems like  needs 
 * http://maven.apache.org/ref/current/maven-model/maven.html

Thanks,
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: Sample project using M2/EJB3/TestNG for using jboss embeddable container

2006-06-26 Thread Marco Mistroni

Hi Marc,
i m not sure on why using surefire 2.2. does not work.. from logs i have
seen by running maven -e it looks like not all the jars that are needed are
deployed...
in fact, starting up tests using 2.2-SNAPSHOT results in lot of jars being
deployed (as well as  EJBs)... (all jars part of the 3 jar file shipped with
embeddable-alpha6)
if i start tests using 2.2, only 2 lib gets deployed and i never see logs of
my EJBs being deployed...
if i have time, i might try to revert back to alpha5 (wher eyou have all
jars needed by jboss shipped independently - there are at least 10) and then
i'll try to see if it works
one thing worth to try is to replace the EJB3ContainerTest classs in the
sample maven project with an abstract JUnit test, to see if the problem is
testng, the lib packaged in alpha6 or something else

hth
marco

On 6/26/06, Marc Tremblay <[EMAIL PROTECTED]> wrote:


I've been experiencing the same problem -- all TestNG tests fail under
Surefire 2.2.  I hadn't tried the 2.2-SNAPSHOT.

In my case the tests are failing due the 'beforeTestMethod' method being
invoked.  For example,

public class ExampleTest {

private ObjectUnderTest objectUnderTest;

@Configuration(beforeTestMethod = true)
public void setUp() {
objectUnderTest= new ObjectUnderTest();
}

@Configuration(afterTestMethod = true)
public void tearDown() {
   objectUnderTest= null;
}

@Test(groups = { "integration" })
  public void testObjectUnderTest() {
assert objectUnderTest != null;
}
}

This test will fail at

assert objectUnderTest != null;

Indicating that setUp() was not called.

mT

> -Original Message-
> From: Marco Mistroni [mailto:[EMAIL PROTECTED]
> Sent: June 26, 2006 9:50 AM
> To: Maven Users List
> Subject: Re: Sample project using M2/EJB3/TestNG for using
> jboss embeddable container
>
> Hi,
>  just noticed one minor thing (i already post msg on testng
> mailing list) in that project, surefire version is 2.2-SNAPSHOT
>
> if you change it to 2.2, all the test will fail.. for some
> weird reason that i still have to figue out
>
> this just to let you know
>
> rgds
>  marco
>
> On 6/26/06, Darren Hartford <[EMAIL PROTECTED]> wrote:
> >
> > Yay! Thanks Marco, Tim  :-)
> >
> > > -Original Message-
> > > From: Marco Mistroni [mailto:[EMAIL PROTECTED]
> > > Sent: Sunday, June 25, 2006 2:02 PM
> > > To: Maven Users List
> > > Subject: Sample project using M2/EJB3/TestNG for using jboss
> > > embeddable container
> > >
> > > hi all,
> > >i have added to maven pages a sample project htat uses
> > > EJB3 and jboss embeddable container for unit testing..
> > > sample app is available here
> > >
> > > http://docs.codehaus.org/display/MAVENUSER/Examples
> > >
> > > thanx for Mr Tim Kettler for setting up the page
> > >
> > > have fun with it, and feel free to improve it (app is
> really lame :)
> > >
> > > regards
> > >  marco
> > >
> > > PS feel free to mail me back @  [EMAIL PROTECTED]  if
> you have any
> > > problems
> > >
> >
> >
> -
> > 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: Sample project using M2/EJB3/TestNG for using jboss embeddable container

2006-06-26 Thread Marco Mistroni

HI Serge,
no, but it s just a matter of making the EJB3ContainerTest class an
AbstractJUnit test..
i'll do it as soon as i have timne
changes are very trivial, ifyou want you can change it yourself :)

regards
marco


On 6/26/06, Serge Emmanuel Pagop <[EMAIL PROTECTED]> wrote:


Hi marco,
I want to know if  you already run a simple junit sample of jboss
embeddable
ejb3 testcase unter maven 2.0?

On 6/26/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
>
> Hi,
> just noticed one minor thing (i already post msg on testng mailing list)
> in that project, surefire version is 2.2-SNAPSHOT
>
> if you change it to 2.2, all the test will fail.. for some weird reason
> that
> i still have to figue out
>
> this just to let you know
>
> rgds
> marco
>
> On 6/26/06, Darren Hartford <[EMAIL PROTECTED]> wrote:
> >
> > Yay! Thanks Marco, Tim  :-)
> >
> > > -Original Message-
> > > From: Marco Mistroni [mailto:[EMAIL PROTECTED]
> > > Sent: Sunday, June 25, 2006 2:02 PM
> > > To: Maven Users List
> > > Subject: Sample project using M2/EJB3/TestNG for using jboss
> > > embeddable container
> > >
> > > hi all,
> > >i have added to maven pages a sample project htat uses
> > > EJB3 and jboss embeddable container for unit testing..
> > > sample app is available here
> > >
> > > http://docs.codehaus.org/display/MAVENUSER/Examples
> > >
> > > thanx for Mr Tim Kettler for setting up the page
> > >
> > > have fun with it, and feel free to improve it (app is really lame :)
> > >
> > > regards
> > >  marco
> > >
> > > PS feel free to mail me back @  [EMAIL PROTECTED]  if you
> > > have any problems
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


--
--
Serge Emmanuel Pagop
Java EE Consultant and Trainer
E-Mail: [EMAIL PROTECTED]
Skype-Name: sisepago
Cell : +49-172-8552687




Re: [m204] Error with compiler plugin with new project...

2006-06-26 Thread Mick Knutson

Is anyone else using ... with jdk 5?

---
Thank You
Mick Knutson

BASE logic, inc.
(415) 648-1804 (San Francisco, CA)
http://www.BASELogic.com

http://www.djmick.com
---





From: "Mick Knutson" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" 
To: users@maven.apache.org
Subject: Re: [m204] Error with compiler plugin with new project...
Date: Mon, 26 Jun 2006 12:37:58 -0700

Nope. That did not do it.
What is really strange, is that I deleted all my src files 
(./common/common-jar/src/main/java) and repository and get the error not.
So, in order, there is the FULL -e Build trace, then my pom.xml, 
common/pom.xml, common/common-jar/pom.xml

=

C:\Documents and Settings\mknutson\My Documents\wand\pw-90>mvn -e compile
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   PrO Unlimited PW-90 Project
[INFO]   PrO Unlimited Common Sub-Projects
[INFO]   Common jar resources
[INFO] 


[INFO] Building PrO Unlimited PW-90 Project
[INFO]task-segment: [compile]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking 
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking 
for updates from mojo_snapshot
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-p

lugin-2.0.1.pom
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.j

ar
14K downloaded
[INFO] No goals needed for project - skipping
[INFO] 


[INFO] Building PrO Unlimited Common Sub-Projects
[INFO]task-segment: [compile]
[INFO] 


[INFO] No goals needed for project - skipping
[INFO] 


[INFO] Building Common jar resources
[INFO]task-segment: [compile]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from mojo_snapshot
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom


1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom

3K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom

6K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
3K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar


13K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom

2K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom

8K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom

6K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom

1K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-conta

iner-default-1.0-alpha-8.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-

1.0-alpha-8.pom
7K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alp

Re: [m204] Error with compiler plugin with new project...

2006-06-26 Thread Mick Knutson

Nope. That did not do it.
What is really strange, is that I deleted all my src files 
(./common/common-jar/src/main/java) and repository and get the error not.
So, in order, there is the FULL -e Build trace, then my pom.xml, 
common/pom.xml, common/common-jar/pom.xml

=

C:\Documents and Settings\mknutson\My Documents\wand\pw-90>mvn -e compile
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   PrO Unlimited PW-90 Project
[INFO]   PrO Unlimited Common Sub-Projects
[INFO]   Common jar resources
[INFO] 


[INFO] Building PrO Unlimited PW-90 Project
[INFO]task-segment: [compile]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for 
updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for 
updates from mojo_snapshot
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-p

lugin-2.0.1.pom
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.j

ar
14K downloaded
[INFO] No goals needed for project - skipping
[INFO] 


[INFO] Building PrO Unlimited Common Sub-Projects
[INFO]task-segment: [compile]
[INFO] 


[INFO] No goals needed for project - skipping
[INFO] 


[INFO] Building Common jar resources
[INFO]task-segment: [compile]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from mojo_snapshot
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom


1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom

3K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom

6K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
3K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar


13K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom

2K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom

8K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom

6K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom

1K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-conta

iner-default-1.0-alpha-8.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-

1.0-alpha-8.pom
7K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom
[WARNING] Unable to get resource from repository mojo_snapshot 
(http://snapshots.maven.codehaus.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom

3K downloaded
Downloading: 
http://snapshots.maven.codehaus.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
[WARNING] Unable to get resource from repositor

Re: BUILD ERROR using native-maven-plugin: Cannot find lifecycle mapping for packaging: 'lib'

2006-06-26 Thread dan tran

m2 comes with a bunch of build-in packages, but the native ones are not, so
you need to
activate it as an extension thru user's pom.xml

-D



On 6/26/06, Brad Harper <[EMAIL PROTECTED]> wrote:


Oops. I dropped the  element somehow.

Does that element tell maven that a plugin provides new lifecycle
functionality? Wouldn't that information be something you'd expect a
plugin to reveal about itself ... rather than be declared by a dependent
project descriptor?

Thanks, Dan.

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 11:36 AM
To: Maven Users List
Subject: Re: BUILD ERROR using native-maven-plugin: Cannot find
lifecycle mapping for packaging: 'lib'


I ran the native-maven-plugin/src/it/linkages which as one lib project
inthere
and have no issue.

Did you define true? please see the example

-Dan



On 6/26/06, Brad Harper <[EMAIL PROTECTED]> wrote:
>
> I've attempted a re-org of modules this morning and now see
>
> [ERROR] BUILD ERROR
> [INFO] ---...
> [INFO] Cannot find lifecycle mapping for packaging: 'lib'.
> Component descriptor cannot be found in the component repository: \
> org.apache.maven.lifecycle.mapping.LifecycleMappingLib.
>
> ... using Maven 2.0.4 with locally built and installed alpha-1.0 of
> native.maven.plugin.
>
> Brad
>
> -
> 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: BUILD ERROR using native-maven-plugin: Cannot find lifecycle mapping for packaging: 'lib'

2006-06-26 Thread Brad Harper
Oops. I dropped the  element somehow.

Does that element tell maven that a plugin provides new lifecycle
functionality? Wouldn't that information be something you'd expect a
plugin to reveal about itself ... rather than be declared by a dependent
project descriptor?

Thanks, Dan.

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 11:36 AM
To: Maven Users List
Subject: Re: BUILD ERROR using native-maven-plugin: Cannot find
lifecycle mapping for packaging: 'lib'


I ran the native-maven-plugin/src/it/linkages which as one lib project
inthere
and have no issue.

Did you define true? please see the example

-Dan



On 6/26/06, Brad Harper <[EMAIL PROTECTED]> wrote:
>
> I've attempted a re-org of modules this morning and now see
>
> [ERROR] BUILD ERROR
> [INFO] ---...
> [INFO] Cannot find lifecycle mapping for packaging: 'lib'.
> Component descriptor cannot be found in the component repository: \
> org.apache.maven.lifecycle.mapping.LifecycleMappingLib.
>
> ... using Maven 2.0.4 with locally built and installed alpha-1.0 of
> native.maven.plugin.
>
> Brad
>
> -
> 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]



properties file valorization during integration

2006-06-26 Thread Sebastien Moreno

Hello,

I would like to change properties values during integration.

In order to put values into properties file specific to an environnement
(path to generate files, etc), I would like to describe the properties to
valorize into the pom.
Then a maven "plugin" could change the values following a provided catalog
file.

This is a bit the same of the "replace" task in Ant to change the values in
property file.

Is there any existing plugin which could do that? Or a better method?

If not, I'm thinking about making a plugin who could do that.

Thanks!

Sebastien

--
View this message in context: 
http://www.nabble.com/properties-file-valorization-during-integration-t1850139.html#a5050881
Sent from the Maven - Users forum at Nabble.com.


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



RE: Sample project using M2/EJB3/TestNG for using jboss embeddable container

2006-06-26 Thread Marc Tremblay
I've been experiencing the same problem -- all TestNG tests fail under
Surefire 2.2.  I hadn't tried the 2.2-SNAPSHOT.

In my case the tests are failing due the 'beforeTestMethod' method being
invoked.  For example,

public class ExampleTest {

private ObjectUnderTest objectUnderTest;

@Configuration(beforeTestMethod = true)
public void setUp() {
objectUnderTest= new ObjectUnderTest();
}

@Configuration(afterTestMethod = true)
public void tearDown() {
   objectUnderTest= null;
}

@Test(groups = { "integration" })
  public void testObjectUnderTest() {
assert objectUnderTest != null;
}
}

This test will fail at

assert objectUnderTest != null;

Indicating that setUp() was not called.

mT

> -Original Message-
> From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
> Sent: June 26, 2006 9:50 AM
> To: Maven Users List
> Subject: Re: Sample project using M2/EJB3/TestNG for using 
> jboss embeddable container
> 
> Hi,
>  just noticed one minor thing (i already post msg on testng 
> mailing list) in that project, surefire version is 2.2-SNAPSHOT
> 
> if you change it to 2.2, all the test will fail.. for some 
> weird reason that i still have to figue out
> 
> this just to let you know
> 
> rgds
>  marco
> 
> On 6/26/06, Darren Hartford <[EMAIL PROTECTED]> wrote:
> >
> > Yay! Thanks Marco, Tim  :-)
> >
> > > -Original Message-
> > > From: Marco Mistroni [mailto:[EMAIL PROTECTED]
> > > Sent: Sunday, June 25, 2006 2:02 PM
> > > To: Maven Users List
> > > Subject: Sample project using M2/EJB3/TestNG for using jboss 
> > > embeddable container
> > >
> > > hi all,
> > >i have added to maven pages a sample project htat uses
> > > EJB3 and jboss embeddable container for unit testing..
> > > sample app is available here
> > >
> > > http://docs.codehaus.org/display/MAVENUSER/Examples
> > >
> > > thanx for Mr Tim Kettler for setting up the page
> > >
> > > have fun with it, and feel free to improve it (app is 
> really lame :)
> > >
> > > regards
> > >  marco
> > >
> > > PS feel free to mail me back @  [EMAIL PROTECTED]  if 
> you have any 
> > > problems
> > >
> >
> > 
> -
> > 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: Sample project using M2/EJB3/TestNG for using jboss embeddable container

2006-06-26 Thread Serge Emmanuel Pagop

Hi marco,
I want to know if  you already run a simple junit sample of jboss embeddable
ejb3 testcase unter maven 2.0?

On 6/26/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:


Hi,
just noticed one minor thing (i already post msg on testng mailing list)
in that project, surefire version is 2.2-SNAPSHOT

if you change it to 2.2, all the test will fail.. for some weird reason
that
i still have to figue out

this just to let you know

rgds
marco

On 6/26/06, Darren Hartford <[EMAIL PROTECTED]> wrote:
>
> Yay! Thanks Marco, Tim  :-)
>
> > -Original Message-
> > From: Marco Mistroni [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, June 25, 2006 2:02 PM
> > To: Maven Users List
> > Subject: Sample project using M2/EJB3/TestNG for using jboss
> > embeddable container
> >
> > hi all,
> >i have added to maven pages a sample project htat uses
> > EJB3 and jboss embeddable container for unit testing..
> > sample app is available here
> >
> > http://docs.codehaus.org/display/MAVENUSER/Examples
> >
> > thanx for Mr Tim Kettler for setting up the page
> >
> > have fun with it, and feel free to improve it (app is really lame :)
> >
> > regards
> >  marco
> >
> > PS feel free to mail me back @  [EMAIL PROTECTED]  if you
> > have any problems
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>





--
--
Serge Emmanuel Pagop
Java EE Consultant and Trainer
E-Mail: [EMAIL PROTECTED]
Skype-Name: sisepago
Cell : +49-172-8552687


Re: BUILD ERROR using native-maven-plugin: Cannot find lifecycle mapping for packaging: 'lib'

2006-06-26 Thread dan tran

I ran the native-maven-plugin/src/it/linkages which as one lib project
inthere
and have no issue.

Did you define true? please see the example

-Dan



On 6/26/06, Brad Harper <[EMAIL PROTECTED]> wrote:


I've attempted a re-org of modules this morning and now see

[ERROR] BUILD ERROR
[INFO] ---...
[INFO] Cannot find lifecycle mapping for packaging: 'lib'.
Component descriptor cannot be found in the component repository: \
org.apache.maven.lifecycle.mapping.LifecycleMappingLib.

... using Maven 2.0.4 with locally built and installed alpha-1.0 of
native.maven.plugin.

Brad

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




BUILD ERROR using native-maven-plugin: Cannot find lifecycle mapping for packaging: 'lib'

2006-06-26 Thread Brad Harper
I've attempted a re-org of modules this morning and now see

[ERROR] BUILD ERROR
[INFO] ---...
[INFO] Cannot find lifecycle mapping for packaging: 'lib'.
Component descriptor cannot be found in the component repository: \
org.apache.maven.lifecycle.mapping.LifecycleMappingLib.

... using Maven 2.0.4 with locally built and installed alpha-1.0 of
native.maven.plugin.

Brad 

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



Re: Remote Repository with HTTPS and Authentication

2006-06-26 Thread triley

This was a great explanation and solved my problem. Thanks for taking the
time to respond I truly do appreciate it.

Tim
--
View this message in context: 
http://www.nabble.com/Remote-Repository-with-HTTPS-and-Authentication-t1827803.html#a5049688
Sent from the Maven - Users forum at Nabble.com.


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



Re: M2: Using version ranges in dependencies

2006-06-26 Thread Akbarr

On 6/23/06, Mike Perham <[EMAIL PROTECTED]> wrote:


Yep, I just ran into this also.  I have a module which has [1.1.0,) and
1.1.0 and 1.1.1-SNAPSHOT in my local repo.  I can't release the module.
It basically makes dependency ranges unusable for us.  I'm unclear who's
at fault here (the release plugin, maven's dependency resolution
alogrithm, etc) but it seems like release plugin should ignore resolved
SNAPSHOTs where that dependency was specified with a range.  Anyone else
have any comments?




I'm a bit disappointed, anyone has successful experiences with version
ranges?

[Akbarr]


Re: How do I use the output of a maven build as a resources of another.

2006-06-26 Thread Matt Brozowski


On Jun 26, 2006, at 7:07 AM, Allison, Bob wrote:


If the applet is supposed to be downloadable from within the web
application, though, this won't work since things under WEB-INF are  
not
reachable from the browser.  How would you get the applet jar  
placed in

the web application so that the browser can get to it?

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, June 23, 2006 8:10 PM
To: Maven Users List
Subject: Re: How do I use the output of a maven build as a  
resources of

another.


Would it be possible to use the assembly plugin with a 'war' format  
that depends on both the applet and the war file and constructs a  
properly assembled war file?


Matt Brozowski


 
___

Matt Brozowski, OpenNMS Maintainer  Main:   +1 919 812 4984
The OpenNMS Group, Inc. Fax:+1 503 
961 7746
Email: [EMAIL PROTECTED]URL:
http://www.opennms.com




Changelog, Subversion and Comments

2006-06-26 Thread Holger Szillat

Hey everyone,
I'm using Maven 2.0.4 and the Changelog plugin for generating a log-report
from the Subversion-repository.

Problem is: The comments  in the repository are displayed unformatted which
looks ugly. Is there a way to configure the plugin so that the comments are
using a different tag?

TIA.
--
View this message in context: 
http://www.nabble.com/Changelog%2C-Subversion-and-Comments-t1849153.html#a5047608
Sent from the Maven - Users forum at Nabble.com.


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



Re: How do I use the output of a maven build as a resources of another.

2006-06-26 Thread Wendy Smoak

On 6/26/06, Allison, Bob <[EMAIL PROTECTED]> wrote:

If the applet is supposed to be downloadable from within the web
application, though, this won't work since things under WEB-INF are not
reachable from the browser.  How would you get the applet jar placed in
the web application so that the browser can get to it?


That would be a problem, wouldn't it!  Sorry. :)

It seems like you need a  element in the war plugin
configuration.  Ideally, it would be something like

  
 
  
 
 
 

and I don't think that's supported.  If it's not already in JIRA (or
there in an unreleased version of the war plugin) IMO it would be a
good addition.

For the moment, you'll probably have to use
/ and use a relative path over to the
sibling module that builds the jar:
${basedir}/../appletmodule/target/applet.jar  (Declare a runtime
dependency on that applet jar so Maven will build it first, but not
include it in the webapp.)

However... looking at some webResources example configurations in the
list archives... the only thing I see is a nested  element,
I don't even know if it supports single files.

If all else fails, you can resort to the antrun plugin and simply copy
the jar where you want it under target/mywebapp/.  Until the war
plugin documentation is improved, this might be the easiest route to
take.

Or maybe someone will be along shortly to point out that I'm making
this *much* too difficult and there's a simple solution. :)

--
Wendy

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



Re: updatePolicy

2006-06-26 Thread leahpar

I perform a clean install on a dummy project and I get this in the pom.xml
inside the produced jar.

without overdefinition
 
  
false
  
  central
  Maven Repository Switchboard
  http://repo1.maven.org/maven2
 
but no repository for maven_mirror

with id=central

  
never
warn
  
  
false
  
  central
  http://myserver/repository

and no maven_mirror definition

with id=maven_mirror

  
never
warn
  
  
false
  
  maven_mirror
  http://myserver/repository

and no central definition

--
View this message in context: 
http://www.nabble.com/updatePolicy-t1848898.html#a5047520
Sent from the Maven - Users forum at Nabble.com.


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



Re: Sample project using M2/EJB3/TestNG for using jboss embeddable container

2006-06-26 Thread Marco Mistroni

Hi,
just noticed one minor thing (i already post msg on testng mailing list)
in that project, surefire version is 2.2-SNAPSHOT

if you change it to 2.2, all the test will fail.. for some weird reason that
i still have to figue out

this just to let you know

rgds
marco

On 6/26/06, Darren Hartford <[EMAIL PROTECTED]> wrote:


Yay! Thanks Marco, Tim  :-)

> -Original Message-
> From: Marco Mistroni [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 25, 2006 2:02 PM
> To: Maven Users List
> Subject: Sample project using M2/EJB3/TestNG for using jboss
> embeddable container
>
> hi all,
>i have added to maven pages a sample project htat uses
> EJB3 and jboss embeddable container for unit testing..
> sample app is available here
>
> http://docs.codehaus.org/display/MAVENUSER/Examples
>
> thanx for Mr Tim Kettler for setting up the page
>
> have fun with it, and feel free to improve it (app is really lame :)
>
> regards
>  marco
>
> PS feel free to mail me back @  [EMAIL PROTECTED]  if you
> have any problems
>

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




Re: cvs connection string

2006-06-26 Thread Jeff Mutonho

Ok thanks.That seem to have sorted it out , but now Contiuum is
expecting a password in the scm connection string.I've installed a
cvsnt and did the manual login , tested checking out a project and
then logout.On my linux machine I have a ~/.cvspass file , but I don't
know how this works on XP?What am I suppose to to get Continuum to be
able to check code out of CVS?

On 6/26/06, jerome lacoste <[EMAIL PROTECTED]> wrote:

On 6/26/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
> Whats wrong with this scm connection string :
>
> 
> 
>scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot
> 
> 
>scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot
> 
> 

lacking module ?

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

> In any case , what the difference between  and
> ?

http://maven.apache.org/ref/current/maven-model/maven.html#class_scm

The distinction is mostly for security reasons and in small enterprise
setups you don't see the difference, although a guest connection might
be useful for giving access to tools (like your issue tracker, your
web scm, ...).

For those who don't want this granularity, it would seem logical (to
me) to have to define only the developer one when there's no
distinction between both. Hence issues like
http://jira.codehaus.org/browse/SCM-196

Cheers,

Jerome

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





Seems sorted , but now Continuum says :
Exception:
Cannot checkout sources.
Exception while executing SCM command.
password is required


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



Re: How to Refer Configuration elements of the plugin in a Mojo

2006-06-26 Thread jerome lacoste

On 6/26/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote:

Hi!

I there a way to refer the username and password elements specified in
pom.xml into a mojo ? sample configuration is as follows :

  
  org.apache.maven.plugins
   maven-scm-plugin
 1.0-beta-3
  

scm:mks:[EMAIL PROTECTED]@sbxlocation
 d:/temp/sandboxes
  myname
 mypass
  



I don't know of a generic way to make a mojo know about the
configuration passed to another one.

You could always use properties and pass them to 2 different
configurations elements. That will allow you to write the shared
configuration information in a single place.

Jerome

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



RE: Maven starting trouble

2006-06-26 Thread Rishikesh . Mallesh
Yes I have changed the proxy settings. 


-Original Message-
From: Nidhi Goyal, Noida [mailto:[EMAIL PROTECTED] 
Sent: 26 June 2006 14:32
To: Maven Users List
Subject: RE: Maven starting trouble


Have you created the seetings.xml and have you changed the username and
password? Also you nooed to enter the  address according to your
system.
Have you got access to internet?

Thanks,
Nidhi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 6:56 PM
To: users@maven.apache.org
Subject: RE: Maven starting trouble


I am afraid it didn't solve the problem. Any other suggestions...

Rishi

-Original Message-
From: Nidhi Goyal, Noida [mailto:[EMAIL PROTECTED] 
Sent: 26 June 2006 14:10
To: Maven Users List
Subject: RE: Maven starting trouble


Hi,

U could try this.

To do this, create a /.m2/settings.xml file with
the following content:

settings> 
 
 
true 
http 
202.54.110.238 
8080 
gnidhi 
[EMAIL PROTECTED] 
 



Thanks,
Nidhi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 6:36 PM
To: users@maven.apache.org
Subject: Maven starting trouble

Hello

 

I have been sampling Maven for the last couple of days. I am getting a
problem creating my first project - 

 

"mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app"

 

I get the following error message

 

"Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create':
Cannot
find Plexus container for plugin: org.apache.maven.plugins:maven-arch
etype-plugin"

 

Could you please let me know whats happening and how could I solve the
problem.

 

Cheers

Rishi





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.


DISCLAIMER:


---

The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily
reflect
the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure,
modification,
distribution and / or publication of 
this message without the prior written consent of the author of this
e-mail
is strictly prohibited. If you have 
received this email in error please delete it and notify the sender
immediately. Before opening any mail and 
attachments please check them for viruses and defect.



---

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


DISCLAIMER:

---

The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect
the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail
is strictly prohibited. If you have 
received this email in error please delete it and notify the sender
immediately. Before opening any mail and 
attachments please check them for viruses and defect.


---

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

-
To unsubscribe, e-mail:

RE: Maven starting trouble

2006-06-26 Thread Nidhi Goyal, Noida

Have you created the seetings.xml and have you changed the username and
password? Also you nooed to enter the  address according to your
system.
Have you got access to internet?

Thanks,
Nidhi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 6:56 PM
To: users@maven.apache.org
Subject: RE: Maven starting trouble


I am afraid it didn't solve the problem. Any other suggestions...

Rishi

-Original Message-
From: Nidhi Goyal, Noida [mailto:[EMAIL PROTECTED] 
Sent: 26 June 2006 14:10
To: Maven Users List
Subject: RE: Maven starting trouble


Hi,

U could try this.

To do this, create a /.m2/settings.xml file with
the following content:

settings> 
 
 
true 
http 
202.54.110.238 
8080 
gnidhi 
[EMAIL PROTECTED] 
 



Thanks,
Nidhi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 6:36 PM
To: users@maven.apache.org
Subject: Maven starting trouble

Hello

 

I have been sampling Maven for the last couple of days. I am getting a
problem creating my first project - 

 

"mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app"

 

I get the following error message

 

"Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create':
Cannot
find Plexus container for plugin: org.apache.maven.plugins:maven-arch
etype-plugin"

 

Could you please let me know whats happening and how could I solve the
problem.

 

Cheers

Rishi





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.


DISCLAIMER:


---

The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily
reflect
the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure,
modification,
distribution and / or publication of 
this message without the prior written consent of the author of this
e-mail
is strictly prohibited. If you have 
received this email in error please delete it and notify the sender
immediately. Before opening any mail and 
attachments please check them for viruses and defect.



---

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


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---

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



RE: How do I use the output of a maven build as a resources of another.

2006-06-26 Thread Steve Menke
Yes, this is the problem I am trying to solve..

-Steve

-Original Message-
From: Allison, Bob [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 7:08 AM
To: Maven Users List
Subject: RE: How do I use the output of a maven build as a resources of
another. [heur]
Importance: Low

If the applet is supposed to be downloadable from within the web
application, though, this won't work since things under WEB-INF are not
reachable from the browser.  How would you get the applet jar placed in
the web application so that the browser can get to it? 

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 23, 2006 8:10 PM
To: Maven Users List
Subject: Re: How do I use the output of a maven build as a resources of
another.

On 6/23/06, Steve Menke <[EMAIL PROTECTED]> wrote:

> I am using maven 2.0 to build a jar file of applet classes. I need to 
> include this output as resource / file in a web application which is 
> also built with maven 2.0. Does anyone know the best and hopefully 
> easiest way of doing this?

In the webapp module, declare a dependency on your applet jar, and Maven
will include it in WEB-INF/lib.

Make sure you build the applet jar with 'mvn install' (not just 'mvn
package') so it will be present in your local repository.

--
Wendy

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


This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly 
prohibited and may be unlawful.  If you have received this communication

in error, please immediately notify the sender by reply e-mail and
destroy 
all copies of the communication and any attachments.

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

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



How to Refer Configuration elements of the plugin in a Mojo

2006-06-26 Thread Sharma, Jaikumar
Hi!
 
I there a way to refer the username and password elements specified in
pom.xml into a mojo ? sample configuration is as follows :
 
  
  org.apache.maven.plugins
   maven-scm-plugin
 1.0-beta-3
  
 
scm:mks:[EMAIL PROTECTED]@sbxlocation
 d:/temp/sandboxes
  myname
 mypass
   

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


RE: Java2HTML plugin M2

2006-06-26 Thread Andrew-A . Davies
No particular reason - I was just asked to put Java2html into build.

I'll take a look at JXR and see what that offers

Tx
A 

-Original Message-
From: Ivo Limmen [mailto:[EMAIL PROTECTED] 
Sent: 26 June 2006 14:23
To: Maven Users List
Subject: Re: Java2HTML plugin M2

Why use Java2HTML? Most reporting-plugins for the site plugin use JXR, this is 
practically the same.

Use this:


 

org.codehaus.mojo
jxr-maven-plugin

 


Best regards,
Ivo

On 6/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi Damien,
>
> How can you tell ?
> It seems to be compiled Java classes and uses xsd version 4.0.0 which 
> I thought indicated M2
>
> Tx A
>
> -Original Message-
> From: LECAN Damien [mailto:[EMAIL PROTECTED]
> Sent: 26 June 2006 14:00
> To: Maven Users List
> Subject: RE: Java2HTML plugin M2
>
> Hello,
>
> It seems to be a M1 plugin, not M2 ...
>
> Damien
>
> > -Message d'origine-
> > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé :
> > lundi 26 juin 2006 14:49 À : users@maven.apache.org Objet : 
> > Java2HTML plugin M2
> >
> >
> > Hi,
> > Has anyone had any success working with Java2HTML plugin and M2 ?
> > I get NullPointer exception when trying to install plugin to my 
> > repository as per instructions from 
> > http://www.qualitylabs.org/java2htmlplugin/index.html
> > Tx
> > Andy
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> Visit our website at http://www.ubs.com
>
> This message contains confidential information and is intended only 
> for the individual named.  If you are not the named addressee you 
> should not disseminate, distribute or copy this e-mail.  Please notify 
> the sender immediately by e-mail if you have received this e-mail by 
> mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free as 
> information could be intercepted, corrupted, lost, destroyed, arrive 
> late or incomplete, or contain viruses.  The sender therefore does not 
> accept liability for any errors or omissions in the contents of this 
> message which arise as a result of e-mail transmission.  If 
> verification is required please request a hard-copy version.  This 
> message is provided for informational purposes and should not be 
> construed as a solicitation or offer to buy or sell any securities or 
> related financial instruments.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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: Java2HTML plugin M2

2006-06-26 Thread Andrew-A . Davies
Tx - thought that was a typo and changed to mvn.
I'd never used M1 - switched recently from Ant to M2

A 

-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED] 
Sent: 26 June 2006 14:23
To: Maven Users List
Subject: Re: Java2HTML plugin M2

Look at the page you are refering to in your first post. 'maven' is the 
executable of m1 whereas m2 has 'mvn'. Also there is no 'plugin:download' goal 
in m2.

-Tim

[EMAIL PROTECTED] schrieb:
> Hi Damien,
> 
> How can you tell ?
> It seems to be compiled Java classes and uses xsd version 4.0.0 which 
> I thought indicated M2
> 
> Tx A
> 
> -Original Message-
> From: LECAN Damien [mailto:[EMAIL PROTECTED]
> Sent: 26 June 2006 14:00
> To: Maven Users List
> Subject: RE: Java2HTML plugin M2
> 
> Hello,
> 
> It seems to be a M1 plugin, not M2 ...
> 
> Damien
> 
>> -Message d'origine-
>> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : 
>> lundi 26 juin 2006 14:49 À : users@maven.apache.org Objet : Java2HTML 
>> plugin M2
>>
>>
>> Hi,
>> Has anyone had any success working with Java2HTML plugin and M2 ? 
>> I get NullPointer exception when trying to install plugin to my 
>> repository as per instructions from 
>> http://www.qualitylabs.org/java2htmlplugin/index.html
>> Tx
>> Andy
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> Visit our website at http://www.ubs.com
> 
> This message contains confidential information and is intended only 
> for the individual named.  If you are not the named addressee you 
> should not disseminate, distribute or copy this e-mail.  Please notify 
> the sender immediately by e-mail if you have received this e-mail by 
> mistake and delete this e-mail from your system.
> 
> E-mail transmission cannot be guaranteed to be secure or error-free as 
> information could be intercepted, corrupted, lost, destroyed, arrive 
> late or incomplete, or contain viruses.  The sender therefore does not 
> accept liability for any errors or omissions in the contents of this 
> message which arise as a result of e-mail transmission.  If 
> verification is required please request a hard-copy version.  This 
> message is provided for informational purposes and should not be 
> construed as a solicitation or offer to buy or sell any securities or 
> related financial instruments.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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


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

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

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


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



RE: Maven starting trouble

2006-06-26 Thread Rishikesh . Mallesh

I am afraid it didn't solve the problem. Any other suggestions...

Rishi

-Original Message-
From: Nidhi Goyal, Noida [mailto:[EMAIL PROTECTED] 
Sent: 26 June 2006 14:10
To: Maven Users List
Subject: RE: Maven starting trouble


Hi,

U could try this.

To do this, create a /.m2/settings.xml file with
the following content:

settings> 
 
 
true 
http 
202.54.110.238 
8080 
gnidhi 
[EMAIL PROTECTED] 
 



Thanks,
Nidhi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 6:36 PM
To: users@maven.apache.org
Subject: Maven starting trouble

Hello

 

I have been sampling Maven for the last couple of days. I am getting a
problem creating my first project - 

 

"mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app"

 

I get the following error message

 

"Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create':
Cannot
find Plexus container for plugin: org.apache.maven.plugins:maven-arch
etype-plugin"

 

Could you please let me know whats happening and how could I solve the
problem.

 

Cheers

Rishi





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.


DISCLAIMER:

---

The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect
the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail
is strictly prohibited. If you have 
received this email in error please delete it and notify the sender
immediately. Before opening any mail and 
attachments please check them for viruses and defect.


---

-
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: Java2HTML plugin M2

2006-06-26 Thread Tim Kettler
Look at the page you are refering to in your first post. 'maven' is the executable of m1 
whereas m2 has 'mvn'. Also there is no 'plugin:download' goal in m2.


-Tim

[EMAIL PROTECTED] schrieb:

Hi Damien,

How can you tell ?
It seems to be compiled Java classes and uses xsd version 4.0.0 which I thought 
indicated M2

Tx A 


-Original Message-
From: LECAN Damien [mailto:[EMAIL PROTECTED] 
Sent: 26 June 2006 14:00

To: Maven Users List
Subject: RE: Java2HTML plugin M2

Hello,

It seems to be a M1 plugin, not M2 ...

Damien


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : 
lundi 26 juin 2006 14:49 À : users@maven.apache.org Objet : Java2HTML 
plugin M2



Hi,
Has anyone had any success working with Java2HTML plugin and M2 ? 
I get NullPointer exception when trying to install plugin to my 
repository as per instructions from 
http://www.qualitylabs.org/java2htmlplugin/index.html

Tx
Andy



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


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

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


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



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





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



Re: Java2HTML plugin M2

2006-06-26 Thread Ivo Limmen

Why use Java2HTML? Most reporting-plugins for the site plugin use JXR, this
is practically the same.

Use this:



   
   org.codehaus.mojo
   jxr-maven-plugin
   



Best regards,
Ivo

On 6/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hi Damien,

How can you tell ?
It seems to be compiled Java classes and uses xsd version 4.0.0 which I
thought indicated M2

Tx A

-Original Message-
From: LECAN Damien [mailto:[EMAIL PROTECTED]
Sent: 26 June 2006 14:00
To: Maven Users List
Subject: RE: Java2HTML plugin M2

Hello,

It seems to be a M1 plugin, not M2 ...

Damien

> -Message d'origine-
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé :
> lundi 26 juin 2006 14:49 À : users@maven.apache.org Objet : Java2HTML
> plugin M2
>
>
> Hi,
> Has anyone had any success working with Java2HTML plugin and M2 ?
> I get NullPointer exception when trying to install plugin to my
> repository as per instructions from
> http://www.qualitylabs.org/java2htmlplugin/index.html
> Tx
> Andy
>

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


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

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

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


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




updatePolicy

2006-06-26 Thread leahpar

Hello world,

I want to  prevent update to be made from maven repo
1- need to choose date of update 
2- get timeout on the proxy (on missing ressources?) very painfull

I have a maven_proxy link on ibiblio and codehaus
There's also a internal repo (on my xxx_release repository)
(superpom is here in a released version since snapshot are not allowed in
mirror,
I want to keep the settings as simple as possible)

first I try to set the proxy not to update itself with
snapshot.update=false
metadata.update=false
pom.update=falsebut 
not very good behavior...

now I try to restrict webaccess on maven repo
(I set back the proxy in update mode)
1- can I use something like this? and which id should I use in that case? 
 
central 

http://mvnproxy/repository

true
never 
warn
 

false



2- I'm not confortable with the   in each repository. 
snapshot seems to work but that's all I can say.
Any comment?

Thanks

find below settings.xml and part of my super pom.xml


d:/maven_local_repository/


maven_mirror
http://mvnproxy/repository
central





4.0.0
xx.pom
xx-super-pom
0.0.3
pom
Top high level x project

2.0.4


x
http:/www.x.xxx/


continuum
http://server/continuum/



mail

[EMAIL PROTECTED]







sun_mirror

repository for product artifact which are not 
allowed to
be distribute by maven


http://server/repositories/sun_mirror/


true
interval:60
warn


false



external_release

repository of external product used by product 
released
by x


http://server/repositories/external_release/


true
interval:60
warn


false



xx_release
repository of product released by x

http://server/repositories/xx_release/


true
interval:60
warn


false



xx_snapshot

temporary repository used for product not yet 
released
by x


http://server/repositories/xx_snapshot/


true
interval:60
warn


true
interval:60
warn





sun_mirror

repository for plugin artifact which are not 
allowed to
be distribute by maven


   

RE: Maven starting trouble

2006-06-26 Thread Nidhi Goyal, Noida

Hi,

U could try this.

To do this, create a /.m2/settings.xml file with
the following content:

settings> 
 
 
true 
http 
202.54.110.238 
8080 
gnidhi 
[EMAIL PROTECTED] 
 



Thanks,
Nidhi


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 6:36 PM
To: users@maven.apache.org
Subject: Maven starting trouble

Hello

 

I have been sampling Maven for the last couple of days. I am getting a
problem creating my first project - 

 

"mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app"

 

I get the following error message

 

"Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create':
Cannot
find Plexus container for plugin: org.apache.maven.plugins:maven-arch
etype-plugin"

 

Could you please let me know whats happening and how could I solve the
problem.

 

Cheers

Rishi





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.


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---

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



Maven starting trouble

2006-06-26 Thread Rishikesh . Mallesh
Hello

 

I have been sampling Maven for the last couple of days. I am getting a
problem creating my first project - 

 

"mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app"

 

I get the following error message

 

"Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create': Cannot
find Plexus container for plugin: org.apache.maven.plugins:maven-arch
etype-plugin"

 

Could you please let me know whats happening and how could I solve the
problem.

 

Cheers

Rishi




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.



RE: Java2HTML plugin M2

2006-06-26 Thread Andrew-A . Davies
Hi Damien,

How can you tell ?
It seems to be compiled Java classes and uses xsd version 4.0.0 which I thought 
indicated M2

Tx A 

-Original Message-
From: LECAN Damien [mailto:[EMAIL PROTECTED] 
Sent: 26 June 2006 14:00
To: Maven Users List
Subject: RE: Java2HTML plugin M2

Hello,

It seems to be a M1 plugin, not M2 ...

Damien

> -Message d'origine-
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : 
> lundi 26 juin 2006 14:49 À : users@maven.apache.org Objet : Java2HTML 
> plugin M2
> 
> 
> Hi,
> Has anyone had any success working with Java2HTML plugin and M2 ? 
> I get NullPointer exception when trying to install plugin to my 
> repository as per instructions from 
> http://www.qualitylabs.org/java2htmlplugin/index.html
> Tx
> Andy
> 

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


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

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

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


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



RE: Java2HTML plugin M2

2006-06-26 Thread LECAN Damien
Hello,

It seems to be a M1 plugin, not M2 ...

Damien

> -Message d'origine-
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 26 juin 2006 14:49
> À : users@maven.apache.org
> Objet : Java2HTML plugin M2
> 
> 
> Hi, 
> Has anyone had any success working with Java2HTML plugin and M2 ? 
> I get NullPointer exception when trying to install plugin to 
> my repository as per instructions from 
> http://www.qualitylabs.org/java2htmlplugin/index.html 
> Tx 
> Andy 
> 

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



Java2HTML plugin M2

2006-06-26 Thread Andrew-A . Davies
Title: Java2HTML plugin M2






Hi,


Has anyone had any success working with Java2HTML plugin and M2 ?

I get NullPointer exception when trying to install plugin to my repository as per instructions from


http://www.qualitylabs.org/java2htmlplugin/index.html


Tx

Andy




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: Sample project using M2/EJB3/TestNG for using jboss embeddable container

2006-06-26 Thread Darren Hartford
Yay! Thanks Marco, Tim  :-) 

> -Original Message-
> From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, June 25, 2006 2:02 PM
> To: Maven Users List
> Subject: Sample project using M2/EJB3/TestNG for using jboss 
> embeddable container
> 
> hi all,
>i have added to maven pages a sample project htat uses 
> EJB3 and jboss embeddable container for unit testing..
> sample app is available here
> 
> http://docs.codehaus.org/display/MAVENUSER/Examples
> 
> thanx for Mr Tim Kettler for setting up the page
> 
> have fun with it, and feel free to improve it (app is really lame :)
> 
> regards
>  marco
> 
> PS feel free to mail me back @  [EMAIL PROTECTED]  if you 
> have any problems
> 

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



Re: java2iiop (Visibroker)

2006-06-26 Thread TimHedger

Dan,

I'm on the way to building this.  Just one question.

The steps in the process are:
1 compile java interface files
2 run java2iiop process to generate more classes
3 compille the generated classes with my own code

3 is obviously the normal compile phase

I would expect 2 to be generates-sources, but that would only leave validate
to tie my compile java interface files to.  Which seems like a botch job.

What is the right way to do this?

And are there any examples you can point me at where other plugins or
configurations do a javac compile before the standard compile?
--
View this message in context: 
http://www.nabble.com/java2iiop-%28Visibroker%29-t1846831.html#a5045134
Sent from the Maven - Users forum at Nabble.com.


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



RE: clover:save-history goal for 2.x?

2006-06-26 Thread Vincent Massol
Michael,

Just to let you know that I've released v2.2 of the clover plugin today. It
should be on ibiblio in a few hours.

-Vincent

> -Original Message-
> From: Michael Waluk [mailto:[EMAIL PROTECTED]
> Sent: vendredi 23 juin 2006 20:41
> To: Maven Users List
> Subject: clover:save-history goal for 2.x?
> 
> Hi,
> 
> I was just wondering if anyone (VM?) knows if/when the historical data
> report will be available in this plugin for Maven 2.x.  I don't mean to be
> pushy, but I was just curious.  Or alternatively is anyone creating it by
> binding an equivalent ant call(s)?
> 
> Thanks,
> Michael






___ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

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



RE: How do I use the output of a maven build as a resources of another.

2006-06-26 Thread Allison, Bob
If the applet is supposed to be downloadable from within the web
application, though, this won't work since things under WEB-INF are not
reachable from the browser.  How would you get the applet jar placed in
the web application so that the browser can get to it? 

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 23, 2006 8:10 PM
To: Maven Users List
Subject: Re: How do I use the output of a maven build as a resources of
another.

On 6/23/06, Steve Menke <[EMAIL PROTECTED]> wrote:

> I am using maven 2.0 to build a jar file of applet classes. I need to 
> include this output as resource / file in a web application which is 
> also built with maven 2.0. Does anyone know the best and hopefully 
> easiest way of doing this?

In the webapp module, declare a dependency on your applet jar, and Maven
will include it in WEB-INF/lib.

Make sure you build the applet jar with 'mvn install' (not just 'mvn
package') so it will be present in your local repository.

--
Wendy

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


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.

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



Re: Bug in IDEA plugin.

2006-06-26 Thread Joern Huxhorn
Hi. I just checked again and the files were freshly generated as 
described before. However, I have since changed the project layout and 
it's now working for me, too.

Previously, I had the following layout:
pom.xml (parent pom)
module1/pom.xml
module2/pom.xml

with a modules section like this in the parent pom:
   
   module1
   module2
   
This produced the described problematic parent project file.
My new layout looks like this:
parent/pom.xml (parent pom)
module1/pom.xml
module2/pom.xml

with a modules section like this in the parent pom:
   
   ../module1
   ../module2
   

which just works... strange...

Thanks anyway, Joern.

Edwin Punzalan wrote:


There's a goal idea:clean to delete the idea files for you, btw. ^_^


Roald Bankras wrote:

I just ran it for my own project, but it seems to work fine here.
Maybe a glitch. You can try to delete the idea files and create them 
again.


Roald Bankras
Software Engineer
JTeam b.v.

-Original Message-
From: Joern Huxhorn [mailto:[EMAIL PROTECTED] Sent: 
Wednesday, June 21, 2006 4:16 PM

To: Maven Users List
Subject: Re: Bug in IDEA plugin.

Roald Bankras wrote:
 

Which version of the idea plugin are you using?
  

Version 2.0. I just did an mvn -U before I wrote the mail.
 

Roald Bankras
Software Engineer
JTeam b.v.

-Original Message-
From: Joern Huxhorn [mailto:[EMAIL PROTECTED] Sent: 
Wednesday, June 21, 2006 12:01 PM

To: Maven Users List
Subject: Bug in IDEA plugin.

Hi.

In case of a multi module project with a parent pom containing 
several  the main project file parent-pom-name.ipr is 
created with errors.


Inside


are several lines looking like this:
  
which should look like this:
  

The first character of the submodule directory is cut off. This can 
easily be fixed manually but can be quite annoying.


I'm currently using version 2.0.

Thanks in advance for any help,
Joern Huxhorn.




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



Continuum admin password problem

2006-06-26 Thread Bernhard Wellhöfer
Hello,
 
I changed in the user management section the real name for the continuum admin 
user. The form where I added the real name also presented the password field. 
Here the password field was empty - nevertheless the admin user had a password. 
After entering the new real name for admin and after hitting "submit" the real 
named changed - but the password also changed. I did not enter anything in the 
password text field ...

So is the new password now blank? If yes I have a serious problem, since the 
login page does not allow an empty password. So how do I reset the admin 
password to a known value? [This is the first time I work with derby. So how do 
I e.g. open the database with a SQL editor to change the password directly in 
the DB?]
 
Do you agree that this should be filed as a bug?
 
Cheers,
 
Bernd


Re: cvs connection string

2006-06-26 Thread jerome lacoste

On 6/26/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:

Whats wrong with this scm connection string :



   scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot


   scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot




lacking module ?

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


In any case , what the difference between  and
?


http://maven.apache.org/ref/current/maven-model/maven.html#class_scm

The distinction is mostly for security reasons and in small enterprise
setups you don't see the difference, although a guest connection might
be useful for giving access to tools (like your issue tracker, your
web scm, ...).

For those who don't want this granularity, it would seem logical (to
me) to have to define only the developer one when there's no
distinction between both. Hence issues like
http://jira.codehaus.org/browse/SCM-196

Cheers,

Jerome

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



Re: cvs connection string

2006-06-26 Thread Edwin Punzalan

it seems to be missing a module to checkout, this worked but failed:

scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot:module


Jeff Mutonho wrote:

Whats wrong with this scm connection string :



  scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot


  scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot



In any case , what the difference between  and
?



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



cvs connection string

2006-06-26 Thread Jeff Mutonho

Whats wrong with this scm connection string :



  scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot


  scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot



In any case , what the difference between  and
?

--


Jeff
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



[ANN] Maven Clover Plugin 2.2 for Maven 2 Released

2006-06-26 Thread Vincent Massol
The Maven team is pleased to announce the release of the Maven Clover
Plugin, version 2.2

http://maven.apache.org/plugins/maven-clover-plugin/

You can run mvn -U to get the latest version of the plugin, or specify
the version in your project's plugin configuration:


  org.apache.maven.plugins
  maven-clover-plugin
  2.2


Changes: http://tinyurl.com/pm7fc

Release Notes - Maven 2.x Clover Plugin - Version 2.2

** Bug
  * [MCLOVER-35] - Missing a "test-jar" dependency at compile time.
  * [MCLOVER-36] - Plugin should locate clover artifact based on 
   groupId+artifactId and not only on artifactId
  * [MCLOVER-39] - clover:check and clover:log should ignore projects with 
   no Clover database rather than error out

** Improvement
  * [MCLOVER-41] - clover:check and clover:log should operate on all Clover 
   databases

** New Feature
  * [MCLOVER-20] - Add historical reporting

Have fun!
-The Maven team






___ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

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



Re: How to run multiple goals via maven-scm-plugin on a scm provi der plugin

2006-06-26 Thread Edwin Punzalan


I think it should be provided as a dependency under 


Sharma, Jaikumar wrote:

Thanks Edwin and Dan both. I would like to know, where my
maven-scm-provider-mks plugin fits into this configuration ? It has to
be specified as a dependency or what ?

Regards.

-Original Message-
From: Edwin Punzalan [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 1:27 PM

To: Maven Users List
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm
provi der plugin


That seems wrong... it should be:


  

  maven-scm-plugin
  
 put here plugin configurations that is common to all the
executions
  
  

  
   <-- put here configurations applicable to 
this execution only

  
 <-- plugin goal for this execution
  

  

  


to run multiple goals, you may either put several  in   or

sevearal  in 



Sharma, Jaikumar wrote:
  

Hi Dan,
Thanks again for your response.
I would definitely use normal build process, but I was thinking about 
the possiblity of running the multiple goals. The configuration you 
have mentioned below does not show scm provider plugin configuration ?



  

How provider plugin has to be configured in this configuration ?
 
Regards.
 


-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 12:44 PM
To: scm-dev@maven.apache.org
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm


provi
  

der plugin



  
 
maven-scm-plugin

   bootstrap



  
 a,b,c,etc
  
   

  

 
Btw, this question should go to user list.
 
Also, not sure why you want to do this thou, why dont you use normal 
maven build process?
 
-Dan
   
  

 
On 6/26/06, Sharma, Jaikumar <[EMAIL PROTECTED] 
 > wrote:


could you please mention this using a small example using xml 
constructs ? Regards,



-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]  ]

Sent: Monday, June 26, 2006 12:33 PM
To: scm-dev@maven.apache.org  
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm


provi
  

der plugin




it is not normal to build thru scm:bootstrap by specify in the pom, 
but you can certainly do so, by binding scm:boostrap mojo to a phase 
in your pom.
 
-Dan


 
On 6/25/06, Sharma, Jaikumar <[EMAIL PROTECTED] 
 > wrote:


Thanks Dan,
I think, what you have mentioned is command line option ? how to


achieve
  

this in pom.xml ?
Regards.

 
 


-Original Message-
From: dan tran [mailto: [EMAIL PROTECTED]  ]
Sent: Monday, June 26, 2006 12:18 PM
To: scm-dev@maven.apache.org   
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm

provider plugin


The answer is no, but you can run mvn scm:bootstrap 
-Dgoals="goal1,goal2, goal2, etc"
 
-D


 
On 6/25/06, Sharma, Jaikumar <[EMAIL PROTECTED] 
 > wrote:


Emmanuel,
 
Is it possible to run multiple goals in sequence via maven-scm-plugin 
like the following :
 

 
scm:mks:[EMAIL PROTECTED]@[EMAIL PROTECTED]


  how to specify other goal here, which might be next step


like
  
creating a sandbox on local machine  ?  

 
Is scm providers plugins are always works as dependency to 
maven-scm-plugin ?
 
Regards.
   



- - - - - - - DISCLAIMER- - - - - - - -

Unless indicated otherwise, the information contained in this message 
is privileged and confidential, and is intended only for the use of 
the

addressee(s) named above and others who have been specifically


authorized to
  

receive it. If you are not the intended recipient, you are hereby


notified
  

that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability


for any
  

damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete


the
  
message. Thank you. 





- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message 
is privileged and confidential, and is intended only for the use of 
the

addressee(s) named above and others who have been specifically


authorized to
  

receive it. If you are not the intended recipient, you are hereby


notified
  

that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability


for any
  

damage caused by any virus transmitted by this e

RE: How to run multiple goals via maven-scm-plugin on a scm provi der plugin

2006-06-26 Thread Sharma, Jaikumar
Thanks Edwin and Dan both. I would like to know, where my
maven-scm-provider-mks plugin fits into this configuration ? It has to
be specified as a dependency or what ?

Regards.

-Original Message-
From: Edwin Punzalan [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 1:27 PM
To: Maven Users List
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm
provi der plugin


That seems wrong... it should be:


  

  maven-scm-plugin
  
 put here plugin configurations that is common to all the
executions
  
  

  
   <-- put here configurations applicable to 
this execution only
  
 <-- plugin goal for this execution
  

  

  


to run multiple goals, you may either put several  in   or

sevearal  in 



Sharma, Jaikumar wrote:
> Hi Dan,
> Thanks again for your response.
> I would definitely use normal build process, but I was thinking about 
> the possiblity of running the multiple goals. The configuration you 
> have mentioned below does not show scm provider plugin configuration ?

> How provider plugin has to be configured in this configuration ?
>  
> Regards.
>  
>
> -Original Message-
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 26, 2006 12:44 PM
> To: scm-dev@maven.apache.org
> Subject: Re: How to run multiple goals via maven-scm-plugin on a scm
provi
> der plugin
>
>
> 
>   
>  
> maven-scm-plugin
> 
>bootstrap
> 
> 
> 
>   
>  a,b,c,etc
>   
>
> 
>   
>  
>  
> Btw, this question should go to user list.
>  
> Also, not sure why you want to do this thou, why dont you use normal 
> maven build process?
>  
> -Dan
>
>   
>
>  
> On 6/26/06, Sharma, Jaikumar <[EMAIL PROTECTED] 
>  > wrote:
>
> could you please mention this using a small example using xml 
> constructs ? Regards,
>
>
> -Original Message-
> From: dan tran [mailto:[EMAIL PROTECTED]  ]
>
> Sent: Monday, June 26, 2006 12:33 PM
> To: scm-dev@maven.apache.org  
> Subject: Re: How to run multiple goals via maven-scm-plugin on a scm
provi
> der plugin
>
>
>
>
> it is not normal to build thru scm:bootstrap by specify in the pom, 
> but you can certainly do so, by binding scm:boostrap mojo to a phase 
> in your pom.
>  
> -Dan
>
>  
> On 6/25/06, Sharma, Jaikumar <[EMAIL PROTECTED] 
>  > wrote:
>
> Thanks Dan,
> I think, what you have mentioned is command line option ? how to
achieve
> this in pom.xml ?
> Regards.
>
>  
>  
>
> -Original Message-
> From: dan tran [mailto: [EMAIL PROTECTED]  ]
> Sent: Monday, June 26, 2006 12:18 PM
> To: scm-dev@maven.apache.org   
> Subject: Re: How to run multiple goals via maven-scm-plugin on a scm
> provider plugin
>
>
> The answer is no, but you can run mvn scm:bootstrap 
> -Dgoals="goal1,goal2, goal2, etc"
>  
> -D
>
>  
> On 6/25/06, Sharma, Jaikumar <[EMAIL PROTECTED] 
>  > wrote:
>
> Emmanuel,
>  
> Is it possible to run multiple goals in sequence via maven-scm-plugin 
> like the following :
>  
> 
>  
> scm:mks:[EMAIL PROTECTED]@[EMAIL PROTECTED]
> 
>   how to specify other goal here, which might be next step
like
> creating a sandbox on local machine  ?  
> 
>  
> Is scm providers plugins are always works as dependency to 
> maven-scm-plugin ?
>  
> Regards.
>
> 
>
> - - - - - - - DISCLAIMER- - - - - - - -
>
> Unless indicated otherwise, the information contained in this message 
> is privileged and confidential, and is intended only for the use of 
> the
> addressee(s) named above and others who have been specifically
authorized to
> receive it. If you are not the intended recipient, you are hereby
notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability
for any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liability for any delays. If you have
> received this message in error, please contact the sender and delete
the
> message. Thank you. 
>
>
>
>
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message 
> is privileged and confidential, and is intended only for the use of 
> the
> addressee(s) named above and others who have been specifically
authorized to
> receive it. If you are not the intended recipient, you are hereby
notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability
for any
> dam

Re: simple but complicated case - need advice

2006-06-26 Thread Edwin Punzalan


Well, if maven can't do what you really need and you don't have time to 
customized plugins, you can always use maven + ant (via antrun plugin) 
to get what you need.


I suggest that you use ant scripts on simple stuffs like maybe rename 
your final packages and such.



Wojciech Biela wrote:

No suggestions? really? anybody? :)

Best regards
Wojtek Biela

2006/6/23, Wojciech Biela <[EMAIL PROTECTED]>:

Hi!

My case was supposed to be simple but it turned out to be quite
complicated, at least for my limited maven abilities, I've used Ant
for the last few years, so I'm new to maven, I've spent a few days
with it, I like it very much, I'm very much convinced that it will
help  my project, but I really am starting to loose ground.

I came to this project in it's late stage, so the directory structure
and stuff is not as you would suggest, I am responsible for having a
CI environment, so I'm using luntbuild and would like to use maven to
do the rest...

there are 3 base subprojects and a number of modules:

base1
base2
base3
module1
module2
...
moduleN

each of there subprojects has it's own src,lib,test,resources
structure, and each of them produces one final file. The base modules
produce JAR files, the modules are also compiled (with dep to the
base1-3) and tested and all that's fine and that's fine.

So far I did this by adding another folder let's call it MasterProject
and putting there a pom.xml with packaging type pom, listing all
subprojects as modules, and putting there the common dependencies as
well as configuring the src,test,resources paths as all the
subprojects have it the same way (though not according to your
convention). And all that's fine with a single command from the master
project all the subprojects are compiled, the base projects jars are
installed into the
local repo, modules are unit tested and compiled ..

but the project as a whole is not yet assembled into the structure it
need to have, and I lost the clue of how to do it using maven with the
least effort ... what I have to accomplish is to:
1. take all the jars (external deps, and base subprojects) and put
them into lib folder in the master project - ok I can so that with
assemble plugin AFAIC
2. out of each module make a zip file named XX-moduleN.mod, where XX
is an arbitrary number assigned to the module (eg. in the pom property
element) - that will allow us to sort them in some way - the
application needs that
3. put all the *.mod files into a folder in the master project
4. move the whole thing somewhere (maybe zip and unzip to the dest
location) and lift the whole system (execute some main() from a class
and fork to leave the

I assume that maven wont help me in (4) so I plan to use a custom Ant
script and invoke it after everything is done (bind it to some phase).
But my main question is how to accomplish steps (1)-(3)? I would like
not to build the damn thing all the time and use the Maven repository
as a placeholder for the *.mod files.

But AFAIC I can't force maven to give the jars that he builds a
different extension (.mod) and use the files with that extension as
dependencies for the main project, if I could do that I would simply
use the assembly plugin and tell him to place all the dependencies in
the lib folder, then I would move from the lib folder all the .mod
files to the custom one, I know it isn't flawless but I can't think of
anything else

please enlighten me if I'm wrong or help me if you see any way to do 
this


Best regards
Wojtek Biela



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



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



Re: [M2] Findbugs plugin results to stacktrace

2006-06-26 Thread Joern Huxhorn

Rik Bosman wrote:

Can I just add it to the dependencies section of the pom, or is there a way
to add it to specific dependencies of this plugin?

Regards,

Rik
  

I just fixed this problem by manually adding
   
   jaxen
   jaxen
   1.1-beta-9
   

to the pom file of the findbugs plugin
in my .m2 repo.
It's located at 
~/.m2/repository/org/codehaus/mojo/findbugs-maven-plugin/1.0-SNAPSHOT/findbugs-maven-plugin-1.0-SNAPSHOT.pom


So the only problem is the missing dependency! FindBugs works!! ;)

Joern.


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



Re: simple but complicated case - need advice

2006-06-26 Thread Wojciech Biela

No suggestions? really? anybody? :)

Best regards
Wojtek Biela

2006/6/23, Wojciech Biela <[EMAIL PROTECTED]>:

Hi!

My case was supposed to be simple but it turned out to be quite
complicated, at least for my limited maven abilities, I've used Ant
for the last few years, so I'm new to maven, I've spent a few days
with it, I like it very much, I'm very much convinced that it will
help  my project, but I really am starting to loose ground.

I came to this project in it's late stage, so the directory structure
and stuff is not as you would suggest, I am responsible for having a
CI environment, so I'm using luntbuild and would like to use maven to
do the rest...

there are 3 base subprojects and a number of modules:

base1
base2
base3
module1
module2
...
moduleN

each of there subprojects has it's own src,lib,test,resources
structure, and each of them produces one final file. The base modules
produce JAR files, the modules are also compiled (with dep to the
base1-3) and tested and all that's fine and that's fine.

So far I did this by adding another folder let's call it MasterProject
and putting there a pom.xml with packaging type pom, listing all
subprojects as modules, and putting there the common dependencies as
well as configuring the src,test,resources paths as all the
subprojects have it the same way (though not according to your
convention). And all that's fine with a single command from the master
project all the subprojects are compiled, the base projects jars are
installed into the
local repo, modules are unit tested and compiled ..

but the project as a whole is not yet assembled into the structure it
need to have, and I lost the clue of how to do it using maven with the
least effort ... what I have to accomplish is to:
1. take all the jars (external deps, and base subprojects) and put
them into lib folder in the master project - ok I can so that with
assemble plugin AFAIC
2. out of each module make a zip file named XX-moduleN.mod, where XX
is an arbitrary number assigned to the module (eg. in the pom property
element) - that will allow us to sort them in some way - the
application needs that
3. put all the *.mod files into a folder in the master project
4. move the whole thing somewhere (maybe zip and unzip to the dest
location) and lift the whole system (execute some main() from a class
and fork to leave the

I assume that maven wont help me in (4) so I plan to use a custom Ant
script and invoke it after everything is done (bind it to some phase).
But my main question is how to accomplish steps (1)-(3)? I would like
not to build the damn thing all the time and use the Maven repository
as a placeholder for the *.mod files.

But AFAIC I can't force maven to give the jars that he builds a
different extension (.mod) and use the files with that extension as
dependencies for the main project, if I could do that I would simply
use the assembly plugin and tell him to place all the dependencies in
the lib folder, then I would move from the lib folder all the .mod
files to the custom one, I know it isn't flawless but I can't think of
anything else

please enlighten me if I'm wrong or help me if you see any way to do this

Best regards
Wojtek Biela



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



Re: How to run multiple goals via maven-scm-plugin on a scm provi der plugin

2006-06-26 Thread Edwin Punzalan

That seems wrong... it should be:


 
   
 maven-scm-plugin
 
put here plugin configurations that is common to all the executions
 
 
   
 
  <-- put here configurations applicable to 
this execution only

 
<-- plugin goal for this execution
 
   
 
   
 


to run multiple goals, you may either put several  in   or  
sevearal  in 




Sharma, Jaikumar wrote:

Hi Dan,
Thanks again for your response.
I would definitely use normal build process, but I was thinking about the
possiblity of running the multiple goals.
The configuration you have mentioned below does not show scm provider plugin
configuration ? How provider plugin has to be configured in this
configuration ?
 
Regards.
 


-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 12:44 PM

To: scm-dev@maven.apache.org
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi
der plugin



  
 
maven-scm-plugin

   bootstrap



  
 a,b,c,etc
  
   

  

 
Btw, this question should go to user list.
 
Also, not sure why you want to do this thou, why dont you use normal maven

build process?
 
-Dan
   
  

 
On 6/26/06, Sharma, Jaikumar <[EMAIL PROTECTED]
 > wrote: 


could you please mention this using a small example using xml constructs ?
Regards,


-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]  ] 


Sent: Monday, June 26, 2006 12:33 PM
To: scm-dev@maven.apache.org   
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi

der plugin




it is not normal to build thru scm:bootstrap by specify in the pom, but you
can certainly do so, by binding scm:boostrap mojo to a
phase in your pom.
 
-Dan


 
On 6/25/06, Sharma, Jaikumar <[EMAIL PROTECTED]
 > wrote: 

Thanks Dan, 
I think, what you have mentioned is command line option ? how to achieve

this in pom.xml ?
Regards.

 
 


-Original Message-
From: dan tran [mailto: [EMAIL PROTECTED]  ] 
Sent: Monday, June 26, 2006 12:18 PM
To: scm-dev@maven.apache.org   
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm

provider plugin


The answer is no, but you can run mvn scm:bootstrap -Dgoals="goal1,goal2,
goal2, etc"
 
-D


 
On 6/25/06, Sharma, Jaikumar <[EMAIL PROTECTED]
 > wrote: 


Emmanuel,
 
Is it possible to run multiple goals in sequence via maven-scm-plugin like

the following :
 

 
scm:mks:[EMAIL PROTECTED]@[EMAIL PROTECTED]

 
  how to specify other goal here, which might be next step like
creating a sandbox on local machine  ?  

 
Is scm providers plugins are always works as dependency to maven-scm-plugin
? 
 
Regards.
   



- - - - - - - DISCLAIMER- - - - - - - -

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





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

  


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



Re: How to run multiple goals via maven-scm-plugin on a scm provi der plugin

2006-06-26 Thread dan tran

add this to your configuration

scm:mks:. 

btw, mks provider is not avaiable yet under maven-scm

-D


On 6/26/06, Sharma, Jaikumar <[EMAIL PROTECTED]> wrote:


Hi Dan,
Thanks again for your response.
I would definitely use normal build process, but I was thinking about the
possiblity of running the multiple goals.
The configuration you have mentioned below does not show scm provider
plugin
configuration ? How provider plugin has to be configured in this
configuration ?

Regards.


-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 12:44 PM
To: scm-dev@maven.apache.org
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi
der plugin





   maven-scm-plugin
   
  bootstrap
   
   
   
 
a,b,c,etc
 
  
   
 
  mailto:[EMAIL PROTECTED]> > wrote:

could you please mention this using a small example using xml constructs ?
Regards,


-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]  ]

Sent: Monday, June 26, 2006 12:33 PM
To: scm-dev@maven.apache.org  
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi
der plugin




it is not normal to build thru scm:bootstrap by specify in the pom, but
you
can certainly do so, by binding scm:boostrap mojo to a
phase in your pom.

-Dan


On 6/25/06, Sharma, Jaikumar <[EMAIL PROTECTED]
 > wrote:

Thanks Dan,
I think, what you have mentioned is command line option ? how to achieve
this in pom.xml ?
Regards.




-Original Message-
From: dan tran [mailto: [EMAIL PROTECTED]  ]
Sent: Monday, June 26, 2006 12:18 PM
To: scm-dev@maven.apache.org  
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm
provider plugin


The answer is no, but you can run mvn scm:bootstrap -Dgoals="goal1,goal2,
goal2, etc"

-D


On 6/25/06, Sharma, Jaikumar <[EMAIL PROTECTED]
 > wrote:

Emmanuel,

Is it possible to run multiple goals in sequence via maven-scm-plugin like
the following :

   

scm:mks:[EMAIL PROTECTED]@[EMAIL PROTECTED]
   
 how to specify other goal here, which might be next step like
creating a sandbox on local machine  ?
   

Is scm providers plugins are always works as dependency to
maven-scm-plugin
?

Regards.



- - - - - - - DISCLAIMER- - - - - - - -

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




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




RE: How to run multiple goals via maven-scm-plugin on a scm provi der plugin

2006-06-26 Thread Sharma, Jaikumar
Hi Dan,
Thanks again for your response.
I would definitely use normal build process, but I was thinking about the
possiblity of running the multiple goals.
The configuration you have mentioned below does not show scm provider plugin
configuration ? How provider plugin has to be configured in this
configuration ?
 
Regards.
 

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 12:44 PM
To: scm-dev@maven.apache.org
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi
der plugin



  
 
maven-scm-plugin

   bootstrap



  
 a,b,c,etc
  
   

  
   mailto:[EMAIL PROTECTED]> > wrote: 

could you please mention this using a small example using xml constructs ?
Regards,


-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]  ] 

Sent: Monday, June 26, 2006 12:33 PM
To: scm-dev@maven.apache.org   
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi
der plugin




it is not normal to build thru scm:bootstrap by specify in the pom, but you
can certainly do so, by binding scm:boostrap mojo to a
phase in your pom.
 
-Dan

 
On 6/25/06, Sharma, Jaikumar <[EMAIL PROTECTED]
 > wrote: 

Thanks Dan, 
I think, what you have mentioned is command line option ? how to achieve
this in pom.xml ?
Regards.

 
 

-Original Message-
From: dan tran [mailto: [EMAIL PROTECTED]  ] 
Sent: Monday, June 26, 2006 12:18 PM
To: scm-dev@maven.apache.org   
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm
provider plugin


The answer is no, but you can run mvn scm:bootstrap -Dgoals="goal1,goal2,
goal2, etc"
 
-D

 
On 6/25/06, Sharma, Jaikumar <[EMAIL PROTECTED]
 > wrote: 

Emmanuel,
 
Is it possible to run multiple goals in sequence via maven-scm-plugin like
the following :
 

 
scm:mks:[EMAIL PROTECTED]@[EMAIL PROTECTED]
 
  how to specify other goal here, which might be next step like
creating a sandbox on local machine  ?  

 
Is scm providers plugins are always works as dependency to maven-scm-plugin
? 
 
Regards.
   


- - - - - - - DISCLAIMER- - - - - - - -

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




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