users@maven.apache.org

2006-04-30 Thread Maciej Mastalarczuk
Hi, I am trying to make an inclusion in my pom.xml, something like: http://localhost/poms/java-project.pom";> ]> http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma

Re: How are people getting around the lack of custom scopes?

2006-04-30 Thread Carlos Sanchez
I've written about this in my weblog, what is my suggestion or "best practice" and how to implement the "dirty" way in Maven. Feedback is appreciated. http://jroller.com/page/carlossg?entry=optional_dependencies_in_maven Some details follow While the idea of packaging a bunch of classes in one j

adding build number to manifest

2006-04-30 Thread geoff laura
Currently when I create a new snapshot of my war using maven only ther version is being added to the war manifest - I suppose because the war plugin happens at build time rather than deploy time which seems to be where the build number is created? Could someone point me in the right direction as t

Re: [M2-book]

2006-04-30 Thread Carlos Sanchez
http://docs.codehaus.org/display/MAVEN/Development+Process Where new development starts if there are branches of the code in svn, the code is fixed in trunk and then the changes are merged into the branch. Trunk should be always the last version in development. Branches can be old versions or new

Re: [m2] org.apache.struts.actions not found after perform "mvn clean"

2006-04-30 Thread Wayne Fay
install is not valid. For a list of valid scopes, please review: http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html I'd suspect your issues are related to that bad scope, though it certainly seems odd. Wayne On 4/30/06, Danny Dang <[EMAIL PROTECTED]> wrote:

Re: Maven2 and CVS

2006-04-30 Thread Maciej Mastalarczuk
I fully agree mate, but I live in so-called "corporate envirnment", which means in order to install an SVN Linux box I have to fight an army of orks, goblins, sysadmins and other sinister creatures in order to get anything like this done. By the time the fight is finished you've forgotten what y

[m2] org.apache.struts.actions not found after perform "mvn clean"

2006-04-30 Thread Danny Dang
Hi all, I am developing multi-module project using struts. In my top pom.xml, I defined the struts dependency as below: struts struts 1.2.9 install On one sub-module, I am using DispatchAction and ActionForm. Everything is ok: I can compile, install, deploy my project by perform

Re: Maven2 and CVS

2006-04-30 Thread Alexandre Poitras
Had the same problem and didn't find any way other then login in first. Oh yeah I found another one : install a Linux box (without ressorting to our "Linux yurk!!" server team ... ), install SVN on it and say farewell to CVSNT. Seriously, using CVSNT is asking for troubles. It will harm you more t

Re: Maven2 and CVS

2006-04-30 Thread Maciej Mastalarczuk
OK, it is sorted out now, indeed doing the trick with making CVS store the password in the registry worked. Good stuff! I assume on Linux the .cvspass would do the trick, but on Windows we need to perfom manual login at least once. It seems to be all happy thereafter. Thanks a lot for your he

maven-rar-plugin

2006-04-30 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
Hi, I created a RAR artifact and added that as a dependency to another project, using rar. But somehow it doesn't seems to find the classes in that dependency. Gives the error msg, package xxx doesn't exists. But when I build the same artifact into a jar file and add the dependency, its fine.

Re: [M2-book]

2006-04-30 Thread Pete Marvin King
the bug has something to do with the defaults of "Properties" not working. btw, what's the procedure in applying patches from the lower versions to the higher ones? the patch is only applied on version 2.0. how about for 2.1 for example? I'm sure it was based on the old 2.0 co

Re: [M2-book]

2006-04-30 Thread Pete Marvin King
i think this has already been fixed, someone already reported this on the codehaus jira. get the SNAPSHOT of maven-resources-plugin to fix this. cheers, pete Sebastien Arbogast wrote: > I'm just going through "Better Builds With Maven" book and once again, I > can't help being ama

Re: [M2-book]

2006-04-30 Thread Barrie Treloar
On 5/1/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote: On Sun, 30 Apr 2006, Sebastien Arbogast wrote: I've done some research and it appears that the latest version in SVN of the plugin does no longer have this bug. The next release of maven-resources-plugin is 2.2. Does this mean it was fixed

RE: [m2] [2.0.4] Property Management

2006-04-30 Thread EJ Ciramella
I've only been using maven a short while now, but I agree whole heartedly. There is no simply overlaying of properties. Typically, in an ant based build, you have three levels of overlayment - 1 - build.properties next to the build.xml, all standard installations of 3rd party tools, schema name

Re: How are people getting around the lack of custom scopes?

2006-04-30 Thread Brett Porter
The current mechanism has been to use true in those projects, then include the dependency yourself. Not very much in the spirit of transitivity of course, but you can conceivably create poms that do that specifically to create the desired groupings. - Brett On 5/1/06, Colin Sampaleanu <[EMAIL PR

Re: How are people getting around the lack of custom scopes?

2006-04-30 Thread Colin Sampaleanu
Thanks, I've seen that blog entry in the past, and even took part in a discussion on maven-dev more than a year ago now. (btw, I don't think Brett's assertion in the comments that Maven's profiles are like Ivy's configs is accurate. Ivy's configs are much more like configurable scopes for the

Re: How are people getting around the lack of custom scopes?

2006-04-30 Thread Brett Porter
Yes, it was an oversight on my part that Kenney's suggestion wasn't included in the 2.0 release (where profiles could be selected from dependencies). It'll be in the 2.1 release. - Brett On 5/1/06, Colin Sampaleanu <[EMAIL PROTECTED]> wrote: This approach is reasonable to some point, but it can

Re: How are people getting around the lack of custom scopes?

2006-04-30 Thread Colin Sampaleanu
This approach is reasonable to some point, but it can start getting ridiculous too. It's a question of granularity and how far you wish to take it. There are a number of projects out there which have a lot of optional dependencies. Spring Web Flow aside, Spring Framework itself is one of them,

Re: How are people getting around the lack of custom scopes?

2006-04-30 Thread Kenney Westerhof
On Sun, 30 Apr 2006, Alexandre Poitras wrote: [crossposted to dev: proposal near end] First of all, Maven provides an flag per dependency. Users of a project declaring those dependencies will need to add any optional dependencies that they might need themselves. I agree, it's a little bit more v

Re: How are people getting around the lack of custom scopes?

2006-04-30 Thread Alexandre Poitras
http://jira.codehaus.org/browse/MNG-935 On 4/30/06, Eric Redmond <[EMAIL PROTECTED]> wrote: This is the same old debate about scope versus configuration. Check out Xavier Hanin's blog, specifically the comments. http://jroller.com/page/xavierhanin?entry=maven_features_comparison I agree with y

Re: [M2-book]

2006-04-30 Thread Kenney Westerhof
On Sun, 30 Apr 2006, Sebastien Arbogast wrote: I've done some research and it appears that the latest version in SVN of the plugin does no longer have this bug. The next release of maven-resources-plugin is 2.2. -- Kenney > I confirm ! I just added a filter file and it worked fine. That's precis

Re: [M2-book]

2006-04-30 Thread Sebastien Arbogast
I confirm ! I just added a filter file and it worked fine. That's precisely the kind of situation where I love Open Source! Maven rocks! And huge thanks to all the people who participated in the redaction of this excellent book. And to all the Maven community as well! 2006/4/30, Kenney Westerhof

Re: [M2-book]

2006-04-30 Thread Kenney Westerhof
On Sun, 30 Apr 2006, Eric Redmond wrote: I've just confirmed this. It's a bug in maven. When you specify filtering on resources, you NEED to have a filter file. The filter file may be empty, but it has to be defined and has to exist for maven to filter resources - even system properties (${user.ho

Re: xDoc Scrambles UTF-8 source files when generating UTF-8 HTML

2006-04-30 Thread Lance Bader
I found an old Red Hat Linux system where I could run the supplied test case. Precisely, it is Red Hat Enterprise Linux V4 update 3 for i386. I installed Maven 1.1-beta-2 with maven-xdoc-plugin-1.9.2 and the attached test case. I created a script that matches the actions in build_de.bat, build

Re: [M2-book]

2006-04-30 Thread Eric Redmond
Are you running Windows? If you're running *nix, the quote syntax probably won't work (shell dependant, of course). Try it with only one word, hello, and no quotes. -Dcommand.line.prop=hello If that does not work, did you type the values into the file, and also into the command line (rather than

Re: [m2] relative links in index.apt

2006-04-30 Thread Eric Redmond
That's a great question, and one I'd be interested in knowing as well. Eric On 4/30/06, Szczepan Faber <[EMAIL PROTECTED]> wrote: How to create _relative_ links (e.g. to cobertura report or to javadoc of specific class) in index.apt? ---

Re: How are people getting around the lack of custom scopes?

2006-04-30 Thread Eric Redmond
This is the same old debate about scope versus configuration. Check out Xavier Hanin's blog, specifically the comments. http://jroller.com/page/xavierhanin?entry=maven_features_comparison I agree with you, somewhat. The ability to override a dependency in M2 is far more verbose. In contrast, Ivy

[m2] [2.0.4] Property Management

2006-04-30 Thread Jan Willems
Hello there, I am working on Maven 2 for quite a while now. I like the tool a lot, it helps the developers -and- the project leads. It is a real gift. I feel however that there is a (major?) issue with the propery management in Maven. In both the concept and the implementation. {settings.xml

Re: How are people getting around the lack of custom scopes?

2006-04-30 Thread Arik Kfir
Personally, I don't like the approach you specified. If I have a project which MIGHT use project X, Y or Z, I would expect that project to be split to four jars: project-core, project-x, project-y and project-z. The project-core would require a set of dependencies that are always needed, the proje

How are people getting around the lack of custom scopes?

2006-04-30 Thread Colin Sampaleanu
I am curious how heavy Maven2 users are getting around the lack of custom scopes. Profiles seem to fill the need sometimes, allowing you to produce a module (jar file) that is specific to a particular profile, having dependencies specific to that profile. This assumes you are actually ok wit

Re: [M2] site generation

2006-04-30 Thread Arik Kfir
its ok - perhaps a FAQ is in order here...I'll create a patch for and submit it ;-) On 4/30/06, Szczepan Faber <[EMAIL PROTECTED]> wrote: After quick glance into the source code I noticed that (as you adviced) that I need :/ Thanks --- Always feel stupid after post

Re: [m2] Is there any way to override the default filter pattern for resources?

2006-04-30 Thread Colin Sampaleanu
Carlos, It's not just JSPs first of all. ${} is a pretty common syntax used for various templating and expression evaluation needs. For example, you might see that in a Spring application context file when somebody uses PropertyPlaceHolderConfigurer to externalize some values to a separate

[m2] relative links in index.apt

2006-04-30 Thread Szczepan Faber
How to create _relative_ links (e.g. to cobertura report or to javadoc of specific class) in index.apt? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANN] Maven AspectJ Plugin 4.0 for Maven 1.x released

2006-04-30 Thread Wim Deblauwe
Here you go: http://jira.codehaus.org/browse/MOJO-385 regards, Wim 2006/4/28, Kaare Nilsen <[EMAIL PROTECTED]>: Sure, and if you file an issue on it in the mojo jira on the aspectj component, you will be able to see when i'm done :) /K On 28/04/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote: >

[M2-book]

2006-04-30 Thread Sebastien Arbogast
I'm just going through "Better Builds With Maven" book and once again, I can't help being amazed by the quality of it ! Nevertheless, there are a few small errata here and there and for I'm tagging them as I'm reading so that I can provide feedback when I've them all. But here I'm stuck on some mo

Re: [M2] site generation

2006-04-30 Thread Szczepan Faber
After quick glance into the source code I noticed that (as you adviced) that I need :/ Thanks --- Always feel stupid after posting dummy question on group On 4/30/06, Arik Kfir <[EMAIL PROTECTED]> wrote: Have you defined your project name ("myProjectName") in your p