Re: including project local jars as a dependency

2005-10-29 Thread Hervé BOUTEMY
I had the same need and found that "system" scope could do the job. For example, I replaced following lines in project.properties : maven.jar.activation=${basedir}/lib/activation.jar with following lines in pom.xml : javax.activation activation 1.0.2 system lib/

Re: [m2] deployment of Jetty 6

2005-10-29 Thread Trygve Laugstøl
On Fri, 2005-10-28 at 10:21 -0400, Jason van Zyl wrote: > On Thu, 2005-10-27 at 21:35 -0700, David Jencks wrote: > > On Oct 26, 2005, at 3:30 AM, Greg Wilkins wrote: > > > > > Ideally, I think apache should branch all the standard javax > > > stuff into a project of it's own. That way tomcat, je

Re: JDeveloper Plugin

2005-10-29 Thread Alexandre Poitras
http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix JDeveloper plugin is only for maven 1.0. Nobody has maintened it since then. We also use Jdeveloper and we are looking for a plugin too. Maybe we'll have to develop it. 2005/10/28, Dave EDMONDS PSE 54839 <[EMAIL PROTECTED]>: > > > Hi, > >

Re: [m2] Image link when creating a site?

2005-10-29 Thread Roland Bali
Thanks Rohnny, great tip! /Roland On 10/28/05, Rohnny Moland <[EMAIL PROTECTED]> wrote: > On 10/28/2005 01:16 PM, Roland Bali wrote: > > Hi, > > > > I'm trying to add a image link to my site descriptor but the image is > > not added. I've tried the following: > > > > > href="http://maven.apach

[m2] xmlbeans plugin

2005-10-29 Thread Robert Biernat
Hi, I'm trying to install the xml beans plugin to my local repository after checking it out from the codehaus subversion repository. The pom has some references to stax-1.1.1-dev and xmlbeans-jsr173-api-2.0-dev, which it cannot find in the ibiblio or codehaus repositories. Has anyone got this p

[m2] antrun plugin and compiling generated source

2005-10-29 Thread Robert Biernat
Hi, I was wondering wether anyone knows of an existing plugin similar to the antrun plugin which allows me to execute one or more ant tasks, but also allows me to add some additional locations to the compilation path. I have several projects I want to migrate to m2 which use ant tasks for code

Re: [M2] Too heavy load for ibiblio?

2005-10-29 Thread dan tran
Is there any recommsndation from maven dev team to fix this problem? Maven proxy is must have for corporate environment. -D On 10/28/05, Allison, Bob <[EMAIL PROTECTED]> wrote: > > One problem I have been having with maven-proxy is that I find that once a > jar's metadata is downloaded, it neve

Re: Parent POM Properties

2005-10-29 Thread Frank Mena
BTW, there is a bug when you use ${basedir} inside of {$basedir}/somemodule For example, if your basedir is d:\app\module2, it expands to d:\app\module2d:\app\module2 I'm also trying to do somewthinbg similar to you. I'm using a Java/XML binding library (jibx) that requires it to bytecode enhance

[m2] Infinity Loop in DefaultMavenProjectBuilder.assembleLineage

2005-10-29 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, yesterday I created this jira issue: http://jira.codehaus.org/browse/MNG-1355?page=comments In case you have additional questions I was thinking that it might be easier, if I subscribe to the users list and keep in contact. Take care Jör

How to add to local repository

2005-10-29 Thread Siegfried Heintze
I just corrected the groupid for the htmlparser I proposed for upload into ibiblio. Now how do I use this jar file while I'm waiting for carlos to put it in ibiblio? Could someone kindly point me to the URL for the documentation on how to add a third party jar file to one's own repository for m1 a

Re: How to add to local repository

2005-10-29 Thread Phil Steitz
Siegfried Heintze wrote: I just corrected the groupid for the htmlparser I proposed for upload into ibiblio. Now how do I use this jar file while I'm waiting for carlos to put it in ibiblio? Could someone kindly point me to the URL for the documentation on how to add a third party jar file to on

Problems after installing Maven 2.0

2005-10-29 Thread Petra Fiedler
Hey, i've installed maven 2.0 as described on the website. then i tried to run the example which is there described. But when i invoke "mvn compile" i always get the same error message: [INFO] Scanning for projects... [INFO] ---

Re: [m1] Site plugin, width of left column w/ image in non-IE browsers

2005-10-29 Thread Brett Porter
In IE, it works incorrectly I think :) What you probably need to do is add a custom CSS that sets the width to a fixed size instead of a percentage. IIRC that was done in the SVN version of the xdoc plugin. - Brett On 10/26/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > I followed the instructions

Re: [m2] Plugins that depend on other plugin goals

2005-10-29 Thread Mark Hobson
On 28/10/05, Brett Porter <[EMAIL PROTECTED]> wrote: > I believe all should execute phase="package". For the last two, create > a custom lifecycle that binds war:inplace to the package phase, for > example. See the core-it-plugin for an example. Thanks Brett, I've had a look but it's not clear whe

Re: [m2] ant WAR tasks and

2005-10-29 Thread Brett Porter
Please see the documentation on the website which shows how to use the fileset with a mapper to do what you expect. - Brett On 10/26/05, Darren Hartford <[EMAIL PROTECTED]> wrote: > Hey all, > Trying to do something pretty simple I thought - use the task > to create the classpath, then for WAR t

Re: Problems after installing Maven 2.0

2005-10-29 Thread Eric Biesterfeld
Try mvn install I don't remember ever using the compile target. On 10/29/05, Petra Fiedler <[EMAIL PROTECTED]> wrote: > Hey, > > i've installed maven 2.0 as described on the website. then i tried to > run the example which is there described. But when i invoke "mvn > compile" i always get the sam

Re: Problems after installing Maven 2.0

2005-10-29 Thread Wendy Smoak
On 10/29/05, Petra Fiedler <[EMAIL PROTECTED]> wrote: > > --- > [INFO] Cannot execute mojo: resources. It requires a project, but the > build is not using one. > > what could be the problem? That's usually what you get if you execute 'mvn' in a directory that does not contain a pom.xml file. Are

Re: including project local jars as a dependency

2005-10-29 Thread Brill Pappin
what is the lib relative to in your example? - Brill On 10/29/05, Hervé BOUTEMY <[EMAIL PROTECTED]> wrote: > > I had the same need and found that "system" scope could do the job. > > For example, I replaced following lines in project.properties : > maven.jar.activation=${basedir}/lib/activation.j

Eclipse plugin broken? Was: Re: including project local jars as a dependency

2005-10-29 Thread Brill Pappin
I just tried the system scope as suggested, however when running the eclipse:eclipse goal, it sets the file path to: which is clearly incorrect as the M2_REPO var points at the local repository... is this something broken in the eclipse plugin (it seems to be ignoring the systemPath attribute)?

Re: Eclipse plugin broken? Was: Re: including project local jars as a dependency

2005-10-29 Thread Brill Pappin
FYI what is should have added is: On 10/30/05, Brill Pappin <[EMAIL PROTECTED]> wrote: > > I just tried the system scope as suggested, however when running the > eclipse:eclipse goal, it sets the file path to: > > > which is clearly incorrect as the M2_REPO var points at the local > repository..

Restarting Eclipse 3.1.1 to add dependencies to m2?

2005-10-29 Thread Siegfried Heintze
I'm using maven 2 and eclipse 3.1.1. Here is what I am doing and it works but it is tedious: (1) I go to the repository browser and find the artifacts I want. (2) I manually add the groupIds and artifactIds to the pom.xml (3) I exit eclipse (4) I run "mvn package" (5) I run "mvn eclipse:eclipse" (