RE: M2-Cargo Plugin Question

2006-06-14 Thread Vincent Massol
Hi Matilda, (this question would be better asked on the cargo user list) See below > -Original Message- > From: Matilda Robert [mailto:[EMAIL PROTECTED] > Sent: mercredi 14 juin 2006 22:15 > To: users@maven.apache.org > Subject: M2-Cargo Plugin Question > > Hi all maven 2.0 users, > >

Re: maven2 & testng - tests not running

2006-06-14 Thread Marco Mistroni
hi, is maven picking up your testng.xml configuration file? where are your test located (in which dir?) here's my pom.xml 4.0.0 ExpenseControl ejbs jar 1.0 enterprise java beans ExpenseControl project 1.0 microcontainer ehcach

Re: maven-surefire-report-plugin - with multiple modules?

2006-06-14 Thread henrikwl
As far as I know, there is no convenient way to generate aggregating reports. The clover plugin does it by way of a dedicated "aggregate" goal, and I'm working on implementing the same thing in cobertura. (http://jira.codehaus.org/browse/MCOBERTURA-33) -- View this message in context: http://www.

maven-surefire-report-plugin - with multiple modules?

2006-06-14 Thread Michael Waluk
Hi, I can't get the report to generate from my top-level pom-packaged project. I guess it doesn't support true. I'd really like a combined surefire html report to be part of the generated site. Is there a way to do it? There are enough limitations in the reports to make it difficult to use mod

Re: maven-surefire-report-plugin requires Maven version 2.0.3?

2006-06-14 Thread Michael Waluk
Hi, I'm actually using 2.04. I don't get this error when building from the command line so it is likely due to the Eclipse plugin .05 version. I'll try the .09 Maven Eclipse plugin to see if that helps. Thanks, Michael On 6/14/06, Boden, David <[EMAIL PROTECTED]> wrote: You're always better

Re: [m2] How to exclude a class from WEB-INF/classes using war plugin

2006-06-14 Thread javed mandary
Max is right use the exludes configuration with the compiler plugin please see http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html , this will filter out undesired classes ;) . cheers, Javed On 6/15/06, Max Cooper <[EMAIL PROTECTED]> wrote: Since it is a class file (as op

maven2 eclipse plugin: attaching source

2006-06-14 Thread Kent Tong
Hi, I'm using the maven2 eclipse plugin. Whenever I try to attach the source folder in Eclipse to a jar it depends on, the plugin will try to copy the source into my ~/.m2/repository but will fail with an error of "access denied". Any idea? Have you been able to do that? Thanks! -- Kent Tong, M

Re: [m2] How to exclude a class from WEB-INF/classes using war plugin

2006-06-14 Thread Max Cooper
Since it is a class file (as opposed to src/main/webapp content), I suspect that you need to exclude it from the compile, rather than trying to exclude it from the webapp. -Max Mark Reynolds wrote: Just wondering if anyone knows the answer to this. Not sure if it is a bug or if I am just not

Re: How to install artifact created with assembly artifact into Continuum's local repository

2006-06-14 Thread Mark Reynolds
I should have mentioned that I am not talking about the local repository used by maven (in .m2). Artifacts created with the assembly plugin get installed in there just fine. Rather, I can't see how to get them to install into the local repository configured in Continuum 1.0.3. Should I be able

Re: [m2] How to add extra manifest entries to jar with assembly plugin

2006-06-14 Thread Mark Reynolds
Just wondering if anyone knows the answer to this. Not sure if it is a bug or I am just not doing it correctly. Thanks. -- Mark Reynolds Mark Reynolds wrote: I want to add an additional entry to the manifest of a jar I am creating using the assembly plugin in. It doesn't seem to work. Any ide

Re: [m2] How to exclude a class from WEB-INF/classes using war plugin

2006-06-14 Thread Mark Reynolds
Just wondering if anyone knows the answer to this. Not sure if it is a bug or if I am just not doing it right. Thanks. -- Mark Reynolds Mark Reynolds wrote: I have a single class I want to exclude from the my WAR file. It is named Install.class and is in the root package (no package). I hav

maven2 & testng - tests not running

2006-06-14 Thread Chandresh Taunk
I'm using maven2 in a project and for unit tests I'm using testng. When I execute 'mvn test' none of the tests run. Here's the output: Running FooTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running BarTest Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time

Re: Parent POM across projects

2006-06-14 Thread Mark Chaimungkalanont
Jörg, Thanks a ton for the info, really appreciate it. I guess I'll stick to using SNAPSHOT as the parent POM's version then. From your comment at http://jira.codehaus.org/browse/MRELEASE-96, it seems that we were dealing with exactly the same dilemma! Thanks again! Mark C Jörg Schaible w

RE: Where to report home page documentation error(s)

2006-06-14 Thread Jimisola Laursen
Thanks. Can't believe that I actually missed that one. Jimisola -- View this message in context: http://www.nabble.com/Where-to-report-home-page-documentation-error%28s%29-t1788988.html#a4875153 Sent from the Maven - Users forum at Nabble.com. --

Re: antrun classpaths

2006-06-14 Thread Max Cooper
This is a bit of a long-shot, but I have noticed that property inheritance doesn't work as described in the docs, thus requiring each property to be explicitly passed along: Maybe a similar technique is required for references? (I haven't tried it, but that is my suggestion.):

RE: antrun classpaths

2006-06-14 Thread Mike Perham
Have you tried looking for open or recently closed bugs in JIRA? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Lee Meador > Sent: Wednesday, June 14, 2006 5:27 PM > To: Maven Users List > Subject: Re: antrun classpaths > > Does anyone have any i

RE: Where to report home page documentation error(s)

2006-06-14 Thread Ian Springer
I'd create an issue at http://jira.codehaus.org/browse/MNG under the "Documentation: Guides" component. Note, you'll need to first create a Codehaus JIRA account if you don't already have one. -Original Message- From: Jimisola Laursen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 20

Re: Problem starting Continuum webapp interface

2006-06-14 Thread Tamás Cservenák
Same here since 1.0.2 and now 1.0.3, but I thougth it is a "feature" :) I worked it out simply by starting and stopping Continuum and reading logs whether has http service started or not. In my experience after the 1st succesful HTTP startup, the HTTP service WILL startup regularly (as it should

RE: Shared properties across multiple modules

2006-06-14 Thread EJ Ciramella
Please - someone out there must be using things like port number across modules, does anyone have a working example of something like this? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 10:11 AM To: Maven Users List Subject: RE: Shared pro

Re: antrun classpaths

2006-06-14 Thread Lee Meador
Does anyone have any ideas on why I can't get the maven classpath in my ant script? On 6/13/06, Lee Meador <[EMAIL PROTECTED]> wrote: Kenney, Well ... you said it shouldn't matter and it didn't. I had checked that the -X showed it using 1.1 but who knows? Thanks. NOTE TO ALL: More ideas are

Where to report home page documentation error(s)

2006-06-14 Thread Jimisola Laursen
I am quite sure that I stumbled on a documentation error today on http://maven.apache.org/guides/mini/guide-configuring-plugins.html (Mapping to Collections -> Mapping lists). Where do I report it? In the snippet below, I believe that "" should be "" ... maven-myanimal-

RE: integration builds and version numbers

2006-06-14 Thread Mike Perham
> -Original Message- > > In this case, we have something like this: > > //depot/up-svcs-test/rel/R1.0/pom.xml <--- parent > //depot/up-svcs-test/rel/R1.0/A/pom.xml > //depot/up-svcs-test/rel/R1.0/B/pom.xml <--- children > //depot/up-svcs-test/rel/R1.0/C/pom.xml > > Without putting

Re: How to report public repository problems

2006-06-14 Thread Carlos Sanchez
Anybody can contribute. On 6/14/06, Lyndon Washington <[EMAIL PROTECTED]> wrote: Thanks Edwin. After a quick cursory look at the guide, I am intrigued to know if anyone can contribute pom's for ANY project or component. For instance, I start creating a new maven project for a project called ba

Re: How do I add pom version + snapshot version number to App About panel?

2006-06-14 Thread Steven Coco
Hi. You should be able to do this using properties and resource filtering. I believe the "getting started guide" here: http://maven.apache.org/guides/getting-started/index.html includes what you need: turn on resource filtering, place tokens in a resource file in your resource directory, an

RE: maven ant tasks & snapshot handling

2006-06-14 Thread Chris Hilton
No, you're not the only one; there's already a JIRA bug for it. http://jira.codehaus.org/browse/MNG-1408 Since there's no telling when the bug will be officially fixed, my solution has been to check out maven, apply the patch at the link, and build a new maven-artifact-ant jar (the command you ne

RE: integration builds and version numbers

2006-06-14 Thread EJ Ciramella
In this case, we have something like this: //depot/up-svcs-test/rel/R1.0/pom.xml <--- parent //depot/up-svcs-test/rel/R1.0/A/pom.xml //depot/up-svcs-test/rel/R1.0/B/pom.xml <--- children //depot/up-svcs-test/rel/R1.0/C/pom.xml Without putting R1.0 (and then changing it for every releas

RE: integration builds and version numbers

2006-06-14 Thread Mike Perham
Yes, you need to release all three. If you have a parent project with A B and C as child modules, you can release the parent and it will recursively release A B and C also at the same time. If you put it in the parent and release everything at once, it should just work. If you want to release th

RE: integration builds and version numbers

2006-06-14 Thread EJ Ciramella
Got it - yeah, I was editing a pom in a different branch (DOH!). I have the following dependency chain C depends on B depends on A. The only real application here is C. In order to release C, I need to release B and A also? And my other question earlier was, where is this scm setup supposed t

RE: integration builds and version numbers

2006-06-14 Thread Mike Perham
You need something like this in your POM. scm:perforce://depot/modules/fabric/trunk/parent scm:perforce://depot/modules/fabric/trunk/parent > -Original Message- > From: EJ Ciramella [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 14, 2006 3:02 PM > To: Maven Us

M2-Cargo Plugin Question

2006-06-14 Thread Matilda Robert
Hi all maven 2.0 users, I am still fairly new to maven 2.0 and I have to questions for anyone that can provide feedback. I wanted to know if or when will local or remote deployer support for weblogic8x be added to the Maven 2 plugin for Cargo in the near future? Second, are there any SNAPSHOTs

RE: integration builds and version numbers

2006-06-14 Thread EJ Ciramella
I tried that: E:\work\up-svcs-test\rel\R1.5\cryptoServer>mvn -Dmaven.test.skip=true release:prepare -Dconnection=scm:perforce:[EMAIL PROTECTED]:1666://d epot/up-svcs-test/cryptoServer/... [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO]

Problems rewriting dependencies

2006-06-14 Thread Matthew Beermann
I've writing a plugin which, among other things, needs to rewrite a project's dependencies on the fly. In particular, it needs to change their scope to "system" and point them to a file, and it needs to do this after the transitive dependencies are resolved. (Yes, I know this is weird. No, there

Re: [M2] release-perform vs. Cygwin with Subversion

2006-06-14 Thread Emmanuel Venisse
this pb happen when you use a windows jdk instead a jdk installed in cygwin. When we run svn, we define the working directory with workingDirectory.getAbsolutePath(). This commands returns always with a windows jdk a path like d:\personal\JEC so for cygwin, this path isn't an absolute path but a

maven ant tasks & snapshot handling

2006-06-14 Thread Tom Huybrechts
Hi all, I'm using the maven tasks for ant (2.0.4) to download snapshots from a repository. My target looks like this: http://myrepository/snapshots";> Now my snapshots are downloaded to ~/.m2/repositor

Re: integration builds and version numbers

2006-06-14 Thread Alexandre Poitras
Just pass it on the command line. You should check the plugin page. Tons of information like the goal names and their properties : http://maven.apache.org/plugins/maven-release-plugin/howto.html http://maven.apache.org/plugins/maven-release-plugin/plugin-info.html On 6/14/06, EJ Ciramella <[EMAIL

RE: integration builds and version numbers

2006-06-14 Thread Mike Perham
I wrote the Perforce integration for Maven 2.0 so I am the proverbial horse's mouth. It will not. It does not run 'p4 login' at all. You need to be logged in beforehand. You might be able to use a cron job with the P4PASSWD environment variable to automatically login the user every X hours but

RE: integration builds and version numbers

2006-06-14 Thread EJ Ciramella
Ok, I need more detail on how to utilize the release plugin (there's no fully documented example anywhere I've looked - including that pdf book) Here's a snippet of my pom.xml (which results in a "Missing required setting: scm connection or developerConnection must be specified." Error) scm

RE: integration builds and version numbers

2006-06-14 Thread EJ Ciramella
Does anyone know if mvn, when using the perforce scm config, will pull the users password from an environment variable? Mike, did you try that before you left this person logged in? -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 12:12 PM To:

Re: Subversion username and password

2006-06-14 Thread Douglas José
Hello all,I solved my problem on connecting to Subversion using SCM plugin with -Dusername and -Dpassword parameters passed to Maven. I'm wonder if there is a way to have at least the password prompted, in a way that I don't have to explicit write my password when calling Maven command line. Best r

[M2] release-perform vs. Cygwin with Subversion

2006-06-14 Thread Chas Douglass
In the last release of the maven release plugin, releases broke on my systems. I use Cygwin (under Windows XP) and for some reason the release:perform action creates an invalid combination of paths to pass to Subversion. The error I get is: [INFO] Working directory: d:\personal\JEC [I

Re: Best practices for multi-flavour build?

2006-06-14 Thread Toto Laricot
Hi Ivo, So, if you have 3 sub-projects (3 POM's under the root POM), you define the test/acceptance/production profiles in each one of them? I.e. the DB information (jdbc url, username, etc.) - for instance- has to be repeated 3 times? Theo. On 6/14/06, Ivo Limmen <[EMAIL PROTECTED]> wrote:

RE: integration builds and version numbers

2006-06-14 Thread Mike Perham
The perforce provider does not handle passwords; it is assumed that you are already logged in. We have a special build user who is only allowed to log in from the build server and whose login never expires. > -Original Message- > From: EJ Ciramella [mailto:[EMAIL PROTECTED] > Sent: Wedne

How to install artifact created with assembly artifact into Continuum's local repository

2006-06-14 Thread Mark Reynolds
The primary artifact from each of my pom's are copied into Continuum's repository, but not the additional artifacts that are created using the assembly plugin. Is there a way to make this happen?

RE: integration builds and version numbers

2006-06-14 Thread EJ Ciramella
Also - where should this plugin be configured? Once in each child module or one time in the parent pom? We plan on branching just the modules needed for a particular change and then just releasing those into the wild. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sen

Re: How to set the interval?

2006-06-14 Thread Emmanuel Venisse
the scheduler is set in the schedule configuration page and all build definitions use one of schedules. You can choose the schedule to use in the project view by editing the build definition Emmanuel Michael Waluk a écrit : Hi, I see in the Continuum documentation that there are "interval"

RE: integration builds and version numbers

2006-06-14 Thread EJ Ciramella
The only place on that page I see passwords mentioned is in regards to repositories: commons.ucalgary.ca woodj ~/.ssh/id_rsa *** *** I'm talking about passwords to perforce -Original Message- From: Roald Bankras [mailto:[EMAIL PROTECTED]

Re: taglist - issue with several compile source root

2006-06-14 Thread Fabrice BELLINGARD
Hi Raphael, For your 2nd point, there's an issue about that: http://jira.codehaus.org/browse/MTAGLIST-2 Can you please make a patch and attach it to the issue? I'll have a look at it. For your 1rst point, I'll check that. Thanks, Fabrice. On 6/14/06, leahpar <[EMAIL PROTECTED]> wrote: hello

Re: whats going wrong with my build?

2006-06-14 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> Does your repository contain the corresponding pom for your war file? >> AFAIK Maven checks the central repository if the pom files do not exist >> in your repo, therefore the warning(s)... >> > > yes, its in there. whats really strange is that the

RE: integration builds and version numbers

2006-06-14 Thread Roald Bankras
The website mentioned by Kieran Brady shows how you can store the scm passwords. Roald Bankras Software Engineer JTeam b.v. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 4:40 PM To: Maven Users List Subject: RE: integration builds and vers

RE: maven-surefire-report-plugin requires Maven version 2.0.3?

2006-06-14 Thread Boden, David
You're always better off with the most up to date core version of Maven. Please download and install 2.0.4 from maven.apache.org. -Original Message- From: Michael Waluk [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 3:23 PM To: users@maven.apache.org Subject: maven-surefire-rep

RE: integration builds and version numbers

2006-06-14 Thread EJ Ciramella
Ok - got the pdf, but I'm confused. Does this release plugin need to be configured at the parent or child pom level? What if our scm tool of choose (perforce) requires passwords? -Original Message- From: Roald Bankras [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 10:26 AM To

Re: whats going wrong with my build?

2006-06-14 Thread teknokrat
Thorsten Heit wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, No you don't understand. The files are in my local repository already. They are not on ibiblio. I have no idea why maven insists on looking there. This is a purely local project. Erm, yes, haven't read it (OutOfCoffeeExce

Re: install:install-file with a URL?

2006-06-14 Thread Jorg Heymans
Sounds like a valid usecase to me. In case nobody comes up with a solution here i'ld suggest you file this in jira. On 6/14/06, Richard S. Hall <[EMAIL PROTECTED]> wrote: Looking at the source code, it definitely does not appear possible to install a file from a URL using install:install-file.

maven-surefire-report-plugin requires Maven version 2.0.3?

2006-06-14 Thread Michael Waluk
Hi, I'm new to Maven. I'm using 2.04 and tried to use the maven-surefire-report-plugin to produce a report in the Maven site. But I get this error: 'org.apache.maven.plugins:maven-surefire-report-plugin': Plugin requires Maven version 2.0.3 It's pretty obviously stated in the plugin's 2.0 pom

RE: whats going wrong with my build?

2006-06-14 Thread EJ Ciramella
I'm in the same boat as you teknokrat - no matter what I do, it the artifact doesn't exist in the internal remote repository, maven goes to look in repo1 for it. In addition to this, there are a few poms it simply skips looking to my internal remote repository (like all the maven plugin poms). I

RE: Eduction: 50 students get the same project assignement

2006-06-14 Thread Siegmann Daniel, NY
Could work, though it is somewhat complex. I don't know why you'd need a "solution" though, since you could just provide some high-level test cases. I would worry about these constraining the program design or giving too much away, however. My professor for graduate algorithms automated grading th

Re: integration builds and version numbers

2006-06-14 Thread Kieran Brady
Its 'release:prepare' and 'release:perform' This is the best guide I know of: http://apollo.ucalgary.ca/tlcprojectswiki/index.php/Public/Project_Versioning_-_Best_Practices - Original Message - From: "EJ Ciramella" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Wednesday, June 14,

RE: integration builds and version numbers

2006-06-14 Thread Roald Bankras
In chapter 7 of the 'better builds with maven' book (downloadable from www.mergere.com) there is a description on how to use the release plugin. The plugin website can be found at http://maven.apache.org/plugins/maven-release-plugin/ Roald Bankras Software Engineer JTeam b.v. -Original Mess

RE: integration builds and version numbers

2006-06-14 Thread EJ Ciramella
I tried both mvn release and mvn release:release - neither exists. What is the correct goal? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 9:51 AM To: Maven Users List Subject: RE: integration builds and version numbers Where is this doc

RE: Shared properties across multiple modules

2006-06-14 Thread EJ Ciramella
Any further suggestions about this? This is kind of a pressing issue for me. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 3:57 PM To: Maven Users List Subject: Shared properties across multiple modules Ok - so I'm filtering resources here

Re: whats going wrong with my build?

2006-06-14 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > No you don't understand. The files are in my local repository already. > They are not on ibiblio. I have no idea why maven insists on looking > there. This is a purely local project. Erm, yes, haven't read it (OutOfCoffeeException...) ;-) Does

Re: eclipse plugin

2006-06-14 Thread Ovidio Mallo
Is there any indication of when 0.0.10 will be released ? I'm not sure since the version 0.0.9 has only been released recently. However, I think that the mere fact of having migrated to the new embedder deserves a new release... You may consider posting a request to the m2eclipse user mailing lis

RE: integration builds and version numbers

2006-06-14 Thread EJ Ciramella
Where is this documented? I'd like to read more about this. -Original Message- From: Roald Bankras [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 3:16 AM To: Maven Users List Subject: RE: integration builds and version numbers Updating the version numbers in the pom files can

Re: whats going wrong with my build?

2006-06-14 Thread teknokrat
Thorsten Heit wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, [INFO] Scanning for projects... [INFO] [INFO] Building Provisioning System Enterprise Application [INFO]task-segment: [install] [INFO] --

Maven test-compile dependency problem

2006-06-14 Thread Bratek
Hello, I'm trying to run mvn test-compile in my build and I keep getting dependency errors (cannot find symbol ...). The thing is that those dependencies are defined in pom file, with the scope "compile". I'm not sure why "mvn install" works, and "mvn test-compile" does not. I would appreciate an

Re: How to report public repository problems

2006-06-14 Thread Lyndon Washington
. and what do you know, someone had already raised the isse, http://jira.codehaus.org/browse/MEV-395, so I just added the patch. Cheers, -L- On 6/14/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote: Please see: http://maven.apache.org/guides/mini/guide-maven-evangelism.html Lyndon Washingto

Re: eclipse plugin

2006-06-14 Thread SlinnHawkins, Jon (ELS)
Thanks Guys - glad it's not just me ;-) Is there any indication of when 0.0.10 will be released ? Thanks "Ovidio Mallo" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > Hi, > > actually, the current development version of the m2eclipse plugin has recently > been adapted to us

Re: build is not finished if start executable

2006-06-14 Thread Emmanuel Venisse
Can you send your continuum logs? Emmanuel Maksimenko Alexander a écrit : hi! I spent 2 days to the following problem : I start executable in ant script line="/C start calc.exe"/> the execution of ant script has been finished but continuum build is not m

install:install-file with a URL?

2006-06-14 Thread Richard S. Hall
Looking at the source code, it definitely does not appear possible to install a file from a URL using install:install-file. To me, this seems like it would be a useful feature and could be handled uniformly if file: URLs were supported. As it stands right now, if I want to install something i

How to set the interval?

2006-06-14 Thread Michael Waluk
Hi, I see in the Continuum documentation that there are "interval" and "delay" configuration points, but it doesn't specify where to put them. Does anyone have an example? I'd also like to know how to specify it not to automatically run so that later I can programmatically tell it to build when

Re: whats going wrong with my build?

2006-06-14 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > [INFO] Scanning for projects... > [INFO] > > > [INFO] Building Provisioning System Enterprise Application > [INFO]task-segment: [install] > [INFO] > --

whats going wrong with my build?

2006-06-14 Thread teknokrat
I have a multiproject that builds an ear file out of a war and a sar. It is virtually identical to the j2ee project in the book. I have gone into each directory and called mvn install. This has worked in the sar and web directories. I checked my local repository and both the war and the sar fil

Re: How to report public repository problems

2006-06-14 Thread Lyndon Washington
Thanks Edwin. After a quick cursory look at the guide, I am intrigued to know if anyone can contribute pom's for ANY project or component. For instance, I start creating a new maven project for a project called bandit ( http://www.bandit-project.org), and it has a reliance on an open source libr

taglist - issue with several compile source root

2006-06-14 Thread leahpar
hello world 1 _ I've made a small plugin to handle generated sources with the api MavenProject.addCompileSourceRoot(String) it works fine (compile, test, run ...) but it seems that taglist is not able to handle the list of folder that I add this way. => bug in official plugin? 2 _ another not s

RE: how to make sure Foo.properties file copied to the same directory as Foo.class

2006-06-14 Thread Andrew-A . Davies
Thanks Javed. Thought I might be missing something important as I have got 1 issue that I just can't solve and hence have resigned myself to "living with it" ! Building an enterprise distributed global app with multi site multi project dependencies. Integrating with Cruise Control, Clearcase UCM.

Re: Eduction: 50 students get the same project assignement

2006-06-14 Thread jerome lacoste
On 6/14/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: A friend of mine asked me how far Maven 2 could help in education. Take about 50 students, that all have to do the same 10 projects. Most of these projects are small (2 hours to solve, e.g. Fibonacci), but others are big (3 months to solve,

Re: eclipse plugin

2006-06-14 Thread Ovidio Mallo
Hi, actually, the current development version of the m2eclipse plugin has recently been adapted to use the new SNAPSHOT version of the Maven embedder which has many bugs fixed. Hence, the new version of the plugin (0.0.10) will probably resolve your and many other issues of the plugin which were

Re: how to make sure Foo.properties file copied to the same directory as Foo.class

2006-06-14 Thread javed mandary
No normally specifying your properites or xml or other resources directly in the resources folder should have everything copied automatically but i had some cases where some files were not copied this is why i like to specify it in my POMs ;) cheers, Javed On 6/14/06, [EMAIL PROTECTED] <[EMA

RE: how to make sure Foo.properties file copied to the same directory as Foo.class

2006-06-14 Thread Andrew-A . Davies
I didn't have to specify any explicit build includes (I presume that because I followed standard dir structures it automatically got picked up and included) Or is this bad form not to have explicit build directives regardless ? - I am new to this myself. A -Original Message- From: javed

Re: how to make sure Foo.properties file copied to the same directory as Foo.class

2006-06-14 Thread javed mandary
Hi Kent, thats pretty simple in your POM add the following configuration: src/main/java **/*.properties if as suggested by Andrew you place your properties file in resources folder than your configuration would look like

Eduction: 50 students get the same project assignement

2006-06-14 Thread Geoffrey De Smet
A friend of mine asked me how far Maven 2 could help in education. Take about 50 students, that all have to do the same 10 projects. Most of these projects are small (2 hours to solve, e.g. Fibonacci), but others are big (3 months to solve, e.g. FTP client). The teacher doesn't have the time to

Re: eclipse plugin

2006-06-14 Thread Dario Luis Coneglian Oliveros
Yes, it is. It's a problem with maven embedder 2.0.4. If I am not mistaken, this is already fixed in the SNAPSHOT and should be available in the next release (2.0.5). Please remember m2eclipse plugin should add the new embedder once it's released, otherwise it won't work. Hope it helps. Dário

build is not finished if start executable

2006-06-14 Thread Maksimenko Alexander
hi! I spent 2 days to the following problem : I start executable in ant script the execution of ant script has been finished but continuum build is not marked finished until I close calculator application I look at continuum's log file and find out

build is not finished if start executable

2006-06-14 Thread Maksimenko Alexander
hi! I spent 2 days to the following problem : I start executable in ant script the execution of ant script has been finished but continuum build is not marked finished until I close calculator application I look at continuum's log file and find out that

Re: Default goals with maven 2

2006-06-14 Thread leahpar
Hello world, I'm not maven confortable with : I have projects working with continuum / maven proxy / personnal superSharedPom but I touch all this only since April... I'm starting to use qalab in my super pom Perform a copy of the internal repository seems not to do the job : maybe I don't unde

Re: eclipse plugin

2006-06-14 Thread Milos Kleint
I don't know the details of the eclipse plugin, but it sounds like a bug in the maven-embedder in the 2.0.x series. I had the same problem in the netbeans support. The 2.1-SNAPSHOT version have correct behaviour. I'm shipping a snapshot of that in betbeans and it works. bt the API of embedder chan

RE: Parent POM across projects and versions of dependencies

2006-06-14 Thread Jörg Schaible
Hi Juri, Artamonov, Juri wrote on Wednesday, June 14, 2006 12:02 PM: >> So either use a static version like 1.1 or bite the bullet. > This is why we use SNAPSHOT only, because the version of the > master POM is absolutely moot. If we release, we will have to > change SNAPSHOT to the next >release

Re: Errors using changelog plugin

2006-06-14 Thread joluv
Hi. I encounter the same problem, I got the v2.0.4 Maven version, with changelog plugin v 2.0-beta-1, and it doesn't work. I would like to know where it is possible to download changelog plugin sources so that I can compile them. Thanks -- View this message in context: http://www.nabble.com/Err

Re: Parent POM across projects and versions of dependencies

2006-06-14 Thread Edwin Punzalan
Well, to minimize it, you can at least use the dependencyManagement section inside a parent pom. Artamonov, Juri wrote: So either use a static version like 1.1 or bite the bullet. This is why we use SNAPSHOT only, because the version of the master POM is absolutely moot. If we release, we w

RE: Directory structure

2006-06-14 Thread Roald Bankras
So have I. But as I have said, I haven't encountered any problems yet. So as long as that pattern continues, I don't think I need to convince them anyway. Roald Bankras Software Engineer JTeam b.v. -Original Message- From: JeffM [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 1

RE: Parent POM across projects and versions of dependencies

2006-06-14 Thread Artamonov, Juri
>So either use a static version like 1.1 or bite the bullet. This is why we use >SNAPSHOT only, because the version of the master POM is absolutely moot. If we >release, we will have to change SNAPSHOT to the next >release version (e.g. >"42") in all POMs of that are part of the release For me

eclipse plugin

2006-06-14 Thread Jon
Hi All, Has anyone had success using the eclipse ide plugin (0.0.9) to execute mvn compile (or any other goal for that mater) on a parent pom. If i run mvn compile on the parent project, it simply compiles that project (i.e. does nothing as there is no source - it's a POM project) If i run mvn

RE: Parent POM across projects

2006-06-14 Thread Jörg Schaible
Jörg Schaible wrote on Wednesday, June 14, 2006 11:30 AM: > Mark Chaimungkalanont wrote on Wednesday, June 14, 2006 10:54 AM: > >> I'm thinking this *should* be a fairly common use-case, and wondered >> what other solutions there are. Not that I don't understand your pain: MRELEASE-96 - Jörg --

Re: Directory structure

2006-06-14 Thread JeffM
I'm finding it difficult to convince my colleagues why we should refactor our codebase to introduce the M2 recommended directory structure :( On 6/14/06, Roald Bankras <[EMAIL PROTECTED]> wrote: Maybe, but I haven't encountered any problems yet. Roald Bankras Software Engineer JTeam b.v. -

Re: [m2] How to override a mirror in local settings

2006-06-14 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Morgan, > I have maven-proxy running on an internal server. I have also updated > the parent pom.xml to include this: > > > > central > Internal Mirror of Central Repository > http://reposerver:/repository > > > > > cen

compile time xerces version problem

2006-06-14 Thread snikhi1
Hello, I currently have this problem. My projects uses (specifies in its dependencies) xerces version 2.8. However, as I found out maven uses xerces 2.4 from its endorsed directory to compile. As a result, certain newer methods in xerces native API cannot be found. I do not see how to override xer

RE: Directory structure

2006-06-14 Thread Roald Bankras
Maybe, but I haven't encountered any problems yet. Roald Bankras Software Engineer JTeam b.v. -Original Message- From: JeffM [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 11:19 AM To: Maven Users List Subject: Re: Directory structure On 6/14/06, Roald Bankras <[EMAIL PROTECTE

RE: Parent POM across projects

2006-06-14 Thread Jörg Schaible
Hi Mark, Mark Chaimungkalanont wrote on Wednesday, June 14, 2006 10:54 AM: > Jörg, > > Thanks for the reply! > > > So what is the difference between: > > SNAPSHOT > > and > > latest > > Basically I've been naming the atlassian-base snapshots as: > > 1.1-SNAPSHOT > 1.2-SNAPSHOT etc. > > a

Re: Directory structure

2006-06-14 Thread JeffM
On 6/14/06, Roald Bankras <[EMAIL PROTECTED]> wrote: Furthermore, there might be some plugins which don't use the elements from and >therefore might not work correctly with a different directory structure. Although I haven't >encountered any yet, it might be another reason for following the ma

RE: Parent POM across projects

2006-06-14 Thread Jörg Schaible
Edwin Punzalan wrote on Wednesday, June 14, 2006 11:00 AM: > I think people here use the release plugin and it takes care of those > tedious jobs for you. No, this works only if your "parent" POM is part of your project. In case of a company wide super POM, this does not apply. > I haven't use

  1   2   >