What happened to http://plexus.codehaus.org ??

2007-02-16 Thread Dan Tran
The old beautiful plexus site is gone. What left is a dummy maven site :-) http://plexus.codehaus.org/ checkit out. -D

Re: How to get more than one module from CVS?

2007-02-16 Thread Dan Tran
I got a very dirty solution for your. but I will be slow ;-) create a dumy sub project in one of your sub module that know how too pull the source of other module using maven-scm-plugin. I did that a lot when during my migration of merging CVS and starteam into SVN -D On 2/16/07, Hilco Wij

Re: How to get more than one module from CVS?

2007-02-16 Thread Hilco Wijbenga
On 2/16/07, Dan Tran <[EMAIL PROTECTED]> wrote: Can you refactor your build? We've already been doing that for the last 3 months or so. It's not my full time job, more a labour of love. :-) So it doesn't progress very quickly (although we've managed to pull off some major improvements). This 2

Re: How to get more than one module from CVS?

2007-02-16 Thread Dan Tran
I think you are stucked!!! Can you refactor your build? -D On 2/16/07, Hilco Wijbenga <[EMAIL PROTECTED]> wrote: On 2/16/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > you need to define your scm url to a parent directory of your modules and add a pom > in this directory. Ah yes, "module

Re: Xdoclet plugin and multi module projects

2007-02-16 Thread Mick Knutson
The suggestion was not as what is best, but rather what is possible right now as I have also encountered the same issue you where facing. Maybe XD2 fixes this? On 2/16/07, Eric Helfrich <[EMAIL PROTECTED]> wrote: I don't think that putting everything that gets xdocleted in a common jar is an

Re: Mojo accessing project properties

2007-02-16 Thread Jason van Zyl
What's the rest of your mojo look like? Are you using @execute phase="something"? Jason. On 16 Feb 07, at 4:43 PM 16 Feb 07, David Jackman wrote: I'm trying to write a mojo that accesses the properties section of the project pom. I declared a member variable like this /** * Project

Re: Xdoclet plugin and multi module projects

2007-02-16 Thread Eric Helfrich
I don't think that putting everything that gets xdocleted in a common jar is an ideal solution -- one of the reasons for breaking you code up into projects is to separate functionality -- and one of the reasons to use Maven is to support that flexibility -- not limit it. Thanks for the suggestio

Re: Deploy *-SNAPSHOT artifacts without timestamps

2007-02-16 Thread Wayne Fay
Have you looked at the documentation of the tag in the pom? Wayne On 2/16/07, Darren Hartford <[EMAIL PROTECTED]> wrote: Hey all, Back in the day, you used to deploy SNAPSHOT artifacts that created both a timestamp version as well as constantly over-writing the directly-named MYJAR-1.0-SNAPSHO

Re: Xdoclet plugin and multi module projects

2007-02-16 Thread Mick Knutson
Why, the ejbs will be in the common-jar and they can be added the same way. On 2/16/07, Eric Helfrich <[EMAIL PROTECTED]> wrote: Yes it would work -- and is probably better from a resource point of view anyway. On the other hand, that won't work for the ejbdoclet issues. On 2/16/07, Mick Knut

Re: Xdoclet plugin and multi module projects

2007-02-16 Thread Eric Helfrich
Yes it would work -- and is probably better from a resource point of view anyway. On the other hand, that won't work for the ejbdoclet issues. On 2/16/07, Mick Knutson <[EMAIL PROTECTED]> wrote: Just add a common jar as the 1st module, and add that jar to your legacy code. Would that work?

Re: mvn test doesn't work for me

2007-02-16 Thread Wayne Fay
I have not used Maven2 with Java6 as yet and can only assume your troubles must be related to Java6. Please do report back once you've had a chance to try this same code with Java5. It sounds silly but I hope you've imported TestCase in your files, right? import junit.framework.TestCase; Wayne

Re: Xdoclet plugin and multi module projects

2007-02-16 Thread Mick Knutson
Just add a common jar as the 1st module, and add that jar to your legacy code. Would that work? On 2/16/07, Eric Helfrich <[EMAIL PROTECTED]> wrote: that would work -- except I am pulling in a legacy build system here and would rather not have to start moving code around at that level On 2/

RE: mvn test doesn't work for me

2007-02-16 Thread Thai Dang Vu
Firstly, thank you for your reply. Here is the relevant things (I hope I copied the right stuff). [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.0.1:compile' --> [DEBUG] (f) basedir = C:\temp\maven-ex [DEBUG] (f) buildDirectory = C:\temp\maven-ex\target [DEBUG] (f

Re: Xdoclet plugin and multi module projects

2007-02-16 Thread Eric Helfrich
that would work -- except I am pulling in a legacy build system here and would rather not have to start moving code around at that level On 2/16/07, Mick Knutson <[EMAIL PROTECTED]> wrote: I use hibernate doclet, and it acts the same for me. I just have my 1st module is my common-jar that gets

Re: Should a build be tied to a specific Maven versions?

2007-02-16 Thread Wayne Fay
You should take a look at this recent discussion on the Maven Dev list: to Maven Developers List date Feb 14, 2007 7:42 PM subject Control of maven using prerequisites Wayne On 2/16/07, Helck, Christopher <[EMAIL PROTECTED]> wrote: Hi, Does it make sense and is it possible to include the

Re: mvn test doesn't work for me

2007-02-16 Thread Wayne Fay
Run mvn -cpu -X test and see if your problems continue. If so, cut and paste the resulting error message (not the entire output, but hopefully just the relevant bits near the end) in a response email to this list. Also, are you behind a web proxy? And where did this Maven2 project that you're te

Re: Xdoclet plugin and multi module projects

2007-02-16 Thread Mick Knutson
I use hibernate doclet, and it acts the same for me. I just have my 1st module is my common-jar that gets added to all my modules anyways. Works fine even though it is strange... On 2/16/07, Eric Helfrich <[EMAIL PROTECTED]> wrote: Has anyone been able to get this to work correctly? Hibernate

Xdoclet plugin and multi module projects

2007-02-16 Thread Eric Helfrich
Has anyone been able to get this to work correctly? Hibernate doclet and ejbdoclet do not work correctly -- ejb doclet generates all files in the generated sources directory of the first project it runs. Hibernate doclet does not seem to find the source files at all when run from a parent project

Mojo accessing project properties

2007-02-16 Thread David Jackman
I'm trying to write a mojo that accesses the properties section of the project pom. I declared a member variable like this /** * Project properties. * * @parameter default-value="${project.properties}" * @required * @readonly */ private Properties properties;

Should a build be tied to a specific Maven versions?

2007-02-16 Thread Helck, Christopher
Hi, Does it make sense and is it possible to include the maven version number into a pom? If the user doesn't have the correct version of maven then I want the build to fail. This is important in a certification environment. Thanks, Christopher Helck Thank you for being part of it. The i

mvn test doesn't work for me

2007-02-16 Thread Thai Dang Vu
Hello everybody, This is my 1st day with maven2 and `mvn test' doesn't work for me. Maven2 says it couldn't find the TestCase symbol. This is my pom.xml: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org

Re: get the name of the profile

2007-02-16 Thread Mike Nereson
I found a solution that works perfectly for me. You can set properties within profiles, so I just made a profile.nameproperty. development ... Development acceptance ... Acceptance On 2/16/07, Mike Nereson <[EMAIL PROTECTED]> wrote: Good day. Is there any

Re: get the name of the profile

2007-02-16 Thread Nick Stolwijk
I don't know for sure, but I don't think it will be that easy. It is possible to build with multiple profiles. Some default active and some given with -Pprofile1,profile2. Hth, Nick Stolwijk Mike Nereson wrote: Good day. Is there any way to get the name of the profile that I am using within

get the name of the profile

2007-02-16 Thread Mike Nereson
Good day. Is there any way to get the name of the profile that I am using within my pom? Is there anything like ${profile.id} Why? I have an ant task that writes a timestamp and a version to a version.html. Id also like to write the name of the profile that was used. http://pastebin.ca/359376 I

SV: maven2 websphere plugin

2007-02-16 Thread Hermod Opstvedt
Hi If you do "mvn site" on the downloaded source, you will get a bunch of samples in doc of the generated site that are clear and precise. You are supposed to use the plugin (The anttasks are there for the plugin) Hermod Author of the thing -Opprinnelig melding- Fra: Marco Mistroni [mai

Deploy *-SNAPSHOT artifacts without timestamps

2007-02-16 Thread Darren Hartford
Hey all, Back in the day, you used to deploy SNAPSHOT artifacts that created both a timestamp version as well as constantly over-writing the directly-named MYJAR-1.0-SNAPSHOT.jar file. Is there a way to re-enable this for internal/private repositories (both the timestamp and the direct -SNAPSHOT v

How to setup a scm subversion link

2007-02-16 Thread gc134728
Hey I'm havin some problems settings up maven with scm subversion. I'm stuck on 2 issues: 1) the place to save my passwords. is it possible to refer to a server connection in the settings.xml 2) a connection error (can't create tunnel) Our clients run on windows and the subversion repo is acc

Re: maven2 websphere plugin

2007-02-16 Thread Marco Mistroni
Hi Remy, shame on me... i didnt follow links as i did need plugin at that time... well, then your best bet is to go with WAS-specific ant task, call them from maven-antrun plugin a friend of mine (Mr Peter Pilgrim) has done some work on that.. i post here the link of his blog where he describes h

Re: How to use Maven/Ant from SCM?

2007-02-16 Thread Emmanuel Venisse
I think you'll can choose a particular version by build definition, and a version will be defined by a path to the install. Emmanuel Hilco Wijbenga a écrit : On 2/16/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: We'll introduce continuum profiles where you'll can define some things like jdk

Re: How to use Maven/Ant from SCM?

2007-02-16 Thread Hilco Wijbenga
On 2/16/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: We'll introduce continuum profiles where you'll can define some things like jdk, maven, ant versions Would that mean just an Ant version? Or would I be able to tell Continuum to use a particular Ant installation, either "somewhere" on the

Re: [m2] Question on Ant Plugins

2007-02-16 Thread nycmatrix
I'm trying to do the same thing, did you find a solution? Kevan Dunsmore wrote: > > I wrote an ant plugin for Maven. As per documentation I have two files: > > > > deebee.build.xml > > deebee.mojos.xml > > > > I have two questions. > > > > 1. I would like to have all of my mojos in

[m2] --reactor command line switch

2007-02-16 Thread David Jackman
I would like to execute a goal like scm:update for all the projects in my multiproject pom. It seems like the --reactor switch on mvn command line should do this, but it doesn't ("Cannot execute mojo: update. It requires a project with an existing pom.xml, but the build is not using one."). Am

Re: How to get more than one module from CVS?

2007-02-16 Thread Hilco Wijbenga
On 2/16/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: you need to define your scm url to a parent directory of your modules and add a pom in this directory. Ah yes, "module" is a bit overloaded. :-) I was talking about *CVS* modules. There is no parent directory...

Re: MVN Repository & Hibernate

2007-02-16 Thread Ryan Cuprak
Hello, I was evidently looking at an outdated mirror of ibiblio.org (http://mirrors.ibiblio.org/pub/mirrors/maven2/hibernate/hibernate/). I figured it out after I ftped to ibiblio.org (not mirrors)and saw a different set of files then I was seeing with firefox. A little puzzled why mvn wasn't

Re: [m2] Why maven 2.0.4 do not work ???

2007-02-16 Thread MikeH
I'm not sure if you fixed this or not, but I was having the same problem and I fixed it by deleting the contents of my ".m2" directory and re-running the command. Hope this helps! Mike H. Ariel Isaac Romero Cartaya wrote: > > Hi every body: > >I want to use maven 2.0.4 with andromda, I wa

Re: New user - changing port (1.0.3)

2007-02-16 Thread Emmanuel Venisse
if you uncompressed it manually, you must uncompressed all and under apps/continuum/ Darren Hartford a écrit : So there is a bootstrapping problem if port 8080 is already in use that can not be changed until it starts... I manually uncompressed that jar to change /apps/conf/application.xml (t

Re: Simple antrun question

2007-02-16 Thread Mike Darretta
These answer my "unstated" question - does what I'm trying to do make sense :)? I currently do execute via ant, but thought I could do the same using maven. Guess I'll scrap the idea and stick with ant. Thanks for the help. Mike Wendy Smoak wrote: On 2/15/07, Mike Darretta <[EMAIL PROTECTED]>

RE: New user - changing port (1.0.3)

2007-02-16 Thread Darren Hartford
So there is a bootstrapping problem if port 8080 is already in use that can not be changed until it starts... I manually uncompressed that jar to change /apps/conf/application.xml (there was no /continuum/ middle folder). Hopefully this will be remedied in a future version. -D > -Origi

settings.xml and pom.xml repositories

2007-02-16 Thread Trevor Torrez
Whats the precedence and overriding behaviour for repositories declared in the global settings.xml and in a pom.xml? Does that change when profiles are used?

Re: New user - changing port (1.0.3)

2007-02-16 Thread Emmanuel Venisse
Darren Hartford a écrit : Yes, the documentation mentions /apps/continuum/conf. That folder does not exist when I have uncompressed the 1.0.3 tar.gz or the .zip versions of continuum, which is the problem I'm running into. Only item in the /apps folder is continuum-plexus-application-1.0.3

proxy 4 scm

2007-02-16 Thread Tilman.Rossmy
where can I set a proxy for scm activities of continuum if i'm behind a firewall? starting jboss with -Dhttp.proxyHost=somehost etc. don't succeed

RE: New user - changing port (1.0.3)

2007-02-16 Thread Darren Hartford
Yes, the documentation mentions /apps/continuum/conf. That folder does not exist when I have uncompressed the 1.0.3 tar.gz or the .zip versions of continuum, which is the problem I'm running into. Only item in the /apps folder is continuum-plexus-application-1.0.3.jar. -D > -Original Me

Re: New user - changing port (1.0.3)

2007-02-16 Thread Emmanuel Venisse
application.xml is under apps/continuum/conf/ Emmanuel Darren Hartford a écrit : Hi all, new to continuum. I've downloaded the 1.0.3 bin version and tried to run /bin/linux/run.sh start. I expected it to fail as I do have something running on port 8080. So, found the FAQ to change it: http:

Re: mvn jetty:run problem with classloader

2007-02-16 Thread Wayne Fay
There doesn't seem to be any support forums for Jetty either. I see jetty-discuss and jetty-support mailing lists, and both are quite active. http://sourceforge.net/mail/?group_id=7322 Or if you prefer Nabble: http://www.nabble.com/Jetty-Support-f61.html http://www.nabble.com/Jetty-Discuss-f60.

New user - changing port (1.0.3)

2007-02-16 Thread Darren Hartford
Hi all, new to continuum. I've downloaded the 1.0.3 bin version and tried to run /bin/linux/run.sh start. I expected it to fail as I do have something running on port 8080. So, found the FAQ to change it: http://maven.apache.org/continuum/faqs.html#How-can-I-run-continuum-on-a -different-port

Re: MVN Repository & Hibernate

2007-02-16 Thread Wayne Fay
Was a relocation pom filed in the old location? If not, we should have one created and published. Wayne On 2/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: The group id of hibernate has changed from hibernate to org.hibernate. See http://repo1.maven.org/maven2/org/hibernate/hibernate/ for

Re: maven2 websphere plugin

2007-02-16 Thread Rémy Sanlaville
Hi Marco, Thanks for the information. I now understand that the mojo-was project [1] contains two sub-project - was5-maven-plugin [2] : a maven plugin. But the document is not really clear and up-to-date ; - was-plugin-anttasks : some custom ant tags that you can call from antrun plugin. I did

Re: Configuring LDAP

2007-02-16 Thread Jason van Zyl
On 16 Feb 07, at 5:02 AM 16 Feb 07, David Goemans wrote: Hi, I want to use a LDAP for authorization. I know that Continuum uses Acegi for authorization Continuum does not use Acegi. It uses Plexus Redback for security. Jason. and it is possible to use LDAP with it. But where can I conf

Re: How to deploy sources and javadocs?

2007-02-16 Thread Jason van Zyl
On 16 Feb 07, at 2:47 AM 16 Feb 07, nicolas de loof wrote: Please note this configuration still exist in maven superPom. Simply add "-DperformRelease=true" and you will generate sources and javadoc jar. It will be removed in the first 2.1 alpha release. It should never have been in the

Re: Maven Wagon Provider File

2007-02-16 Thread Mickaël Rifflard
Hello Fred, In my opinion, don't try to use Wagon with another protocol than HTTP. With others protocols, Maven doesn't run (or with a lot of difficulty). Bye. Mikl On 2/13/07, Fred Foucart <[EMAIL PROTECTED]> wrote: Hello everybody, I try to install an internal repository. Before to go

RE: [m2] Dependency Version Ranges. Please help!

2007-02-16 Thread Mau, Bernd
Hi Franz, 1) I have deleted all artifacts of the module in my local repository. Afterwards Maven took the 0.7-SNAPSHOT version instead a 0.6.x Version from the server. 2) I'm using Maven 2.0.4 und Java 1.5 on Windows XP and Linux. Bernd -Original Message- From: franz see [mailto:[E

Re: launching hsqldb/derby with maven

2007-02-16 Thread Mark Hobson
On 16/02/07, Dan Adams <[EMAIL PROTECTED]> wrote: I would like to use maven to start either a hsqldb or derby instance. I found this: http://www.agilejava.com/maven-hsqldb-plugin but there doesn't appear to be a maven repo to use it from. There is also http://jira.codehaus.org/browse/CARGO-349

launching hsqldb/derby with maven

2007-02-16 Thread Dan Adams
I would like to use maven to start either a hsqldb or derby instance. I found this: http://www.agilejava.com/maven-hsqldb-plugin but there doesn't appear to be a maven repo to use it from. There is also http://jira.codehaus.org/browse/CARGO-349 but the ticket is still open. I couldn't really fi

AW: Troubles with Maven Project Info Reports Plugin: Customized reportSet ignored

2007-02-16 Thread Hochreiter, Mario
Hi! I've configured the following individual reports: true org.apache.maven.plugins maven-project-info-reports-plugin index summary If I run mvn help:effective-pom I get the fol

Troubles with Maven Project Info Reports Plugin: Customized reportSet ignored

2007-02-16 Thread Hochreiter, Mario
Hi! I've configured the following individual reports: true org.apache.maven.plugins maven-project-info-reports-plugin index summary If I run mvn help:effective-pom I get the fol

assembly and jar plugins with SNAPSHOT dependencies and classpath manifest

2007-02-16 Thread Geoffrey De Smet
I have a dependency on a SNAPSHOT which I didn't build myself, for example fun-0.1.0-SNAPSHOT.jar. My jar plugin is configured with: true so it generates: Class-Path: fun-0.1.0-SNAPSHOT.jar ... My assembly plugin has a descriptor like this: /lib runtime The problem is,

Re: MVN Repository & Hibernate

2007-02-16 Thread nick_stolwijk
The group id of hibernate has changed from hibernate to org.hibernate. See http://repo1.maven.org/maven2/org/hibernate/hibernate/ for the 3.2.GA version. - Oorspronkelijk bericht - Van: Ryan Cuprak <[EMAIL PROTECTED]> Datum: vrijdag, februari 16, 2007 3:22 am Onderwerp: MVN Repository & Hi

mvn jetty:run problem with classloader

2007-02-16 Thread Pete
Anyone help ? -- Forwarded message -- From: Pete <[EMAIL PROTECTED]> Date: 15-Feb-2007 14:11 Subject: mvn jetty:run problem with classloader To: Maven Users List I'm using 'mvn jetty:run', and trying to get it to work with rapid application development where the application has

Re: maven2 websphere plugin

2007-02-16 Thread Marco Mistroni
Hi got it. Courtesy of mr hermod opstvedt below was its messge (dated 12/11/06) hth marco Hi The plugin was developed by me. It is here: Maven2 plugin(s): http://snapshots.maven .codehaus.org/maven2/org/codehaus/mojo/mojo-was SVN: https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/mojo-was

Re: maven2 websphere plugin

2007-02-16 Thread Marco Mistroni
Hi Remy, WAS has some custom ant tags for that... you can call those tasks from antrun plugin. that's solution one solution two is one maven guy wrote some maven 1.1 code for that. it's in the archive of this list if i can find it i post it here regards marco On 2/16/07, Rémy Sanlaville <[

Re: help creating "multiple" artifacts using one pom.xml file (profile question)

2007-02-16 Thread Valerio Schiavoni
Hi vladimir, On 2/15/07, VLADIMIR TERZIC <[EMAIL PROTECTED]> wrote: I would like to be able to build and deploy all of them at the same time. you could do a third profile, configuring the maven-deploy-plugin to perform the deploy with 2 (or more) different execution configurations. this is

Re: help creating "multiple" artifacts using one pom.xml file (profile question)

2007-02-16 Thread Patrick Kimber
Hi Vladimir I have tried to answer your question on your other email... Patrick On 15/02/07, VLADIMIR TERZIC <[EMAIL PROTECTED]> wrote: I have three artifacts (war files) that need deployed to two servers. I currently have a profile for each (to apply filters) and I am able to build them indiv

Re: help with multiple artifacts from one pom.xml

2007-02-16 Thread Patrick Kimber
Hi Vladimir I think in Maven 2 you would be expected to write a multi module project. Documentation for this can be found in: 1) The "Better Builds with Maven" Book (which is free of charge): http://www.mergere.com/m2book_download.jsp 1) Multiple Module Projects at http://maven.apache.org/plug

Re: maven2 websphere plugin

2007-02-16 Thread Rémy Sanlaville
Hi, I'm also interested by a such plugin. I need to generate Stub websphere classes for ejb modules. Grab it from svn: https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/mojo-was Don't you have an example in order to be able to generate Stub websphere classes ? What about also maven-was5

Re: how to run a program build with maven

2007-02-16 Thread Jerome Lacoste
On 2/15/07, Patrick Kimber <[EMAIL PROTECTED]> wrote: Hi Jerome The JIRA issue ID is: http://jira.codehaus.org/browse/MEXEC-5 OK then it's fixed in 1.1 and I hope we can get 1.1 out within the next few weeks. Jerome