Re: Code Samples in Sites

2006-09-23 Thread Arnaud Bailly
http://www.oqube.com/projects/object-traversal/visitor.html Sorry, this example is in french :-) -- OQube software engineering \ génie logiciel Arnaud Bailly, Dr. \web http://www.oqube.com - To unsubscribe, e-mail: [EMAIL

Re: How can I set the logger for mojos?

2006-09-23 Thread Arnaud Bailly
Michael Schlotfeldt [EMAIL PROTECTED] writes: I see the following interface exists: org.apache.maven.plugin.logging.Log ... and that an implementation is injected into mojos (no idea how that happens though). Hello, I had the same problem in my mojos. My solution is to wrap the maven

Re: Request for Assembly plugin use cases

2006-09-23 Thread Barrie Treloar
On 9/23/06, John Casey [EMAIL PROTECTED] wrote: However, for behavioral things (like exclusion of **/.svn/** by default), I'm coming up short on information. Default excludes, like ant has, would be nice. Like **/CVS/** (for the svn you have above). Are the changes on trunk, or available as a

Uploading multiproject to central repo: Packaging cannot be POM when creating an upload bundle.

2006-09-23 Thread Geoffrey De Smet
We 'd like to get spring-richclient 0.2.1 (build with m2) on the central repo. We have it deployed in our repo: http://spring-rich-c.sourceforge.net/maven2repository/org/springframework/richclient/ and we have the source here:

Maven-buildnumber plugin

2006-09-23 Thread Binil Thomas
Hi all, I am running into a 'java.lang.NoClassDefFoundError: org/apache/maven/scm/provider/svn/command/SvnCommandLineUtils' trying to use the maven-buildnumber plugin. I am aware that this plugin is developed outside of Apache or Codehaus, but since the plugin does not seem to have a mailinglist

[m2] Packaging as directory

2006-09-23 Thread Adrian Herscu
Hi all, I have a project which contains only XML schema files. Other project files depend on these XML schemas for validation, i.e. there must be some fixed URL for the XML validator to find the appropriate XML schema for each one of the validating XML files (this URL is contained by the XML

RE: [m2] Packaging as directory

2006-09-23 Thread LAMY Olivier
Hi, Workarounds for this : I have done this with putting schema in src/main/resources. The result is an artifact which contains only the schemas. For validation : add the artifact in dependencies and load the schema with a getResource and use your favorite parser. An other one is to put your

Two dependencies depending on different versions of commons-collections

2006-09-23 Thread Stefan Arentz
I have two dependencies in my project that both depend on different versions of commons-collections. OpenJPA - commons-collections 3.2 Wicket 2.0 - commons-collections 2.1 Wicket seems to 'win' and commons-collections 2.1 is included. Unfortunately this does not work for OpenJPA so I had to add

Re: [m2] Packaging as directory

2006-09-23 Thread Adrian Herscu
Hi Olivier and thanks for your fast reply. I need the validation to work with most tools and without any special configuration/programming. Therefore the first solution, accessing the schema in an archive, is not suitable. The other solution seems suitable at first sight. But what about the

Re: Code Samples in Sites

2006-09-23 Thread Stephen Duncan
Can you share the site source? Did you just manually run jhighlight and copy the html in? -Stephen On 9/23/06, Arnaud Bailly [EMAIL PROTECTED] wrote: http://www.oqube.com/projects/object-traversal/visitor.html Sorry, this example is in french :-) -- OQube software engineering \ génie

classpath error when using maven2 aspectj plugin

2006-09-23 Thread Marco Mistroni
hi all, i am using in my project maven2 aspectj plugin. One of my aspect uses classes from acegisecurity framework and while aspectj is compiling / weaving classes, it gives me error that it cannot found some acegisecurity classes.. here's excerpt of exception .. error at import

Compiling files with UTF-8 encoding

2006-09-23 Thread David Leangen
Hello! In M2, how do I set the compiler to compile files that are written in UTF-8? Thank you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Request for Assembly plugin use cases

2006-09-23 Thread dan tran
tested with my production build, my assemblies use Files, FileSet, ComponentDescriptors Found 1 error in test, but junit report does not see the error Test set: org.apache.maven.plugin.assembly.archive.ManifestCreationFinalizerTest

maven-2.0.5-SNAPSHOT finally assemly corrupted?

2006-09-23 Thread dan tran
I notice maven-2.0.5 snapshot builds at http://maven.zones.apache.org/~maven/builds/branches/maven-2.0.x are corrupted. Can some one confirm? here is the error during untar C:\dev\maventar -xvf m2-20060923.144500.tar maven-2.0.5-SNAPSHOT/conf/

Maven site with sub-projects

2006-09-23 Thread Stefano Fornari
Hi All, I want to use Maven in the Funambol open source project and I am starting with some simple modules. I have the following project structure (see the attached pom): funambol common pim I hope I created correctly the parent-child relationship. I would expect that running mvn site, the

Re: Maven site with sub-projects

2006-09-23 Thread Stefano Fornari
Forgot the attachements indeed... :) Ste On 9/23/06, Stefano Fornari [EMAIL PROTECTED] wrote: Hi All, I want to use Maven in the Funambol open source project and I am starting with some simple modules. I have the following project structure (see the attached pom): funambol common pim I

Re: maven-2.0.5-SNAPSHOT finally assemly corrupted?

2006-09-23 Thread Hilco Wijbenga
Hi Dan, On 9/23/06, dan tran [EMAIL PROTECTED] wrote: tar: A lone zero block at 2694 This is not an error but a warning. You may use --ignore-zeros or -i to suppress it. See http://www.gnu.org/software/tar/manual/html_node/Ignore-Zeros.html#Ignore-Zeros Of course, it would be even nicer if

Re: Compiling files with UTF-8 encoding

2006-09-23 Thread Ralph Pöllath
On 23.09.2006, at 17:57, David Leangen wrote: In M2, how do I set the compiler to compile files that are written in UTF-8? Try this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration encodingUTF-8/encoding /configuration

Multiple packaging in one pom

2006-09-23 Thread p_m
Any one know how to create .war and .jar snapshots from one pom. Thanks, -p~m -- View this message in context: http://www.nabble.com/Multiple-packaging-in-one-pom-tf2323705.html#a6464795 Sent from the Maven - Users mailing list archive at Nabble.com.

Re: maven-2.0.5-SNAPSHOT finally assemly corrupted?

2006-09-23 Thread dan tran
WinZip complains as well, however I am able use binary after gunzip and untar ( and ignore the error ) Thanks -Dan On 9/23/06, Hilco Wijbenga [EMAIL PROTECTED] wrote: Hi Dan, On 9/23/06, dan tran [EMAIL PROTECTED] wrote: tar: A lone zero block at 2694 This is not an error but a warning.

RE: How to get plugin dependencies?

2006-09-23 Thread Brian E. Fox
Take a look at the ResolvePluginsMojo.java in dependency-maven-plugin: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-dependency-pl ugin/src/main/java/org/apache/maven/plugin/dependency/resolvers/ResolveP luginsMojo.java It was working before the refactor but could be broken now. It

Re: Code Samples in Sites

2006-09-23 Thread Arnaud Bailly
Stephen Duncan [EMAIL PROTECTED] writes: Can you share the site source? Did you just manually run jhighlight Sorry, I forgot that :-) http://www.oqube.com/projects/object-traversal/generic-traversal.tgz You will need that: http://www.oqube.com/projects/muse-java and copy the html in? No.

Re: Multiple packaging in one pom

2006-09-23 Thread Arnaud Bailly
p_m [EMAIL PROTECTED] writes: Any one know how to create .war and .jar snapshots from one pom. 1 pom = 1 artifact. You can trick maven into doing otherwise but that's an uphill battle. regards -- OQube software engineering \ génie logiciel Arnaud Bailly, Dr. \web http://www.oqube.com

Re: Code Samples in Sites

2006-09-23 Thread Stephen Duncan
Ahh. I was thinking that if someone wanted to implement this they'd have to do somethig similar to this muse-java thing I saw on the mailing list earlier... -Stephen On 9/23/06, Arnaud Bailly [EMAIL PROTECTED] wrote: Stephen Duncan [EMAIL PROTECTED] writes: Can you share the site source?

Re: Code Samples in Sites

2006-09-23 Thread Arnaud Bailly
Stephen Duncan [EMAIL PROTECTED] writes: Ahh. I was thinking that if someone wanted to implement this they'd have to do somethig similar to this muse-java thing I saw on the mailing list earlier... :-)) I posted an enquiry about literate programming for maven some days ago. -- OQube

Re: classpath error when using maven2 aspectj plugin

2006-09-23 Thread Kaare Nilsen
have you run it with the -X option on so that we could se what the classpath is ? btw questions about the aspectJ plugin is faster answered in the mojo user group than in the maven user group. best regards Kaare On 23/09/06, Marco Mistroni [EMAIL PROTECTED] wrote: hi all, i am using in my

Re: How to get plugin dependencies?

2006-09-23 Thread Kaare Nilsen
this should do the trick code /** * @parameter expression=${plugin.artifacts} * @required */ private List pluginArtifacts; /code Best regards Kaare On 23/09/06, Brian E. Fox [EMAIL PROTECTED] wrote: Take a look at the ResolvePluginsMojo.java in dependency-maven-plugin:

RE: Compiling files with UTF-8 encoding

2006-09-23 Thread David Leangen
Thank you! -Original Message- From: Ralph Pollath [mailto:[EMAIL PROTECTED] Sent: 24 September 2006 02:34 To: Maven Users List Subject: Re: Compiling files with UTF-8 encoding On 23.09.2006, at 17:57, David Leangen wrote: In M2, how do I set the compiler to compile files

Plug-in version management

2006-09-23 Thread Andreas Guther
Hi, I started to manage my dependency versions with dependencyManagement and I am quite pleased on the outcome and control this configuration provides. We defined in a parent pom all dependency versions we are using in the dependencyManagement section and in our sub-project we only define what

Re: Plug-in version management

2006-09-23 Thread dan tran
buildpluginManagement On 9/23/06, Andreas Guther [EMAIL PROTECTED] wrote: Hi, I started to manage my dependency versions with dependencyManagement and I am quite pleased on the outcome and control this configuration provides. We defined in a parent pom all dependency versions we are using

RE: Plug-in version management

2006-09-23 Thread Andreas Guther
Cool! How could I miss that? I am deeply impressed about all those great details Maven provides. The more I use Maven the more I figure out how little I still know about Maven. Thanks for your fast response. Andreas -Original Message- From: dan tran [mailto:[EMAIL PROTECTED]

RE: Plug-in version management

2006-09-23 Thread Andreas Guther
The next question now is: Does this work for reporting as well? I looked at reporting but that does not have a pluginManagement section. Andreas -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Saturday, September 23, 2006 6:30 PM To: Maven Users List Subject: Re:

Re: Plug-in version management

2006-09-23 Thread dan tran
http://jira.codehaus.org/browse/MNG-1931 you should have given the search a try ;) On 9/23/06, Andreas Guther [EMAIL PROTECTED] wrote: The next question now is: Does this work for reporting as well? I looked at reporting but that does not have a pluginManagement section. Andreas