RE: Multi-project woes

2006-02-21 Thread Koranda Matthew James
Ok, so maven will not fetch a parent pom from a repository? And the error is nothing fancier than the pom cannot be found in any repository. I guess I am just using maven wrong but I would like to be able to work on a subproject without having to fetch all of the "sibling" projects, but still h

Re: Help with mvn war - maven-war-plugin

2006-02-21 Thread Henry S. Isidro
Tatiana Escovedo wrote: Hi, I´ve just started using Maven 2, and I´m trying to make a war of my project using mvn war:war. The following error occurs: Embedded error: Deployment descriptor: C:\{my-project-directory}\target\AulaNet3StartUp-0.0.1\WEB-INF\web.xml does not exist. I´ve searched fo

Re: Help with mvn war - maven-war-plugin

2006-02-21 Thread Fneuch
Did you try placing your WEB-INF folder in src/main/webapp? Regards, Sylvain On 2/21/06, Tatiana Escovedo <[EMAIL PROTECTED]> wrote: > > Hi, > > I´ve just started using Maven 2, and I´m trying to make a war of my > project > using > mvn war:war. > > The following error occurs: > Embedded error: D

RE: [m2] Cannot generate test report with failing tests

2006-02-21 Thread Krishnan A S
Hope the Reports get generated if tests are failed or passed. U can set some configurations for test like 'true which continues the successive lifecycle even if test fails :) Try out this option. Thanks & Regards, A.S.KRISHNAN, AZTEC, BANGALORE. -Original Message- From: news [mailto:[EM

RE: [m2] Newbie dependency question

2006-02-21 Thread Dave Hoffer
Alexandre, I have some further questions below... -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 9:52 PM To: Maven Users List Subject: Re: [m2] Newbie dependency question About the version, the best practices recommend to keep a se

Help with mvn war - maven-war-plugin

2006-02-21 Thread Tatiana Escovedo
Hi, I´ve just started using Maven 2, and I´m trying to make a war of my project using mvn war:war. The following error occurs: Embedded error: Deployment descriptor: C:\{my-project-directory}\target\AulaNet3StartUp-0.0.1\WEB-INF\web.xml does not exist. I´ve searched for it in google and I found

Re: [m2] Newbie dependency question

2006-02-21 Thread Alexandre Poitras
About the version, the best practices recommend to keep a separate build for bug maintenance (using a separate SCM branch) and one for adding new features (the trunk). You usually set some features milestones and each time you complete one, you can release a new major version, for instance 1.0, 2.0

RE: [m2] Newbie dependency question

2006-02-21 Thread Dave Hoffer
Alexandre, Let me see if I understand correctly by asking some questions, I am very new to maven & ant so please excuse the newbie nature of these. Currently we have one ant script that builds all of our components/applications synchronously every 15 minutes after a check in. So we create full

Re: How add url link to dependencies

2006-02-21 Thread Yann Le Du
Hi Raghu, Try to : 1. Add the in Module A/pom.xml, but at top-level [1] 2. Run install on Module A 3. Run site-deploy on Module B The link to Module A should be included in Module B dependencies page. Moreover, if you use the same structure for your sites as for your projects, you need to add t

Re: [m2] Cannot generate test report with failing tests

2006-02-21 Thread Yann Le Du
Hi Adrian, This is a known issue : http://jira.codehaus.org/browse/MOJO-107 - Yann 2006/2/21, Adrian Herscu <[EMAIL PROTECTED]>: > > Hi all, > > I am trying the surefire reporting. > When all tests pass the report is generated with a 100% success rate :-) > When some test fail then the report is

RE: using a webapp to test a project

2006-02-21 Thread KC Baltz
If you do as I describe, the WAR file built by Eclipse will include the .jar for the library, but the library will not live in the webapp project. It will be obtained by Maven at build time. If you use the Maven Eclipse plugin, it will correctly reference the library from your Maven local repo

Maven2 Antenna plugin

2006-02-21 Thread Vandermi Joao da Silva
Hi guys, somebody could say me, where find plugin antenna for maven 2? Vandermi Silva R&D MAO - Core Engines BenQ Eletroeletrônica Ltda.

Re: [m2] Compiling JSPs

2006-02-21 Thread Matt Raible
You can use Ant tasks in your pom.xml. I've cc'd the Maven user list as they're probably in a better position to tell you how to do this. Matt On 2/21/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > But I am not using ant. Is there a way to exclude those file in the plugin > declaration? > > --- >

Re: getting subversion revision number

2006-02-21 Thread Torsten Curdt
On 21.02.2006, at 21:29, Brett Porter wrote: Adding to the manifest has been requested before That might have been me ;) we'd probably use maven-scm to do so. Nothing implemented yet. I have written a maven1 plugin for it. Not nice but it works. Would be good to have it in maven-scm! che

Re: plug with dependencies that are not in repository

2006-02-21 Thread Wayne Fay
Don't feel too bad about it. Assuming the license on the code allows distribution etc, I'm sure the original author would be quite pleased to see the code getting such wide distribution and potentially new interest in his project. I just recently uploaded a jar that I am not a developer on in the

Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread Wayne Fay
Looks like there's also a maven-jdbc-plugin that you could potentially use. But I've never used it myself. This email thread has some more info: http://mail-archives.apache.org/mod_mbox/maven-users/200509.mbox/[EMAIL PROTECTED] If you use it, and it works like you were expecting, please let us k

Re: getting subversion revision number

2006-02-21 Thread Julian Wood
OK I just went over this plugin and there were some snapshot problems remaining, which are now solved. Now all you need to do is place the plugin in your pom and add the pertinent snapshot repositories, as described at the link below. J On 21-Feb-06, at 1:59 PM, Julian Wood wrote: We talk

Re: java compiler memory and/or forking problems

2006-02-21 Thread Marc Dugger
Jake, I got around this problem while attempting to compile with JDK 1.3. What I did was modify the Plexus JavaCompiler to use a file list instead of the command line. The challenge is creating a mojo component. Here's the code in case you want to do the same: File fileList = new File(config.

Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread andrew cooke
thanks everyone. looks like ant is the consensus view! (although we just moved to maven from ant to avoid people having arbitrary chunks of functionality during builds...) cheers, andrew Kenney Westerhof wrote: > On Tue, 21 Feb 2006, andrew cooke wrote: > > The simplest solution is to use the

RE: using a webapp to test a project

2006-02-21 Thread Dan Adams
Well, what i mean is that i want the library i'm working on and the webapp that tests it to be in the same eclipse project. On Tue, 2006-02-21 at 13:19 -0800, KC Baltz wrote: > The simplest thing to do would be to create a working webapp in Maven first, > one that has no dependency on the library

Re: java compiler memory and/or forking problems

2006-02-21 Thread Yann Le Du
Hi Jake, I don't know about your fork error, I successfully forked the compiler both on Linux and Windows. But you can pass parameters to the Maven JVM using an env var called MAVEN_OPTS with value e.g. ' -Xms16m -Xmx64m ' (for further options, check bin\mvn.bat). Hope this helps, - Yann 2006/2

RE: Re: Why Continuum?

2006-02-21 Thread Johnson, Jonathan
This is a good doc. Thanks. I don't think its entirely accurate though. For instance Continuum does not have the feature yet to invoke builds based on SCM changes. It is strictly a time based configuration. This document indicates differently. Its also says that CruiseControl does not support

Problems with the site plugin

2006-02-21 Thread Prasad Kashyap
Can someone please let me know if the following issues are as designed or bugs that need a JIRA ? 1. The site:stage goal of the maven-site-plugin has disappeared in the 2.0-beta-4 version. 2. The post-site phase doesn't work. I have a simple antrun that echoes a msg.. It executes in the site phas

RE: using a webapp to test a project

2006-02-21 Thread KC Baltz
The simplest thing to do would be to create a working webapp in Maven first, one that has no dependency on the library you want to test. A good way to do this would be with the archetype for webapps. Once that works, add a to your webapp that references the library. That should allow you t

Re: Why Continuum?

2006-02-21 Thread thenew05
I just went through this process this month. When I started I was using maven 2.0 for my builds. Cruisecontrol did not have full support for it.(I thought) So I started playing with Continuum, not as easy to setup as Cruisecontrol. After about a week playing with Continuum, I decided I just liked

Re: getting subversion revision number

2006-02-21 Thread Julian Wood
We talked about this on mojo-dev, in the context of getting build numbers. I wrote a plugin to do this, and you can look at it here. http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/ It just gets the most current revision number from svn and lets you access it in your pom with ${

How add url link to dependencies

2006-02-21 Thread raghurajan . x . gurunathan
Hi All I have multi module project Module + Module A + pom.xml + Module B +pom.xml +pom.xml ModuleB depends on Module A so when i ran site:deploy, its created the site but there is no link between Mod

Re: Why Continuum?

2006-02-21 Thread Adrian Herscu
Jonathan, thanks for your fast reply. Finally, I have found a comparison here: http://docs.codehaus.org/display/DAMAGECONTROL/Continuous+Integration+Server+Feature+Matrix But, still I do not understand what is the "tighter integration with Maven 2" all about. Using CC I still can invoke Maven (1 or

Re: 1.0 vs 1.1 beta problem in java-plugin-1.5

2006-02-21 Thread Arnaud HERITIER
It's perhaps related to http://jira.codehaus.org/browse/MAVEN-1708 Can you try this snapshot : http://people.apache.org/~aheritier/maven/1.X/snapshots/ It includes a fix for this issue Arnaud On 2/21/06, Oliphant, Erich (Contr) (Mission Systems) < [EMAIL PROTECTED]> wrote: > > Hi, > I needed to u

RE: Why Continuum?

2006-02-21 Thread Johnson, Jonathan
If you are looking for a richer feature set stick with CruiseControl. Continuum is still relatively new and many features you have CruiseControl are not yet available in Continuum. I chose to try Continuum because of my simple build requirements which will grow hopefully with the Continuum an

Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread Wayne Fay
If you can't find any other options, you can always try Antrun and tags... Here's an example using in-line sql commands (this goes in the build-plugin-tasks section): Give this a try? Wayne On 2/21/06, andrew cooke <[EMAIL PROTECTED]> wrote: > > no, they're just databases (SQL) (by schema i

Why Continuum?

2006-02-21 Thread Adrian Herscu
Hi all, I am trying to find the answer to this question with no success. Currently, I am using CruiseControl -- why should I (or others like me) switch to Continuum? Adrian.

RE: Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread Kieran Brady
We use the ant sql task to do this in the build section of the pom, in conjunction with DBUnit tests: maven-antrun-plugin mysql mysql-connector-java

[M2] Archetype problem

2006-02-21 Thread Alexandre Poitras
Hi, I am trying to create a new archetype wich has the following structure project |--ear |--commun |--site |--presentation |--domaineaffaire |--integration | ---pom.xml Everything seem to work fine except that a stupid "src/main/resources" folder is always created in my root project directory e

Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread Kenney Westerhof
On Tue, 21 Feb 2006, andrew cooke wrote: The simplest solution is to use the antrun plugin, and the task. Be sure to add an under the tag that defines antrun containing a dependency to the jdbc driver. But there might also be an sql plugin out there. -- Kenney > > no, they're just databases (

RE: how to prevent from creating exploded archive?

2006-02-21 Thread Brian E. Fox
If it's generic like copying files etc, then a new mojo could work. If it's to work around something in an existing mojo, then submitting a patch is the best way to go. -Original Message- From: Szczepan Faber [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 2:32 PM To: Maven

Re: how to prevent from creating exploded archive?

2006-02-21 Thread Alexandre Poitras
No unless you need to do it very often or redistribuate it to other people. On 2/21/06, Szczepan Faber <[EMAIL PROTECTED]> wrote: > Even if I need to conduct very trivial action, you still recommend new mojo? > > > 2006/2/21, Alexandre Poitras <[EMAIL PROTECTED]>: > > > > I think the best practice

[m2] Cannot generate test report with failing tests

2006-02-21 Thread Adrian Herscu
Hi all, I am trying the surefire reporting. When all tests pass the report is generated with a 100% success rate :-) When some test fail then the report is not generated at all -- I am asking myself why do I need this report at all?! Please explain how to use, Adrian. --

RE: how to prevent from creating exploded archive?

2006-02-21 Thread Brian E. Fox
Correct. Besides writing a plugin, the only other alternative is to use the ant plugin. -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 2:17 PM To: Maven Users List Subject: Re: how to prevent from creating exploded archive? I think

Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread andrew cooke
no, they're just databases (SQL) (by schema i mean definitions of tables and stored procedures) andrew Piéroni Raphaël wrote: > Do your database schema use Torque oà r hibernate ? > > Raphaël > > 2006/2/21, andrew cooke <[EMAIL PROTECTED]>: >> >> >> Hi, >> >> I have a DB schema that defines a

Re: WAS5 / WAS6 / Maven2

2006-02-21 Thread Lee Meador
There was a thread here a few weeks ago that referred to using the automatic deployment to get things deployed to websphere 6. I haven't done it. I looked it up and read what was said in this group. The impression I get is that you run some commands from the command line and a task is set to runni

Re: WAS5 / WAS6 / Maven2

2006-02-21 Thread Lee Meador
The reference is to WSAD version 5 having a headless ant. On 2/21/06, Denis Fuenzalida <[EMAIL PROTECTED]> wrote: > > Websphere 5+ versions come with some Ant support to run what's called > "headless ant", which enables you to compile, deploy, etc. your > websphere projects in the workspace with a

Re: how to prevent from creating exploded archive?

2006-02-21 Thread Szczepan Faber
Even if I need to conduct very trivial action, you still recommend new mojo? 2006/2/21, Alexandre Poitras <[EMAIL PROTECTED]>: > > I think the best practice would be to developp a new Mojo, wich can be > done with Ant or Java. This way you don't have to hook anything except > declare the plugin.

Re: Changelog error linking to scm url

2006-02-21 Thread Dennis Lundberg
Brian Burridge wrote: I am having two problems with the changelog plugin, version 2.0-beta-1. For the scm url, I have given the url to the root of the cvs project. However, the source code is in the /src directory within that project. How do I indicate this to the changelog plugin? Also, the cha

Re: [m2] Compiling JSPs

2006-02-21 Thread Srepfler Srgjan
On 2/21/06, Mick Knutson <[EMAIL PROTECTED]> wrote: Can anyone give me a reason _NOT_ to pre-compile jsp's? Seems to take a short amount of time to compile in maven, and I get to see what issue I have right away. This is an interesting article about jsp precompiling: http://www.mernst.org/b

Re: how to prevent from creating exploded archive?

2006-02-21 Thread Alexandre Poitras
I think the best practice would be to developp a new Mojo, wich can be done with Ant or Java. This way you don't have to hook anything except declare the plugin. On 2/21/06, Szczepan Faber <[EMAIL PROTECTED]> wrote: > So everytime I need to do something extra, that is not possible to define in > p

1.0 vs 1.1 beta problem in java-plugin-1.5

2006-02-21 Thread Oliphant, Erich \(Contr\) \(Mission Systems\)
Hi, I needed to upgrade to maven 1.1 in order to get a more recent ant. I am running into peculiar problem when I run the war goal. I get the following error in 1.1 beta 2 but not 1.0.2: -- plugin maven-cruisecontrol-plugin-1.6 is cached (dynatag dep) but no longer present Cache invalidated due

using a webapp to test a project

2006-02-21 Thread Dan Adams
Hello, I'm a little to maven so forgive me. I'm using maven 2 and I have a library that I would like to test but I would to test it with a web application that runs in jetty. How would something like this work as far as where the files would go and how it would effect the pom? Could the webapp be a

Re: Newbie question

2006-02-21 Thread mike jones
I am not sure if you found the asnwer but basically you dont have to run and compile all the projects and can work on one at a time. What you need to ensure is that your parent pom has a packaging type of pom and that is has been deployed to a repository available to you or you have installed it lo

Re: how to prevent from creating exploded archive?

2006-02-21 Thread Szczepan Faber
So everytime I need to do something extra, that is not possible to define in plugin config, the best practice is to write an ant task and hook it to maven phase? 2006/2/20, Brian E. Fox <[EMAIL PROTECTED]>: > > This exploded archive is where the war plugin assembles the war before > zipping it up.

RE : RE : before-package phase

2006-02-21 Thread Olivier Lamy
I have created an issue : http://jira.codehaus.org/browse/MNG-2097 Users/developpers comments are welcome. - Olivier -Message d'origine- De : Olivier Lamy [mailto:[EMAIL PROTECTED] Envoyé : mardi 21 février 2006 14:00 À : 'Maven Users List' Objet : RE : before-package phase Hi, I have t

Re: Java Plugin Example

2006-02-21 Thread Alexandre Poitras
Yup but you can also use an EL-similar syntax like ${project.version}... so your Mojo work more in a IoC fashion. But don't forget get the actual date type for a particular property from the Project descriptor reference page. On 2/21/06, dan tran <[EMAIL PROTECTED]> wrote: > add this to your mojo

Re: Mvn eclipse and eclipse builders

2006-02-21 Thread Alexandre Poitras
Try "mvn -Dwtpversion=R7 eclipse:eclipse" since you are using wtp. If it work you can move the configuration inside your pom.xml. On 2/21/06, Tom Joad <[EMAIL PROTECTED]> wrote: > Hi all, > We have an eclipse project R7 which began without maven managing > configuration i.e It is an eclipse Dynam

Re: Java Plugin Example

2006-02-21 Thread dan tran
add this to your mojo /** * @parameter expression="${project}" * @required * @readonly */ protected MavenProject project; and project is presentation of your POM. -D On 2/21/06, Thanh T. <[EMAIL PROTECTED]> wrote: > > Hi All, > I am having a hard time reading POM pr

Re: [m2] Compiling JSPs

2006-02-21 Thread Richard Allen
I use the excludes tag for the maven-war-plugin. maven-war-plugin ${project.build.directory}/jspweb.xml WEB-INF/jsp/** Richard Allen Matt Raible wrote: You could do something with an Ant task that deletes target/warname/*.jsp before it packages things. Matt On 2/21/06, Mick

Java Plugin Example

2006-02-21 Thread Thanh T.
Hi All, I am having a hard time reading POM properties can anyone give me an example of how to read properties in pom.xml? -- Thanh T.ICQ #: 10381946 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: plug with dependencies that are not in repository

2006-02-21 Thread Eirik Maus
I don't know. I have no idea how I get in contact with the original developers. All I have is the Jars. I doesn't feel right uploading somebody else's work without asking. Thanks for the link, though. I might try it. After all, uploading the jars inside the plugin is not that different. On 2/21/0

Re: [m2] Compiling JSPs

2006-02-21 Thread Matt Raible
On 2/21/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > Can anyone give me a reason _NOT_ to pre-compile jsp's? > Seems to take a short amount of time to compile in maven, and I get to see > what issue I have right away. I don't like to pre-compile in development because you have to restart your ser

Re: [m2] Compiling JSPs

2006-02-21 Thread Matt Raible
You could do something with an Ant task that deletes target/warname/*.jsp before it packages things. Matt On 2/21/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > Still would like to know how to omit the jsp source in my war. > > --- > Thank You > Mick Knutson > > Sr. Java/J2EE Consultant > BASE log

Re: WAS5 / WAS6 / Maven2

2006-02-21 Thread Denis Fuenzalida
Websphere 5+ versions come with some Ant support to run what's called "headless ant", which enables you to compile, deploy, etc. your websphere projects in the workspace with an ant task. see http://theserverside.com/discussions/thread.tss?thread_id=24631 Greetings, Denis 2006/2/21, Karthik Ma

Re: plug with dependencies that are not in repository

2006-02-21 Thread Wayne Fay
How about the other approach -- get them added to Maven? :-) http://maven.apache.org/guides/mini/guide-ibiblio-upload.html Wayne On 2/21/06, Eirik Maus <[EMAIL PROTECTED]> wrote: > Hi > > I've started on a maven plugin. I've discovered that the libraries I depend > on are not in the maven reposi

plug with dependencies that are not in repository

2006-02-21 Thread Eirik Maus
Hi I've started on a maven plugin. I've discovered that the libraries I depend on are not in the maven repositories. Does anybody know how I bundle (and load classes from!) foreign jars with a maven plugin? -eirik

Mvn eclipse and eclipse builders

2006-02-21 Thread Tom Joad
Hi all, We have an eclipse project R7 which began without maven managing configuration i.e It is an eclipse Dynamic web application and all dependencies are under WEB-INF/lib .the project uses spring and hibernate frameworks. We want to use maven to manage our lifecycle build from now, so I crea

java compiler memory and/or forking problems

2006-02-21 Thread Jake Pezaro
i need to do some memory-intensive java compilation (918 files, 678 in one directory alone, largest .java file is around 500K). setting the -J-Xmx argument should fix it. the problems i encountered are: - i must fork the process in order to do it as the maven compiler will not accept this option

Re: ant plugin throwing error for execution of native2ascii task of ant

2006-02-21 Thread Yann Le Du
Hi Amit, You've already been replied on this one, please check : http://www.nabble.com/ant-plugin-throwing-error-for-execution-of-native2ascii-task-of-ant-t1146075.html#a3004852 - Yann 2006/2/21, Amit Khurana <[EMAIL PROTECTED]>: > > Hi Guys > > As my project supports many languages, so I have v

Re: [M2] Modifying war plugin

2006-02-21 Thread Alexandre Poitras
Ok I see but usually you can declare librairies using the proprietary xml deployement descriptors of your container. On 2/21/06, Mang Jun Lau <[EMAIL PROTECTED]> wrote: > Thanks so much :) > > The Antrun worked like a charm. Turns out the manifest file was already > in the right place but Maven d

Re: Multi-project woes

2006-02-21 Thread Alexandre Poitras
Maven should find your parent without any problem. However, you have to understand that when you want to compile or anything, you should run the command on your parent project so all the inter-projects dependencies are resolved. Maven will then be able to figure the order in wich compile the child

Re: Start the plugin you specified only

2006-02-21 Thread Yann Le Du
I can't think of an easier way than checking it out with Subversion [1] . There doesn't seem to be a 'Download tarball' feature on Maven ViewCVS [2] , like there is on Codehaus one [3] [1] http://maven.apache.org/guides/development/guide-building-m2.html [2] http://svn.apache.org/viewcvs.cgi/ [3]

Re: tests are running 3 times when i generate my site

2006-02-21 Thread Brett Porter
I previously sent a link to the repository manager. I use: org.codehaus.mojo cobertura-maven-plugin org.codehaus.mojo changelog-maven-plugin org.codehaus.mojo taglist-maven-plugin org.codehaus.mojo jxr-maven-plu

Re: [M2] Modifying war plugin

2006-02-21 Thread Mang Jun Lau
Thanks so much :) The Antrun worked like a charm. Turns out the manifest file was already in the right place but Maven decides to overwrite it with its own during packaging. So I had to update the war's manifest after Maven packaging using Ant. Thanks again! :) -

Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread Piéroni Raphaël
Do your database schema use Torque oàr hibernate ? Raphaël 2006/2/21, andrew cooke <[EMAIL PROTECTED]>: > > > Hi, > > I have a DB schema that defines a database. I'd like Maven to manage this > (so that I can delete/re0create the database before tests, for example). > How do I do this? > > Thank

Lifecycle phases during a multi-module build [M2]

2006-02-21 Thread Prasad Kashyap
I have a multi-module build here under a top level pom whose is set to "pom". In the same m2 build lifecycle, I would like to execute some goals only at the parent, then execute all the children poms and then come back up to the parent to finish off the build. This currently doesn't seem to be po

Re: tests are running 3 times when i generate my site

2006-02-21 Thread Wayne Fay
Since we're on the subject of cobertura, could I ask one of you guys to perhaps post your pom to the list? I had trouble getting cobertura to run, must be doing something wrong. ;-) Especially interested in David's because I'm already running PMD & Findbugs reports... Once I get cobertura working,

Re: Search maven 2 repository site?

2006-02-21 Thread Yann Le Du
Meanwhile, Google is still your friend :) Try with ' site: www.ibiblio.org/maven2 springframework ' HTML version : http://www.google.com/search"; method="get"> - Yann 2006/2/21, Brett Porter <[EMAIL PROTECTED]>: > > One will be available in the next few of weeks. Feel free to join the > de

Re: how to build JPF(pageflows) in Maven2

2006-02-21 Thread Wayne Fay
I've had some good luck running certain things in Antrun, and then bad luck with many other things. I'd guess that your JPF dependencies (the Ant plugins that enable the JPF functionality themselves) are not being registered/discovered in Maven/Antrun as they are in native Ant. Take a look at wher

Multi-project woes

2006-02-21 Thread Koranda Matthew James
I have made a multi-project setup with a standard structure: project --- subproject A --- subproject B The project itself is quite big and the subprojects are components that are usable by the main project. I have added all of the common information to the project pom.xml as follows: 4.0.0

Re: [M2] Modifying war plugin

2006-02-21 Thread Mang Jun Lau
I need it because without it, the classes in my war cannot find classes from jars in my ear. --- Mang Lau Software Developer MIS Member Services Ontario Teachers' Pension Plan Board T: 416-228-3148 E: [EMAIL PROTECTED] "Alexandre Poitra

ant plugin throwing error for execution of native2ascii task of ant

2006-02-21 Thread Amit Khurana
Hi Guys As my project supports many languages, so I have various properties file in utf8 encoding for messages to display on jsps. While building my project through ant I run native2ascii tag While using maven to build my project, I am doing the same step using ant plugin in my pom fi

RE: [m2] antrun cant find user.home

2006-02-21 Thread Bill Yang
${user.home} works in the following way for antrun 1.0, but not sure if it is ok for 2.0. As I know antrun 2.0 does not create a correct classpath (maven.dependency.classpath). org.apache.maven.plugins maven-antrun-plugin 1.0

RE: NewBee - How to run maven plugin source in debug mode???

2006-02-21 Thread Artamonov, Juri
Now I'm starting the same way like maven starts - classworlds.Launcher with parameters but will try to use later maven-embedder from my application. Best regards, Juri. -Original Message- From: John Menke [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006

duplicate groupId:artifactId impossible in multi-module build?

2006-02-21 Thread Michael Böckling
Maven complains when a pom has children with identical groupId:artifactId with the following message: [INFO] Project 'com.bea:weblogic' is duplicated in the reactor The projects have different versions. Is this intended or is this a bug? Is there a workaround? Regards, Michael -- Giniality

[m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread andrew cooke
Hi, I have a DB schema that defines a database. I'd like Maven to manage this (so that I can delete/re0create the database before tests, for example). How do I do this? Thanks, Andrew - To unsubscribe, e-mail: [EMAIL PROTEC

RE: NewBee - How to run maven plugin source in debug mode???

2006-02-21 Thread Artamonov, Juri
Yes, I see this, but what I'm trying now is just to use maven's framework in my application. I'm still trying to understand if I can use in that way. For example I'm going to have application and provide to QA department. This application will include several components that it's required to be d

RE: Start the plugin you specified only

2006-02-21 Thread Bill Yang
Hello, Is there a easy way to download the plugin src from the maven trunk? Thanks. Bill -Original Message- From: Yann Le Du [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 10:10 AM To: Maven Users List Subject: Re: Start the plugin you specified only Hi Juri, In the sourc

Re: [m2] antrun cant find user.home

2006-02-21 Thread Prasad Kashyap
Don't know if that is a bug but I've used ${settings.localRespository} to get to the m2 repository. Cheers Prasad On 2/21/06, Roland Kofler <[EMAIL PROTECTED]> wrote: > when executing an antrun script > > > the ${user.home} variable isn't translated and outputs > C:\Dokumente und > Einstellunge

Re: NewBee - How to run maven plugin source in debug mode???

2006-02-21 Thread John Menke
how would you startup maven and run tasks in this type of config? On 2/21/06, Artamonov, Juri <[EMAIL PROTECTED]> wrote: > > >But to use your plugin code in maven you need to install it. > > What about just to add maven jars in Java Build's Path without > installing maven? > > -Original Messag

Re: Start the plugin you specified only

2006-02-21 Thread Yann Le Du
Hi Juri, In the source of assembly mojo 2.0 [1], there is an ' @execute phase="package" ', which means the package phase will first be executed [2], therefore the compile phase before it [3] What you could do is building the assembly plugin after removing ' @execute phase="package" '. I tried it

Re: NewBee - How to run maven plugin source in debug mode???

2006-02-21 Thread Arnaud HERITIER
If you take a look at the maven distribution you'll see that we are using a lot of others libraries. Furthermore Maven is launched through forehead to manage the classloaders. Arnaud On 2/21/06, Artamonov, Juri <[EMAIL PROTECTED]> wrote: > > >But to use your plugin code in maven you need to inst

RE: {M2.0.2] refer maven.dependency.classpath in developing ant plugin (mojo)

2006-02-21 Thread Bill Yang
Martin, Thanks, I will give a try. Bill -Original Message- From: mvdp [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 5:02 PM To: Maven Users List Subject: RE: {M2.0.2] refer maven.dependency.classpath in developing ant plugin (mojo) Bill, My mojo is currently configured to

RE: NewBee - How to run maven plugin source in debug mode???

2006-02-21 Thread Artamonov, Juri
>But to use your plugin code in maven you need to install it. What about just to add maven jars in Java Build's Path without installing maven? -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 4:45 PM To: Maven Users List Subject: Re: New

Re: NewBee - How to run maven plugin source in debug mode???

2006-02-21 Thread Arnaud HERITIER
Be careful, depending of the release of maven and some of its plugins it can be important plugin:install-now and not plugin:install cheers arnaud On 2/21/06, John Menke <[EMAIL PROTECTED]> wrote: > > thanks Arnuad !!! > > I will look into how to install my plugin but it looks like i have the >

Re: NewBee - How to run maven plugin source in debug mode???

2006-02-21 Thread John Menke
thanks Arnuad !!! I will look into how to install my plugin but it looks like i have the information i need now. thank you. -jm On 2/21/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > > yes if you want to debug your plugin in eclipse you must use MAVEN_OPTS. > You can create an external appli

Re: maven-jaxme-plugin 1.0.1 problem - "Unable to derive package name ..."

2006-02-21 Thread Jochen Wiedmann
Alexandre Poitras wrote: > No I mean I put a name there and it is found, I can see it when the > plugins is running. I checked the file path and it is correct. But I > still end up with this exception. Please run maven with the -X option and let me see the output. Jochen ---

RE: Multi-project woes

2006-02-21 Thread Koranda Matthew James
Yes exactly, I wasn't sure how well a more comlex diagram would appear in the mail :) I'm using 2.0.2 if that helps. Matt -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: 21. februar 2006 15:44 To: Maven Users List Subject: Re: Multi-project woes I am not sur

Re: maven-jaxme-plugin 1.0.1 problem - "Unable to derive package name ..."

2006-02-21 Thread Alexandre Poitras
No I mean I put a name there and it is found, I can see it when the plugins is running. I checked the file path and it is correct. But I still end up with this exception. On 2/21/06, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: > Alexandre Poitras wrote: > > By the way, when I use the configuration

Re: NewBee - How to run maven plugin source in debug mode???

2006-02-21 Thread Arnaud HERITIER
yes if you want to debug your plugin in eclipse you must use MAVEN_OPTS. You can create an external application with some environnement settings. But to use your plugin code in maven you need to install it. Also, you can take a look at the mevenide plugin for eclipse to run maven. Arnaud On 2/

Re: Multi-project woes

2006-02-21 Thread Alexandre Poitras
I am not sure I am understanding your point correctly. Is your setup like this ? parent-project | subprojectA | | | pom.xml | subprojectB | | | pom.xml | pom.xml On 2/21/06, Koranda Matthew James <[EMAIL PROTECTED]> wrote: > I have made a multi-project se

Re: maven-jaxme-plugin 1.0.1 problem - "Unable to derive package name ..."

2006-02-21 Thread Jochen Wiedmann
Alexandre Poitras wrote: > By the way, when I use the configuration element : > That means, you are configuring absolutely no schemas, isn't it? The value should be something like src/schemas/*.xsd. > [WARNING] Schema specification returns no result > and no class are generated. It only works if

Multi-project woes

2006-02-21 Thread Koranda Matthew James
I have made a multi-project setup with a standard structure: project --- subproject A --- subproject B The project itself is quite big and the subprojects are components that are usable by the main project. I have added all of the common information to the project pom.xml as follows: 4.0.0

Re: how to build JPF(pageflows) in Maven2

2006-02-21 Thread Alexandre Poitras
If you look closely at the stack trace you'll see that the source exception is NullPointerException and that it comes from Ant. So you need to look for what cause the exception first if you want any help. On 2/20/06, Kevin Wang <[EMAIL PROTECTED]> wrote: > Hi, all, > >I have a problem when bui

  1   2   >