Re: Maven and ejbdoclet/xdoclet examples

2005-06-17 Thread Nathan Sowatskey
Thanks! I will try this. Nathan Dennis Geurts wrote: Hi nathan, the thing is, maven does not complain about missing dependencies ( for instance, the jmx-module is needed, but if you don't add its jar to the list of dependencies, maven won't tell !!) -- maybe this is even the cause you're

site:deploy on multiproject

2005-06-17 Thread Nicolas De Loof
Hi Using maven site:deploy generates the site and use configured method to deploy site on my HTTP server But my project is the parent of a multiproject application. Running site:deploy doesn't run the multiproject:site goal to produce the full site. Is they're some property to set to get

Lines of Code aggregator for dashboard?

2005-06-17 Thread Wim Deblauwe
Hi, is there an aggregator for dashboard to calculate the (non-comments) lines of code of the production and the testcode. I currently use Clover and this gives me a figure, but I suspect this is only the LOC and NCLOC of the production code? regards, Wim

Re: Component Descriptor Error Message

2005-06-17 Thread Henry Isidro
Simon McClenahan wrote: I'm running Maven under Windows, and I was unable to specify the drive letter. Conveniently I do everything on my C: drive, and I have ended up using the following: maven.repo.remote=file:///localhost/projects/online/trunk/,http://www.ib iblio.org/maven/ I know it

wsdl2java

2005-06-17 Thread Nicolas De Loof
Hi I'm trying to use the axis plugin (from maven-plugins.sf.net) to generate wsdl from my java classes. I get error Attempted to write schema for bad QName (no namespace) There is no doc about this feature on plugin site. Can someone give me a working example ? Nico. This message

Re:[m2] Overriding webapp source directory

2005-06-17 Thread Yann LE DU
I guess my webmail is quite buggy then :) I was already given the solution for the build tag, but thanks for the detail about ${basedir} ! Regards, Yann -- Mail d'origine --- De : quot;Kenney Westerhofquot; [EMAIL PROTECTED] A : quot;Maven Users Listquot;

[solved] Re: wsdl2java

2005-06-17 Thread Nicolas De Loof
I made it work I just didnt' understood the requirement for a property for each service to set location and namespace : maven.axis.classnames = com.MyService com.MyService = http://location,urn:namespace Nico. Nicolas De Loof a crit : Hi I'm trying to use the axis plugin (from

while run the Goal, how can I get Status by mail

2005-06-17 Thread NATARAJAN Sasi Kumar
Hai Maven Users 1.I integrated all goals in maven.xml. While run one goal, it initiates all dependent goals also ok, how I can get through mail all goals status. 2.what is the purpose of following tag in project.xml developer nameSasikumar/name idSasi/id

Re: site:deploy on multiproject

2005-06-17 Thread Brett Porter
multiproject:site-deploy ? http://maven.apache.org/reference/plugins/multiproject/goals.html On 6/17/05, Nicolas De Loof [EMAIL PROTECTED] wrote: Hi Using maven site:deploy generates the site and use configured method to deploy site on my HTTP server But my project is the parent of a

Re:while run the Goal, how can I get Status by mail

2005-06-17 Thread Yann LE DU
Hi Sasikumar, As I understood it, the purpose of developer tag is to collect some info about each developer or contributor in the project, in order to build mailing-lists and generate activity reports. For a good start, see this book : http://mavenbook.xwiki.com/xwiki/bin/view/Main/WebHome The

RE: Multiprojects and dependencies list

2005-06-17 Thread Damien Viel
Thanks Vincent, This is exactly what I was looking for !! Excepted that I will probably read the .classpath file rather than the project.xml file but I'm not sure yet. I'll test both. Best Damien -- Damien Viel | +33 1 41 97 83 20

Re: [m1] artifact problem when installing pom.xml in local repo

2005-06-17 Thread Brett Porter
Already reported: http://jira.codehaus.org/browse/MAVEN-1625 Oddly, it works for me. Somehow it thinks it is running inside Maven 1.0.2 instead of Maven 1.1. - Brett On 6/17/05, Nicolas Chalumeau [EMAIL PROTECTED] wrote: I just install 1.1-beta-1 all seems to be ok except with the pom

Re: Maven 1.1 Beta 1 Released

2005-06-17 Thread Michael Niemaz
Hi Brett, It looks like some changes are affecting the javadoc generation. When I run maven javadoc after the maven upgrade, I get the following error: Incompatible initial and maximum heap sizes specified [See the error output below]. I tried running the command with or without setting

Re: Maven 1.1 Beta 1 Released

2005-06-17 Thread Michael Niemaz
Found the problem: forgot the 'm' after 512 for the maxmemory ... Sorry for that ;-) --mike Michael Niemaz wrote: Hi Brett, It looks like some changes are affecting the javadoc generation. When I run maven javadoc after the maven upgrade, I get the following error: Incompatible initial

Re: while run the Goal, how can I get Status by mail

2005-06-17 Thread Joachim Sautter
HI, you can not send mails directly with maven, you can only set a nagemailadress but this you can only use in combination with an other tool. Such an ohter tool is cruisecontrol, anthill or luntbuild. This tools also make the continous integration. NATARAJAN Sasi Kumar wrote: Hai Maven

Compiling J2SE 5.0

2005-06-17 Thread Nathaniel Stoddard
Another newbie question for you guys (big thanks by the way!): How do I set up Maven so it will compile with a target and source of 1.5. I know how to do this in Ant, and I can see the properties for the compiler:compiler plugin, but I don't really understand where I should set them. I'm using

Remote repository version control

2005-06-17 Thread Simon McClenahan
I am specifying a remote repository because the jar files I need are stored in my version control system, where I have checked them out into my local filesystem. I would have like to specify a relative path to the remote repository, but I don't think that's possible with a URL scheme. I have not

Exception with maven 1.1-beta-1

2005-06-17 Thread Anatol Pomozov
I just download maven-1.1-beta-1 and try to run it. 'maven jar:install' works fine with maven 1.0.2 but when I run this command with the latest M1 I got an exception. What does it mean?? BUILD FAILED File.. C:\Documents and

Re: Problem targeting two platform builds with Maven 2.0

2005-06-17 Thread Jay H. Hartley
I'm a bit confused by the initial problem posed in this thread. This may expose a fundamental misunderstanding of Java on my part, but if so I'd like it cleared up by this fine group sooner rather than later. I routinely build a project for a CDC target using a Sun J2SE 1.3 boot class path,

Re: Exception with maven 1.1-beta-1

2005-06-17 Thread Arnaud HERITIER
it's a blocking problem :-( It's because you defined properties in your dependencies http://jira.codehaus.org/browse/MAVEN-1625 Arnaud On 6/17/05, Anatol Pomozov [EMAIL PROTECTED] wrote: I just download maven-1.1-beta-1 and try to run it. 'maven jar:install' works fine with maven 1.0.2

Re: Remote repository version control

2005-06-17 Thread Guillaume Lederrey
On 6/17/05, Simon McClenahan [EMAIL PROTECTED] wrote: I am specifying a remote repository because the jar files I need are stored in my version control system, where I have checked them out into my local filesystem. I would have like to specify a relative path to the remote repository, but I

Reactor tag

2005-06-17 Thread Jon Strayer
Does the sort attribute on the Reactory Jelly tag work? I added (sort=true) to the plugin.jelly for the dashboard report, but it didn't seem to do anything. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Reactor tag

2005-06-17 Thread dan tran
I see the same thing on maven 1.0.2. Since you found it first, could you file a JIRA ;-)? -Dan On 6/17/05, Jon Strayer [EMAIL PROTECTED] wrote: Does the sort attribute on the Reactory Jelly tag work? I added (sort=true) to the plugin.jelly for the dashboard report, but it didn't seem to do

Re: Remote repository version control

2005-06-17 Thread dan tran
Hi Simon, maven encourges not to store binary artifact to version control system, but to be placed in your remote repository (make sure to back it up regularly). Let's maven manages the artifacts for you. If you insist on using artifacts in your VCS, look up maven.jar.override settings. So that

How can I have the xdoclet generated files be included in the compile?

2005-06-17 Thread Aidan Donohoe
Hi, I am generating java files from xdoclet (into target/xdoclet/ejbdoclet), and I want these files to be included in the compilation along with the src directory. Do I have to copy them into the src dir? (which seems nasty) Or is there a better/right way to do this? Thanks for any info,

[m2] How to invoke Ant tasks from Marmalade?

2005-06-17 Thread Gunter Zeilinger
Hi, How can Ant tasks be invoked from Marmalade? I tried (e.g. ) ant:echo message=Hello, World. xmlns:ant=marmalade:ant/ but it did not work. Thanks for any hint, gunter zeilinger - To unsubscribe, e-mail: [EMAIL

Re: How can I have the xdoclet generated files be included in the compile?

2005-06-17 Thread Pascal Thivent
Hi i think that the maven.ejb.includes property of the maven ejb plugin is what you're looking for. Regards, On 6/17/05, Aidan Donohoe [EMAIL PROTECTED] wrote: Hi, I am generating java files from xdoclet (into target/xdoclet/ejbdoclet), and I want these files to be included in the

Ejb clients

2005-06-17 Thread Nathaniel Stoddard
Can anybody give me a quick reference or example for generating a client for an EJB project? My project is doing just fine getting installed using the Maven 2.0 ejb:ejb goal. However, no client is being generated. Here's what I have now plugin

Re: Ejb clients

2005-06-17 Thread Emmanuel Venisse
You have the correct configuration, but we have a bug in ejb plugin release with m2 alpha-2. It's fixed in svn. Emmanuel Nathaniel Stoddard wrote: Can anybody give me a quick reference or example for generating a client for an EJB project? My project is doing just fine getting installed

Re: Compiling J2SE 5.0

2005-06-17 Thread Emmanuel Venisse
You must configure the source and target paramters in your pom like this : ... build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration

WARNING !!!!! - SCM plugin

2005-06-17 Thread mattias_kontakt
Ohh shit There must be a major bug in the scm plugin, be carefull. As I used it and tried to checkout a project using the 'scm:checkout-project' goal it started to delete all files and directories where I was standing !!! I lost 2 projects before I got it stop running ;-( (I had the

Mavenizing my existing projects

2005-06-17 Thread Simon McClenahan
OK, since I'm new to Maven (and Mevenide-Eclipse) here is what my setup is. I would appreciate help in Maven-izing this. Current state of affairs is in Eclipse I have the following Java (Eclipse) projects (renamed): Common Webapp Framework EJB App1 App2 App3 Etc. The Common project contains a

Re: WARNING !!!!! - SCM plugin

2005-06-17 Thread Emmanuel Venisse
Please don't cross post your message. You can open an issue here : http://jira.codehaus.org/browse/MPSCM Emmanuel mattias_kontakt wrote: Ohh shit There must be a major bug in the scm plugin, be carefull. As I used it and tried to checkout a project using the 'scm:checkout-project' goal

Re: How can I have the xdoclet generated files be included in the compile?

2005-06-17 Thread Dennis Geurts
Aidan, I guess you want something like this: Suppose the generated source code location is referred to with '${gen.dir}' ( 'target/xdoclet/ejbdoclet' in your case ) then you can make sure they get compiled at the same time as your manually typed java files do, by defining the following

RE: How can I have the xdoclet generated files be included in the compile?

2005-06-17 Thread Aidan Donohoe
Problem solved. Now that I have ejbdoclet working, it looks like java:compile is automatically including the generated files. Thanks. -Original Message- From: Aidan Donohoe Sent: Friday, June 17, 2005 9:52 AM To: Maven Users List Subject: How can I have the xdoclet generated files be

How to split unit and acceptance tests apart (both use Junit framework)

2005-06-17 Thread Guy Davis
Hello, I'm currently using Maven 1 for running our regular unit tests. However I'm in the process of adding larger acceptance/integration tests that cover wide areas of functionality. I am still using the JUnit framework for these acceptance tests, but I was wondering if there was a way to

Re: How to split unit and acceptance tests apart (both use Junit framework)

2005-06-17 Thread dan tran
Guy, Move your integration/acception test to a separate maven project. Treat it like an application so that you can invoke it on demain. (ie all your test source goto src/main/java) You many need to write some goal wrapper to invoke the test. -D On 6/17/05, Guy Davis [EMAIL PROTECTED]

Re: [m2] Project relative dependencies

2005-06-17 Thread John Fallows
Brett, Thanks for the pointers, see below. On 5/29/05, Brett Porter [EMAIL PROTECTED] wrote: On 5/28/05, John Fallows [EMAIL PROTECTED] wrote: Perhaps we could also create a custom wagon implementation, similar to the FileWagon, but resolve the dependencies from a project-relative

Re: [m2] Project relative dependencies

2005-06-17 Thread Brett Porter
On 5/29/05, Brett Porter [EMAIL PROTECTED] wrote: On 5/28/05, John Fallows [EMAIL PROTECTED] wrote: I was having difficulty in getting m2-a2 to recognize additional repository entries other than the default central one. I was also having difficulty overriding the central repository

Re: Compiling J2SE 5.0

2005-06-17 Thread Brett Porter
You might also like to read: http://maven.apache.org/maven2/getting-started.html It has this specific example. - Brett On 6/18/05, Emmanuel Venisse [EMAIL PROTECTED] wrote: You must configure the source and target paramters in your pom like this : ... build plugins plugin

Re: Maven 1.1 and cutom properties in POM

2005-06-17 Thread Brett Porter
You are right, these should be valid in 1.1. Please file an issue in JIRA. Thanks, Brett On 6/17/05, Schoenknecht,Andreas [EMAIL PROTECTED] wrote: Hello, I just tried the Maven 1.1 beta. Unfortunately I get errors when my POMs contains custom properties. Here is an example: At the end of

Re: How to split unit and acceptance tests apart (both use Junit framework)

2005-06-17 Thread Craig McDaniel
What is the reasoning for the extra main level? Why not src/java. Also, couldn't you just set the unitTestSourceDirectory to src/main/java and point sourceDirectory someplace empty? I am going to be going through this same process soon. Please share what you consider to be the best practice here

Re: Remote repository version control

2005-06-17 Thread Brett Porter
There is nothing saying you can't store the repository in VCS either, by the way - it just needs to be accessible over HTTP in Maven 1, and in the desired format. Maven's objection lies more with storing binary dependencies in your project's VCS as it results in duplicates and bigger

Re: How to split unit and acceptance tests apart (both use Junit framework)

2005-06-17 Thread dan tran
src/main/java is the maven recommend directory structure. This way I can so have src/main/resources, both indicating they are belonging to the main artifact. It is more organized that way unitTestSourceDirectory can only understand by maven-test-plugin the real unit test. So if you point it to

RE: How to split unit and acceptance tests apart (both use Junit framework)

2005-06-17 Thread David Jackman
I actually did create such a plugin because I wanted my integration tests as part of the same project as the code it was testing. I also didn't want my integration test project to be included by the multiproject (and didn't want to hard-code an exclude for it, either). This sort of thing

Re: How to split unit and acceptance tests apart (both use Junit framework)

2005-06-17 Thread dan tran
correct, in order to get test:single to work with integration as the main artifact one needs to fool test:single that it has test to run (that is why I say prepare to dig into test:single source to understand its requirements ) perhaps you can submit your plugin into plugin's sandbox so we can