RE: War plugin transitive dependency

2007-06-08 Thread Váry Péter
Hi all, If this is not possible with maven, it is an answer as well. Then I can think about writing a plugin, or simply accepting dependency as it is. Any insight would be usefull. Regards, Péter -Original Message- From: Váry Péter [mailto:[EMAIL PROTECTED] Sent: Thursday, June 07,

RE: Daytrader doesn't compile

2007-06-08 Thread Timothy Reilly
Posting these back on the user list: From: Eduardo [wrote:] Sent: Monday, June 04, 2007 10:01 AM To: Timothy Reilly Subject: Daytrader doesn't compile Hello Timothy, I have the exact same error when trying to install the daytrader application... Did you come to any conclussions?

Configuration questions

2007-06-08 Thread Kevin . A . D'Arcy
Hi all, Just two quick configuration questions: 1. In most of the projects I work on there are different sets of configuration files that are used depending on whether the application is in various stages of test/production and I'm wondering what the best way is to handle these in regard to the

Re: Lifecyle Question

2007-06-08 Thread Jo Vandermeeren
Hi Jens, Post your pom.xml files, so we can have a look.. Cheers Jo On 6/7/07, Mac Systems [EMAIL PROTECTED] wrote: Hello Maven Users, i'd like to how this can happen: I have an Multiprojekt: mvn compile work well, all is compiled! If i do mvn package i get an Error that some package

antrun plugin in non-aggregrate mode

2007-06-08 Thread Kevin Stembridge
Hi all, I'm calling antrun:run from a parent project and it tries to do the same in submodules. (Is this what you call an aggregator?) Is there any way to prevent this? Cheers, Kevin --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient

Re: docbook + maven

2007-06-08 Thread Steve Ebersole
If you look at the code and projects using it, yes, I am aware of this. Or did you miss the directories containing the font definitios tongue-in-cheekly named no-idea-what-to-do-with-these-yet? ;) Actually I was leaning on the expertise of the Red Hat documentation team here, since DocBook (nor

Re: procedure for upgrade to 1.1 ?

2007-06-08 Thread Emmanuel Venisse
We don't have a procedure yet because the database is different. The best way for now is to install alpha-2 and add all your project in it. Emmanuel Ionut S a écrit : Nobody upgraded from 1.0.3 to 1.1 alpha2 ? Ionut S [EMAIL PROTECTED] wrote: Hi, I wanted to move today to 1.1 alpha2, but I

Re: procedure for upgrade to 1.1 ?

2007-06-08 Thread Ionut S
Thanks for your response, this is what I wanted to hear. Should we expect (in the near future) a tool to migrate the data from one version to another ? Emmanuel Venisse [EMAIL PROTECTED] wrote: We don't have a procedure yet because the database is different. The best way for now is to install

maven-jar-plugin wraps manifest.mf line at wrong position

2007-06-08 Thread 張旭
Dear friends, I have encountered a strange problem when specify custom manifest file when using the maven-jar-plugin. I've a very very long line in the manifest file that maybe have hundreds columns. It seems that the plug-in will automatically wrap the line every 70 cols. Is there a parameter

Re: Maven-proxy and error

2007-06-08 Thread Thorsten Heit
Hi, Which section of maven-proxy.properties is relevant to a firewall. Is it the proxies section. Yes. Here is my maven-proxy.properties... *snip* PROXIES #This is just a hack, it should auto discover them proxy.list=one,two,three #Unauthenticated proxy

Re: calling plugin in another plugin?

2007-06-08 Thread 張旭
Thanks to everyone. Now I know there is no way through maven2 api to call another plugin. Am I right? According to Jason, it's a bad idea to call one plugin directly in another. But I still think it's maybe very convenience to do things like that so I can use functions of other plugin directly

Re: procedure for upgrade to 1.1 ?

2007-06-08 Thread Emmanuel Venisse
I hope we'll can do it but it isn't our priority for now. Emmanuel Ionut S a écrit : Thanks for your response, this is what I wanted to hear. Should we expect (in the near future) a tool to migrate the data from one version to another ? Emmanuel Venisse [EMAIL PROTECTED] wrote: We don't

Re: Inclusions of test classes not inherited by TestCase

2007-06-08 Thread Martin Monsorno
Hi, thanks for the answers. I know that I can controls, which tests are executed by including or excluding some of them, but that's not the point. Any tests, that match the inclusion pattern, should not be executed, if they are not a Junit TestCase, i.e. extend junit.framework.TestCase and is

Re: maven-jar-plugin wraps manifest.mf line at wrong position

2007-06-08 Thread Heinrich Nirschl
On Fri, 2007-06-08 at 16:21 +0800, 張旭 wrote: Dear friends, I have encountered a strange problem when specify custom manifest file when using the maven-jar-plugin. I've a very very long line in the manifest file that maybe have hundreds columns. It seems that the plug-in will automatically

Re: maven-jar-plugin wraps manifest.mf line at wrong position

2007-06-08 Thread Jo Vandermeeren
Hi Zhang, All MANIFEST.MF files that contain lines longer than 72 bytes are invalid, according to the Jar Manifest specification. That's why the plugin splits them, which is the only way to create a valid manifest. And no, AFAIK, you can not force the plugin to create invalid manifest files.

Re: Configuration questions

2007-06-08 Thread Jo Vandermeeren
On 6/7/07, Kevin.A.D'[EMAIL PROTECTED] Kevin.A.D'[EMAIL PROTECTED] wrote: how do I tell it to include one set of config file and ignore the rest? You can specify separate resource sets for different profiles. 2. When setting up a folder structure of an EAR project containing a WAR, should

Re: War plugin transitive dependency

2007-06-08 Thread Jo Vandermeeren
On 6/7/07, Váry Péter [EMAIL PROTECTED] wrote: With using the war plugin, we can declare transitive dependencies, A depends on B, and B depends on C. With SNAPSHOT versions I would like to see every changes in C appear immediately in A, without any manual interaction (or as few as possible).

Classpath issues with maven 2.0.6

2007-06-08 Thread Minto.van.der.Sluis
Hi folks Unfortunately I run into classpath problems when running my unittests with 'mvn test'. I have the following situation. To be able to test static blocks in my classes under various conditions I need to be sure these static block are executed multiple times. The only thing I know that

Configuring scp logging

2007-06-08 Thread Taylor, Paul
By default when using scp for deployment it outputs the amount uploaded in 4k increments. Is there a way of configuring this to increase the increments or turn it off completely? When deploying large files this creates a lot of output resulting in large log files. Paul

m2 assembly confusion

2007-06-08 Thread Nigel Magnay
I have a project that is buildig in Hudson, that uses the m2 assembly plugin. In the project pom, it explicitly sets the version of that plugin to 2.1. It builds correctly from the commandline, and it mostly builds correctly in hudson, but occasionally (I suspect it might be an update issue),

RE: War plugin transitive dependency

2007-06-08 Thread Váry Péter
Hi Jo, The main idea is: - I change C, and install it to the repository - When working with A, I do not get the changes in C If I working with jar-s, and A is transitively dependent on C, then if a new C is installed into the repository, I will get the new version. But with war - it does not

Re: [M2] Creating internal remote repsistory for Oracle ADF project

2007-06-08 Thread Andrew Birchall
Thanks a lot Wayne, that's great help. It does seem a lot of work to do this for every jar file the project depends on but I guess I can write a script to do it. I feel that the documentation for Maven is not that good. Its not very clear or well structured, making it hard to find what you

RE: how to disable dowloading beta versions of plugins

2007-06-08 Thread Minto.van.der.Sluis
HI, Does maven also have somekind of a switch that forces the use of specified versions? I ask this because it is too easy to forget version number for some plugins. For instance I can use 'mvn test' without specifying maven-surefire-plugin. With the kind of switch I am looking for this would

RE: Settings.xml under source control?

2007-06-08 Thread Minto.van.der.Sluis
Hi Moe, Are you sure you want settings.xml under source control? Lots of times the settings.xml contains user specific settings like usernames and passwords. Regards, Minto -Oorspronkelijk bericht- Van: Moe, Vidar [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 8 juni 2007 11:28 Aan:

Re: Settings.xml under source control?

2007-06-08 Thread Emmanuel Venisse
We don't have something to set it globally but you can add it in your mvn script. Emmanuel Moe, Vidar a écrit : Hi! We would like to have the settings.xml file in a custom location to easily being able to have it under source control. We can control the placement of the settings.xml file

Re: Classpath issues with maven 2.0.6

2007-06-08 Thread Jo Vandermeeren
On 6/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Looking a bit deeper I discovered the classpath being used in Eclipse contains a lot more entries than the one being used by maven. Hi Minto The classpath used to startup maven is different from the one that is used to build and test

Settings.xml under source control?

2007-06-08 Thread Moe, Vidar
Hi! We would like to have the settings.xml file in a custom location to easily being able to have it under source control. We can control the placement of the settings.xml file by the -Dorg.apache.maven.user-settings but it is cumersome for developers to add this param for every mvn

Problem with creating deployment code RMIC code during ejb build

2007-06-08 Thread Kiran Kodlady
Hell all, Got struck with one problem with ejb project : In my current ejb project i am doing migration of ant scripts to maven 2.0.6. Project structure is like below : XYZProject--ejbmodule---java META-INF-ejb-jar.xml

Re: War plugin transitive dependency

2007-06-08 Thread Jo Vandermeeren
On 6/8/07, Váry Péter [EMAIL PROTECTED] wrote: If I working with jar-s, and A is transitively dependent on C, then if a new C is installed into the repository, I will get the new version. But with war - it does not count the transitive dependencies, so I does not get the changes. Hi Peter,

RE: Classpath issues with maven 2.0.6

2007-06-08 Thread Minto.van.der.Sluis
Hi Jo, Yes I have, look at the pom files below. Also not that in the maven case the test and project classes are not part of the classpath being used by the tests. Regards, Minto My project pom file: === project modelVersion4.0.0/modelVersion parent

RE: Classpath issues with maven 2.0.6

2007-06-08 Thread Minto.van.der.Sluis
Hi Jo, The ReloadableClassLoader was copied into the test sources. That's why there is no dependency for that one. The class it could not find was not ReloadableClassLoader, but the class I want to load. This is actually the class under test. 313 [main] ERROR

Re: Classpath issues with maven 2.0.6

2007-06-08 Thread Vandermeeren, Jo
On 6/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Jo, Yes I have, look at the pom files below. Hi Minto I only see junit and 2 slf4j dependencies. The ReloadableClassLoader class you mentioned earlier.. Did you include it as source? I would expect a dependency to the library

Re: password argument is null. scm ext connection

2007-06-08 Thread Emmanuel Venisse
What do you use foe ext connection? ssh? You can set CVS_RSH on your OS to ssh or what you use. Emmanuel Arun P Johny a écrit : Hi all, I'm getting the following error when I try to execute the command 'mvn release:prepare' -Error --other downloads Downloading:

Re: Settings.xml under source control?

2007-06-08 Thread Max Bowsher
Moe, Vidar wrote: Hi! We would like to have the settings.xml file in a custom location to easily being able to have it under source control. We can control the placement of the settings.xml file by the -Dorg.apache.maven.user-settings but it is cumersome for developers to add this

Re: Cascading package dependencies

2007-06-08 Thread André Salvati
Hi Wayne, Thanks for your answer. I've been working just with modules (children) on my workspace. Is there any workaround on Eclipse? I didn't want to remenber all modules dependencies. How do you do it? Wayne Fay escreveu: No, this is not possible. However, if you run mvn install from

Re: [M2] Creating internal remote repsistory for Oracle ADF project

2007-06-08 Thread Vanja Petreski
Hi, try with this one: http://www.sonatype.com/book/index.html ;) Vanja On 6/8/07, Andrew Birchall [EMAIL PROTECTED] wrote: Thanks a lot Wayne, that's great help. It does seem a lot of work to do this for every jar file the project depends on but I guess I can write a script to do it. I

Re: calling plugin in another plugin?

2007-06-08 Thread Kenney Westerhof
張旭 wrote: Thanks to everyone. Now I know there is no way through maven2 api to call another plugin. Am I right? No, but for your sake, let's say yes. ;) According to Jason, it's a bad idea to call one plugin directly in another. Also according to any other maven developer. It's totally

Re: Classpath issues with maven 2.0.6

2007-06-08 Thread Vandermeeren, Jo
On 6/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Snippet of the mvn test -X ouput: == snip [DEBUG] Test Classpath : [DEBUG] K:\Sources\Prefs\memoryprefs\target\test-classes [DEBUG] K:\Sources\Prefs\memoryprefs\target\classes [DEBUG]

assembly plugin, module sets, binaries and includeDependencies

2007-06-08 Thread Kevin Stembridge
Hi all, I'm having a problem with the assembly plugin. It isn't including dependencies for a binary within a module set. I have the following configuration: moduleSet includes includemy.company:my-artifact/include /includes binaries

Maven, CVS, Eclipse, and Continuum

2007-06-08 Thread Greg Thompson
It seems that there are many rough edges relating to multimodule project development in Eclipse. I've searched the mailing lists and found various people saying that they have usable setups, but I'm not sure that I buy it. I've tried: 1. Flat project layout: parent POM references child

Re: calling plugin in another plugin?

2007-06-08 Thread Kenney Westerhof
David Jackman wrote: Here's another situation where I want to have a plugin call another plugin. Can you tell me the right way to accomplish this? In our group we have a release procedure that involves a few more steps beyond running the release:prepare mojo. In fact, some of the

Re: Build of maven 2.0.x branch: test failures

2007-06-08 Thread Kenney Westerhof
Graham Leggett wrote: On Wed, June 6, 2007 4:53 pm, Jason van Zyl wrote: Just built and it works fine. You on windows? On windows and inside a firewall: --- T E S T S --- Running

Feature branches and merging

2007-06-08 Thread Hayes, Peter
I'd like to get some feedback on best practices of developing with Maven. Suppose we have a 1.0-SNAPSHOT mainline development version of a multi-module maven project. We would like to create a feature branch off the mainline dev branch. When developing on the feature branch I would think we

Re: Problem with creating deployment code RMIC code during ejb build

2007-06-08 Thread Jo Vandermeeren
On 6/8/07, Kiran Kodlady [EMAIL PROTECTED] wrote: one more question - is there any tag to provide custom path for ejb-jar.xml in pom.xml ? Create your own descriptor at src/main/resources/META-INF/ejb-jar.xml. No need to specify it in the pom, as long as src/main/resources is included

Re: Maven, CVS, Eclipse, and Continuum

2007-06-08 Thread Greg Thompson
Christian Bauer wrote: Hi Greg, you can avoid topic 2.a) ... This is sub-optimal, as each module is really in the workspace twice, once as a top-level Java project and once as a sub-directory in the parent project. by only checking out the root project (with all sub modules) and then

Re: Maven, CVS, Eclipse, and Continuum

2007-06-08 Thread Christian Bauer
Hi Greg, you can avoid topic 2.a) ... This is sub-optimal, as each module is really in the workspace twice, once as a top-level Java project and once as a sub-directory in the parent project. by only checking out the root project (with all sub modules) and then importing the modules from

RE: Classpath issues with maven 2.0.6

2007-06-08 Thread Minto.van.der.Sluis
Hi Jo, I can not use the parent class loader since that would render the whole exercise useless. The whole point is not using the standard classloader otherwise it is impossible to unload classes. Remember, I want to test static blocks ( static { some code } ) . So I need fresh copies of my

RE: War plugin transitive dependency

2007-06-08 Thread Váry Péter
Hi Jo, I have checked the link (not working with FF 2.0.0.4, but ok with IE 6.0), and through several days of googling I have found the skinny war solution for the ear problem. Unfortunately it does not help me in this situation: I do not have ear-s (working with tomcat), just war-s. One

[m2] Multi-project dependency issue

2007-06-08 Thread Orford, Ian
I'm using maven 2.0.6. I have a multi-module project. P is the parent POM that has modules A, B, C and D. P defines A, B, C and D in dependencyManagement A has P as a parent and no dependencies at all. B has P as a parent and defines A in dependencies C has P as a parent and defines A and B in

Problem with wagon-ftp [can't connect]

2007-06-08 Thread CasMeiron
Hi guys... i have a problem with wagon ftp. Im using ftp protocol to deploy my site, look the configuration in my pom: distributionManagement site idpimpas-framework-site/id urlftp://framework.pimpas.net/url /site /distributionManagement build ... extensions extension

Re: [M2] Creating internal remote repsistory for Oracle ADF project

2007-06-08 Thread Andrew Birchall
Thanks Vanja that looks pretty good, though even here, they don't seem to mention mvn:deploy much. The section on Wagon and Repositories looks pretty good though, I'll take a closer look at it later. Cheers Andy On 08/06/07, Vanja Petreski [EMAIL PROTECTED] wrote: Hi, try with this one:

Re: [m2] Multi-project dependency issue

2007-06-08 Thread Vandermeeren, Jo
On 6/8/07, Orford, Ian [EMAIL PROTECTED] wrote: P is the parent POM that has modules A, B, C and D. P defines A, B, C and D in dependencyManagement A has P as a parent and no dependencies at all. B has P as a parent and defines A in dependencies C has P as a parent and defines A and B in

RE: [m2] Multi-project dependency issue

2007-06-08 Thread Orford, Ian
Yes to both. Not only that, in the parent pom, the modules are listed in the order I want them built - ie A,B,C,D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vandermeeren, Jo Sent: 08 June 2007 14:21 To: Maven Users List Subject: Re: [m2]

Re: [M2] Creating internal remote repsistory for Oracle ADF project

2007-06-08 Thread Wayne Fay
There's also a free PDF better Builds with Maven book from Mergere.com which is a big help as well. Wayne On 6/8/07, Andrew Birchall [EMAIL PROTECTED] wrote: Thanks Vanja that looks pretty good, though even here, they don't seem to mention mvn:deploy much. The section on Wagon and Repositories

Re: Settings.xml under source control?

2007-06-08 Thread Wim Deblauwe
I also don't think you should put it under source control. Better to create a super pom for all your projects or to have an example settings.xmlunder souce control that developers can use to create their own settings.xml. regards, Wim Op 08-06-07 heeft [EMAIL PROTECTED] [EMAIL PROTECTED] het

Re: Inclusions of test classes not inherited by TestCase

2007-06-08 Thread Wayne Fay
Another perspective on this issue is that naming a file which is not a test with the name *Test.java is not particularly clean either, right? Maven is not just a build tool -- it is also a collection of best practices enforced by default configurations provided in the plugins. It sounds like the

Re: Cascading package dependencies

2007-06-08 Thread Wayne Fay
I don't use really use Eclipse much, especially not for building Maven projects. I use the command line for Maven as we are required to have all projects building successfully under Maven at all times. I (nearly) always build my projects from the top which means all the modules etc will be

RE: Settings.xml under source control?

2007-06-08 Thread Chris Helck
Hi all, There are two settings.xml files: one in mvn's conf directory and the other in a user's home directory. I don't see many issues with putting mvn's setting.xml under SCM. We put the maven binaries and setting.xml under SCM and both developers and certification people find this helpful in

Classpath in exec:java

2007-06-08 Thread sharrissf
Can someone point me to a sample of executing a java program from exec:java that requires a jar in the class path that comes from an external package. In otherwords, manually setting the classpath. This isn't working for me. plugin groupIdorg.codehaus.mojo/groupId

Re: War plugin transitive dependency

2007-06-08 Thread Vandermeeren, Jo
On 6/8/07, Váry Péter [EMAIL PROTECTED] wrote: Unfortunately it does not help me in this situation: I do not have ear-s (working with tomcat), just war-s. One portal - one war. Every module is one war, or jar. Modules depend on each other like news.war (with jsp, html etc) depends on HTML

Re: Classpath issues with maven 2.0.6

2007-06-08 Thread Vandermeeren, Jo
On 6/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I can not use the parent class loader since that would render the whole exercise useless. The whole point is not using the standard classloader otherwise it is impossible to unload classes. Remember, I want to test static blocks ( static {

Re: [M2] Creating internal remote repsistory for Oracle ADF project

2007-06-08 Thread Andrew Birchall
Yeah I mentioned that in a previous reply. Thanks Andy On 08/06/07, Wayne Fay [EMAIL PROTECTED] wrote: There's also a free PDF better Builds with Maven book from Mergere.com which is a big help as well. Wayne On 6/8/07, Andrew Birchall [EMAIL PROTECTED] wrote: Thanks Vanja that looks pretty

Re: m2 assembly confusion

2007-06-08 Thread Kohsuke Kawaguchi
Maybe this has something to do with process reusing. Can you run hudson.maven.ProcessCache.MAX_CACHE=0; to see if that fixes the problem? Nigel Magnay wrote: I have a project that is buildig in Hudson, that uses the m2 assembly plugin. In the project pom, it explicitly sets the version of

Re: [m2] Multi-project dependency issue

2007-06-08 Thread Wayne Fay
Ian, you must be doing something weird/wrong, or you're doing something more complex than you're describing here, or you've got dependencies declared wrong. There are a lot of us doing exactly what you're describing with absolutely no problems at all. Tell us the packaging of the children and

Use declared dependencies instead of jdk provided libs

2007-06-08 Thread Rodrigo Gonçalves
Hi... I'm declaring in my POM to use saaj 1.2, but java 6 already has this lib with the version 1.3. How can I configure my app to use the right version of that lib? Regards, Rodrigo. - To unsubscribe, e-mail: [EMAIL

Re: [m2] Error running genInterface for JDeveloper with AntRun

2007-06-08 Thread Wayne Fay
From my reading of it, commandlineArgs is a single String, whereas arguments is a List of argument nodes. So delete all the /commandlineArgscommandlineArgs so its one big string, and try again. If it wasn't totally obvious, I'm just guessing here, I haven't had to do this myself (yet) for any

Re: .NET Frameworks support through Maven

2007-06-08 Thread Wendy Smoak
On 6/8/07, LP [EMAIL PROTECTED] wrote: I am new to Maven . I am just trying to see whether I can use Maven to build .NET Applications build on .NET FW 2.0/3.0 ? Any Pointers will help . You're in luck! Work on that is under way over in the incubator: http://incubator.apache.org/nmaven/ --

Maven and Hibernate EntityManager

2007-06-08 Thread André Salvati
Hi, I've tried to execute my unit tests with Maven an Maven 2.0.6 and Hibernate EntityManager and got problems. I have two projects (project1 and project2). Project1 depends on project2. It seems, for some reason, Maven doesn't find classes at *target/classes*. So, EntityManager doesn't

Re: Programmatically finding dependencies

2007-06-08 Thread Roland Asmann
Thanks. I tried it, but unfortunately it resolves the transitive dependencies as well... So, I'm afraid I'll have to stick with my original solution. On Tuesday 05 June 2007 21:30, Rune Flobakk wrote: I have recently been struggling with what I think is the same as you want. I am developing a

.NET Frameworks support through Maven

2007-06-08 Thread LP
Hi , I am new to Maven . I am just trying to see whether I can use Maven to build .NET Applications build on .NET FW 2.0/3.0 ? Any Pointers will help . Thanks LP

Re: [m2] Error running genInterface for JDeveloper with AntRun

2007-06-08 Thread Mick Knutson
Ive gotten a bit further, but still need some help Here is what I have: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution

Is there a plugin to generate launch scripts (.bat, .sh, etc.)

2007-06-08 Thread Jerome Thibaud
Hi All, Is there a plugin to generate launch scripts (.bat, .sh, etc.) regards Jerome T.

Re: filtering issues in assembly plugin

2007-06-08 Thread Karan Malhi
**--nudge--** On 6/8/07, Karan Malhi [EMAIL PROTECTED] wrote: I have a module named assembly. I am using the assembly plugin 2.1 . if i run maven from the parent project, then resources are not filtered. if i run maven from the assembly module itself, resources are filtered properly. Any ideas

[m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Mick Knutson
I have java and xml files being generated and I want to know where to put them in order for them to be compiled and included into my war? -- --- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson

Re: Maven, CVS, Eclipse, and Continuum

2007-06-08 Thread Patrick Moore
Hi - I have wondered this myself about Eclipse. Ideally, I would like to have just one project and eclipse:eclipse create a single project in the top level parent directory that combined all of the module dependencies into a single .classpath file. -Pat

Re: Is there a plugin to generate launch scripts (.bat, .sh, etc.)

2007-06-08 Thread Kaare Nilsen
On Jun 8, 2007, at 9:43 PM, Jerome Thibaud wrote: Hi All, Is there a plugin to generate launch scripts (.bat, .sh, etc.) Check http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/ But just be aware that the latest snapshot is very different from the released alpha, and there

Re: Is there a plugin to generate launch scripts (.bat, .sh, etc.)

2007-06-08 Thread Mick Knutson
Im doing that now. genInterface.bat is in the root DIR: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution phasegenerate-sources/phase

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Jason van Zyl
On 8 Jun 07, at 4:27 PM 8 Jun 07, Mick Knutson wrote: I have java and xml files being generated and I want to know where to put them in order for them to be compiled and included into my war? It's not where you put, but telling Maven there are new sources and new resources: From the

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Mick Knutson
Well, I added the source to ./target/generated-sources/* With adding the includes to my compiler like this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Jason van Zyl
On 8 Jun 07, at 5:02 PM 8 Jun 07, Mick Knutson wrote: Well, I added the source to ./target/generated-sources/* Look at the example I showed you. This will not work and is not recommended. Your plugin that generates the sources must use the reference of the MavenProject and add the

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Mick Knutson
But all I am doing is calling Oracle's genInterface via a bat file On 6/8/07, Jason van Zyl [EMAIL PROTECTED] wrote: On 8 Jun 07, at 5:02 PM 8 Jun 07, Mick Knutson wrote: Well, I added the source to ./target/generated-sources/* Look at the example I showed you. This will not work and

Re: Is there a plugin to generate launch scripts (.bat, .sh, etc.)

2007-06-08 Thread Wayne Fay
Mick, he said generate not execute. ;-) Wayne On 6/8/07, Mick Knutson [EMAIL PROTECTED] wrote: Im doing that now. genInterface.bat is in the root DIR: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId

Re: Is there a plugin to generate launch scripts (.bat, .sh, etc.)

2007-06-08 Thread Mick Knutson
oops. Sorry bout that On 6/8/07, Wayne Fay [EMAIL PROTECTED] wrote: Mick, he said generate not execute. ;-) Wayne On 6/8/07, Mick Knutson [EMAIL PROTECTED] wrote: Im doing that now. genInterface.bat is in the root DIR: plugin

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Wayne Fay
You should make a real plugin. Its really simple. Then you can use the add source root bit. Wayne On 6/8/07, Mick Knutson [EMAIL PROTECTED] wrote: But all I am doing is calling Oracle's genInterface via a bat file On 6/8/07, Jason van Zyl [EMAIL PROTECTED] wrote: On 8 Jun 07, at 5:02

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Mick Knutson
if this utility is putting my gen'd source into ./target/generated-source then why do I need to create a plugin just to have maven compiler pick it up? On 6/8/07, Wayne Fay [EMAIL PROTECTED] wrote: You should make a real plugin. Its really simple. Then you can use the add source root bit.

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Tom Huybrechts
Or use the build-helper plugin http://mojo.codehaus.org/build-helper-maven-plugin/howto.html On 6/8/07, Wayne Fay [EMAIL PROTECTED] wrote: You should make a real plugin. Its really simple. Then you can use the add source root bit. Wayne On 6/8/07, Mick Knutson [EMAIL PROTECTED] wrote: But

Re: Is there a plugin to generate launch scripts (.bat, .sh, etc.)

2007-06-08 Thread Jerome Thibaud
Thanks for the pointers, I'll be trying it out. regards J.T. On 6/8/07, Mick Knutson [EMAIL PROTECTED] wrote: oops. Sorry bout that On 6/8/07, Wayne Fay [EMAIL PROTECTED] wrote: Mick, he said generate not execute. ;-) Wayne On 6/8/07, Mick Knutson [EMAIL PROTECTED] wrote: Im

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Jason van Zyl
Perfect. On 8 Jun 07, at 5:46 PM 8 Jun 07, Tom Huybrechts wrote: Or use the build-helper plugin http://mojo.codehaus.org/build-helper-maven-plugin/howto.html On 6/8/07, Wayne Fay [EMAIL PROTECTED] wrote: You should make a real plugin. Its really simple. Then you can use the add source root

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Mick Knutson
I am trying that, but get an artifact error: [0] inside the definition for plugin: 'build-helper-maven-plugin'specify the following: configuration ... artifactsVALUE/artifacts /configuration. Here is what I used: plugin groupIdorg.codehaus.mojo/groupId

Re: [m2] where to put gen-src so it will get compiles and packaged...???

2007-06-08 Thread Mick Knutson
A bit further as I have the java files being compiled and added, but not my xml file: plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId executions execution

[site plugin]: How can i set the content of index?

2007-06-08 Thread CasMeiron
I want set (using apt, fml or xdoc) the content of index site, i tried a lot of things but no success. Ive create folder named src/site/xdoc/index.xml with the content for index and nothing. How can i do that? And, another question about site plugin, i have a multi-modules project, when i run

Naming of SNAPSHOT artifacts

2007-06-08 Thread Vasil Benov
Hi all, I would like to ask does anybody knows how maven names SNAPSHOT artifacts. It sometimes names them SNAPSHOT, e.g. mylibrary-1.0-SNAPSHOT.jar, in other occasions it names them with the fully qualified snapshot name (if one can say so) , e.g. mylibrary-1.0-20070213.174414.jar. This is

Re: Naming of SNAPSHOT artifacts

2007-06-08 Thread Wendy Smoak
On 6/8/07, Vasil Benov [EMAIL PROTECTED] wrote: I would like to ask does anybody knows how maven names SNAPSHOT artifacts. It sometimes names them SNAPSHOT, e.g. mylibrary-1.0-SNAPSHOT.jar, in other occasions it names them with the fully qualified snapshot name (if one can say so) , e.g.