[ANN] Maven Invoker Plugin 1.1 for Maven 2 Released

2007-12-21 Thread olamy
The Maven team is pleased to announce the release of the Maven Invoker Plugin, version 1.1 http://maven.apache.org/plugins/maven-invoker-plugin/ You can run mvn -up to get the latest version of the plugin, or specify the version in your project's plugin configuration: plugin

Re: maven + eclipse server adapter

2007-12-21 Thread cailie
Hi Arnaud, Thank you for the info! I tried it out and was able to successfully run the project using WTP. Looking forward to the final release. -C Arnaud HERITIER wrote: We are actually working on the support for WTP 2.0. It's available in the current 2.5-SNAPSHOT. If if we don't discover

maven.proxy.nonProxyHosts

2007-12-21 Thread Dooing
Hi, using Maven 1.1, I've read there was an option to use a proxy and also to exclude special urls from it - for internet connections, we need to use a proxy, but for our maven repo on the LAN we don't. However, this: maven.repo.remote=http://192.168.0.54, http://www.ibiblio.org/maven

extends plugins

2007-12-21 Thread Benoit Decherf
Hi, I'm working on the migration of some projects from ant to maven. for some of the work done in ant target, there is no corresponding plugin for maven (ex: serialver: http://serialver.sourceforge.net/). So I make a plugin that comment the serialversionUID on the source class. Then the

Re: maven.proxy.nonProxyHosts

2007-12-21 Thread Lukas Theussl
Try removing the http: maven.proxy.nonProxyHosts=192.168.0.54 And would you share how you made the tomcat plugin work? Maybe other users could still profit from it. :) Thanks, -Lukas [EMAIL PROTECTED] wrote: Hi, using Maven 1.1, I've read there was an option to use a proxy and also to

RE: maven.proxy.nonProxyHosts

2007-12-21 Thread Romain Gilles
You can try to create an internal repository. This internal repository will be your only one entry point (i.e. maven.repo.remote=http://myintermalrepo.mycompany:8080) And you will not have to use the proxy configuration. Romain Gilles Development Software Engineer Reuters (t) +33 (0)1 47 62

Re: extends plugins

2007-12-21 Thread Olivier Lamy
Hi, If you want to share the plugin and to move it on a open sourec model you can ask this on mojo (at codehaus) Have a look here : http://mojo.codehaus.org/development/submitting-a-plugin.html Thanks, -- Olivier 2007/12/21, Benoit Decherf [EMAIL PROTECTED]: Hi, I'm working on the migration

Re: maven.proxy.nonProxyHosts

2007-12-21 Thread Dooing
Try removing the http: Yeah, I tried that - then Maven even complains that the protocol is missing (plus it doesn't work either) - Only using a local repository isn't an option either - we are a big developer team, distributed over various locations, and there will always be someone

Extensions and sun.misc.Service

2007-12-21 Thread Romain Gilles
Hi, I'm a new maven user and I would like to introduce extensions to a homemade plugin. But when I add in my pom.xml the extension as follow : extension groupIdcom.reuters.kplusgen.extension.cartridge.providers.enum/groupI d artifactIdproviders-enum/artifactId

Re: maven.proxy.nonProxyHosts

2007-12-21 Thread Dooing
You are right, the http is correct actually. Another guess: replace the IP name by a DNS name? But you will have to tell us more details about the problem, just saying it doesn't work doesn't leave me a lot of clues... Well, actually, using a DNS name is just what I really want and so what

Re: maven.proxy.nonProxyHosts

2007-12-21 Thread Lukas Theussl
You are right, the http is correct actually. Another guess: replace the IP name by a DNS name? But you will have to tell us more details about the problem, just saying it doesn't work doesn't leave me a lot of clues... -Lukas [EMAIL PROTECTED] wrote: Try removing the http: Yeah, I tried

Re: maven.proxy.nonProxyHosts

2007-12-21 Thread Dooing
Nope, we don't need a proxy username or password - plus, the IP I wrote down is the IP that should NOT use a proxy. When I type in the IP into my browser, I can see the maven repository. And when I remove the proxy setting it also works in Maven. With these settings:

Re: Problem to send email (Validation user) with Continuum 1.1 final

2007-12-21 Thread Wendy Smoak
On Dec 21, 2007 5:06 AM, Claudio Ranieri [EMAIL PROTECTED] wrote: I did a test with file security.properties in /path/to/continuum/conf/ and work out. As sugestion, the Continuum Team can add the file /path/to/continuum/conf/security.properties in next release of Continuum. We should

Re: Archiva freeze because of down site ?

2007-12-21 Thread Julien CARSIQUE
Hi, Thanks, good news. So I'm waiting impatiently for the 1.0.1 :-) Julien Brett Porter a crit: Yeah, improvements to the caching should certainly be filed as a feature request - and we should run through the plan on the dev@ list if possible. As far s your original freezing problem

Re: maven.proxy.nonProxyHosts

2007-12-21 Thread Lukas Theussl
Well, that must be a permission problem, check your server logs, maybe just a wrong pwd (don't you need maven.proxy.password?), or wrong directory permissions? And yes, I can confirm that maven.proxy.nonProxyHosts is an existing property [1] and that it is used by DependencyVerifier, even

Global resources for a multi-module project

2007-12-21 Thread Oren Livne
Dear All, Question 1: I am trying to build a multi-module maven 2 project. I would like to declare some global resources that all modules should include in their jars/wars. Let's take as an example the following structure: parent project: parent modules: module1, module2, module3 I created

Speeding up file serving.

2007-12-21 Thread gumnaam23
How does archiva serves files from its internal repository ? I have setup Archiva to mirror external repositories. but archiva itself can be slow in serving these proxied dependencies. Currently I am running the standalone version of Archiva. I was wondering if running Archiva, inside

current directory from module

2007-12-21 Thread Kallin Nagelberg
I've written a plugin that is being used by an artifact of mine to create some files in my project structure (outside maven, like ../../somedir...). It all works great when I run it from the directory housing the artifact i'm interested in, but when I attempt to make this artifact a module of

Re: current directory from module

2007-12-21 Thread Kallin Nagelberg
I figured out how to do this by passing the ${basedir} property from the pom into my plugin. Problem solved! On Dec 21, 2007 12:11 PM, Kallin Nagelberg [EMAIL PROTECTED] wrote: I've written a plugin that is being used by an artifact of mine to create some files in my project structure (outside

Re: How to single step with debugger thru java spring-framework source code with Eclipse and maven?

2007-12-21 Thread Guillaume Lederrey
Maven should have downloaded the sources in your maven repository. So you could point eclipse to the jars there. On 21/12/2007, siegfried [EMAIL PROTECTED] wrote: I'm having trouble telling eclipse where the source code is for spring for a java project. I have used maven to download

what is dependencyManagement ?

2007-12-21 Thread akkachotu
Say I have parent pom called A and child pom called B. I specified module element for B inside A and also specified parent element for A inside B. Now I dont understand I would have to declare dependencyManagement element in A. Say if I have B, C, D as child modules and B, C, D all 3 depend on

How to single step with debugger thru java spring-framework source code with Eclipse and maven?

2007-12-21 Thread siegfried
I'm having trouble telling eclipse where the source code is for spring for a java project. I have used maven to download spring for me. I want to use the eclipse java debugger to single thu source for org.springframework.jdbc.object.MappingSqlQuery. I high light the class name and press

Re: what is dependencyManagement ?

2007-12-21 Thread nicolas de loof
Typical use of dependencyManagement is to set version for commons libs in parent POM, and to only refer to artifactId + groupId in children POM. This ensure consistent versionning. Other use case is to fix bad maven metadatas. For example, exclude logkit , avalon... from commons-logging. This can

Re: what is dependencyManagement ?

2007-12-21 Thread Ian Springer
dependencyManagement is basically a way to standardize versions for dependencies across descendant modules. For example, if I put the following in the root pom of my multi-module project: dependencyManagement ... dependency groupIdgnu-getopt/groupId

Re: what is dependencyManagement ?

2007-12-21 Thread Andrew Robinson
dependencyManagement can be used to set common attributes for a dep, like exclusions, version etc. So: Parent P: dependencyManagement dependency groupIdsomething/groupId artifactIdsomething/artifactId version1.0.0/version /dependency /dependencyManagement Child A C: dependencies dependency

RE: How to single step with debugger thru java spring-framework source code with Eclipse and maven?

2007-12-21 Thread siegfried
Wow! Thanks for that prompt response! What a joy! OK, I'm poking around in C:\Documents and Settings\siegfried\.m2\org\springframework\spring\2.0.6. I notice there are quite a few different versions and 2.0.6 is the latest. Can I assume my project is using the latest? What command do I have to

[M2] find out the repository, groupid and artifactid for a jar

2007-12-21 Thread jblack
Given a jar obtained from somewhere unknown, how can I best find out which repository I need to include in the pom and the groupId and artifactId for the proper maven version of that jar? At some point, I think I saw a website that allowed you to search for a jar and it would search multiple

Re: how to bind archiva to a ip?

2007-12-21 Thread Brett Porter
I would suggest deploying the web application into a standalone Jetty container. I'm currently looking into making that a standard distribution instead of the plexus application server runtime that we have at present. Cheers, Brett On 21/12/2007, Gong Phil [EMAIL PROTECTED] wrote: My server has

Re: Maven2 + Classpath

2007-12-21 Thread Steinar Bang
Stuart McCulloch [EMAIL PROTECTED]: I did a quick test and using ${basedir} appeared to work for me I'm stuck with maven 2.0.4. Perhaps that's the cause of my problems? - note that the basedir is the directory with the pom, so if you unpack to target/someosgiapp then you need to use

Re: How to single step with debugger thru java spring-framework source code with Eclipse and maven?

2007-12-21 Thread Jeff MAURY
I you use the maven eclipse plugin, there is an option in the preference that tells maven to download source artifact as well as binary artifact. Once you've checked this flag, when Eclipse buids the classpath from you pom, the source artifact will automatically be attached to the referenced jar.

Eclipse Maven2 Plugin

2007-12-21 Thread Oren Livne
Dear All, I am using the Maven 2 integration for Eclipse, http://m2eclipse.codehaus.org/ I am trying to set a custom path for my local maven repository. I went to Windows-Preferences -Maven 2 and set it there, but it doesn't have any effect and still uses ~/.m2/repository. My command line

Re: Don't kill the messenger

2007-12-21 Thread Barrie Treloar
On Dec 21, 2007 8:35 AM, Brett Porter [EMAIL PROTECTED] wrote: Or set it to never in the repository definition and then use -U to use it when you want. Or never use snapshots. Always build a locally installed patch version and depend on that. See

Re: A nice circle: parent pom in remote repository

2007-12-21 Thread knaas
A related problem can occur when trying to use archetypes from your repo - can't wait until archetypeng fixes this. Because of a defect in the archetype-plugin, you'll need to use the -DremoteRepositories=http://mycompany.com in order to find them in your repo. baerrach wrote: We document

Re: Don't kill the messenger

2007-12-21 Thread Jason van Zyl
On 20 Dec 07, at 2:58 PM 20 Dec 07, Don Brown wrote: On Dec 21, 2007 8:38 AM, Mark Struberg [EMAIL PROTECTED] wrote: This must obviously be a guy who never had a build with more than one single module. So he never learned that it is NOT a good idea to keep all dependencies in every single

plugins within plugins

2007-12-21 Thread Kallin Nagelberg
I've got a situation on my hands in which I need to convert a maven assembly system that was built to be only linux compatible to something cross platform. Among it's quirks, it generates pom files dynamically so that it can call plugins against it. The first windows hitch I've come across is the

Release killed by site config/how do you create multi module site with correct links?

2007-12-21 Thread Sundling, Paul
Already wasted over a day on this, so maybe someone else can give me an idea how to do it. There are two parts to this, generating a site of a multi module project with the correct links and the strange failure I get when doing a release if site config is present. Genering multi module project

EJB 3 Dependency

2007-12-21 Thread Ryan Cuprak
Hello, I am starting an EJB 3 project but am stumped on how I specify the dependency for EJB 3. The dependency on mvnrepository only goes up to 2.1 (http://mvnrepository.com/artifact/javax.ejb/ejb). I am using the JBoss 5.0 beta container. Thanks, -Ryan

Re: how to bind archiva to a ip?

2007-12-21 Thread Wendy Smoak
On Dec 21, 2007 7:30 PM, Phil Gong [EMAIL PROTECTED] wrote: I tried to deploy archiva to resin yesterday, but it can not run. I'll try Jetty. If archiva can be deployed to any well known container without special work, that would be wonderful. There are a few wiki pages that talk about

Re: Problem to send email (Validation user) with Continuum 1.1 final

2007-12-21 Thread Claudio Ranieri
Hi Wendy, I did a test with file security.properties in /path/to/continuum/conf/ and work out. As sugestion, the Continuum Team can add the file /path/to/continuum/conf/security.properties in next release of Continuum. The Continuum Team can unify all sender email. Today, there are 2 config in

Re: Problem to send email (Validation user) with Continuum 1.1 final

2007-12-21 Thread Claudio Ranieri
Hi Wendy, about it doesn't need to be there unless you're overriding the defaults It is not always true. I needed add lines in security.properties to send the Validation user email (in smtp without user and password). But you creating a sample file helps a lot. Thanks for return. -