RE: ant plugin doesnt work?

2005-09-06 Thread Arnaud HERITIER
Hi Phil, [SNIP] Thx for the summary. > > If what you want is to get the plugin to generate a build > script with a different default value for libdir, I do not > think that is possible now. One improvment that might make > sense would be to at least have it use ${maven.repo.local} > inste

[ANN] Maven JDiff Plugin 1.5 released

2005-09-06 Thread brett
We are pleased to announce the Maven JDiff Plugin 1.5 release! http://maven.apache.org/reference/plugins/jdiff/ Plugin for JDiff - reports on the differences in the public API of two releases by comparing the sources of two SCM checkouts. Changes in this version include: New Features: o A

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Brett Porter
Looks like it is always going to be that way. http://svn.apache.org/viewcvs.cgi/maven/maven-1/core/tags/MAVEN_1_0_2/src/java/org/apache/maven/project/BaseObject.java?rev=122513&view=markup The curse of Betwixt and BaseObject. It seems that properties get put in the map with "" - hence true for e

Re: Best practices for release and version management?

2005-09-06 Thread Andy Glick
Jose Gonzalez Gomez wrote: I understand that you're deploying your snapshot versions for your projects in your internal repository, but I don't fully understand your environment (or maybe Maven's way of working)... let me explain: I understand that you can publish snapshot versions of artifacts

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Henri Yandell
On 9/6/05, Brett Porter <[EMAIL PROTECTED]> wrote: > Weird. I think we only ever test true/false existence in jelly and so we may > not have realised there is a bug in that :) > > What about ${dep.getProperties().get('multidoc-jnr')} ? No dice here either :) I dumped the punctuation and went str

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Henri Yandell
On 9/6/05, Andy Glick <[EMAIL PROTECTED]> wrote: > Henri, > > I'm the glick who conversed with you on the #maven irc. I got something > similar to your example to work, I think, but I'm using Maven 1.1b1 rather > than Maven 1.0.1. I'm not sure why your version isn't working. Me neither, but the

Re: [m2] customize default excludes?

2005-09-06 Thread Brett Porter
Not currently possible - and probably not a great idea as there is potential for different things to happen on different machines. What you really need is to be able to configure it in a root POM shared by all projects, I think. - Brett On 9/7/05, John Fallows <[EMAIL PROTECTED]> wrote: > > O

[m2] customize default excludes?

2005-09-06 Thread John Fallows
Our company uses a home-grown version control system that has it's own per-directory admin subdirectory, similar in purpose to the administration subdirectories used by other version control systems, eg. CVS, .svn, etc. These directories are excluded from processing by default in Maven2, and we wo

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Andy Glick
Henri, I'm the glick who conversed with you on the #maven irc. I got something similar to your example to work, I think, but I'm using Maven 1.1b1 rather than Maven 1.0.1. I'm not sure why your version isn't working. Here are my project.xml dependencies: springframework spring

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Brett Porter
Weird. I think we only ever test true/false existence in jelly and so we may not have realised there is a bug in that :) What about ${dep.getProperties().get('multidoc-jnr')} ? - Brett On 9/7/05, Henri Yandell <[EMAIL PROTECTED]> wrote: > > Nope, no luck. > > It's bizarre. If I put the follow

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Henri Yandell
Nope, no luck. It's bizarre. If I put the following inside the forEach I get a series of trues and falses, but if I try to print the value itself out I get an empty string. Gives: maven-javadoc-plugin:report: [echo] DEP: 'true' [echo] DEP: '' [echo] DEP: 'true'

Re: [m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Brett Porter
Try... Off the top of my head I'm not sure why this particular case it isn't working, but the above is the standard practice. - Brett On 9/7/05, Henri Yandell <[EMAIL PROTECTED]> wrote: > > Having some problems using dependencies/dependency/properties in the > maven.xml file. Obviously I'm

[m1] Using dependencies/dependency/properties in maven.xml

2005-09-06 Thread Henri Yandell
Having some problems using dependencies/dependency/properties in the maven.xml file. Obviously I'm missing something basic :) Using maven 1.0.1. In my POM, I have the following custom property set for a dependency: oscube 0.2 http://www.osjava.org/oscube/ htt

Re: [report] java.io.FileNotFoundException: jcoverage.ser (The system cannot find...

2005-09-06 Thread Andy Glick
Mick Knutson wrote: ... snip ... get\classes com\blackhawk\ff\ConsumerSearch\schemas\Emaö jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/ jcoverage is licensed under the GNU General Public License jcoverage comes with ABSOLUTELY NO WARRANTY java:jar-resources: test:prep

RE: ant plugin doesnt work?

2005-09-06 Thread Phil Steitz
Looks like we may have a misunderstanding here. The maven.ant.use.properties property just controls whether the generated ant build file will look for user-defined properties when it runs (under Ant). It just adds to the top of the file. A property *exposed* by the plugin-generated script

[report] java.io.FileNotFoundException: jcoverage.ser (The system cannot find...

2005-09-06 Thread Mick Knutson
I am having an issue with the second of 3 sub-projects, using jcoverage. The 1st time it runs just fine, but on the 2nd time it runs and I get the following error that I can figure out how to correct, Can anyone help me: instrumenting the class-files... jcoverage 1.0.5 copyright (c)2003 jcov

RE: ant plugin doesnt work?

2005-09-06 Thread Arnaud HERITIER
> Thanx for the quick reply. Yes, I am using 1.0.2. I shoudl > be able to specify maven.ant.use.properties int the > project.properties file, correct? yes > > Also, the doc on the website says this is supposed to be the > default behavior. Furthermore,that commandline doesnt > produce th

RE: ant plugin doesnt work?

2005-09-06 Thread m h
Thanx for the quick reply. Yes, I am using 1.0.2. I shoudl be able to specify maven.ant.use.properties int the project.properties file, correct? Also, the doc on the website says this is supposed to be the default behavior. Furthermore,that commandline doesnt produce the desired result. We hav

RE: ant plugin doesnt work?

2005-09-06 Thread Arnaud HERITIER
You are using maven 1.0.2 ? "maven ant -Dmaven.ant.use.properties=true" should create the build.xml in your project's root directory. Then in your build.properties (stored in your project's root dir or in your user's home dir) you should set the properties for the script :-( Arnaud > > Hi al

ant plugin doesnt work?

2005-09-06 Thread m h
Hi all Im trying to produce an ant build.xml that works. I put a build.properties file in my project base dir that specifies libdir=somedir but when I do maven ant, the libdir is not set to my specification. I have tried moving the build.properties file to my home dir, and I have tried setti

Re: [m2] Test execution environment

2005-09-06 Thread Daniel Krisher
I am all for refactoring the assembly plugin for this purpose, someone mentioned the possibility of developing a plexus-archive-manager component to this end. I have been holding off on doing anything else with this issue for now until a decision is made... P.S. please ignore the patches included

Re: M2: scm svn "does not work on my machines"....someone else must have them working together, right?

2005-09-06 Thread Emmanuel Venisse
maven scm plugin use the latest m2 code (beta-1-SNAPSHOT). m2 jars for this version aren't available at ibiblio or in a snapshot repository. If you want to use this plugin, you need to use the trunk version of m2 Emmanuel Kahn, Peter wrote: Guys, I continue to have scm problems with maven2.

Re: [m2] Test execution environment

2005-09-06 Thread dan tran
Avvind, I think we should refactoring maven-assemply-plugin into a api so that you can create your own custom mojo/archiver where an archiver can be a directory structure which can be customized for your env. Some details are at http://jira.codehaus.org/browse/MNG-735 Feel free to continue yo

M2: scm svn "does not work on my machines"....someone else must have them working together, right?

2005-09-06 Thread Kahn, Peter
Guys, I continue to have scm problems with maven2. Has anyone gotten m2 to work with subversion? If you have, can you let me know what I'm doing wrong, because this is blocking my attempts to work with continuum. Thanks.. If I try to issue the command {m2 scm:update or scm:update-project} get

[m2] Test execution environment

2005-09-06 Thread Arvind Prabhakar
Hi Folks, The ability to execute tests during builds is great and needed, but I am not sure how best to utilize it for projects that require non-trivial test execution environments. If you can help with this, please read on: The project sources that I wish to test require a well formed envir

RE: Best practices for release and version management?

2005-09-06 Thread David Jackman
I don't know of a way to configure Maven this way, other than the -o option to tell Maven to run in offline mode, where nothing ever gets downloaded. We haven't really had this problem come up. The un-committed changes for any given developer is usually limited to one or two projects. Plus, m

RE: FW: [m2] war plug-in does not pay attention to dependency scoping

2005-09-06 Thread Michael Cassidy
Jesse, Thanks much, that was exactly what was happening. I added dependency scoping to the pom for all the jars that the war was depending on, and then they stopped coming through to the war. A caveat, I expected the dependency scoping to be able to be placed in a parent pom, but this doe

Re: Question about an proper groupId for plugins of Mojo project

2005-09-06 Thread Trygve Laugstøl
On Tue, Sep 06, 2005 at 10:52:06AM -0400, Andy Glick wrote: > [I previously posted this to the moribund [EMAIL PROTECTED] list. > Don't know what I was thinking :-)] From what I can tell you haven't posted anything to that list and this question should be asked on that list. > I have just built

Question about an proper groupId for plugins of Mojo project

2005-09-06 Thread Andy Glick
[I previously posted this to the moribund [EMAIL PROTECTED] list. Don't know what I was thinking :-)] I have just built and deployed the commons-attributes plugin in my local repository, and last week I built and deployed the maven-hibernate-plugin. I noticed that in each case the groupId was

[M1] & [M2]: Proper upload bundle for a pom only multiproject's master project project.xml file.

2005-09-06 Thread Andy Glick
I've been working on a port of the Ant build of springmodules 0.2 to both M1 and M2. The 0.2 release consists of 5 subprojects. I have broken each out into a Maven subproject and I created a master project which includes the files project.xml, pom.xml and license.txt among others. I had thought tha

RE : Change log error with Perforce

2005-09-06 Thread Pascal Larin
Hi, Already done, http://jira.codehaus.org/browse/MPCHANGELOG-72 Pascal -Message d'origine- De : Edwin Punzalan [mailto:[EMAIL PROTECTED] Envoyé : September 5, 2005 22:10 À : Maven Users List Objet : Re: Change log error with Perforce Hi, this is a bug. I found that the code checks fo

Re: [m2] can't get list of dependencies in plugin

2005-09-06 Thread Ashley Williams
Looking forward to trying this out when my latest svn maven build gives me my machine back. Since I'm not modifying Maven, is there some way of turning off testing to reduce the build time?? Some related questions: what do the project.getDependencies() and project.getdependencyArtifacts do

Re: [m2] can't get list of dependencies in plugin

2005-09-06 Thread Brett Porter
You need to add: @requiresDependencyResolution HTH, Brett On 9/6/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > > I've been bashing my head against a brick wall trying to get the list > of artifacts back from the project object for my plugin but > project.getArtifacts() always returns an empt

Re: [m2] can't get list of dependencies in plugin

2005-09-06 Thread Trygve Laugstøl
On Tue, Sep 06, 2005 at 12:52:01PM +0100, Ashley Williams wrote: > I've been bashing my head against a brick wall trying to get the list > of artifacts back from the project object for my plugin but > project.getArtifacts() always returns an empty list whereas I expect > the list of artifacts

[m2] can't get list of dependencies in plugin

2005-09-06 Thread Ashley Williams
I've been bashing my head against a brick wall trying to get the list of artifacts back from the project object for my plugin but project.getArtifacts() always returns an empty list whereas I expect the list of artifacts corresponding to the target pom tags. 1. I recreated the problem by c

Re: [dashboard plugin] maven.dashboard.report.showempty not working with maven 1.1b1?

2005-09-06 Thread Wim Deblauwe
Filed a bug and a solution for this in JIRA: http://jira.codehaus.org/browse/MPDASHBOARD-32 2005/9/5, Wim Deblauwe <[EMAIL PROTECTED]>: > > Hi, > > after upgrading to 1.1b1 I get the projects that have no stats in my > dashboard overview. I used to filter them out by using " > maven.dashboard.

Re: [M2] XDoclet 2 plugin

2005-09-06 Thread Stephane Nicoll
Jose, See http://jira.codehaus.org/browse/XDP-60 Cheers, Stéphane On 9/3/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > Hi there, > > Is there any plugin to run XDoclet 2 under Maven 2? If not, any known > plans to develop it anybody? (I've found Xdoclet 1 plugins for Maven 1 > and 2 and

Re: [ANN] Maven XDoc Plug-in 1.9.2 released

2005-09-06 Thread Henning P. Schmiedehausen
Arnaud HERITIER <[EMAIL PROTECTED]> writes: >We are pleased to announce the Maven XDoc Plug-in 1.9.2 release!=20 Folks, |Subject: [vote] maven-xdoc-plugin 1.9.2 for maven 1.X |Date: Sun, 4 Sep 2005 01:40:29 + (UTC) |Subject: [ANN] Maven XDoc Plug-in 1.9.2 released |Date: Mon, 5 Sep 2005 21

[m1.1b1] multiproject failed projects

2005-09-06 Thread Wim Deblauwe
Hi, after upgrading to maven 1.1b1, I don't get any failed builds anymore. I use the 'maven.multiproject.ignoreFailures=true' property in my multiproject so all projects gets build, even if one of them fails. But with maven 1.0.2, I could still get a list of all failed project with this piece o

Re: [m2] Dependency mistake in commons-dbcp?

2005-09-06 Thread Adam Hardy
Oh right. There are similar bugs for other commons jars, but not commons-dbcp, so I added it. Thanks for the info. Adam Brett Porter on 06/09/05 00:17, wrote: It was automatically converted from Maven 1.x, where the information is often not rich enough. We will be reviewing metadata before the