Re: Invalid maven.scm.url

2006-03-22 Thread Jeff Mutonho
The manual login sorted things out :).Thanx.However , the checking out does not spit out info on what it's checking like what used to be the case with 1.0.Is there something that needs to be set in order to make it verbose? -- "All I ask is a chance to prove that money can't make me happy."

Re: [M2]Maven Ear Plugin did not recognize the RAR Sub Project

2006-03-22 Thread Jian.Wu
Hi, My second thought, would this be easier that I create a simple plugin gentargetclassesdir to create "target/classes" directory if it is not existed and associate it with "process-resource" phase in my rar project? Any suggestion or tip is realy appreciated Jian -- View this message in cont

Re: Maven Experts M1 vs M2

2006-03-22 Thread Carlos Sanchez
Please don't repost your mails On 3/23/06, raja bangaru <[EMAIL PROTECTED]> wrote: > Attention all maven implementers > > Which is better? Maven 1.x OR Maven 2.x > > I found that most of the plugin support is for maven 1.x thru the following > link > > > But my current project needs to be future p

Re: Problem hibernate3 plugin cfg2cfgxml

2006-03-22 Thread Taavi Sildeberg
Hello, I try to use plugin, but now I get this error: [INFO] Unresolved compilation problem: [INFO] [DEBUG] Trace java.lang.Error: Unresolved compilation problem: at org.codehaus.mojo.hibernate3.HibernateU

Maven Experts M1 vs M2

2006-03-22 Thread raja bangaru
Attention all maven implementers Which is better? Maven 1.x OR Maven 2.x I found that most of the plugin support is for maven 1.x thru the following link But my current project needs to be future proof,...i mean we will implement for a .net project tooo

Re: [M2]Maven Ear Plugin did not recognize the RAR Sub Project

2006-03-22 Thread Jian.Wu
Hi Kenney, Thanks a lot for your quick reply! > Conclusion: just run 'mvn install' or 'mvn package' This is tolerable but not convenient. Based on your analysis, it looks like we have to change RAR Plugin to create "target/classes" directory to make "mvn compile" successful since RAR Plugin d

Maven experts! Maven1.x vs Maven2.x

2006-03-22 Thread raja bangaru
Attention all maven implementers Which is better? Maven 1.x OR Maven 2.x I found that most of the plugin support is for maven 1.x thru the following link But my current project needs to be future proof,...i mean we will implement for a .net project tooo http://docs.codehaus.org/display/MAVEN

Re: Jsp precompilation

2006-03-22 Thread Sylvain Vieujot
I use the JSPC plugin too, and yes, you need those dependencies. The reason for this is that the plugin on the 5.5.15 version of those libraries, but there is no pom.xml file for the 5.5.15 on ibiblio. So either you install the 5.5.15 version by hand, or you include the dependencies to version 5.5.

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Alexandre Poitras
I am working on some documentation right now. If you want to see the work in progress : http://docs.codehaus.org/display/MAVENUSER/The+Maven+2+tutorial On 3/22/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > this has all been "documented" in the email list multiple times > but i'll agree it should be e

Re: How can I use Maven with CVS?

2006-03-22 Thread Subhash Chandran
No. The changelog plugin operates exclusively on the SCM (in ur case CVS). An example changelog report: http://wiztools.org/project/WizCrypt/changelog.html But, u may write a wrapper over ur build scripts that does the following: 1. When ever a build is triggered, the tag or the revision of the

Re: How can I use Maven with CVS?

2006-03-22 Thread Allen Young
Can "changelog-maven-plugin" give me a report about junit testing containing author information? I was thinking this should be the responsiblity of "surefire-report-maven-plugin". 2006/3/23, Subhash Chandran <[EMAIL PROTECTED]>: > > The requirement regarding daily build is satisfied using the Con

Re: How can I use Maven with CVS?

2006-03-22 Thread Subhash Chandran
The requirement regarding daily build is satisfied using the Continuum project: http://maven.apache.org/continuum/ This is a continuous integration server. Regarding the detail regarding who has committed what, we have the changelog-maven-plugin: http://mojo.codehaus.org/changelog-maven-plugin/

How can I use Maven with CVS?

2006-03-22 Thread Allen Young
Here is the scenario: Several developers check their java code (including unit tests writing in junit) into a CVS everyday. And I want to run a daily build to see if all the code can be compiled and all the unit tests are passed. If there is any error about the compiling or unit test, I want to kn

Re: Sun's jars, ibiblio and java.net repository: status?

2006-03-22 Thread Carlos Sanchez
There's a jira issue for that "provides" thing On 3/23/06, jerome lacoste <[EMAIL PROTECTED]> wrote: > On 3/20/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: > > A few months back I read something that Sun's jars (activation, > > javamail, jca, netbeans libs, ...) etc might end up on ibiblio. > >

Re: [M2]Maven Ear Plugin did not recognize the RAR Sub Project

2006-03-22 Thread Kenney Westerhof
On Wed, 22 Mar 2006, Jian.Wu wrote: Hi, This is perfectly normal operation. I'll explain what happens, since it took me some time to see the problem :) You're running 'mvn compile'. That means that no .jar, .rar, .ear, or any other artifact, is being generated. The ear plugin requires an artifa

Re: maven repository and artifact caching

2006-03-22 Thread Pierre Monestie
Thanks Stephen, that did it. I guess I didn't understand at first the maven concept of SNAPSHOT. Thanks again, Pierre On 3/22/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > It only checks if the version number changes. If you want it to > redownload even though the version number hasn't been exp

Re: [m2] Improper build number after deploying a snapshot of maven-javadoc-plugin

2006-03-22 Thread Kenney Westerhof
On Thu, 23 Mar 2006, Odea Ching wrote: Hi Thorsten, I remember a bug like this, but it was fixed long ago. Perhaps you're using an old version of Maven 2? Maybe your proxy needs updating.. What version of maven2 are you using? What version of the deploy plugin is used? (run mvn -X to find out.)

Re: maven repository and artifact caching

2006-03-22 Thread Stephen Duncan
It only checks if the version number changes. If you want it to redownload even though the version number hasn't been explicitly changed, you need your versions to be SNAPSHOTs. Such as 2.3-SNAPSHOT. Then you can configure how often to download snapshots from the remote repository. -Stephen On

[M2]Maven Ear Plugin did not recognize the RAR Sub Project

2006-03-22 Thread Jian.Wu
Hi, I'm trying to build a EAR containing one or more RAR Components, I created a Project File Structure as the following: RootProject | ( pom.xml as aggregator projects ) | +-dispatch-rar-jar | ( pom.xml which type is jar ) | +-xmpp-adapter-dispatacher | ( pom.xml which type is rar and depend

Re: [m2] Improper build number after deploying a snapshot of maven-javadoc-plugin

2006-03-22 Thread Odea Ching
Hi Thorsten, mvn deploy automatically appends the timestamp when it deploys the jar file in the repository when it is a snapshot version. If you want to disable this, you would have to specify a version of the plugin instead of specifying it as a snapshot. Thanks, Odea Thorsten Heit wrote:

FW: Problem with M2 on Windows Servers - running tests

2006-03-22 Thread Gest, Stephen B
Hello, This problem is what is reported under SUREFIRE-30. I made the code changes listed to the SurefireBooter class, updated the jar file, and now I am able to successfully run the project tests. Stephen Previous Posting === -Original Message- From: Gest, Stephen B S

maven repository and artifact caching

2006-03-22 Thread Pierre Monestie
Hello, I'm not sure I fully understand the 'philosophy' of maven: If developper A does on artifactA: -mvn compile -mvn deploy Assume the artifact is correctly deployed on the repository Now developper B comes and tries to compile artifactB which DEPENDS on artifact A. Shouldn't maven bring the l

Re: deploy: invalid private key

2006-03-22 Thread Stephen Duncan
Ok. So, outside of Maven, you can ssh using that username and passphrase. And you're certain that the private key is located at "/.ssh/identity"? Normally it is "/.ssh/id_dsa" or "/.ssh/id_rsa". Finally, could you go ahead and send the error message you get? -Stephen On 3/22/06, Bruno Patini

Re: running a internal repositories

2006-03-22 Thread Pierre Monestie
Actually I just figured I needed to run this: mvn deploy:deploy-file -DgroupId= \ -DartifactId= \ -Dversion= \ -Dpackaging= \ -Dfile= \ -DrepositoryId= \ -Durl= Thanks, Pierre On 3/22/06, Mang Jun Lau <[EMAIL PROTECTED]> wrote: > What kind of errors

Re: Should a WAR directory have Java code? And why does my WAR have both classes and Jars?

2006-03-22 Thread Stephen Duncan
Go ahead and send your pom.xml for the WAR project so we can figure it out. It's ok to have java code specific to the webapp in the WAR project. -Stephen On 3/22/06, Gareth Western <[EMAIL PROTECTED]> wrote: > Hi, > > I'm just getting started with Maven and i'm jumping straight in to the deep >

RE: FW: Problem with M2 on Windows Servers - running tests

2006-03-22 Thread Gest, Stephen B
Yes, the same project works successfully on Unix and Linux systems, and also one other Windows system. The project was used in Maven 1.1, with the success, using th same kinds of directory names: C:\Documents And Settings\... D:\Maven 1.1\... Also, if we run "mvn install -Dmaven.test.skip="true",

Re: FW: Problem with M2 on Windows Servers - running tests

2006-03-22 Thread Wayne Fay
Have you tried building these same exact projects etc on another system ie Linux, Unix, or Mac OS X? If not, can you please try this, to ensure that your problems are limited to Win32? I would generally expect that your problems are related to the spaces in folder names... C:\Documents And Settin

FW: Problem with M2 on Windows Servers - running tests

2006-03-22 Thread Gest, Stephen B
-Original Message- From: Gest, Stephen B Sent: Wednesday, March 22, 2006 2:29 PM To: 'users@maven.apache.org' Subject: Problem with M2 on Windows Servers - running tests Hello, Here is additional information regarding the error: Executing "mvn -X install" gives the following: + E

Re: Continuum configuration

2006-03-22 Thread Gianfranco Oldani
Sorry for my st last question, I missed the basic fact that obviously continuum do the build only if there are changes. Sorry to be a newbee. Gianfranco Original Message Follows From: "Gianfranco Oldani" <[EMAIL PROTECTED]> Reply-To: continuum-users@maven.apache.org To: continuum-use

Problem with M2 on Windows Servers - running tests

2006-03-22 Thread Gest, Stephen B
Hello, We have a Java-based maven multi-project for which we've been using Maven 1.0 successfully for several months. We've recently upgraded to Maven 2.0.2, and for some of our systems, the upgrade went successfully. However, for two of our Windows systems, when we try and build the project usin

Re: Continuum configuration

2006-03-22 Thread Gianfranco Oldani
Hello, With the RC 1.0.3 the schedulers works fine. Just a question, is it possible (or is it planned to implement) to configure continuum in order that he detect for one or various specified projects that something has been committed and that he must trigger a build. In some sens its not a "ti

Re: running a internal repositories

2006-03-22 Thread Mang Jun Lau
What kind of errors do you get? Have you read this page yet? http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html _Mang Lau "Pierre Monestie" <[EMAIL PROTECTED]> 03/22/2006 04:55 PM Please respond to "Maven Users List" To users@maven.apache.org cc Subject running a

running a internal repositories

2006-03-22 Thread Pierre Monestie
Hi, I'm a bit confused as far as setting up an internal repository: So far I just copied what was in my local cache onto it and that worked. However what is the correct methods to install new jars onto it. More precisely I want to install libraries that are not in the maven central and for which I

[M2] Create Ant plugin from a Antlib build.xml file

2006-03-22 Thread Michael Meyer
Hi I have created a build.xml file with antlib (http://maven.apache.org/ant-tasks.html). It looks something like this: The version is ${maven.project.version} Now I would like to create a maven 2 plugin from this build.xml file (http://maven.apache.org/guid

Passing Version number thru properties in depdency section

2006-03-22 Thread raghurajan . x . gurunathan
Hi All, As i'm not getting much reponse on my earlier post, here i'm posting again the same question i already tried 1. Passing proj.version thru system property as -Dproj.version 2. First did mvn install on Module-A then tried I have some weird problem in may be pom inheritance This is wh

Re: System scope and transitive dependencies

2006-03-22 Thread Wayne Fay
I really don't suggest people use scope system. It just seems to cause more problems than its worth (based entirely on the questions posed on this list over the last few months). [I hope they (Maven dev) will deprecate it soon -- it just doesn't fit the desired Maven usage strategy, in my opinion.

Re: deploy: invalid private key

2006-03-22 Thread Bruno Patini Furtado
The settings.xml has the real values. My mistake in using different notations. On 3/21/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > > Where you have $user_name and $usr_home do you have in your actual > settings.xml the real values? Wasn't clear since you used > later to represent a value act

Re: [doxia] rendering xdoc separatly

2006-03-22 Thread Vincent Siveton
Arnaud, You are right, very poor documentation. See the doxia-site project. The developers need to check the sources, and the tests. Cheers, Vincent 2006/3/22, Arnaud HERITIER <[EMAIL PROTECTED]>: > Vincent, > > There's no documentation actually about doxia (except the javadoc and the > tests)

Re: jboss-maven-plugin jboss:start does it work for anyone ?

2006-03-22 Thread Pete
o/s : Windows XP Maven: 2.0.2 JBoss 4 : latest version for EJB3 Java 1.5 Will have to check the jboss-maven-plugin version at work tomorrow, but it should be the latest as I specified no specific version in the pomx.xml Thanks. On 22/03/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > It would be hel

System scope and transitive dependencies

2006-03-22 Thread Richard Sladek
One more question for today: Are system-scope dependencies supposed to be transitively resolved or not? My experience shows they are not. Any help on this? The reason for this is that I have a couple of jars related to a project which I don't want to store into the local rep. I have them just i

Re: Regarding MNG-1598

2006-03-22 Thread Mang Jun Lau
Issue filed: http://jira.codehaus.org/browse/MWAR-27 _Mang Lau "Wayne Fay" <[EMAIL PROTECTED]> 03/22/2006 02:04 PM Please respond to "Maven Users List" To "Maven Users List" cc Subject Re: Regarding MNG-1598 Jar plugin != Ear plugin != War plugin Potentially different people are

Re: jboss-maven-plugin jboss:start does it work for anyone ?

2006-03-22 Thread Wayne Fay
It would be helpful if you could include the following info: operating system maven version jboss version java/jdk version jboss-maven-plugin version Wayne On 3/22/06, Pete <[EMAIL PROTECTED]> wrote: > Has anyone succeeded in using the > jboss-maven-plugin > > to start JBoss ? It says starting.

Re: Regarding MNG-1598

2006-03-22 Thread Wayne Fay
Jar plugin != Ear plugin != War plugin Potentially different people are responsible for each plugin. So yes I'd file a MWAR bug to deal with it. Should be an "easy" fix though since the EAR and JAR plugins have already handled it. Wayne On 3/22/06, Mang Jun Lau <[EMAIL PROTECTED]> wrote: > I'm

Re: Continuum configuration

2006-03-22 Thread Gianfranco Oldani
Hi Dan, [EMAIL PROTECTED] thanks a lot I will try...;o))). Gianfranco Original Message Follows From: "dan tran" <[EMAIL PROTECTED]> Reply-To: continuum-users@maven.apache.org To: continuum-users@maven.apache.org Subject: Re: Continuum configuration Date: Wed, 22 Mar 2006 09:44:10 -080

Re: M2 - Best practice for common jars between EJB,WAR modules in EAR

2006-03-22 Thread Brad O'Hearne
Richard, I feel your pain. I struggled with similar issues at great length several weeks back. On one hand, Maven's encouragement toward modularity is a good thing, but something that comes with that is that in handling upstream dependencies, there is no consideration given to the downstr

Re: Project ignoring custom respository?

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I assume this means it can't fetch the maven-resources-plugin from the > repository (because it's not in my local one yet). But why didn't it then go > on to try central? Does your Maven proxy have direct access to the Internet, i.e. can your p

Regarding MNG-1598

2006-03-22 Thread Mang Jun Lau
I'm trying to exclude that META-INF/maven directory in produced WARs. I know the fix has been made for JARs. It even works for EARs but how come not WARs? Here is the issue I'm referring to: http://jira.codehaus.org/browse/MNG-1598 Am I doing something wrong or does it indeed not work? Shoul

Re: [m2] jetty6 plugin & log4j

2006-03-22 Thread Mark Hobson
On 22/03/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > I would think this might be addressed in the future when > {interface} or something similar is added to > Maven pom. > > Thus you could say in your jetty6 pom: > javax.logging > > Then in the project pom: > ...log4j...javax.logging > > Another per

Re: JAX-WS plugin for maven2

2006-03-22 Thread Daniel Kulp
Sefaan, > I started working on Maven 2 and was trying to build a WS project using > maven2 and JAX-WS RI 2.0 (EA 3.0) . > > Any ideas if there is a maven2 plug-in which I could use ? > > Using ant, the annotation processing tool (apt) can be used, but can > apt be used using maven2 ? Another opt

Re: Sun's jars, ibiblio and java.net repository: status?

2006-03-22 Thread jerome lacoste
On 3/20/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: > A few months back I read something that Sun's jars (activation, > javamail, jca, netbeans libs, ...) etc might end up on ibiblio. > Still most of them aren't there yet. > > However there is a maven1 java.net repository with a lot of jars > a

Re: [m2] jetty6 plugin & log4j

2006-03-22 Thread Wayne Fay
I would think this might be addressed in the future when {interface} or something similar is added to Maven pom. Thus you could say in your jetty6 pom: javax.logging Then in the project pom: ...log4j...javax.logging Another perhaps more concrete example is javax.mail API and implementation. Sun

Re: M2 - Best practice for common jars between EJB,WAR modules in EAR

2006-03-22 Thread Wayne Fay
I've been wondering this myself and just "didn't care" enough to really solve the "problem". ;-) Fortunately the duplicated libs are not very large so it doesn't affect me much (yet). Anyone got a solution? Wayne On 3/22/06, Richard Sladek <[EMAIL PROTECTED]> wrote: > > Hello, > I've been sear

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Wayne Fay
this has all been "documented" in the email list multiple times but i'll agree it should be extracted and more officially documented on the Maven site somewhere also vincent m. has an onjava.com article from last year that talks about using maven1 for j2ee, a good bit of it is still relevant http:

[m2] Improper build number after deploying a snapshot of maven-javadoc-plugin

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to use the beta-4 snapshot of the maven-javadoc-plugin and wanted to deploy it on my local proxy. The plugin is deployed via: $ mvn compile jar:jar (lots of messages) $ cd target $ mvn deploy:deploy-file -DrepositoryId= - -Durl=file:/

M2 - Best practice for common jars between EJB,WAR modules in EAR

2006-03-22 Thread Richard Sladek
Hello, I've been searching through the archive half of the day but I haven't found a satisfactory solution to my problem: I have an EAR including 2 modules: EJB JAR and WAR. These 2 modules have some common dependencies, lets say mycommonlib.jar. When I run the packaging on EAR, I get duplicates

Re: JAX-WS plugin for maven2

2006-03-22 Thread Eddie O'Neil
Stefaan-- Hey, I'm not aware of a Maven2 plugin that could be used to specifically build JAX-WS related source files, but there are a couple of options for APT (annotation processing tool) support. These are 1) the patch in this bug: http://jira.codehaus.org/browse/MNG-2089?page=all that sup

Re: [m2] jetty6 plugin & log4j

2006-03-22 Thread Mark Hobson
Just spotted this thread - any avid readers may be interested in: http://jira.codehaus.org/browse/MNG-2163 Mark On 20/02/06, David Main <[EMAIL PROTECTED]> wrote: > Ceki, > > Thanks very much for those pointers. I see SLF4J seems to be your > creation! From reading the documentation at your si

Re: Project ignoring custom respository?

2006-03-22 Thread Gareth Western
Ah thanks! Ok, so now i'm getting somewhere. Now my internal maven proxy is being contacted, however it doesn't seem to be able to fetch anything from central. For example: I removed everything from ~/.m2/repository and ran my project again, however it fell over straight away with: [INFO] -

Re: Continuum configuration

2006-03-22 Thread Emmanuel Venisse
only the RC, not latest because it doesn't work http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/continuum-20060316.173001.tar.gz Emmanuel dan tran a écrit : it is a bug in 1.0.2 where user created schedule is ingored. you can try out 1.0.3 rc http://maven.zones.apach

Re: Project ignoring custom respository?

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gareth, > Thanks for your reply! So by doing that, you're saying that you only want to > use your mirror if the central repo is down, correct? No, the proxy is always contacted. See http://maven.apache.org/guides/mini/guide-mirror-settings.html

Re: Continuum configuration

2006-03-22 Thread dan tran
it is a bug in 1.0.2 where user created schedule is ingored. you can try out 1.0.3 rc http://maven.zones.apache.org/~continuum/builds/branches/continuum-1.0.x/ -D On 3/22/06, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > > Hello, > I have installed Continuum and I am able to launch build manu

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Mark
yeah - I was missing *war* in my ear dependency list so it was looking for a jar to add ! On 22/03/06, Mark <[EMAIL PROTECTED]> wrote: > > Falling at the last fence - including the war in the ear ? > > > > > > On 22/03/06, Mark <[EMAIL PROTECTED]> wrote: > > > > I will - I guess I use the ear plu

Re: Project ignoring custom respository?

2006-03-22 Thread Gareth Western
Hi Thorsten, Thanks for your reply! So by doing that, you're saying that you only want to use your mirror if the central repo is down, correct? However I would like to use the maven proxy before trying to contact central. What am I getting wrong? Thanks, Gareth On 3/22/06, Thorsten Heit <[EMAI

Re: maven dependency graph

2006-03-22 Thread Wayne Fay
Use your pom to build a jar and then analyze it... ;-) Wayne On 3/22/06, Yann Le Du <[EMAIL PROTECTED]> wrote: > On Carlos' blog : > http://jroller.com/page/carlossg#analyzing_jar_dependencies > > The tool used here - jaranalyzer - analyzes JARs themselves - not POMs. > > - Yann > > On 3/22/06,

Continuum configuration

2006-03-22 Thread Gianfranco Oldani
Hello, I have installed Continuum and I am able to launch build manually from the http console. BUT I have defined various scheduling policy but none is taken into account. I mean no build start automatically. For example one of my schedule definition is : WebCoach WebCoach frequent rebuild.

Re: Project ignoring custom respository?

2006-03-22 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gareth, > > ... > > > my-repo > my custom repo > http://myserver:8080/maven-proxy-webapp/repository > > > I'm using the following in my pom.xml: false apache.snapshots Apache Dev

Re: include jboss-web.xml file

2006-03-22 Thread thenew05
Thanks, I have a few differences: * I have a different file structure than the default maven setup. | | \ __ WEB-INF/ | |_ web.xml |_ jboss.xml | \ __ META-INF/

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Mark
Falling at the last fence - including the war in the ear ? On 22/03/06, Mark <[EMAIL PROTECTED]> wrote: > > I will - I guess I use the ear plugin to inculde the war since it's not > really a dependency ? > > Thanks guys - this needs to go on the maven site I guess ? > > On 22/03/06, Wayne Fay

Project ignoring custom respository?

2006-03-22 Thread Gareth Western
Hi, I'm trying to setup a local repository using the maven-proxy webapp. I have successfully installed the webapp on a local Tomcat server, and i'm monitoring the catalina.out log file to see what happens. In a project on my local machine, I have the following specified in my pom.xml: ...

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Mark
I will - I guess I use the ear plugin to inculde the war since it's not really a dependency ? Thanks guys - this needs to go on the maven site I guess ? On 22/03/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Yes exactly. I have the following: > project root > -pom.xml > -lib > ++pom.xml > -ejb > +

Re: maven dependency graph

2006-03-22 Thread Yann Le Du
On Carlos' blog : http://jroller.com/page/carlossg#analyzing_jar_dependencies The tool used here - jaranalyzer - analyzes JARs themselves - not POMs. - Yann On 3/22/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > I know Carlos S. is somehow generating .dot files that he's able to > open in UMLGraph

jboss-maven-plugin jboss:start does it work for anyone ?

2006-03-22 Thread Pete
Has anyone succeeded in using the jboss-maven-plugin to start JBoss ? It says starting... but as far as I can tell it isn't started ? I put a pause in the pom.xmlusing AntRun just to make sure it wasn't shutting down again. I was hoping it would start JBoss the echo the console to the Maven2 con

Re: [m2] multi-project problems

2006-03-22 Thread Wayne Fay
..Or pay for Clover if this is a serious, for-work, for-profit project... And if its an open-source project, then ask Clover for a free OSS license. wf On 3/22/06, John Allen <[EMAIL PROTECTED]> wrote: > I have tried to use the cobertura plugin for reporting and goverance > enforcement but im af

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Wayne Fay
Yes exactly. I have the following: project root -pom.xml -lib ++pom.xml -ejb ++pom.xml -war ++pom.xml -ear ++pom.xml So every directory has a pom.xml file that describes the files and dependencies for that directory, and each one has a different packaging type declared. So lib depends on a few ex

Re: maven dependency graph

2006-03-22 Thread Wayne Fay
I know Carlos S. is somehow generating .dot files that he's able to open in UMLGraph and generate some nice graphical pictures for dependencies... I believe this is part of a plugin that is in-progress as a future Maven2 report... Can probably find more info on the dev@ list if you search the arc

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Mark
So I need to use more than one pom in a parent child relationship, defining the child poms as modules in the parent pom ? Then everything should be OK because each module is it's own context 'brilliant!' Then what you say about adding the inter-depencies makes sense too. Yann thanks for your tim

Re: include jboss-web.xml file

2006-03-22 Thread Wayne Fay
Sorry those directories are all wrong. ;-) First is: /src/main/webapp/WEB-INF Second one is: /src/main/resources/WEB-INF Wayne On 3/22/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > Put it in: /src/main/WEB-INF > And it will automatically be included in your WAR. > > If that doesn't work, put it i

Re: include jboss-web.xml file

2006-03-22 Thread Wayne Fay
Put it in: /src/main/WEB-INF And it will automatically be included in your WAR. If that doesn't work, put it in: /src/resources/WEB-INF Wayne On 3/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I want to add my jboss-web.xml with my web.xml file in my WEB-INF directory > in my WAR file.

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Yann Le Du
Let Maven work for you ;) If you declare the JAR as a dependency in the WAR POM, the JAR will be included in the WAR. Same thing for EAR. On 3/22/06, Mark <[EMAIL PROTECTED]> wrote: > > Sure > > The ear contains the war and the war contains the jar .. but I'm getting > closer. > > > On 22/03/06,

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Mark
Sure The ear contains the war and the war contains the jar .. but I'm getting closer. On 22/03/06, Yann Le Du <[EMAIL PROTECTED]> wrote: > > I'm not sure to understand what you want to achieve. If you want to have > some resources packaged in META-INF, just put them into : > * src/main/resources

Re: Maven directory structure

2006-03-22 Thread ian . d . stewart
Within Eclipse, you can select a Java source file, select 'References -> Project' and get a list of all of the other classes within your project that reference that class (which would, obviously include the covering test case). I don't know, but I would assume, that similiar calibre IDE's (e.g., N

RE: maven dependency graph

2006-03-22 Thread Jörg Schaible
Nicolas De Loof wrote on Wednesday, March 22, 2006 5:08 PM: > Thanks. > Not really easy to use, but does the job. And it shows only half of the truth: http://jira.codehaus.org/browse/MNG-1573 [snip] - Jörg - To unsubscribe, e-

RE : maven dependency graph

2006-03-22 Thread Olivier Lamy
http://docs.codehaus.org/display/MAVEN/Dependency+Graphing - Olivier -Message d'origine- De : Nicolas De Loof [mailto:[EMAIL PROTECTED] Envoyé : mercredi 22 mars 2006 17:08 À : Maven Users List Objet : Re: maven dependency graph Thanks. Not really easy to use, but does the job. Ruel

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Yann Le Du
I'm not sure to understand what you want to achieve. If you want to have some resources packaged in META-INF, just put them into : * src/main/resources/META-INF for JAR * src/main/webapp/META-INF for WAR * src/main/application/META-INF for EAR Can you explain what you mean about multiple nested ar

AW: RE : Maven 2 and changes log from subversion

2006-03-22 Thread Volker Füßler
Hi, > http://jira.codehaus.org/browse/MEV-362 > Add a vote ;-) Done & thx ;-), Volker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problem hibernate3 plugin cfg2cfgxml

2006-03-22 Thread Johann Reyes
Hello Sylvain Based in your plugin, I have added now the ability to support the auto discovery of hibernate annotated classes to the plugin. If you like please try it. Regards Johann Reyes -Original Message- From: Sylvain Vieujot [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 200

Re: maven dependency graph

2006-03-22 Thread Nicolas De Loof
Thanks. Not really easy to use, but does the job. Ruel Loehr a écrit : Mvn -X install Ruel Loehr JBoss QA - 512-342-7840 ext 2011 Yahoo: ruelloehr Skype: ruelloehr AOL: dokoruel -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Wed

Trigger Projects in Continuum

2006-03-22 Thread Stevenson, Chris
Hello All, I was wondering if anyone was considering adding functionality for trigger projects in continuum? This is really important in my company as we need to find out straight away if someone has broken an interface which has knock on effects on other api's. If noone is working on it then I

Re: Problem hibernate3 plugin cfg2cfgxml

2006-03-22 Thread Sylvain Vieujot
I sometime have problems like this. Try to do an "mvn clean" before. For me it solved the problem. On Wed, 2006-03-22 at 16:10 +0200, Taavi Sildeberg wrote: > Hello Sylvain, > > When I try to use your plugin, I got this result from it: > > C:\devTest\timemanager\data>mvn hibernate-annotations:m

Re: Maven 2 and changes log from subversion

2006-03-22 Thread Gianfranco Oldani
Hi Yann, Thanks a lot it works perfectly. Regards Gianfranco Original Message Follows From: "Yann Le Du" <[EMAIL PROTECTED]> Reply-To: "Maven Users List" To: "Maven Users List" Subject: Re: Maven 2 and changes log from subversion Date: Wed, 22 Mar 2006 16:06:50 +0100 Hi Gianfranco,

RE : Maven 2 and changes log from subversion

2006-03-22 Thread Olivier Lamy
http://jira.codehaus.org/browse/MEV-362 Add a vote ;-) - Olivier -Message d'origine- De : Volker Füßler [mailto:[EMAIL PROTECTED] Envoyé : mercredi 22 mars 2006 16:52 À : Maven Users List Objet : AW: Maven 2 and changes log from subversion Hi, At the moment I cant get it to work, bec

AW: Maven 2 and changes log from subversion

2006-03-22 Thread Volker Füßler
Hi, At the moment I cant get it to work, because it seems that someone had deleted the http://repo1.maven.org/maven2/org/netbeans/lib/3.6/lib-3.6.jar from the maven repo. The lib-3.6.pom [.md5 | .sha1] are still there. Can someone fix this, please? kind regards, Volker > -Ursprünglich

Re: Jsp precompilation

2006-03-22 Thread Geoffrey De Smet
Are you sure you actually need to define them in your dependencies? They are dependencies of the plugin (at least in the latest subversion checkout), which would mean there's no need to depend on them in your project using the plugin. It's similar to not having to depend on the pmd jar (only o

RE: maven dependency graph

2006-03-22 Thread Ruel Loehr
Mvn -X install Ruel Loehr JBoss QA - 512-342-7840 ext 2011 Yahoo: ruelloehr Skype: ruelloehr AOL: dokoruel -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 8:55 AM To: Maven Users List Subject: Re: maven depen

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Mark
That approach doesn't look good because I don't this one pom can easily creat multiple artifacts which are nested in some way ? Should I be looking at archetype ? On 22/03/06, Mark <[EMAIL PROTECTED]> wrote: > > Well I started looking at the jar plugin first, and I couldn't see a way > to limit

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Mark
Well I started looking at the jar plugin first, and I couldn't see a way to limit what resources are added - not a problem for war or ear ? I suppose I could farm that out to ant ? On 22/03/06, Yann Le Du <[EMAIL PROTECTED]> wrote: > > Hi Mark, > > Did you check : > http://maven.apache.org/guide

Re: Building a J2EE app under Maven 2

2006-03-22 Thread Yann Le Du
Hi Mark, Did you check : http://maven.apache.org/guides/mini/guide-webapp.html http://maven.apache.org/plugins/maven-jar-plugin/ http://maven.apache.org/plugins/maven-war-plugin/ http://maven.apache.org/plugins/maven-ear-plugin/ - Yann On 3/22/06, Mark <[EMAIL PROTECTED]> wrote: > > Is there any

Re: [m2] multi-project problems

2006-03-22 Thread John Allen
I have tried to use the cobertura plugin for reporting and goverance enforcement but im afraid its a none starter, when run in reactor builds you get a 'can not overwrite readonly parameter testClassPathElements' (or alike) when generating sites and the check goal fails to interoperate with the

Re: [m2] multi-project problems

2006-03-22 Thread John Allen
except reports, there is no way of setting standard reports or a common configuration for them in parent projects (ie there is no ) which results in quite a bit of duplication in leaf projects. John - Original Message - From: "Brian E. Fox" <[EMAIL PROTECTED]> To: "Maven Users List"

Re: Maven 2 and changes log from subversion

2006-03-22 Thread Yann Le Du
Hi Gianfranco, There indeed is a changelog plugin for m2. It was hosted by Mojo [1] , but is presently being moved to Maven. For the moment, you can use : org.codehaus.mojo changelog-maven-plugin When the plugin is moved, you'll be able to see it here [2]. Then you

  1   2   >